react-native-screen-transitions 3.4.0-alpha.7 → 3.4.0-beta.1

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 (372) hide show
  1. package/lib/commonjs/shared/components/create-boundary-component/components/boundary-target.js +6 -4
  2. package/lib/commonjs/shared/components/create-boundary-component/components/boundary-target.js.map +1 -1
  3. package/lib/commonjs/shared/components/create-boundary-component/create-boundary-component.js +22 -60
  4. package/lib/commonjs/shared/components/create-boundary-component/create-boundary-component.js.map +1 -1
  5. package/lib/commonjs/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js +1 -1
  6. package/lib/commonjs/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js.map +1 -1
  7. package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js +56 -41
  8. package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js.map +1 -1
  9. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-auto-source-measurement.js +7 -1
  10. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-auto-source-measurement.js.map +1 -1
  11. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.js +4 -23
  12. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.js.map +1 -1
  13. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.js +111 -2
  14. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.js.map +1 -1
  15. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-pre-transition-measurement.js +69 -0
  16. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-pre-transition-measurement.js.map +1 -0
  17. package/lib/commonjs/shared/components/create-boundary-component/index.js +10 -5
  18. package/lib/commonjs/shared/components/create-boundary-component/index.js.map +1 -1
  19. package/lib/commonjs/shared/components/create-transition-aware-component.js +8 -32
  20. package/lib/commonjs/shared/components/create-transition-aware-component.js.map +1 -1
  21. package/lib/commonjs/shared/components/screen-container/hooks/use-content-layout.js +11 -9
  22. package/lib/commonjs/shared/components/screen-container/hooks/use-content-layout.js.map +1 -1
  23. package/lib/commonjs/shared/components/screen-container/layers/backdrop.js +7 -5
  24. package/lib/commonjs/shared/components/screen-container/layers/backdrop.js.map +1 -1
  25. package/lib/commonjs/shared/components/screen-lifecycle/index.js +3 -1
  26. package/lib/commonjs/shared/components/screen-lifecycle/index.js.map +1 -1
  27. package/lib/commonjs/shared/constants.js +17 -3
  28. package/lib/commonjs/shared/constants.js.map +1 -1
  29. package/lib/commonjs/shared/hooks/reanimated/use-animated-debounce.js +43 -0
  30. package/lib/commonjs/shared/hooks/reanimated/use-animated-debounce.js.map +1 -0
  31. package/lib/commonjs/shared/index.js +6 -0
  32. package/lib/commonjs/shared/index.js.map +1 -1
  33. package/lib/commonjs/shared/providers/gestures/handlers/use-handlers.js +7 -0
  34. package/lib/commonjs/shared/providers/gestures/handlers/use-handlers.js.map +1 -1
  35. package/lib/commonjs/shared/providers/register-bounds.provider.js +9 -1
  36. package/lib/commonjs/shared/providers/register-bounds.provider.js.map +1 -1
  37. package/lib/commonjs/shared/providers/screen/animation/helpers/hydrate-transition-state.js +23 -1
  38. package/lib/commonjs/shared/providers/screen/animation/helpers/hydrate-transition-state.js.map +1 -1
  39. package/lib/commonjs/shared/providers/screen/animation/helpers/use-build-transition-state.js +3 -0
  40. package/lib/commonjs/shared/providers/screen/animation/helpers/use-build-transition-state.js.map +1 -1
  41. package/lib/commonjs/shared/providers/screen/styles/styles.provider.js +1 -11
  42. package/lib/commonjs/shared/providers/screen/styles/styles.provider.js.map +1 -1
  43. package/lib/commonjs/shared/stores/animation.store.js +9 -3
  44. package/lib/commonjs/shared/stores/animation.store.js.map +1 -1
  45. package/lib/commonjs/shared/stores/bounds/internals/clear.js +23 -167
  46. package/lib/commonjs/shared/stores/bounds/internals/clear.js.map +1 -1
  47. package/lib/commonjs/shared/stores/bounds/internals/presence.js +0 -3
  48. package/lib/commonjs/shared/stores/bounds/internals/presence.js.map +1 -1
  49. package/lib/commonjs/shared/stores/bounds/internals/registry.js +18 -7
  50. package/lib/commonjs/shared/stores/bounds/internals/registry.js.map +1 -1
  51. package/lib/commonjs/shared/stores/bounds/internals/resolver.js +7 -51
  52. package/lib/commonjs/shared/stores/bounds/internals/resolver.js.map +1 -1
  53. package/lib/commonjs/shared/stores/bounds/internals/state.js +1 -83
  54. package/lib/commonjs/shared/stores/bounds/internals/state.js.map +1 -1
  55. package/lib/commonjs/shared/utils/animation/animate-to-progress.js +10 -0
  56. package/lib/commonjs/shared/utils/animation/animate-to-progress.js.map +1 -1
  57. package/lib/commonjs/shared/utils/bounds/constants.js.map +1 -0
  58. package/lib/commonjs/shared/utils/bounds/helpers/{resolve-bound-tag.js → create-bound-tag.js} +5 -5
  59. package/lib/commonjs/shared/utils/bounds/helpers/create-bound-tag.js.map +1 -0
  60. package/lib/commonjs/shared/utils/bounds/helpers/{interpolators.js → create-interpolators.js} +6 -6
  61. package/lib/commonjs/shared/utils/bounds/helpers/create-interpolators.js.map +1 -0
  62. package/lib/commonjs/shared/utils/bounds/helpers/{link-accessor.js → create-link-accessor.js} +1 -1
  63. package/lib/commonjs/shared/utils/bounds/helpers/create-link-accessor.js.map +1 -0
  64. package/lib/commonjs/shared/utils/bounds/helpers/prepare-bound-styles.js +70 -0
  65. package/lib/commonjs/shared/utils/bounds/helpers/prepare-bound-styles.js.map +1 -0
  66. package/lib/commonjs/shared/utils/bounds/helpers/{style-composers.js → styles/composers.js} +22 -22
  67. package/lib/commonjs/shared/utils/bounds/helpers/styles/composers.js.map +1 -0
  68. package/lib/commonjs/shared/utils/bounds/helpers/{compute-bounds-styles.js → styles/compute.js} +14 -20
  69. package/lib/commonjs/shared/utils/bounds/helpers/styles/compute.js.map +1 -0
  70. package/lib/commonjs/shared/utils/bounds/helpers/{interpolate-style.js → styles/interpolate-link-style.js} +4 -4
  71. package/lib/commonjs/shared/utils/bounds/helpers/styles/interpolate-link-style.js.map +1 -0
  72. package/lib/commonjs/shared/utils/bounds/helpers/styles/styles.js.map +1 -0
  73. package/lib/commonjs/shared/utils/bounds/index.js +16 -44
  74. package/lib/commonjs/shared/utils/bounds/index.js.map +1 -1
  75. package/lib/commonjs/shared/utils/bounds/zoom/build.js +234 -50
  76. package/lib/commonjs/shared/utils/bounds/zoom/build.js.map +1 -1
  77. package/lib/commonjs/shared/utils/bounds/zoom/config.js +10 -1
  78. package/lib/commonjs/shared/utils/bounds/zoom/config.js.map +1 -1
  79. package/lib/commonjs/shared/utils/bounds/zoom/math.js +34 -1
  80. package/lib/commonjs/shared/utils/bounds/zoom/math.js.map +1 -1
  81. package/lib/module/shared/components/create-boundary-component/components/boundary-target.js +6 -4
  82. package/lib/module/shared/components/create-boundary-component/components/boundary-target.js.map +1 -1
  83. package/lib/module/shared/components/create-boundary-component/create-boundary-component.js +23 -61
  84. package/lib/module/shared/components/create-boundary-component/create-boundary-component.js.map +1 -1
  85. package/lib/module/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js +1 -1
  86. package/lib/module/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js.map +1 -1
  87. package/lib/module/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js +54 -39
  88. package/lib/module/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js.map +1 -1
  89. package/lib/module/shared/components/create-boundary-component/hooks/use-auto-source-measurement.js +7 -1
  90. package/lib/module/shared/components/create-boundary-component/hooks/use-auto-source-measurement.js.map +1 -1
  91. package/lib/module/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.js +4 -23
  92. package/lib/module/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.js.map +1 -1
  93. package/lib/module/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.js +114 -4
  94. package/lib/module/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.js.map +1 -1
  95. package/lib/module/shared/components/create-boundary-component/hooks/use-pre-transition-measurement.js +64 -0
  96. package/lib/module/shared/components/create-boundary-component/hooks/use-pre-transition-measurement.js.map +1 -0
  97. package/lib/module/shared/components/create-boundary-component/index.js +10 -5
  98. package/lib/module/shared/components/create-boundary-component/index.js.map +1 -1
  99. package/lib/module/shared/components/create-transition-aware-component.js +10 -34
  100. package/lib/module/shared/components/create-transition-aware-component.js.map +1 -1
  101. package/lib/module/shared/components/screen-container/hooks/use-content-layout.js +11 -9
  102. package/lib/module/shared/components/screen-container/hooks/use-content-layout.js.map +1 -1
  103. package/lib/module/shared/components/screen-container/layers/backdrop.js +7 -5
  104. package/lib/module/shared/components/screen-container/layers/backdrop.js.map +1 -1
  105. package/lib/module/shared/components/screen-lifecycle/index.js +3 -1
  106. package/lib/module/shared/components/screen-lifecycle/index.js.map +1 -1
  107. package/lib/module/shared/constants.js +16 -2
  108. package/lib/module/shared/constants.js.map +1 -1
  109. package/lib/module/shared/hooks/reanimated/use-animated-debounce.js +39 -0
  110. package/lib/module/shared/hooks/reanimated/use-animated-debounce.js.map +1 -0
  111. package/lib/module/shared/index.js +1 -1
  112. package/lib/module/shared/index.js.map +1 -1
  113. package/lib/module/shared/providers/gestures/handlers/use-handlers.js +7 -0
  114. package/lib/module/shared/providers/gestures/handlers/use-handlers.js.map +1 -1
  115. package/lib/module/shared/providers/register-bounds.provider.js +9 -1
  116. package/lib/module/shared/providers/register-bounds.provider.js.map +1 -1
  117. package/lib/module/shared/providers/screen/animation/helpers/hydrate-transition-state.js +23 -1
  118. package/lib/module/shared/providers/screen/animation/helpers/hydrate-transition-state.js.map +1 -1
  119. package/lib/module/shared/providers/screen/animation/helpers/use-build-transition-state.js +3 -0
  120. package/lib/module/shared/providers/screen/animation/helpers/use-build-transition-state.js.map +1 -1
  121. package/lib/module/shared/providers/screen/styles/styles.provider.js +1 -11
  122. package/lib/module/shared/providers/screen/styles/styles.provider.js.map +1 -1
  123. package/lib/module/shared/stores/animation.store.js +9 -3
  124. package/lib/module/shared/stores/animation.store.js.map +1 -1
  125. package/lib/module/shared/stores/bounds/internals/clear.js +24 -168
  126. package/lib/module/shared/stores/bounds/internals/clear.js.map +1 -1
  127. package/lib/module/shared/stores/bounds/internals/presence.js +1 -4
  128. package/lib/module/shared/stores/bounds/internals/presence.js.map +1 -1
  129. package/lib/module/shared/stores/bounds/internals/registry.js +19 -8
  130. package/lib/module/shared/stores/bounds/internals/registry.js.map +1 -1
  131. package/lib/module/shared/stores/bounds/internals/resolver.js +8 -52
  132. package/lib/module/shared/stores/bounds/internals/resolver.js.map +1 -1
  133. package/lib/module/shared/stores/bounds/internals/state.js +0 -78
  134. package/lib/module/shared/stores/bounds/internals/state.js.map +1 -1
  135. package/lib/module/shared/utils/animation/animate-to-progress.js +10 -0
  136. package/lib/module/shared/utils/animation/animate-to-progress.js.map +1 -1
  137. package/lib/module/shared/utils/bounds/constants.js.map +1 -0
  138. package/lib/module/shared/utils/bounds/helpers/{resolve-bound-tag.js → create-bound-tag.js} +3 -3
  139. package/lib/module/shared/utils/bounds/helpers/create-bound-tag.js.map +1 -0
  140. package/lib/module/shared/utils/bounds/helpers/{interpolators.js → create-interpolators.js} +5 -5
  141. package/lib/module/shared/utils/bounds/helpers/create-interpolators.js.map +1 -0
  142. package/lib/module/shared/utils/bounds/helpers/{link-accessor.js → create-link-accessor.js} +1 -1
  143. package/lib/module/shared/utils/bounds/helpers/create-link-accessor.js.map +1 -0
  144. package/lib/module/shared/utils/bounds/helpers/prepare-bound-styles.js +64 -0
  145. package/lib/module/shared/utils/bounds/helpers/prepare-bound-styles.js.map +1 -0
  146. package/lib/module/shared/utils/bounds/helpers/{style-composers.js → styles/composers.js} +22 -22
  147. package/lib/module/shared/utils/bounds/helpers/styles/composers.js.map +1 -0
  148. package/lib/module/shared/utils/bounds/helpers/{compute-bounds-styles.js → styles/compute.js} +12 -18
  149. package/lib/module/shared/utils/bounds/helpers/styles/compute.js.map +1 -0
  150. package/lib/module/shared/utils/bounds/helpers/{interpolate-style.js → styles/interpolate-link-style.js} +4 -4
  151. package/lib/module/shared/utils/bounds/helpers/styles/interpolate-link-style.js.map +1 -0
  152. package/lib/module/shared/utils/bounds/helpers/styles/styles.js.map +1 -0
  153. package/lib/module/shared/utils/bounds/index.js +14 -42
  154. package/lib/module/shared/utils/bounds/index.js.map +1 -1
  155. package/lib/module/shared/utils/bounds/zoom/build.js +238 -54
  156. package/lib/module/shared/utils/bounds/zoom/build.js.map +1 -1
  157. package/lib/module/shared/utils/bounds/zoom/config.js +9 -0
  158. package/lib/module/shared/utils/bounds/zoom/config.js.map +1 -1
  159. package/lib/module/shared/utils/bounds/zoom/math.js +31 -0
  160. package/lib/module/shared/utils/bounds/zoom/math.js.map +1 -1
  161. package/lib/typescript/shared/components/create-boundary-component/components/boundary-target.d.ts.map +1 -1
  162. package/lib/typescript/shared/components/create-boundary-component/create-boundary-component.d.ts.map +1 -1
  163. package/lib/typescript/shared/components/create-boundary-component/helpers/resolve-pending-source-key.d.ts.map +1 -1
  164. package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/measurement-rules.d.ts +17 -11
  165. package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/measurement-rules.d.ts.map +1 -1
  166. package/lib/typescript/shared/components/create-boundary-component/hooks/use-auto-source-measurement.d.ts +3 -1
  167. package/lib/typescript/shared/components/create-boundary-component/hooks/use-auto-source-measurement.d.ts.map +1 -1
  168. package/lib/typescript/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.d.ts +1 -2
  169. package/lib/typescript/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.d.ts.map +1 -1
  170. package/lib/typescript/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.d.ts +20 -1
  171. package/lib/typescript/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.d.ts.map +1 -1
  172. package/lib/typescript/shared/components/create-boundary-component/hooks/use-pre-transition-measurement.d.ts +12 -0
  173. package/lib/typescript/shared/components/create-boundary-component/hooks/use-pre-transition-measurement.d.ts.map +1 -0
  174. package/lib/typescript/shared/components/create-boundary-component/index.d.ts +10 -4
  175. package/lib/typescript/shared/components/create-boundary-component/index.d.ts.map +1 -1
  176. package/lib/typescript/shared/components/create-boundary-component/types.d.ts +1 -1
  177. package/lib/typescript/shared/components/create-boundary-component/types.d.ts.map +1 -1
  178. package/lib/typescript/shared/components/create-transition-aware-component.d.ts.map +1 -1
  179. package/lib/typescript/shared/components/screen-container/hooks/use-content-layout.d.ts.map +1 -1
  180. package/lib/typescript/shared/components/screen-container/layers/backdrop.d.ts.map +1 -1
  181. package/lib/typescript/shared/components/screen-lifecycle/index.d.ts.map +1 -1
  182. package/lib/typescript/shared/constants.d.ts +33 -1
  183. package/lib/typescript/shared/constants.d.ts.map +1 -1
  184. package/lib/typescript/shared/hooks/reanimated/use-animated-debounce.d.ts +13 -0
  185. package/lib/typescript/shared/hooks/reanimated/use-animated-debounce.d.ts.map +1 -0
  186. package/lib/typescript/shared/index.d.ts +3 -3
  187. package/lib/typescript/shared/index.d.ts.map +1 -1
  188. package/lib/typescript/shared/providers/gestures/handlers/use-handlers.d.ts.map +1 -1
  189. package/lib/typescript/shared/providers/register-bounds.provider.d.ts +7 -0
  190. package/lib/typescript/shared/providers/register-bounds.provider.d.ts.map +1 -1
  191. package/lib/typescript/shared/providers/screen/animation/helpers/hydrate-transition-state.d.ts +3 -0
  192. package/lib/typescript/shared/providers/screen/animation/helpers/hydrate-transition-state.d.ts.map +1 -1
  193. package/lib/typescript/shared/providers/screen/animation/helpers/use-build-transition-state.d.ts +3 -0
  194. package/lib/typescript/shared/providers/screen/animation/helpers/use-build-transition-state.d.ts.map +1 -1
  195. package/lib/typescript/shared/providers/screen/styles/styles.provider.d.ts.map +1 -1
  196. package/lib/typescript/shared/stores/animation.store.d.ts +5 -2
  197. package/lib/typescript/shared/stores/animation.store.d.ts.map +1 -1
  198. package/lib/typescript/shared/stores/bounds/internals/clear.d.ts.map +1 -1
  199. package/lib/typescript/shared/stores/bounds/internals/presence.d.ts.map +1 -1
  200. package/lib/typescript/shared/stores/bounds/internals/registry.d.ts.map +1 -1
  201. package/lib/typescript/shared/stores/bounds/internals/resolver.d.ts.map +1 -1
  202. package/lib/typescript/shared/stores/bounds/internals/state.d.ts +0 -3
  203. package/lib/typescript/shared/stores/bounds/internals/state.d.ts.map +1 -1
  204. package/lib/typescript/shared/stores/bounds/types.d.ts +0 -2
  205. package/lib/typescript/shared/stores/bounds/types.d.ts.map +1 -1
  206. package/lib/typescript/shared/types/animation.types.d.ts +11 -0
  207. package/lib/typescript/shared/types/animation.types.d.ts.map +1 -1
  208. package/lib/typescript/shared/types/bounds.types.d.ts +106 -1
  209. package/lib/typescript/shared/types/bounds.types.d.ts.map +1 -1
  210. package/lib/typescript/shared/types/index.d.ts +1 -1
  211. package/lib/typescript/shared/types/index.d.ts.map +1 -1
  212. package/lib/typescript/shared/utils/animation/animate-to-progress.d.ts +2 -1
  213. package/lib/typescript/shared/utils/animation/animate-to-progress.d.ts.map +1 -1
  214. package/lib/typescript/shared/utils/bounds/constants.d.ts.map +1 -0
  215. package/lib/typescript/shared/utils/bounds/helpers/create-bound-tag.d.ts +7 -0
  216. package/lib/typescript/shared/utils/bounds/helpers/create-bound-tag.d.ts.map +1 -0
  217. package/lib/typescript/shared/utils/bounds/helpers/{interpolators.d.ts → create-interpolators.d.ts} +3 -3
  218. package/lib/typescript/shared/utils/bounds/helpers/create-interpolators.d.ts.map +1 -0
  219. package/lib/typescript/shared/utils/bounds/helpers/{link-accessor.d.ts → create-link-accessor.d.ts} +1 -1
  220. package/lib/typescript/shared/utils/bounds/helpers/create-link-accessor.d.ts.map +1 -0
  221. package/lib/typescript/shared/utils/bounds/helpers/prepare-bound-styles.d.ts +20 -0
  222. package/lib/typescript/shared/utils/bounds/helpers/prepare-bound-styles.d.ts.map +1 -0
  223. package/lib/typescript/shared/utils/bounds/helpers/{style-composers.d.ts → styles/composers.d.ts} +4 -4
  224. package/lib/typescript/shared/utils/bounds/helpers/styles/composers.d.ts.map +1 -0
  225. package/lib/typescript/shared/utils/bounds/helpers/{compute-bounds-styles.d.ts → styles/compute.d.ts} +3 -3
  226. package/lib/typescript/shared/utils/bounds/helpers/styles/compute.d.ts.map +1 -0
  227. package/lib/typescript/shared/utils/bounds/helpers/{interpolate-style.d.ts → styles/interpolate-link-style.d.ts} +2 -2
  228. package/lib/typescript/shared/utils/bounds/helpers/styles/interpolate-link-style.d.ts.map +1 -0
  229. package/lib/typescript/shared/utils/bounds/helpers/styles/styles.d.ts.map +1 -0
  230. package/lib/typescript/shared/utils/bounds/index.d.ts.map +1 -1
  231. package/lib/typescript/shared/utils/bounds/types/options.d.ts +3 -2
  232. package/lib/typescript/shared/utils/bounds/types/options.d.ts.map +1 -1
  233. package/lib/typescript/shared/utils/bounds/zoom/build.d.ts.map +1 -1
  234. package/lib/typescript/shared/utils/bounds/zoom/config.d.ts +9 -0
  235. package/lib/typescript/shared/utils/bounds/zoom/config.d.ts.map +1 -1
  236. package/lib/typescript/shared/utils/bounds/zoom/math.d.ts +17 -0
  237. package/lib/typescript/shared/utils/bounds/zoom/math.d.ts.map +1 -1
  238. package/package.json +1 -1
  239. package/src/shared/components/create-boundary-component/components/boundary-target.tsx +6 -4
  240. package/src/shared/components/create-boundary-component/create-boundary-component.tsx +28 -60
  241. package/src/shared/components/create-boundary-component/helpers/resolve-pending-source-key.ts +5 -1
  242. package/src/shared/components/create-boundary-component/hooks/helpers/measurement-rules.ts +72 -53
  243. package/src/shared/components/create-boundary-component/hooks/use-auto-source-measurement.ts +19 -3
  244. package/src/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.ts +5 -34
  245. package/src/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.ts +180 -6
  246. package/src/shared/components/create-boundary-component/hooks/use-pre-transition-measurement.ts +110 -0
  247. package/src/shared/components/create-boundary-component/index.tsx +10 -5
  248. package/src/shared/components/create-boundary-component/types.ts +1 -2
  249. package/src/shared/components/create-transition-aware-component.tsx +10 -47
  250. package/src/shared/components/screen-container/hooks/use-content-layout.ts +10 -17
  251. package/src/shared/components/screen-container/layers/backdrop.tsx +6 -9
  252. package/src/shared/components/screen-lifecycle/index.tsx +1 -4
  253. package/src/shared/constants.ts +11 -1
  254. package/src/shared/hooks/reanimated/use-animated-debounce.ts +56 -0
  255. package/src/shared/index.ts +3 -0
  256. package/src/shared/providers/gestures/handlers/use-handlers.ts +9 -0
  257. package/src/shared/providers/register-bounds.provider.tsx +8 -1
  258. package/src/shared/providers/screen/animation/helpers/hydrate-transition-state.ts +27 -1
  259. package/src/shared/providers/screen/animation/helpers/use-build-transition-state.ts +6 -0
  260. package/src/shared/providers/screen/styles/styles.provider.tsx +1 -12
  261. package/src/shared/stores/animation.store.ts +11 -2
  262. package/src/shared/stores/bounds/internals/clear.ts +47 -220
  263. package/src/shared/stores/bounds/internals/presence.ts +1 -4
  264. package/src/shared/stores/bounds/internals/registry.ts +25 -14
  265. package/src/shared/stores/bounds/internals/resolver.ts +7 -84
  266. package/src/shared/stores/bounds/internals/state.ts +0 -98
  267. package/src/shared/stores/bounds/types.ts +0 -2
  268. package/src/shared/types/animation.types.ts +13 -0
  269. package/src/shared/types/bounds.types.ts +108 -1
  270. package/src/shared/types/index.ts +2 -0
  271. package/src/shared/utils/animation/animate-to-progress.ts +11 -1
  272. package/src/shared/utils/bounds/{helpers/constants.ts → constants.ts} +1 -1
  273. package/src/shared/utils/bounds/helpers/{resolve-bound-tag.ts → create-bound-tag.ts} +2 -2
  274. package/src/shared/utils/bounds/helpers/{interpolators.ts → create-interpolators.ts} +19 -12
  275. package/src/shared/utils/bounds/helpers/prepare-bound-styles.ts +100 -0
  276. package/src/shared/utils/bounds/helpers/{style-composers.ts → styles/composers.ts} +119 -53
  277. package/src/shared/utils/bounds/helpers/{compute-bounds-styles.ts → styles/compute.ts} +10 -20
  278. package/src/shared/utils/bounds/helpers/{interpolate-style.ts → styles/interpolate-link-style.ts} +9 -4
  279. package/src/shared/utils/bounds/index.ts +13 -53
  280. package/src/shared/utils/bounds/types/options.ts +3 -2
  281. package/src/shared/utils/bounds/zoom/build.ts +316 -95
  282. package/src/shared/utils/bounds/zoom/config.ts +11 -0
  283. package/src/shared/utils/bounds/zoom/math.ts +57 -0
  284. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-deferred-measurement-trigger.js +0 -54
  285. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-deferred-measurement-trigger.js.map +0 -1
  286. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-group-active-measurement.js +0 -122
  287. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-group-active-measurement.js.map +0 -1
  288. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-group-active-source-measurement.js +0 -72
  289. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-group-active-source-measurement.js.map +0 -1
  290. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-initial-layout-handler.js +0 -66
  291. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-initial-layout-handler.js.map +0 -1
  292. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-pending-destination-retry-measurement.js +0 -58
  293. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-pending-destination-retry-measurement.js.map +0 -1
  294. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-scroll-settled-measurement.js +0 -53
  295. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-scroll-settled-measurement.js.map +0 -1
  296. package/lib/commonjs/shared/utils/bounds/helpers/build-bounds-options.js +0 -41
  297. package/lib/commonjs/shared/utils/bounds/helpers/build-bounds-options.js.map +0 -1
  298. package/lib/commonjs/shared/utils/bounds/helpers/compute-bounds-styles.js.map +0 -1
  299. package/lib/commonjs/shared/utils/bounds/helpers/constants.js.map +0 -1
  300. package/lib/commonjs/shared/utils/bounds/helpers/interpolate-style.js.map +0 -1
  301. package/lib/commonjs/shared/utils/bounds/helpers/interpolate.js +0 -20
  302. package/lib/commonjs/shared/utils/bounds/helpers/interpolate.js.map +0 -1
  303. package/lib/commonjs/shared/utils/bounds/helpers/interpolators.js.map +0 -1
  304. package/lib/commonjs/shared/utils/bounds/helpers/link-accessor.js.map +0 -1
  305. package/lib/commonjs/shared/utils/bounds/helpers/resolve-bound-tag.js.map +0 -1
  306. package/lib/commonjs/shared/utils/bounds/helpers/style-composers.js.map +0 -1
  307. package/lib/commonjs/shared/utils/bounds/helpers/styles.js.map +0 -1
  308. package/lib/module/shared/components/create-boundary-component/hooks/use-deferred-measurement-trigger.js +0 -49
  309. package/lib/module/shared/components/create-boundary-component/hooks/use-deferred-measurement-trigger.js.map +0 -1
  310. package/lib/module/shared/components/create-boundary-component/hooks/use-group-active-measurement.js +0 -118
  311. package/lib/module/shared/components/create-boundary-component/hooks/use-group-active-measurement.js.map +0 -1
  312. package/lib/module/shared/components/create-boundary-component/hooks/use-group-active-source-measurement.js +0 -67
  313. package/lib/module/shared/components/create-boundary-component/hooks/use-group-active-source-measurement.js.map +0 -1
  314. package/lib/module/shared/components/create-boundary-component/hooks/use-initial-layout-handler.js +0 -61
  315. package/lib/module/shared/components/create-boundary-component/hooks/use-initial-layout-handler.js.map +0 -1
  316. package/lib/module/shared/components/create-boundary-component/hooks/use-pending-destination-retry-measurement.js +0 -53
  317. package/lib/module/shared/components/create-boundary-component/hooks/use-pending-destination-retry-measurement.js.map +0 -1
  318. package/lib/module/shared/components/create-boundary-component/hooks/use-scroll-settled-measurement.js +0 -48
  319. package/lib/module/shared/components/create-boundary-component/hooks/use-scroll-settled-measurement.js.map +0 -1
  320. package/lib/module/shared/utils/bounds/helpers/build-bounds-options.js +0 -36
  321. package/lib/module/shared/utils/bounds/helpers/build-bounds-options.js.map +0 -1
  322. package/lib/module/shared/utils/bounds/helpers/compute-bounds-styles.js.map +0 -1
  323. package/lib/module/shared/utils/bounds/helpers/constants.js.map +0 -1
  324. package/lib/module/shared/utils/bounds/helpers/interpolate-style.js.map +0 -1
  325. package/lib/module/shared/utils/bounds/helpers/interpolate.js +0 -16
  326. package/lib/module/shared/utils/bounds/helpers/interpolate.js.map +0 -1
  327. package/lib/module/shared/utils/bounds/helpers/interpolators.js.map +0 -1
  328. package/lib/module/shared/utils/bounds/helpers/link-accessor.js.map +0 -1
  329. package/lib/module/shared/utils/bounds/helpers/resolve-bound-tag.js.map +0 -1
  330. package/lib/module/shared/utils/bounds/helpers/style-composers.js.map +0 -1
  331. package/lib/module/shared/utils/bounds/helpers/styles.js.map +0 -1
  332. package/lib/typescript/shared/components/create-boundary-component/hooks/use-deferred-measurement-trigger.d.ts +0 -11
  333. package/lib/typescript/shared/components/create-boundary-component/hooks/use-deferred-measurement-trigger.d.ts.map +0 -1
  334. package/lib/typescript/shared/components/create-boundary-component/hooks/use-group-active-measurement.d.ts +0 -17
  335. package/lib/typescript/shared/components/create-boundary-component/hooks/use-group-active-measurement.d.ts.map +0 -1
  336. package/lib/typescript/shared/components/create-boundary-component/hooks/use-group-active-source-measurement.d.ts +0 -11
  337. package/lib/typescript/shared/components/create-boundary-component/hooks/use-group-active-source-measurement.d.ts.map +0 -1
  338. package/lib/typescript/shared/components/create-boundary-component/hooks/use-initial-layout-handler.d.ts +0 -10
  339. package/lib/typescript/shared/components/create-boundary-component/hooks/use-initial-layout-handler.d.ts.map +0 -1
  340. package/lib/typescript/shared/components/create-boundary-component/hooks/use-pending-destination-retry-measurement.d.ts +0 -11
  341. package/lib/typescript/shared/components/create-boundary-component/hooks/use-pending-destination-retry-measurement.d.ts.map +0 -1
  342. package/lib/typescript/shared/components/create-boundary-component/hooks/use-scroll-settled-measurement.d.ts +0 -10
  343. package/lib/typescript/shared/components/create-boundary-component/hooks/use-scroll-settled-measurement.d.ts.map +0 -1
  344. package/lib/typescript/shared/utils/bounds/helpers/build-bounds-options.d.ts +0 -14
  345. package/lib/typescript/shared/utils/bounds/helpers/build-bounds-options.d.ts.map +0 -1
  346. package/lib/typescript/shared/utils/bounds/helpers/compute-bounds-styles.d.ts.map +0 -1
  347. package/lib/typescript/shared/utils/bounds/helpers/constants.d.ts.map +0 -1
  348. package/lib/typescript/shared/utils/bounds/helpers/interpolate-style.d.ts.map +0 -1
  349. package/lib/typescript/shared/utils/bounds/helpers/interpolate.d.ts +0 -2
  350. package/lib/typescript/shared/utils/bounds/helpers/interpolate.d.ts.map +0 -1
  351. package/lib/typescript/shared/utils/bounds/helpers/interpolators.d.ts.map +0 -1
  352. package/lib/typescript/shared/utils/bounds/helpers/link-accessor.d.ts.map +0 -1
  353. package/lib/typescript/shared/utils/bounds/helpers/resolve-bound-tag.d.ts +0 -7
  354. package/lib/typescript/shared/utils/bounds/helpers/resolve-bound-tag.d.ts.map +0 -1
  355. package/lib/typescript/shared/utils/bounds/helpers/style-composers.d.ts.map +0 -1
  356. package/lib/typescript/shared/utils/bounds/helpers/styles.d.ts.map +0 -1
  357. package/src/shared/components/create-boundary-component/hooks/use-deferred-measurement-trigger.ts +0 -58
  358. package/src/shared/components/create-boundary-component/hooks/use-group-active-measurement.ts +0 -162
  359. package/src/shared/components/create-boundary-component/hooks/use-group-active-source-measurement.ts +0 -82
  360. package/src/shared/components/create-boundary-component/hooks/use-initial-layout-handler.ts +0 -92
  361. package/src/shared/components/create-boundary-component/hooks/use-pending-destination-retry-measurement.ts +0 -87
  362. package/src/shared/components/create-boundary-component/hooks/use-scroll-settled-measurement.ts +0 -49
  363. package/src/shared/utils/bounds/helpers/build-bounds-options.ts +0 -48
  364. package/src/shared/utils/bounds/helpers/interpolate.ts +0 -19
  365. /package/lib/commonjs/shared/utils/bounds/{helpers/constants.js → constants.js} +0 -0
  366. /package/lib/commonjs/shared/utils/bounds/helpers/{styles.js → styles/styles.js} +0 -0
  367. /package/lib/module/shared/utils/bounds/{helpers/constants.js → constants.js} +0 -0
  368. /package/lib/module/shared/utils/bounds/helpers/{styles.js → styles/styles.js} +0 -0
  369. /package/lib/typescript/shared/utils/bounds/{helpers/constants.d.ts → constants.d.ts} +0 -0
  370. /package/lib/typescript/shared/utils/bounds/helpers/{styles.d.ts → styles/styles.d.ts} +0 -0
  371. /package/src/shared/utils/bounds/helpers/{link-accessor.ts → create-link-accessor.ts} +0 -0
  372. /package/src/shared/utils/bounds/helpers/{styles.ts → styles/styles.ts} +0 -0
@@ -1,118 +0,0 @@
1
- "use strict";
2
-
3
- import { useAnimatedReaction, useDerivedValue, useSharedValue } from "react-native-reanimated";
4
- import { EPSILON } from "../../../constants";
5
- import { AnimationStore } from "../../../stores/animation.store";
6
- import { BoundStore } from "../../../stores/bounds";
7
- import { GestureStore } from "../../../stores/gesture.store";
8
- import { canFlushGroupActiveMeasurement, resolveGroupActiveMeasurementAction } from "./helpers/measurement-rules";
9
- import { useDeferredMeasurementTrigger } from "./use-deferred-measurement-trigger";
10
-
11
- /**
12
- * Watches the group's active id in the BoundStore.
13
- * When this boundary becomes the active member of its group,
14
- * re-measures itself and updates the link destination with fresh bounds.
15
- * This handles the case where a boundary scrolled into view after initial mount
16
- * (e.g., paging ScrollView in a detail screen).
17
- */
18
- export const useGroupActiveMeasurement = params => {
19
- const {
20
- enabled,
21
- group,
22
- id,
23
- currentScreenKey,
24
- shouldUpdateDestination,
25
- maybeMeasureAndStore
26
- } = params;
27
- const idStr = String(id);
28
- const allGroups = BoundStore.getGroups();
29
- const progress = AnimationStore.getValue(currentScreenKey, "progress");
30
- const animating = AnimationStore.getValue(currentScreenKey, "animating");
31
- const entering = AnimationStore.getValue(currentScreenKey, "entering");
32
- const closing = AnimationStore.getValue(currentScreenKey, "closing");
33
- const dragging = GestureStore.getValue(currentScreenKey, "dragging");
34
- const dismissing = GestureStore.getValue(currentScreenKey, "dismissing");
35
- const hasSettledOpenOnce = useSharedValue(false);
36
- useAnimatedReaction(() => {
37
- "worklet";
38
-
39
- if (!enabled || !shouldUpdateDestination) return false;
40
- return progress.value >= 1 - EPSILON && animating.value === 0 && entering.value === 0 && closing.value === 0 && dragging.value === 0 && dismissing.value === 0;
41
- }, isSettledOpen => {
42
- "worklet";
43
-
44
- if (isSettledOpen) {
45
- hasSettledOpenOnce.value = true;
46
- }
47
- }, [enabled, shouldUpdateDestination, progress, animating, entering, closing, dragging, dismissing, hasSettledOpenOnce]);
48
- const isRefreshBlocked = useDerivedValue(() => {
49
- "worklet";
50
-
51
- if (!enabled || !shouldUpdateDestination) return 0;
52
- if (!hasSettledOpenOnce.value) return 1;
53
- if (progress.value < 1 - EPSILON) return 1;
54
- if (animating.value !== 0) return 1;
55
- if (entering.value !== 0) return 1;
56
- if (closing.value !== 0) return 1;
57
- if (dragging.value !== 0) return 1;
58
- if (dismissing.value !== 0) return 1;
59
- return 0;
60
- });
61
- const {
62
- clearPendingMeasurement,
63
- queueOrFlushMeasurement
64
- } = useDeferredMeasurementTrigger({
65
- enabled,
66
- /**
67
- * The reason to do extra guard checks for isAnimating is because a user may mid animation drag, causing
68
- * the src component to be wrongly measured. This in turns leads to faulty src measurements being used, giving us a weird teleport
69
- * animation rather than a smooth 'SET' transition when dst is actually dismissing.
70
- */
71
- isAnimating: isRefreshBlocked,
72
- canFlush: () => {
73
- "worklet";
74
-
75
- return canFlushGroupActiveMeasurement({
76
- enabled,
77
- isEligible: !!group && shouldUpdateDestination,
78
- memberId: idStr,
79
- activeId: group ? allGroups.value[group]?.activeId ?? null : null
80
- }) && hasSettledOpenOnce.value;
81
- },
82
- onFlush: () => {
83
- "worklet";
84
-
85
- maybeMeasureAndStore({
86
- intent: "refresh-destination"
87
- });
88
- }
89
- });
90
- useAnimatedReaction(() => {
91
- "worklet";
92
-
93
- if (!enabled) return null;
94
- if (!group) return null;
95
- return allGroups.value[group]?.activeId ?? null;
96
- }, (activeId, previousActiveId) => {
97
- "worklet";
98
-
99
- const action = resolveGroupActiveMeasurementAction({
100
- enabled,
101
- isEligible: !!group && shouldUpdateDestination,
102
- memberId: idStr,
103
- activeId,
104
- previousActiveId
105
- });
106
- if (action === "clear-pending") {
107
- clearPendingMeasurement();
108
- return;
109
- }
110
- if (action === "queue-or-flush") {
111
- if (!hasSettledOpenOnce.value) {
112
- return;
113
- }
114
- queueOrFlushMeasurement();
115
- }
116
- }, [enabled, group, idStr, currentScreenKey, shouldUpdateDestination, hasSettledOpenOnce, clearPendingMeasurement, queueOrFlushMeasurement]);
117
- };
118
- //# sourceMappingURL=use-group-active-measurement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["useAnimatedReaction","useDerivedValue","useSharedValue","EPSILON","AnimationStore","BoundStore","GestureStore","canFlushGroupActiveMeasurement","resolveGroupActiveMeasurementAction","useDeferredMeasurementTrigger","useGroupActiveMeasurement","params","enabled","group","id","currentScreenKey","shouldUpdateDestination","maybeMeasureAndStore","idStr","String","allGroups","getGroups","progress","getValue","animating","entering","closing","dragging","dismissing","hasSettledOpenOnce","value","isSettledOpen","isRefreshBlocked","clearPendingMeasurement","queueOrFlushMeasurement","isAnimating","canFlush","isEligible","memberId","activeId","onFlush","intent","previousActiveId","action"],"sourceRoot":"../../../../../../src","sources":["shared/components/create-boundary-component/hooks/use-group-active-measurement.ts"],"mappings":";;AAAA,SACCA,mBAAmB,EACnBC,eAAe,EACfC,cAAc,QACR,yBAAyB;AAChC,SAASC,OAAO,QAAQ,oBAAoB;AAC5C,SAASC,cAAc,QAAQ,iCAAiC;AAChE,SAASC,UAAU,QAAQ,wBAAwB;AACnD,SAASC,YAAY,QAAQ,+BAA+B;AAE5D,SACCC,8BAA8B,EAC9BC,mCAAmC,QAC7B,6BAA6B;AACpC,SAASC,6BAA6B,QAAQ,oCAAoC;;AAElF;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,yBAAyB,GAAIC,MAOzC,IAAK;EACL,MAAM;IACLC,OAAO;IACPC,KAAK;IACLC,EAAE;IACFC,gBAAgB;IAChBC,uBAAuB;IACvBC;EACD,CAAC,GAAGN,MAAM;EACV,MAAMO,KAAK,GAAGC,MAAM,CAACL,EAAE,CAAC;EAExB,MAAMM,SAAS,GAAGf,UAAU,CAACgB,SAAS,CAAC,CAAC;EACxC,MAAMC,QAAQ,GAAGlB,cAAc,CAACmB,QAAQ,CAACR,gBAAgB,EAAE,UAAU,CAAC;EACtE,MAAMS,SAAS,GAAGpB,cAAc,CAACmB,QAAQ,CA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EAAEG,gBAAgB,KAAK;IAC/B,SAAS;;IACT,MAAMC,MAAM,GAAGnC,mCAAmC,CAAC;MAClDI,OAAO;MACPyB,UAAU,EAAE,CAAC,CAACxB,KAAK,IAAIG,uBAAuB;MAC9CsB,QAAQ,EAAEpB,KAAK;MACfqB,QAAQ;MACRG;IACD,CAAC,CAAC;IAEF,IAAIC,MAAM,KAAK,eAAe,EAAE;MAC/BV,uBAAuB,CAAC,CAAC;MACzB;IACD;IAEA,IAAIU,MAAM,KAAK,gBAAgB,EAAE;MAChC,IAAI,CAACd,kBAAkB,CAACC,KAAK,EAAE;QAC9B;MACD;MACAI,uBAAuB,CAAC,CAAC;IAC1B;EACD,CAAC,EACD,CACCtB,OAAO,EACPC,KAAK,EACLK,KAAK,EACLH,gBAAgB,EAChBC,uBAAuB,EACvBa,kBAAkB,EAClBI,uBAAuB,EACvBC,uBAAuB,CAEzB,CAAC;AACF,CAAC","ignoreList":[]}
@@ -1,67 +0,0 @@
1
- "use strict";
2
-
3
- import { useAnimatedReaction } from "react-native-reanimated";
4
- import { BoundStore } from "../../../stores/bounds";
5
- import { canFlushGroupActiveMeasurement, resolveGroupActiveMeasurementAction } from "./helpers/measurement-rules";
6
- import { useDeferredMeasurementTrigger } from "./use-deferred-measurement-trigger";
7
- export const useGroupActiveSourceMeasurement = params => {
8
- const {
9
- enabled,
10
- group,
11
- id,
12
- hasNextScreen,
13
- isAnimating,
14
- maybeMeasureAndStore
15
- } = params;
16
- const idStr = String(id);
17
- const allGroups = BoundStore.getGroups();
18
- const {
19
- clearPendingMeasurement,
20
- queueOrFlushMeasurement
21
- } = useDeferredMeasurementTrigger({
22
- enabled,
23
- isAnimating,
24
- canFlush: () => {
25
- "worklet";
26
-
27
- return canFlushGroupActiveMeasurement({
28
- enabled,
29
- isEligible: !!group && hasNextScreen,
30
- memberId: idStr,
31
- activeId: group ? allGroups.value[group]?.activeId ?? null : null
32
- });
33
- },
34
- onFlush: () => {
35
- "worklet";
36
-
37
- maybeMeasureAndStore({
38
- intent: "refresh-source"
39
- });
40
- }
41
- });
42
- useAnimatedReaction(() => {
43
- "worklet";
44
-
45
- if (!enabled) return null;
46
- if (!group) return null;
47
- return allGroups.value[group]?.activeId ?? null;
48
- }, (activeId, previousActiveId) => {
49
- "worklet";
50
-
51
- const action = resolveGroupActiveMeasurementAction({
52
- enabled,
53
- isEligible: !!group && hasNextScreen,
54
- memberId: idStr,
55
- activeId,
56
- previousActiveId
57
- });
58
- if (action === "clear-pending") {
59
- clearPendingMeasurement();
60
- return;
61
- }
62
- if (action === "queue-or-flush") {
63
- queueOrFlushMeasurement();
64
- }
65
- }, [enabled, group, idStr, hasNextScreen, clearPendingMeasurement, queueOrFlushMeasurement]);
66
- };
67
- //# sourceMappingURL=use-group-active-source-measurement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["useAnimatedReaction","BoundStore","canFlushGroupActiveMeasurement","resolveGroupActiveMeasurementAction","useDeferredMeasurementTrigger","useGroupActiveSourceMeasurement","params","enabled","group","id","hasNextScreen","isAnimating","maybeMeasureAndStore","idStr","String","allGroups","getGroups","clearPendingMeasurement","queueOrFlushMeasurement","canFlush","isEligible","memberId","activeId","value","onFlush","intent","previousActiveId","action"],"sourceRoot":"../../../../../../src","sources":["shared/components/create-boundary-component/hooks/use-group-active-source-measurement.ts"],"mappings":";;AAAA,SAA2BA,mBAAmB,QAAQ,yBAAyB;AAC/E,SAASC,UAAU,QAAQ,wBAAwB;AAEnD,SACCC,8BAA8B,EAC9BC,mCAAmC,QAC7B,6BAA6B;AACpC,SAASC,6BAA6B,QAAQ,oCAAoC;AAElF,OAAO,MAAMC,+BAA+B,GAAIC,MAO/C,IAAK;EACL,MAAM;IACLC,OAAO;IACPC,KAAK;IACLC,EAAE;IACFC,aAAa;IACbC,WAAW;IACXC;EACD,CAAC,GAAGN,MAAM;EACV,MAAMO,KAAK,GAAGC,MAAM,CAACL,EAAE,CAAC;EACxB,MAAMM,SAAS,GAAGd,UAAU,CAACe,SAA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AAC","ignoreList":[]}
@@ -1,61 +0,0 @@
1
- "use strict";
2
-
3
- import { useCallback, useLayoutEffect } from "react";
4
- import { runOnUI, useSharedValue } from "react-native-reanimated";
5
- import { AnimationStore } from "../../../stores/animation.store";
6
- import { BoundStore } from "../../../stores/bounds";
7
- import { resolvePendingSourceKey } from "../helpers/resolve-pending-source-key";
8
- import { resolveInitialLayoutMeasurementIntent } from "./helpers/measurement-rules";
9
- export const useInitialLayoutHandler = params => {
10
- const {
11
- enabled,
12
- sharedBoundTag,
13
- currentScreenKey,
14
- ancestorKeys,
15
- expectedSourceScreenKey,
16
- maybeMeasureAndStore
17
- } = params;
18
- const isAnimating = AnimationStore.getValue(currentScreenKey, "animating");
19
- const ancestorAnimations = ancestorKeys.map(key => AnimationStore.getValue(key, "animating"));
20
- const hasMeasuredOnLayout = useSharedValue(false);
21
- const handleInitialLayout = useCallback(() => {
22
- "worklet";
23
-
24
- if (!enabled) return;
25
- if (!sharedBoundTag || hasMeasuredOnLayout.get()) return;
26
- let isAnyAnimating = isAnimating.get();
27
- for (let i = 0; i < ancestorAnimations.length; i++) {
28
- if (ancestorAnimations[i].get()) {
29
- isAnyAnimating = 1;
30
- break;
31
- }
32
- }
33
- let hasPendingLinkFromSource = false;
34
- if (isAnyAnimating) {
35
- const resolvedSourceKey = resolvePendingSourceKey(sharedBoundTag, expectedSourceScreenKey);
36
- if (resolvedSourceKey && BoundStore.hasPendingLinkFromSource(sharedBoundTag, resolvedSourceKey)) {
37
- hasPendingLinkFromSource = true;
38
- }
39
- }
40
- const intent = resolveInitialLayoutMeasurementIntent({
41
- enabled,
42
- hasSharedBoundTag: !!sharedBoundTag,
43
- hasMeasuredOnLayout: hasMeasuredOnLayout.get(),
44
- isAnyAnimating: !!isAnyAnimating,
45
- hasPendingLinkFromSource
46
- });
47
- if (!intent) return;
48
- maybeMeasureAndStore({
49
- intent
50
- });
51
- hasMeasuredOnLayout.set(true);
52
- }, [enabled, sharedBoundTag, hasMeasuredOnLayout, isAnimating, ancestorAnimations, maybeMeasureAndStore, expectedSourceScreenKey]);
53
-
54
- // Try to capture destination bounds during layout phase as soon as the
55
- // boundary mounts; guards in handleInitialLayout keep this idempotent.
56
- useLayoutEffect(() => {
57
- if (!enabled) return;
58
- runOnUI(handleInitialLayout)();
59
- }, [enabled, handleInitialLayout]);
60
- };
61
- //# sourceMappingURL=use-initial-layout-handler.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["useCallback","useLayoutEffect","runOnUI","useSharedValue","AnimationStore","BoundStore","resolvePendingSourceKey","resolveInitialLayoutMeasurementIntent","useInitialLayoutHandler","params","enabled","sharedBoundTag","currentScreenKey","ancestorKeys","expectedSourceScreenKey","maybeMeasureAndStore","isAnimating","getValue","ancestorAnimations","map","key","hasMeasuredOnLayout","handleInitialLayout","get","isAnyAnimating","i","length","hasPendingLinkFromSource","resolvedSourceKey","intent","hasSharedBoundTag","set"],"sourceRoot":"../../../../../../src","sources":["shared/components/create-boundary-component/hooks/use-initial-layout-handler.ts"],"mappings":";;AAAA,SAASA,WAAW,EAAEC,eAAe,QAAQ,OAAO;AACpD,SAASC,OAAO,EAAEC,cAAc,QAAQ,yBAAyB;AACjE,SAASC,cAAc,QAAQ,iCAAiC;AAChE,SAASC,UAAU,QAAQ,wBAAwB;AACnD,SAASC,uBAAuB,QAAQ,uCAAuC;AAE/E,SAASC,qCAAqC,QAAQ,6BAA6B;AAEnF,OAAO,MAAMC,uBAAuB,GAAIC,MAOvC,IAAK;EACL,MAAM;IACLC,OAAO;IACPC,cAAc;IACdC,gBAAgB;IAChBC,YAAY;IACZC,uBAAuB;IACvBC;EACD,CAAC,GAAGN,MAAM;EAEV,MAAMO,WAAW,GAAGZ,cAAc,CAACa,QAAQ,CAACL,gBAAgB,EAAE,WAAW,CAAC;EAE1E,MAAMM,kBAAkB,GAAGL,YAAY,CAACM,GAAG,CAAEC,GAAG,IAC/ChB,cAAc,CAACa,QAAQ,CAACG,GAAG,EAAE,WAAW,CACzC,CAAC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,CAAC,MAAM;IACrB,IAAI,CAACS,OAAO,EAAE;IACdR,OAAO,CAACoB,mBAAmB,CAAC,CAAC,CAAC;EAC/B,CAAC,EAAE,CAACZ,OAAO,EAAEY,mBAAmB,CAAC,CAAC;AACnC,CAAC","ignoreList":[]}
@@ -1,53 +0,0 @@
1
- "use strict";
2
-
3
- import { useAnimatedReaction, useSharedValue } from "react-native-reanimated";
4
- import { AnimationStore } from "../../../stores/animation.store";
5
- import { BoundStore } from "../../../stores/bounds";
6
- import { resolvePendingSourceKey } from "../helpers/resolve-pending-source-key";
7
- import { resolvePendingDestinationRetrySignal } from "./helpers/measurement-rules";
8
- export const usePendingDestinationRetryMeasurement = params => {
9
- const {
10
- sharedBoundTag,
11
- enabled,
12
- currentScreenKey,
13
- expectedSourceScreenKey,
14
- animating,
15
- maybeMeasureAndStore
16
- } = params;
17
- const progress = AnimationStore.getValue(currentScreenKey, "progress");
18
- const retryCount = useSharedValue(0);
19
- const MAX_RETRIES = 4;
20
- const RETRY_PROGRESS_BUCKETS = 8;
21
- const RETRY_PROGRESS_MAX = 1.05;
22
- useAnimatedReaction(() => {
23
- "worklet";
24
-
25
- const resolvedSourceKey = resolvePendingSourceKey(sharedBoundTag, expectedSourceScreenKey);
26
- return resolvePendingDestinationRetrySignal({
27
- enabled,
28
- retryCount: retryCount.get(),
29
- maxRetries: MAX_RETRIES,
30
- isAnimating: !!animating.get(),
31
- hasDestinationLink: BoundStore.hasDestinationLink(sharedBoundTag, currentScreenKey),
32
- progress: progress.get(),
33
- retryProgressMax: RETRY_PROGRESS_MAX,
34
- retryProgressBuckets: RETRY_PROGRESS_BUCKETS,
35
- resolvedSourceKey,
36
- hasPendingLinkFromSource: resolvedSourceKey ? BoundStore.hasPendingLinkFromSource(sharedBoundTag, resolvedSourceKey) : false
37
- });
38
- }, captureSignal => {
39
- "worklet";
40
-
41
- if (!enabled) return;
42
- if (!captureSignal) {
43
- retryCount.set(0);
44
- return;
45
- }
46
- if (retryCount.get() >= MAX_RETRIES) return;
47
- retryCount.set(retryCount.get() + 1);
48
- maybeMeasureAndStore({
49
- intent: "complete-destination"
50
- });
51
- }, [enabled, sharedBoundTag, currentScreenKey, expectedSourceScreenKey, progress, animating, maybeMeasureAndStore, retryCount]);
52
- };
53
- //# sourceMappingURL=use-pending-destination-retry-measurement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["useAnimatedReaction","useSharedValue","AnimationStore","BoundStore","resolvePendingSourceKey","resolvePendingDestinationRetrySignal","usePendingDestinationRetryMeasurement","params","sharedBoundTag","enabled","currentScreenKey","expectedSourceScreenKey","animating","maybeMeasureAndStore","progress","getValue","retryCount","MAX_RETRIES","RETRY_PROGRESS_BUCKETS","RETRY_PROGRESS_MAX","resolvedSourceKey","get","maxRetries","isAnimating","hasDestinationLink","retryProgressMax","retryProgressBuckets","hasPendingLinkFromSource","captureSignal","set","intent"],"sourceRoot":"../../../../../../src","sources":["shared/components/create-boundary-component/hooks/use-pending-destination-retry-measurement.ts"],"mappings":";;AAAA,SAECA,mBAAmB,EACnBC,cAAc,QACR,yBAAyB;AAChC,SAASC,cAAc,QAAQ,iCAAiC;AAChE,SAASC,UAAU,QAAQ,wBAAwB;AACnD,SAASC,uBAAuB,QAAQ,uCAAuC;AAE/E,SAASC,oCAAoC,QAAQ,6BAA6B;AAElF,OAAO,MAAMC,qCAAqC,GAAIC,MAOrD,IAAK;EACL,MAAM;IACLC,cAAc;IACdC,OAAO;IACPC,gBAAgB;IAChBC,uBAAuB;IACvBC,SAAS;IACTC;EACD,CAAC,GAAGN,MAAM;EAEV,MAAMO,QAAQ,GAAGZ,cAAc,CAACa,QAAQ,CAACL,gBAAgB,EAAE,UAAU,CAAC;EAEtE,MAAMM,UAAU,GAAGf,cAAc,CAAC,CAAC,CAAC;EACpC,MAAMgB,WAAW,GAAG,CAAC;EACrB,MAAMC,sBAAsB,GAAG,CAAC;EAChC,MAAMC,kBAAkB,GAAG,IAAI;EAE/BnB,mBAAmB,CAClB,MAAM;IACL,SAAS;;IACT,MAAMoB,iBAAiB,GAAGhB,uBAAuB,CAChDI,cAAc,EACdG,uBACD,CAAC;IACD,OAAON,oCAAoC,CAAC;MAC3CI,OAAO;MACPO,UAAU,EAAEA,UAAU,CAACK,GAAG,CAAC,CAAC;MAC5BC,UAAU,EAAEL,WAAW;MACvBM,WAAW,EAAE,CAAC,CAACX,SAAS,CAACS,GAAG,CAAC,CAAC;MAC9BG,kBAAkB,EAAErB,UAAU,CAACqB,kBAAkB,CAChDhB,cAAc,EACdE,gBACD,CAAC;MACDI,QAAQ,EAAEA,QAAQ,CAACO,GAAG,CAAC,CAAC;MACxBI,gBAAgB,EAAEN,kBAAkB;MACpCO,oBAAoB,EAAER,sBAAsB;MAC5CE,iBAAiB;MACjBO,wBAAwB,EAAEP,iBAAiB,GACxCjB,UAAU,CAACwB,wBAAwB,CACnCnB,cAAc,EACdY,iBACD,CAAC,GACA;IACJ,CAAC,CAAC;EACH,CAAC,EACAQ,aAAa,IAAK;IAClB,SAAS;;IACT,IAAI,CAACnB,OAAO,EAAE;IACd,IAAI,CAACmB,aAAa,EAAE;MACnBZ,UAAU,CAACa,GAAG,CAAC,CAAC,CAAC;MACjB;IACD;IAEA,IAAIb,UAAU,CAACK,GAAG,CAAC,CAAC,IAAIJ,WAAW,EAAE;IACrCD,UAAU,CAACa,GAAG,CAACb,UAAU,CAACK,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC;IACpCR,oBAAoB,CAAC;MAAEiB,MAAM,EAAE;IAAuB,CAAC,CAAC;EACzD,CAAC,EACD,CACCrB,OAAO,EACPD,cAAc,EACdE,gBAAgB,EAChBC,uBAAuB,EACvBG,QAAQ,EACRF,SAAS,EACTC,oBAAoB,EACpBG,UAAU,CAEZ,CAAC;AACF,CAAC","ignoreList":[]}
@@ -1,48 +0,0 @@
1
- "use strict";
2
-
3
- import { useAnimatedReaction } from "react-native-reanimated";
4
- import { useScrollSettleContext } from "../../../providers/scroll-settle.provider";
5
- import { shouldTriggerScrollSettledRefresh } from "./helpers/measurement-rules";
6
- import { useDeferredMeasurementTrigger } from "./use-deferred-measurement-trigger";
7
- export const useScrollSettledMeasurement = params => {
8
- const {
9
- enabled,
10
- group,
11
- hasNextScreen,
12
- isAnimating,
13
- maybeMeasureAndStore
14
- } = params;
15
- const scrollSettle = useScrollSettleContext();
16
- const settledSignal = scrollSettle?.settledSignal;
17
- const {
18
- queueOrFlushMeasurement
19
- } = useDeferredMeasurementTrigger({
20
- enabled,
21
- isAnimating,
22
- onFlush: () => {
23
- "worklet";
24
-
25
- maybeMeasureAndStore({
26
- intent: "refresh-source"
27
- });
28
- }
29
- });
30
- useAnimatedReaction(() => settledSignal?.value ?? 0, (signal, previousSignal) => {
31
- "worklet";
32
-
33
- if (!shouldTriggerScrollSettledRefresh({
34
- enabled,
35
- group,
36
- hasNextScreen,
37
- hasSettledSignal: !!settledSignal,
38
- signal,
39
- previousSignal
40
- })) {
41
- return;
42
- }
43
- // Re-measure source bounds after scroll settles while idle.
44
- // This captures post-scroll positions before close transition starts.
45
- queueOrFlushMeasurement();
46
- }, [enabled, group, hasNextScreen, settledSignal, queueOrFlushMeasurement]);
47
- };
48
- //# sourceMappingURL=use-scroll-settled-measurement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["useAnimatedReaction","useScrollSettleContext","shouldTriggerScrollSettledRefresh","useDeferredMeasurementTrigger","useScrollSettledMeasurement","params","enabled","group","hasNextScreen","isAnimating","maybeMeasureAndStore","scrollSettle","settledSignal","queueOrFlushMeasurement","onFlush","intent","value","signal","previousSignal","hasSettledSignal"],"sourceRoot":"../../../../../../src","sources":["shared/components/create-boundary-component/hooks/use-scroll-settled-measurement.ts"],"mappings":";;AAAA,SAA2BA,mBAAmB,QAAQ,yBAAyB;AAC/E,SAASC,sBAAsB,QAAQ,2CAA2C;AAElF,SAASC,iCAAiC,QAAQ,6BAA6B;AAC/E,SAASC,6BAA6B,QAAQ,oCAAoC;AAElF,OAAO,MAAMC,2BAA2B,GAAIC,MAM3C,IAAK;EACL,MAAM;IAAEC,OAAO;IAAEC,KAAK;IAAEC,aAAa;IAAEC,WAAW;IAAEC;EAAqB,CAAC,GACzEL,MAAM;EACP,MAAMM,YAAY,GAAGV,sBAAsB,CAAC,CAAC;EAC7C,MAAMW,aAAa,GAAGD,YAAY,EAAEC,aAAa;EACjD,MAAM;IAAEC;EAAwB,CAAC,GAAGV,6BAA6B,CAAC;IACjEG,OAAO;IACPG,WAAW;IACXK,OAAO,EAAEA,CAAA,KAAM;MACd,SAAS;;MACTJ,oBAAoB,CAAC;QAAEK,MAAM,EAAE;MAAiB,CAAC,CAAC;IACnD;EACD,CAAC,CAAC;EAEFf,mBAAmB,CAClB,MAAMY,aAAa,EAAEI,KAAK,IAAI,CAAC,EAC/B,CAACC,MAAM,EAAEC,cAAc,KAAK;IAC3B,SAAS;;IACT,IACC,CAAChB,iCAAiC,CAAC;MAClCI,OAAO;MACPC,KAAK;MACLC,aAAa;MACbW,gBAAgB,EAAE,CAAC,CAACP,aAAa;MACjCK,MAAM;MACNC;IACD,CAAC,CAAC,EACD;MACD;IACD;IACA;IACA;IACAL,uBAAuB,CAAC,CAAC;EAC1B,CAAC,EACD,CAACP,OAAO,EAAEC,KAAK,EAAEC,aAAa,EAAEI,aAAa,EAAEC,uBAAuB,CACvE,CAAC;AACF,CAAC","ignoreList":[]}
@@ -1,36 +0,0 @@
1
- "use strict";
2
-
3
- import { BoundStore } from "../../../stores/bounds";
4
- import { DEFAULT_BOUNDS_OPTIONS } from "./constants";
5
- export const buildBoundsOptions = ({
6
- props,
7
- id,
8
- group,
9
- overrides,
10
- mode = "style",
11
- resolveBoundTag
12
- }) => {
13
- "worklet";
14
-
15
- const tag = resolveBoundTag({
16
- id,
17
- group
18
- });
19
- const currentScreenKey = props.current?.route.key;
20
- const boundaryConfig = tag && currentScreenKey ? BoundStore.getBoundaryConfig(tag, currentScreenKey) : null;
21
- const resolved = {
22
- ...DEFAULT_BOUNDS_OPTIONS,
23
- ...(boundaryConfig ?? {}),
24
- ...(overrides ?? {}),
25
- id: tag ?? "",
26
- group
27
- };
28
-
29
- // Element-level bounds style composition always uses relative space.
30
- // Absolute space is reserved for internal navigation helpers (masking).
31
- if (mode === "style") {
32
- resolved.space = "relative";
33
- }
34
- return resolved;
35
- };
36
- //# sourceMappingURL=build-bounds-options.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["BoundStore","DEFAULT_BOUNDS_OPTIONS","buildBoundsOptions","props","id","group","overrides","mode","resolveBoundTag","tag","currentScreenKey","current","route","key","boundaryConfig","getBoundaryConfig","resolved","space"],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/helpers/build-bounds-options.ts"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,wBAAwB;AAGnD,SAASC,sBAAsB,QAAQ,aAAa;AAYpD,OAAO,MAAMC,kBAAkB,GAAGA,CAAC;EAClCC,KAAK;EACLC,EAAE;EACFC,KAAK;EACLC,SAAS;EACTC,IAAI,GAAG,OAAO;EACdC;AACyB,CAAC,KAAoB;EAC9C,SAAS;;EAET,MAAMC,GAAG,GAAGD,eAAe,CAAC;IAAEJ,EAAE;IAAEC;EAAM,CAAC,CAAC;EAC1C,MAAMK,gBAAgB,GAAGP,KAAK,CAACQ,OAAO,EAAEC,KAAK,CAACC,GAAG;EACjD,MAAMC,cAAc,GACnBL,GAAG,IAAIC,gBAAgB,GACpBV,UAAU,CAACe,iBAAiB,CAACN,GAAG,EAAEC,gBAAgB,CAAC,GACnD,IAAI;EAER,MAAMM,QAAQ,GAAG;IAChB,GAAGf,sBAAsB;IACzB,IAAIa,cAAc,IAAI,CAAC,CAAC,CAAC;IACzB,IAAIR,SAAS,IAAI,CAAC,CAAC,CAAC;IACpBF,EAAE,EAAEK,GAAG,IAAI,EAAE;IACbJ;EACD,CAAC;;EAED;EACA;EACA,IAAIE,IAAI,KAAK,OAAO,EAAE;IACrBS,QAAQ,CAACC,KAAK,GAAG,UAAU;EAC5B;EAEA,OAAOD,QAAQ;AAChB,CAAC","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["EMPTY_BOUND_HELPER_RESULT_RAW","ENTER_RANGE","EXIT_RANGE","FULLSCREEN_DIMENSIONS","HIDDEN_STYLE","NO_STYLES","BoundStore","computeContentTransformGeometry","computeRelativeGeometry","composeContentStyle","composeSizeAbsolute","composeSizeRelative","composeTransformAbsolute","composeTransformRelative","resolveBounds","params","entering","next","fullscreen","dimensions","isFullscreenTarget","computeOptions","target","hasCustomTarget","hasTargetOverride","currentScreenKey","current","route","key","previousScreenKey","previous","nextScreenKey","resolvedPair","resolveTransitionPair","String","id","sourceBounds","destinationBounds","start","end","sourceScreenKey","destinationScreenKey","usedSnapshotDestination","customTarget","computeBoundStyles","progress","raw","ranges","method","ignoresSnapshotDestinationOwnership","currentOwnsSource","contentStart","contentEnd","geometry","anchor","scaleMode","common","isSize","isAbsolute","space"],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/helpers/compute-bounds-styles.ts"],"mappings":";;AACA,SACCA,6BAA6B,EAC7BC,WAAW,EACXC,UAAU,EACVC,qBAAqB,EACrBC,YAAY,EACZC,SAAS,QACH,oBAAoB;AAC3B,SACCC,UAAU,QAEJ,wBAAwB;AAQ/B,SACCC,+BAA+B,EAC/BC,uBAAuB,QACjB,YAAY;AACnB,SACCC,mBAAmB,EACnBC,mBAAmB,EACnBC,mBAAmB,EACnBC,wBAAwB,EACxBC,wBAAwB,QAElB,mBAAmB;AAE1B,MAAMC,aAAa,GAAIC,MAStB,IAAK;EACL,SAAS;;EAET,MAAMC,QAAQ,GAAG,CAACD,MAAM,CAACE,IAAI;EAC7B,MAAMC,UAAU,GAAGf,qBAAqB,CAACY,MAAM,CAACI,UAAU,CAAC;EAE3D,MAAMC,kBAAkB,GAAGL,MAAM,CAACM,cAAc,CAACC,MAAM,KAAK,YAAY;EACxE,MAAMC,eAAe,GAAG,OAAOR,MAAM,CAACM,cAAc,CAACC,MAAM,KAAK,QAAQ;EACxE,M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,CAAC,GAC5BE,UAAU,GACT9C,wBAAwB,CAAC4C,MAAM,CAAC,GAChC3C,wBAAwB,CAAC2C,MAAM,CAAC;AACrC,CAAC","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["DEFAULT_BOUNDS_OPTIONS","target","method","space","scaleMode","anchor","raw"],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/helpers/constants.ts"],"mappings":";;AAEA,OAAO,MAAMA,sBAAsB,GAAG;EACrCC,MAAM,EAAE,OAAO;EACfC,MAAM,EAAE,WAAW;EACnBC,KAAK,EAAE,UAAU;EACjBC,SAAS,EAAE,OAAO;EAClBC,MAAM,EAAE,QAAQ;EAChBC,GAAG,EAAE;AACN,CAAqE","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["ENTER_RANGE","EXIT_RANGE","interpolateClamped","interpolateLinkStyle","link","property","progress","entering","options","fallback","sourceValue","source","styles","destValue","destination","range"],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/helpers/interpolate-style.ts"],"mappings":";;AAAA,SAASA,WAAW,EAAEC,UAAU,QAAQ,oBAAoB;AAE5D,SAASC,kBAAkB,QAAQ,eAAe;AAMlD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,oBAAoBA,CACnCC,IAAuB,EACvBC,QAAgB,EAChBC,QAAgB,EAChBC,QAAiB,EACjBC,OAAgC,GAAG,CAAC,CAAC,EAC5B;EACT,SAAS;;EAET,MAAM;IAAEC,QAAQ,GAAG;EAAE,CAAC,GAAGD,OAAO;EAEhC,MAAME,WAAW,GACfN,IAAI,EAAEO,MAAM,EAAEC,MAAM,GAAGP,QAAQ,CAAC,IAA2BI,QAAQ;EACrE,MAAMI,SAAS,GACbT,IAAI,EAAEU,WAAW,EAAEF,MAAM,GAAGP,QAAQ,CAAC,IAA2BI,QAAQ;EAE1E,MAAMM,KAAK,GAAGR,QAAQ,GAAGP,WAAW,GAAGC,UAAU;EAEjD,OAAOC,kBAAkB,CAACI,QAAQ,EAAES,KAAK,EAAE,CAACL,WAAW,EAAEG,SAAS,CAAC,CAAC;AACrE","ignoreList":[]}
@@ -1,16 +0,0 @@
1
- "use strict";
2
-
3
- export function interpolateClamped(value, inputRange, outputRange) {
4
- "worklet";
5
-
6
- const [inputStart, inputEnd] = inputRange;
7
- const [outputStart, outputEnd] = outputRange;
8
- const inputSpan = inputEnd - inputStart;
9
- if (inputSpan === 0) {
10
- return outputStart;
11
- }
12
- const normalized = (value - inputStart) / inputSpan;
13
- const clamped = normalized < 0 ? 0 : normalized > 1 ? 1 : normalized;
14
- return outputStart + (outputEnd - outputStart) * clamped;
15
- }
16
- //# sourceMappingURL=interpolate.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["interpolateClamped","value","inputRange","outputRange","inputStart","inputEnd","outputStart","outputEnd","inputSpan","normalized","clamped"],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/helpers/interpolate.ts"],"mappings":";;AAAA,OAAO,SAASA,kBAAkBA,CACjCC,KAAa,EACbC,UAAqC,EACrCC,WAAsC,EAC7B;EACT,SAAS;;EACT,MAAM,CAACC,UAAU,EAAEC,QAAQ,CAAC,GAAGH,UAAU;EACzC,MAAM,CAACI,WAAW,EAAEC,SAAS,CAAC,GAAGJ,WAAW;EAE5C,MAAMK,SAAS,GAAGH,QAAQ,GAAGD,UAAU;EACvC,IAAII,SAAS,KAAK,CAAC,EAAE;IACpB,OAAOF,WAAW;EACnB;EAEA,MAAMG,UAAU,GAAG,CAACR,KAAK,GAAGG,UAAU,IAAII,SAAS;EACnD,MAAME,OAAO,GAAGD,UAAU,GAAG,CAAC,GAAG,CAAC,GAAGA,UAAU,GAAG,CAAC,GAAG,CAAC,GAAGA,UAAU;EAEpE,OAAOH,WAAW,GAAG,CAACC,SAAS,GAAGD,WAAW,IAAII,OAAO;AACzD","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["ENTER_RANGE","EXIT_RANGE","BoundStore","interpolateClamped","interpolateLinkStyle","createInterpolators","getProps","getLink","interpolateStyle","tag","property","fallback","props","link","entering","next","progress","interpolateBoundsFromSnapshot","targetKey","range","currentKey","current","route","key","fb","normalizedTag","String","currentSnapshot","getSnapshot","targetSnapshot","currentValue","bounds","targetValue","interpolateBoundsFromLink","sourceValue","source","destinationValue","destination","interpolateBounds","fallbackOrTargetKey"],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/helpers/interpolators.ts"],"mappings":";;AACA,SAASA,WAAW,EAAEC,UAAU,QAAQ,oBAAoB;AAC5D,SAASC,UAAU,QAAQ,wBAAwB;AAGnD,SAASC,kBAAkB,QAAQ,eAAe;AAClD,SAASC,oBAAoB,QAAQ,qBAAqB;AAQ1D,OAAO,MAAMC,mBAAmB,GAAGA,CAAC;EACnCC,QAAQ;EACRC;AACmB,CAAC,KAAK;EACzB,SAAS;;EAET,MAAMC,gBAAgB,GAAGA,CACxBC,GAAY,EACZC,QAAgB,EAChBC,QAAiB,KACL;IACZ,SAAS;;IACT,MAAMC,KAAK,GAAGN,QAAQ,CAAC,CAAC;IACxB,MAAMO,IAAI,GAAGN,OAAO,CAACE,GAAG,CAAC;IACzB,MAAMK,QAAQ,GAAG,CAACF,KAAK,CAACG,IAAI;IAC5B,OAAOX,oBAAoB,CAACS,IAAI,EAAEH,QAAQ,EAAEE,KAAK,CAACI,QAAQ,EAAEF,QAAQ,EAAE;MACrEH;IACD,CAAC,CAAC;EACH,CAAC;EAED,MAAMM,6BAA6B,GAAGA,CACrCR,GAAY,EACZC,QAAkC,EAClCQ,SAAiB,EACjBP,QAAiB,KACL;IACZ,SAAS;;IAET,MAAMC,KAAK,GAAGN,QAAQ,CAAC,CAAC;IACxB,MAAMQ,QAAQ,GAAG,CAACF,KAAK,CAACG,IAAI;IAC5B,MAAMI,KAAK,GAAGL,QAAQ,GAAGd,WAAW,GAAGC,UAAU;IACjD,MAAMmB,UAAU,GAAGR,KAAK,CAACS,OAAO,EAAEC,KAAK,EA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AAC;EAED,MAAME,iBAAiB,GAAGA,CACzB7B,GAAY,EACZC,QAAkC,EAClC6B,mBAAqC,EACrC5B,QAAiB,KACL;IACZ,SAAS;;IAET,IAAI,OAAO4B,mBAAmB,KAAK,QAAQ,EAAE;MAC5C,OAAOtB,6BAA6B,CACnCR,GAAG,EACHC,QAAQ,EACR6B,mBAAmB,EACnB5B,QACD,CAAC;IACF;IAEA,OAAOsB,yBAAyB,CAACxB,GAAG,EAAEC,QAAQ,EAAE6B,mBAAmB,CAAC;EACrE,CAAC;EAED,OAAO;IACN/B,gBAAgB;IAChB8B;EACD,CAAC;AACF,CAAC","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["BoundStore","createLinkAccessor","getProps","getSnapshot","tag","key","String","getLink","props","link","getActiveLink","current","route","source","bounds","styles","destination"],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/helpers/link-accessor.ts"],"mappings":";;AAAA,SAASA,UAAU,QAAuB,wBAAwB;AAYlE,OAAO,MAAMC,kBAAkB,GAAIC,QAAkB,IAAmB;EACvE,SAAS;;EAET,MAAMC,WAAW,GAAGA,CAACC,GAAY,EAAEC,GAAY,KAAsB;IACpE,SAAS;;IACT,IAAI,CAACA,GAAG,EAAE,OAAO,IAAI;IACrB,OAAOL,UAAU,CAACG,WAAW,CAACG,MAAM,CAACF,GAAG,CAAC,EAAEC,GAAG,CAAC;EAChD,CAAC;EAED,MAAME,OAAO,GAAIH,GAAY,IAAwB;IACpD,SAAS;;IACT,MAAMI,KAAK,GAAGN,QAAQ,CAAC,CAAC;IACxB,MAAMO,IAAI,GAAGT,UAAU,CAACU,aAAa,CACpCJ,MAAM,CAACF,GAAG,CAAC,EACXI,KAAK,CAACG,OAAO,EAAEC,KAAK,CAACP,GACtB,CAAC;IACD,IAAI,CAACI,IAAI,EAAE,OAAO,IAAI;IACtB,OAAO;MACNI,MAAM,EAAEJ,IAAI,CAACI,MAAM,GAChB;QAAEC,MAAM,EAAEL,IAAI,CAACI,MAAM,CAACC,MAAM;QAAEC,MAAM,EAAEN,IAAI,CAACI,MAAM,CAACE;MAAO,CAAC,GAC1D,IAAI;MACPC,WAAW,EAAEP,IAAI,CAACO,WAAW,GAC1B;QAAEF,MAAM,EAAEL,IAAI,CAACO,WAAW,CAACF,MAAM;QAAEC,MAAM,EAAEN,IAAI,CAACO,WAAW,CAACD;MAAO,CAAC,GACpE;IACJ,CAAC;EACF,CAAC;EAED,OAAO;IACNZ,WAAW;IACXI;EACD,CAAC;AACF,CAAC","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["resolveBoundTag","id","group","undefined","normalizedId","String"],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/helpers/resolve-bound-tag.ts"],"mappings":";;AAOA,OAAO,MAAMA,eAAe,GAAGA,CAAC;EAC/BC,EAAE;EACFC;AACsB,CAAC,KAAyB;EAChD,SAAS;;EAET,IAAID,EAAE,KAAKE,SAAS,IAAIF,EAAE,KAAK,IAAI,IAAIA,EAAE,KAAK,EAAE,EAAE,OAAOE,SAAS;EAElE,MAAMC,YAAY,GAAGC,MAAM,CAACJ,EAAE,CAAC;EAE/B,IAAI,CAACC,KAAK,EAAE;IACX,OAAOE,YAAY;EACpB;EAEA,OAAO,GAAGF,KAAK,IAAIE,YAAY,EAAE;AAClC,CAAC","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["VISIBLE_STYLE","interpolateClamped","getAnchorPoint","bounds","anchor","pageX","pageY","width","height","x","y","getAnchorOffset","composeSizeAbsolute","params","start","end","progress","ranges","computeOptions","startAnchor","endAnchor","anchorX","anchorY","anchorOffset","translateX","translateY","raw","transform","composeSizeRelative","geometry","baseX","entering","baseY","composeTransformAbsolute","scaleX","scaleY","composeTransformRelative","dx","dy","gestures","composeContentStyle","s","tx","ty","scale"],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/helpers/style-composers.ts"],"mappings":";;AACA,SAASA,aAAa,QAAQ,oBAAoB;AAMlD,SAAS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EQ;IAAI;EACvB,CAAC,GAAGb,MAAM;EACV,MAAM;IAAE4B,CAAC;IAAEC,EAAE;IAAEC,EAAE;IAAEZ;EAAS,CAAC,GAAGF,QAAQ;EAExC,MAAML,UAAU,GAAGO,QAAQ,GACxB9B,kBAAkB,CAACe,QAAQ,EAAEC,MAAM,EAAE,CAACyB,EAAE,EAAE,CAAC,CAAC,CAAC,GAC7CzC,kBAAkB,CAACe,QAAQ,EAAEC,MAAM,EAAE,CAAC,CAAC,EAAEyB,EAAE,CAAC,CAAC;EAChD,MAAMjB,UAAU,GAAGM,QAAQ,GACxB9B,kBAAkB,CAACe,QAAQ,EAAEC,MAAM,EAAE,CAAC0B,EAAE,EAAE,CAAC,CAAC,CAAC,GAC7C1C,kBAAkB,CAACe,QAAQ,EAAEC,MAAM,EAAE,CAAC,CAAC,EAAE0B,EAAE,CAAC,CAAC;EAChD,MAAMC,KAAK,GAAGb,QAAQ,GACnB9B,kBAAkB,CAACe,QAAQ,EAAEC,MAAM,EAAE,CAACwB,CAAC,EAAE,CAAC,CAAC,CAAC,GAC5CxC,kBAAkB,CAACe,QAAQ,EAAEC,MAAM,EAAE,CAAC,CAAC,EAAEwB,CAAC,CAAC,CAAC;EAE/C,IAAIf,GAAG,EAAE;IACR,OAAO;MACNF,UAAU;MACVC,UAAU;MACVmB,KAAK;MACL,GAAG5C;IACJ,CAAC;EACF;EAEA,OAAO;IACN2B,SAAS,EAAE,CAAC;MAAEH;IAAW,CAAC,EAAE;MAAEC;IAAW,CAAC,EAAE;MAAEmB;IAAM,CAAC,CAAC;IACtD,GAAG5C;EACJ,CAAC;AACF","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["isSharedValue","mergeStyleArrays","style","undefined","Array","isArray","merged","i","length","currentStyle","Object","assign","stripNonSerializable","value","map","cleaned","key","cleanedValue","prepareStyleForBounds","flattened","serializable"],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/helpers/styles.ts"],"mappings":";;AACA,SAASA,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OAAO;EACf;EAEA,IAAI,OAAOF,KAAK,KAAK,UAAU,EAAE;IAChC,OAAOV,SAAS;EACjB;EAEA,OAAOU,KAAK;AACb;AAEA,OAAO,SAASK,qBAAqBA,CACpChB,KAA6B,EACV;EACnB,IAAI,CAACA,KAAK,EAAE,OAAO,CAAC,CAAC;EAErB,MAAMiB,SAAS,GAAGlB,gBAAgB,CAACC,KAAK,CAAC;EACzC,MAAMkB,YAAY,GAAGR,oBAAoB,CAACO,SAAS,CAAC;EAEpD,OAAOC,YAAY,IAAI,CAAC,CAAC;AAC1B","ignoreList":[]}
@@ -1,11 +0,0 @@
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
@@ -1 +0,0 @@
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,17 +0,0 @@
1
- import type { BoundaryId, MaybeMeasureAndStoreParams } from "../types";
2
- /**
3
- * Watches the group's active id in the BoundStore.
4
- * When this boundary becomes the active member of its group,
5
- * re-measures itself and updates the link destination with fresh bounds.
6
- * This handles the case where a boundary scrolled into view after initial mount
7
- * (e.g., paging ScrollView in a detail screen).
8
- */
9
- export declare const useGroupActiveMeasurement: (params: {
10
- enabled: boolean;
11
- group: string | undefined;
12
- id: BoundaryId;
13
- currentScreenKey: string;
14
- shouldUpdateDestination: boolean;
15
- maybeMeasureAndStore: (options: MaybeMeasureAndStoreParams) => void;
16
- }) => void;
17
- //# sourceMappingURL=use-group-active-measurement.d.ts.map
@@ -1 +0,0 @@
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":"AASA,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,gBAAgB,EAAE,MAAM,CAAC;IACzB,uBAAuB,EAAE,OAAO,CAAC;IACjC,oBAAoB,EAAE,CAAC,OAAO,EAAE,0BAA0B,KAAK,IAAI,CAAC;CACpE,SAmIA,CAAC"}
@@ -1,11 +0,0 @@
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
@@ -1 +0,0 @@
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,10 +0,0 @@
1
- import type { MaybeMeasureAndStoreParams } from "../types";
2
- export declare const useInitialLayoutHandler: (params: {
3
- enabled: boolean;
4
- sharedBoundTag: string;
5
- currentScreenKey: string;
6
- ancestorKeys: string[];
7
- expectedSourceScreenKey?: string;
8
- maybeMeasureAndStore: (options: MaybeMeasureAndStoreParams) => void;
9
- }) => void;
10
- //# sourceMappingURL=use-initial-layout-handler.d.ts.map
@@ -1 +0,0 @@
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,SA4EA,CAAC"}
@@ -1,11 +0,0 @@
1
- import { type SharedValue } from "react-native-reanimated";
2
- import type { MaybeMeasureAndStoreParams } from "../types";
3
- export declare const usePendingDestinationRetryMeasurement: (params: {
4
- sharedBoundTag: string;
5
- enabled: boolean;
6
- currentScreenKey: string;
7
- expectedSourceScreenKey?: string;
8
- animating: SharedValue<number>;
9
- maybeMeasureAndStore: (options: MaybeMeasureAndStoreParams) => void;
10
- }) => void;
11
- //# sourceMappingURL=use-pending-destination-retry-measurement.d.ts.map
@@ -1 +0,0 @@
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;AAIjC,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,SAAS,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC/B,oBAAoB,EAAE,CAAC,OAAO,EAAE,0BAA0B,KAAK,IAAI,CAAC;CACpE,SAoEA,CAAC"}