react-native-screen-transitions 3.0.0-beta.9 → 3.0.0-rc.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 (415) hide show
  1. package/README.md +60 -5
  2. package/lib/commonjs/blank-stack/components/Overlay.js +7 -4
  3. package/lib/commonjs/blank-stack/components/Overlay.js.map +1 -1
  4. package/lib/commonjs/blank-stack/components/Screens.js +2 -2
  5. package/lib/commonjs/blank-stack/components/Screens.js.map +1 -1
  6. package/lib/commonjs/blank-stack/components/StackView.js +9 -5
  7. package/lib/commonjs/blank-stack/components/StackView.js.map +1 -1
  8. package/lib/commonjs/blank-stack/hooks/use-overlay-animation.js +4 -4
  9. package/lib/commonjs/blank-stack/hooks/use-overlay-animation.js.map +1 -1
  10. package/lib/commonjs/blank-stack/index.js +1 -1
  11. package/lib/commonjs/blank-stack/index.js.map +1 -1
  12. package/lib/commonjs/native-stack/views/NativeStackView.native.js +4 -3
  13. package/lib/commonjs/native-stack/views/NativeStackView.native.js.map +1 -1
  14. package/lib/commonjs/shared/components/controllers/screen-lifecycle.js +9 -9
  15. package/lib/commonjs/shared/components/controllers/screen-lifecycle.js.map +1 -1
  16. package/lib/commonjs/shared/components/create-transition-aware-component.js +11 -14
  17. package/lib/commonjs/shared/components/create-transition-aware-component.js.map +1 -1
  18. package/lib/commonjs/shared/components/root-transition-aware.js +1 -1
  19. package/lib/commonjs/shared/components/root-transition-aware.js.map +1 -1
  20. package/lib/commonjs/shared/configs/presets.js +20 -9
  21. package/lib/commonjs/shared/configs/presets.js.map +1 -1
  22. package/lib/commonjs/shared/constants.js +0 -1
  23. package/lib/commonjs/shared/constants.js.map +1 -1
  24. package/lib/commonjs/shared/hooks/animation/use-associated-style.js +9 -10
  25. package/lib/commonjs/shared/hooks/animation/use-associated-style.js.map +1 -1
  26. package/lib/commonjs/shared/hooks/animation/use-screen-animation.js +10 -25
  27. package/lib/commonjs/shared/hooks/animation/use-screen-animation.js.map +1 -1
  28. package/lib/commonjs/shared/hooks/gestures/use-build-gestures.js +11 -11
  29. package/lib/commonjs/shared/hooks/gestures/use-build-gestures.js.map +1 -1
  30. package/lib/commonjs/shared/hooks/gestures/use-parent-gesture-registry.js +1 -1
  31. package/lib/commonjs/shared/hooks/gestures/use-scroll-registry.js +1 -1
  32. package/lib/commonjs/shared/hooks/reanimated/use-shared-value-state.js.map +1 -0
  33. package/lib/commonjs/shared/hooks/use-stable-callback-value.js.map +1 -1
  34. package/lib/commonjs/shared/hooks/use-stable-callback.js.map +1 -1
  35. package/lib/commonjs/shared/providers/{gestures.js → gestures.provider.js} +1 -1
  36. package/lib/commonjs/shared/providers/gestures.provider.js.map +1 -0
  37. package/lib/commonjs/shared/providers/{keys.js → keys.provider.js} +1 -1
  38. package/lib/commonjs/shared/providers/keys.provider.js.map +1 -0
  39. package/lib/commonjs/shared/providers/register-bounds.provider.js +211 -0
  40. package/lib/commonjs/shared/providers/register-bounds.provider.js.map +1 -0
  41. package/lib/commonjs/shared/providers/{screen-transition-provider.js → screen-transition.provider.js} +4 -4
  42. package/lib/commonjs/shared/providers/{screen-transition-provider.js.map → screen-transition.provider.js.map} +1 -1
  43. package/lib/commonjs/shared/providers/{transition-styles.js → transition-styles.provider.js} +9 -9
  44. package/lib/commonjs/shared/providers/transition-styles.provider.js.map +1 -0
  45. package/lib/commonjs/shared/stores/{animation-store.js → animation.store.js} +1 -1
  46. package/lib/commonjs/shared/stores/{animation-store.js.map → animation.store.js.map} +1 -1
  47. package/lib/commonjs/shared/stores/bounds.store.js +141 -0
  48. package/lib/commonjs/shared/stores/bounds.store.js.map +1 -0
  49. package/lib/commonjs/shared/stores/{gesture-store.js → gesture.store.js} +1 -1
  50. package/lib/commonjs/shared/stores/{gesture-store.js.map → gesture.store.js.map} +1 -1
  51. package/lib/commonjs/shared/types/{core.js → animation.types.js} +1 -1
  52. package/lib/commonjs/shared/types/animation.types.js.map +1 -0
  53. package/lib/commonjs/shared/types/{bounds.js → bounds.types.js} +1 -1
  54. package/lib/commonjs/shared/types/bounds.types.js.map +1 -0
  55. package/lib/commonjs/shared/types/{animation.js → core.types.js} +1 -1
  56. package/lib/commonjs/shared/types/{animation.js.map → core.types.js.map} +1 -1
  57. package/lib/commonjs/shared/types/{gesture.js → gesture.types.js} +1 -1
  58. package/lib/commonjs/shared/types/gesture.types.js.map +1 -0
  59. package/lib/commonjs/shared/types/utils.types.js +2 -0
  60. package/lib/commonjs/shared/types/{core.js.map → utils.types.js.map} +1 -1
  61. package/lib/commonjs/shared/utils/animation/derivations.js +1 -7
  62. package/lib/commonjs/shared/utils/animation/derivations.js.map +1 -1
  63. package/lib/commonjs/shared/utils/bounds/helpers/geometry.js.map +1 -0
  64. package/lib/commonjs/shared/utils/bounds/helpers/is-bounds-equal.js +19 -0
  65. package/lib/commonjs/shared/utils/bounds/helpers/is-bounds-equal.js.map +1 -0
  66. package/lib/commonjs/shared/utils/bounds/helpers/style-composers.js.map +1 -0
  67. package/lib/commonjs/shared/utils/bounds/helpers/styles.js.map +1 -0
  68. package/lib/commonjs/shared/utils/bounds/index.js +45 -35
  69. package/lib/commonjs/shared/utils/bounds/index.js.map +1 -1
  70. package/lib/commonjs/shared/utils/bounds/types/builder.js.map +1 -0
  71. package/lib/commonjs/shared/utils/bounds/{_types/builder.js.map → types/geometry.js.map} +1 -1
  72. package/lib/commonjs/shared/utils/create-provider.js.map +1 -0
  73. package/lib/commonjs/shared/utils/gesture/apply-offset-rules.js +1 -1
  74. package/lib/commonjs/shared/utils/gesture/check-gesture-activation.js +1 -1
  75. package/lib/commonjs/shared/utils/reset-stores-for-screen.js +17 -0
  76. package/lib/commonjs/shared/utils/reset-stores-for-screen.js.map +1 -0
  77. package/lib/module/blank-stack/components/Overlay.js +7 -4
  78. package/lib/module/blank-stack/components/Overlay.js.map +1 -1
  79. package/lib/module/blank-stack/components/Screens.js +1 -1
  80. package/lib/module/blank-stack/components/StackView.js +8 -4
  81. package/lib/module/blank-stack/components/StackView.js.map +1 -1
  82. package/lib/module/blank-stack/hooks/use-overlay-animation.js +3 -3
  83. package/lib/module/blank-stack/hooks/use-overlay-animation.js.map +1 -1
  84. package/lib/module/blank-stack/index.js +1 -1
  85. package/lib/module/blank-stack/index.js.map +1 -1
  86. package/lib/module/native-stack/views/NativeStackView.native.js +3 -2
  87. package/lib/module/native-stack/views/NativeStackView.native.js.map +1 -1
  88. package/lib/module/shared/components/controllers/screen-lifecycle.js +8 -8
  89. package/lib/module/shared/components/controllers/screen-lifecycle.js.map +1 -1
  90. package/lib/module/shared/components/create-transition-aware-component.js +11 -14
  91. package/lib/module/shared/components/create-transition-aware-component.js.map +1 -1
  92. package/lib/module/shared/components/root-transition-aware.js +1 -1
  93. package/lib/module/shared/components/root-transition-aware.js.map +1 -1
  94. package/lib/module/shared/configs/presets.js +20 -9
  95. package/lib/module/shared/configs/presets.js.map +1 -1
  96. package/lib/module/shared/constants.js +0 -1
  97. package/lib/module/shared/constants.js.map +1 -1
  98. package/lib/module/shared/hooks/animation/use-associated-style.js +9 -10
  99. package/lib/module/shared/hooks/animation/use-associated-style.js.map +1 -1
  100. package/lib/module/shared/hooks/animation/use-screen-animation.js +7 -22
  101. package/lib/module/shared/hooks/animation/use-screen-animation.js.map +1 -1
  102. package/lib/module/shared/hooks/gestures/use-build-gestures.js +4 -4
  103. package/lib/module/shared/hooks/gestures/use-build-gestures.js.map +1 -1
  104. package/lib/module/shared/hooks/gestures/use-parent-gesture-registry.js +1 -1
  105. package/lib/module/shared/hooks/gestures/use-parent-gesture-registry.js.map +1 -1
  106. package/lib/module/shared/hooks/gestures/use-scroll-registry.js +1 -1
  107. package/lib/module/shared/hooks/gestures/use-scroll-registry.js.map +1 -1
  108. package/lib/module/shared/hooks/reanimated/use-shared-value-state.js.map +1 -0
  109. package/lib/module/shared/hooks/use-stable-callback-value.js.map +1 -1
  110. package/lib/module/shared/hooks/use-stable-callback.js.map +1 -1
  111. package/lib/module/shared/providers/{gestures.js → gestures.provider.js} +1 -1
  112. package/lib/module/shared/providers/gestures.provider.js.map +1 -0
  113. package/lib/module/shared/providers/{keys.js → keys.provider.js} +1 -1
  114. package/lib/module/shared/providers/keys.provider.js.map +1 -0
  115. package/lib/module/shared/providers/register-bounds.provider.js +206 -0
  116. package/lib/module/shared/providers/register-bounds.provider.js.map +1 -0
  117. package/lib/module/shared/providers/{screen-transition-provider.js → screen-transition.provider.js} +4 -4
  118. package/lib/module/shared/providers/{screen-transition-provider.js.map → screen-transition.provider.js.map} +1 -1
  119. package/lib/module/shared/providers/{transition-styles.js → transition-styles.provider.js} +8 -9
  120. package/lib/module/shared/providers/transition-styles.provider.js.map +1 -0
  121. package/lib/module/shared/stores/{animation-store.js → animation.store.js} +1 -1
  122. package/lib/module/shared/stores/{animation-store.js.map → animation.store.js.map} +1 -1
  123. package/lib/module/shared/stores/bounds.store.js +137 -0
  124. package/lib/module/shared/stores/bounds.store.js.map +1 -0
  125. package/lib/module/shared/stores/{gesture-store.js → gesture.store.js} +1 -1
  126. package/lib/module/shared/stores/{gesture-store.js.map → gesture.store.js.map} +1 -1
  127. package/lib/module/shared/types/animation.types.js +4 -0
  128. package/lib/module/shared/types/animation.types.js.map +1 -0
  129. package/lib/module/shared/types/bounds.types.js +4 -0
  130. package/lib/module/shared/types/bounds.types.js.map +1 -0
  131. package/lib/module/shared/types/core.types.js +4 -0
  132. package/lib/{commonjs/shared/types/bounds.js.map → module/shared/types/core.types.js.map} +1 -1
  133. package/lib/module/shared/types/{gesture.js → gesture.types.js} +1 -1
  134. package/lib/module/shared/types/gesture.types.js.map +1 -0
  135. package/lib/module/shared/types/utils.types.js +2 -0
  136. package/lib/{commonjs/shared/types/utils.js.map → module/shared/types/utils.types.js.map} +1 -1
  137. package/lib/module/shared/utils/animation/derivations.js +1 -7
  138. package/lib/module/shared/utils/animation/derivations.js.map +1 -1
  139. package/lib/module/shared/utils/bounds/helpers/geometry.js.map +1 -0
  140. package/lib/module/shared/utils/bounds/helpers/is-bounds-equal.js +14 -0
  141. package/lib/module/shared/utils/bounds/helpers/is-bounds-equal.js.map +1 -0
  142. package/lib/module/shared/utils/bounds/helpers/style-composers.js.map +1 -0
  143. package/lib/module/shared/utils/bounds/helpers/styles.js.map +1 -0
  144. package/lib/module/shared/utils/bounds/index.js +45 -35
  145. package/lib/module/shared/utils/bounds/index.js.map +1 -1
  146. package/lib/module/shared/utils/bounds/types/builder.js.map +1 -0
  147. package/lib/module/shared/utils/bounds/{_types/builder.js.map → types/geometry.js.map} +1 -1
  148. package/lib/module/shared/utils/create-provider.js.map +1 -0
  149. package/lib/module/shared/utils/gesture/apply-offset-rules.js +1 -1
  150. package/lib/module/shared/utils/gesture/apply-offset-rules.js.map +1 -1
  151. package/lib/module/shared/utils/gesture/check-gesture-activation.js +1 -1
  152. package/lib/module/shared/utils/gesture/check-gesture-activation.js.map +1 -1
  153. package/lib/module/shared/utils/reset-stores-for-screen.js +13 -0
  154. package/lib/module/shared/utils/reset-stores-for-screen.js.map +1 -0
  155. package/lib/typescript/blank-stack/components/Overlay.d.ts.map +1 -1
  156. package/lib/typescript/blank-stack/components/StackView.d.ts.map +1 -1
  157. package/lib/typescript/blank-stack/hooks/use-overlay-animation.d.ts +1 -1
  158. package/lib/typescript/blank-stack/hooks/use-overlay-animation.d.ts.map +1 -1
  159. package/lib/typescript/blank-stack/index.d.ts +1 -1
  160. package/lib/typescript/blank-stack/index.d.ts.map +1 -1
  161. package/lib/typescript/blank-stack/types.d.ts +2 -2
  162. package/lib/typescript/blank-stack/types.d.ts.map +1 -1
  163. package/lib/typescript/native-stack/types.d.ts +1 -1
  164. package/lib/typescript/native-stack/types.d.ts.map +1 -1
  165. package/lib/typescript/native-stack/views/NativeStackView.native.d.ts.map +1 -1
  166. package/lib/typescript/shared/components/controllers/screen-lifecycle.d.ts.map +1 -1
  167. package/lib/typescript/shared/components/create-transition-aware-component.d.ts.map +1 -1
  168. package/lib/typescript/shared/configs/index.d.ts +9 -3
  169. package/lib/typescript/shared/configs/index.d.ts.map +1 -1
  170. package/lib/typescript/shared/configs/presets.d.ts +10 -4
  171. package/lib/typescript/shared/configs/presets.d.ts.map +1 -1
  172. package/lib/typescript/shared/constants.d.ts +6 -6
  173. package/lib/typescript/shared/constants.d.ts.map +1 -1
  174. package/lib/typescript/shared/hooks/animation/use-associated-style.d.ts.map +1 -1
  175. package/lib/typescript/shared/hooks/animation/use-screen-animation.d.ts +2 -2
  176. package/lib/typescript/shared/hooks/animation/use-screen-animation.d.ts.map +1 -1
  177. package/lib/typescript/shared/hooks/gestures/use-build-gestures.d.ts +2 -2
  178. package/lib/typescript/shared/hooks/gestures/use-build-gestures.d.ts.map +1 -1
  179. package/lib/typescript/shared/hooks/reanimated/use-shared-value-state.d.ts.map +1 -0
  180. package/lib/typescript/shared/hooks/use-stable-callback-value.d.ts.map +1 -1
  181. package/lib/typescript/shared/hooks/use-stable-callback.d.ts.map +1 -1
  182. package/lib/typescript/shared/index.d.ts +25 -19
  183. package/lib/typescript/shared/index.d.ts.map +1 -1
  184. package/lib/typescript/shared/providers/{gestures.d.ts → gestures.provider.d.ts} +2 -2
  185. package/lib/typescript/shared/providers/gestures.provider.d.ts.map +1 -0
  186. package/lib/typescript/shared/providers/{keys.d.ts → keys.provider.d.ts} +2 -2
  187. package/lib/typescript/shared/providers/keys.provider.d.ts.map +1 -0
  188. package/lib/typescript/shared/providers/register-bounds.provider.d.ts +17 -0
  189. package/lib/typescript/shared/providers/register-bounds.provider.d.ts.map +1 -0
  190. package/lib/typescript/shared/providers/{screen-transition-provider.d.ts → screen-transition.provider.d.ts} +2 -2
  191. package/lib/typescript/shared/providers/{screen-transition-provider.d.ts.map → screen-transition.provider.d.ts.map} +1 -1
  192. package/lib/typescript/shared/providers/transition-styles.provider.d.ts +14 -0
  193. package/lib/typescript/shared/providers/transition-styles.provider.d.ts.map +1 -0
  194. package/lib/typescript/shared/stores/{animation-store.d.ts → animation.store.d.ts} +2 -2
  195. package/lib/typescript/shared/stores/animation.store.d.ts.map +1 -0
  196. package/lib/typescript/shared/stores/bounds.store.d.ts +29 -0
  197. package/lib/typescript/shared/stores/bounds.store.d.ts.map +1 -0
  198. package/lib/typescript/shared/stores/{gesture-store.d.ts → gesture.store.d.ts} +3 -3
  199. package/lib/typescript/shared/stores/gesture.store.d.ts.map +1 -0
  200. package/lib/typescript/shared/types/{animation.d.ts → animation.types.d.ts} +48 -20
  201. package/lib/typescript/shared/types/animation.types.d.ts.map +1 -0
  202. package/lib/typescript/shared/types/{bounds.d.ts → bounds.types.d.ts} +4 -4
  203. package/lib/typescript/shared/types/bounds.types.d.ts.map +1 -0
  204. package/lib/typescript/shared/types/{core.d.ts → core.types.d.ts} +3 -3
  205. package/lib/typescript/shared/types/core.types.d.ts.map +1 -0
  206. package/lib/typescript/shared/types/{gesture.d.ts → gesture.types.d.ts} +1 -1
  207. package/lib/typescript/shared/types/gesture.types.d.ts.map +1 -0
  208. package/lib/typescript/shared/types/{utils.d.ts → utils.types.d.ts} +1 -1
  209. package/lib/typescript/shared/types/utils.types.d.ts.map +1 -0
  210. package/lib/typescript/shared/utils/animation/derivations.d.ts +2 -4
  211. package/lib/typescript/shared/utils/animation/derivations.d.ts.map +1 -1
  212. package/lib/typescript/shared/utils/animation/start-screen-transition.d.ts +2 -2
  213. package/lib/typescript/shared/utils/animation/start-screen-transition.d.ts.map +1 -1
  214. package/lib/typescript/shared/utils/bounds/constants.d.ts +3 -3
  215. package/lib/typescript/shared/utils/bounds/constants.d.ts.map +1 -1
  216. package/lib/typescript/shared/utils/bounds/{_utils → helpers}/geometry.d.ts +3 -3
  217. package/lib/typescript/shared/utils/bounds/helpers/geometry.d.ts.map +1 -0
  218. package/lib/typescript/shared/utils/bounds/helpers/is-bounds-equal.d.ts.map +1 -0
  219. package/lib/typescript/shared/utils/bounds/{_utils → helpers}/style-composers.d.ts +2 -2
  220. package/lib/typescript/shared/utils/bounds/helpers/style-composers.d.ts.map +1 -0
  221. package/lib/typescript/shared/utils/bounds/{_utils → helpers}/styles.d.ts +1 -1
  222. package/lib/typescript/shared/utils/bounds/helpers/styles.d.ts.map +1 -0
  223. package/lib/typescript/shared/utils/bounds/index.d.ts +3 -4
  224. package/lib/typescript/shared/utils/bounds/index.d.ts.map +1 -1
  225. package/lib/typescript/shared/utils/bounds/{_types → types}/builder.d.ts +13 -34
  226. package/lib/typescript/shared/utils/bounds/types/builder.d.ts.map +1 -0
  227. package/lib/typescript/shared/utils/bounds/types/geometry.d.ts.map +1 -0
  228. package/lib/typescript/shared/{providers/utils → utils}/create-provider.d.ts +2 -2
  229. package/lib/typescript/shared/utils/create-provider.d.ts.map +1 -0
  230. package/lib/typescript/shared/utils/gesture/apply-offset-rules.d.ts +2 -2
  231. package/lib/typescript/shared/utils/gesture/apply-offset-rules.d.ts.map +1 -1
  232. package/lib/typescript/shared/utils/gesture/check-gesture-activation.d.ts +2 -2
  233. package/lib/typescript/shared/utils/gesture/check-gesture-activation.d.ts.map +1 -1
  234. package/lib/typescript/shared/utils/gesture/reset-gesture-values.d.ts +2 -2
  235. package/lib/typescript/shared/utils/gesture/reset-gesture-values.d.ts.map +1 -1
  236. package/lib/typescript/shared/utils/gesture/velocity.d.ts +1 -1
  237. package/lib/typescript/shared/utils/reset-stores-for-screen.d.ts +6 -0
  238. package/lib/typescript/shared/utils/reset-stores-for-screen.d.ts.map +1 -0
  239. package/package.json +1 -1
  240. package/src/blank-stack/components/Overlay.tsx +5 -2
  241. package/src/blank-stack/components/Screens.tsx +1 -1
  242. package/src/blank-stack/components/StackView.tsx +7 -2
  243. package/src/blank-stack/hooks/use-overlay-animation.tsx +4 -4
  244. package/src/blank-stack/index.ts +1 -1
  245. package/src/blank-stack/types.ts +2 -2
  246. package/src/native-stack/types.ts +1 -1
  247. package/src/native-stack/views/NativeStackView.native.tsx +4 -2
  248. package/src/shared/components/controllers/screen-lifecycle.tsx +12 -10
  249. package/src/shared/components/create-transition-aware-component.tsx +23 -27
  250. package/src/shared/components/root-transition-aware.tsx +1 -1
  251. package/src/shared/configs/presets.ts +31 -17
  252. package/src/shared/constants.ts +6 -7
  253. package/src/shared/hooks/animation/use-associated-style.tsx +12 -9
  254. package/src/shared/hooks/animation/use-screen-animation.tsx +8 -26
  255. package/src/shared/hooks/gestures/use-build-gestures.tsx +5 -5
  256. package/src/shared/hooks/gestures/use-parent-gesture-registry.tsx +1 -1
  257. package/src/shared/hooks/gestures/use-scroll-registry.tsx +2 -2
  258. package/src/shared/index.ts +2 -2
  259. package/src/shared/providers/{gestures.tsx → gestures.provider.tsx} +1 -1
  260. package/src/shared/providers/{keys.tsx → keys.provider.tsx} +1 -1
  261. package/src/shared/providers/register-bounds.provider.tsx +290 -0
  262. package/src/shared/providers/{screen-transition-provider.tsx → screen-transition.provider.tsx} +3 -3
  263. package/src/shared/providers/{transition-styles.tsx → transition-styles.provider.tsx} +18 -16
  264. package/src/shared/stores/{animation-store.ts → animation.store.ts} +1 -1
  265. package/src/shared/stores/bounds.store.ts +166 -0
  266. package/src/shared/stores/{gesture-store.ts → gesture.store.ts} +2 -2
  267. package/src/shared/types/{animation.ts → animation.types.ts} +60 -19
  268. package/src/shared/types/{bounds.ts → bounds.types.ts} +3 -3
  269. package/src/shared/types/{core.ts → core.types.ts} +10 -2
  270. package/src/shared/utils/animation/derivations.ts +2 -8
  271. package/src/shared/utils/animation/start-screen-transition.ts +2 -2
  272. package/src/shared/utils/bounds/constants.ts +3 -3
  273. package/src/shared/utils/bounds/{_utils → helpers}/geometry.ts +3 -3
  274. package/src/shared/utils/bounds/{_utils → helpers}/is-bounds-equal.ts +3 -3
  275. package/src/shared/utils/bounds/{_utils → helpers}/style-composers.ts +2 -2
  276. package/src/shared/utils/bounds/{_utils → helpers}/styles.ts +1 -1
  277. package/src/shared/utils/bounds/index.ts +53 -55
  278. package/src/shared/utils/bounds/{_types → types}/builder.ts +19 -37
  279. package/src/shared/{providers/utils → utils}/create-provider.tsx +3 -9
  280. package/src/shared/utils/gesture/apply-offset-rules.ts +2 -2
  281. package/src/shared/utils/gesture/check-gesture-activation.ts +2 -2
  282. package/src/shared/utils/gesture/reset-gesture-values.ts +2 -2
  283. package/src/shared/utils/gesture/velocity.ts +1 -1
  284. package/src/shared/utils/reset-stores-for-screen.ts +11 -0
  285. package/lib/commonjs/shared/hooks/bounds/use-bound-registry.js +0 -152
  286. package/lib/commonjs/shared/hooks/bounds/use-bound-registry.js.map +0 -1
  287. package/lib/commonjs/shared/hooks/use-derived-value-state.js +0 -33
  288. package/lib/commonjs/shared/hooks/use-derived-value-state.js.map +0 -1
  289. package/lib/commonjs/shared/hooks/use-shared-value-state.js.map +0 -1
  290. package/lib/commonjs/shared/providers/gestures.js.map +0 -1
  291. package/lib/commonjs/shared/providers/keys.js.map +0 -1
  292. package/lib/commonjs/shared/providers/transition-styles.js.map +0 -1
  293. package/lib/commonjs/shared/providers/utils/create-provider.js.map +0 -1
  294. package/lib/commonjs/shared/stores/bound-store/_utils.js +0 -118
  295. package/lib/commonjs/shared/stores/bound-store/_utils.js.map +0 -1
  296. package/lib/commonjs/shared/stores/bound-store/index.js +0 -127
  297. package/lib/commonjs/shared/stores/bound-store/index.js.map +0 -1
  298. package/lib/commonjs/shared/stores/utils/reset-stores-for-screen.js +0 -19
  299. package/lib/commonjs/shared/stores/utils/reset-stores-for-screen.js.map +0 -1
  300. package/lib/commonjs/shared/types/gesture.js.map +0 -1
  301. package/lib/commonjs/shared/types/utils.js +0 -2
  302. package/lib/commonjs/shared/utils/bounds/_types/geometry.js.map +0 -1
  303. package/lib/commonjs/shared/utils/bounds/_types/get-bounds.js +0 -6
  304. package/lib/commonjs/shared/utils/bounds/_types/get-bounds.js.map +0 -1
  305. package/lib/commonjs/shared/utils/bounds/_utils/flatten-styles.js +0 -27
  306. package/lib/commonjs/shared/utils/bounds/_utils/flatten-styles.js.map +0 -1
  307. package/lib/commonjs/shared/utils/bounds/_utils/geometry.js.map +0 -1
  308. package/lib/commonjs/shared/utils/bounds/_utils/get-bounds.js +0 -49
  309. package/lib/commonjs/shared/utils/bounds/_utils/get-bounds.js.map +0 -1
  310. package/lib/commonjs/shared/utils/bounds/_utils/is-bounds-equal.js +0 -19
  311. package/lib/commonjs/shared/utils/bounds/_utils/is-bounds-equal.js.map +0 -1
  312. package/lib/commonjs/shared/utils/bounds/_utils/style-composers.js.map +0 -1
  313. package/lib/commonjs/shared/utils/bounds/_utils/styles.js.map +0 -1
  314. package/lib/module/shared/hooks/bounds/use-bound-registry.js +0 -146
  315. package/lib/module/shared/hooks/bounds/use-bound-registry.js.map +0 -1
  316. package/lib/module/shared/hooks/use-derived-value-state.js +0 -30
  317. package/lib/module/shared/hooks/use-derived-value-state.js.map +0 -1
  318. package/lib/module/shared/hooks/use-shared-value-state.js.map +0 -1
  319. package/lib/module/shared/providers/gestures.js.map +0 -1
  320. package/lib/module/shared/providers/keys.js.map +0 -1
  321. package/lib/module/shared/providers/transition-styles.js.map +0 -1
  322. package/lib/module/shared/providers/utils/create-provider.js.map +0 -1
  323. package/lib/module/shared/stores/bound-store/_utils.js +0 -113
  324. package/lib/module/shared/stores/bound-store/_utils.js.map +0 -1
  325. package/lib/module/shared/stores/bound-store/index.js +0 -123
  326. package/lib/module/shared/stores/bound-store/index.js.map +0 -1
  327. package/lib/module/shared/stores/utils/reset-stores-for-screen.js +0 -15
  328. package/lib/module/shared/stores/utils/reset-stores-for-screen.js.map +0 -1
  329. package/lib/module/shared/types/animation.js +0 -4
  330. package/lib/module/shared/types/animation.js.map +0 -1
  331. package/lib/module/shared/types/bounds.js +0 -4
  332. package/lib/module/shared/types/bounds.js.map +0 -1
  333. package/lib/module/shared/types/core.js +0 -4
  334. package/lib/module/shared/types/core.js.map +0 -1
  335. package/lib/module/shared/types/gesture.js.map +0 -1
  336. package/lib/module/shared/types/utils.js +0 -2
  337. package/lib/module/shared/types/utils.js.map +0 -1
  338. package/lib/module/shared/utils/bounds/_types/geometry.js.map +0 -1
  339. package/lib/module/shared/utils/bounds/_types/get-bounds.js +0 -4
  340. package/lib/module/shared/utils/bounds/_types/get-bounds.js.map +0 -1
  341. package/lib/module/shared/utils/bounds/_utils/flatten-styles.js +0 -23
  342. package/lib/module/shared/utils/bounds/_utils/flatten-styles.js.map +0 -1
  343. package/lib/module/shared/utils/bounds/_utils/geometry.js.map +0 -1
  344. package/lib/module/shared/utils/bounds/_utils/get-bounds.js +0 -44
  345. package/lib/module/shared/utils/bounds/_utils/get-bounds.js.map +0 -1
  346. package/lib/module/shared/utils/bounds/_utils/is-bounds-equal.js +0 -14
  347. package/lib/module/shared/utils/bounds/_utils/is-bounds-equal.js.map +0 -1
  348. package/lib/module/shared/utils/bounds/_utils/style-composers.js.map +0 -1
  349. package/lib/module/shared/utils/bounds/_utils/styles.js.map +0 -1
  350. package/lib/typescript/shared/hooks/bounds/use-bound-registry.d.ts +0 -17
  351. package/lib/typescript/shared/hooks/bounds/use-bound-registry.d.ts.map +0 -1
  352. package/lib/typescript/shared/hooks/use-derived-value-state.d.ts +0 -9
  353. package/lib/typescript/shared/hooks/use-derived-value-state.d.ts.map +0 -1
  354. package/lib/typescript/shared/hooks/use-shared-value-state.d.ts.map +0 -1
  355. package/lib/typescript/shared/providers/gestures.d.ts.map +0 -1
  356. package/lib/typescript/shared/providers/keys.d.ts.map +0 -1
  357. package/lib/typescript/shared/providers/transition-styles.d.ts +0 -11
  358. package/lib/typescript/shared/providers/transition-styles.d.ts.map +0 -1
  359. package/lib/typescript/shared/providers/utils/create-provider.d.ts.map +0 -1
  360. package/lib/typescript/shared/stores/animation-store.d.ts.map +0 -1
  361. package/lib/typescript/shared/stores/bound-store/_utils.d.ts +0 -24
  362. package/lib/typescript/shared/stores/bound-store/_utils.d.ts.map +0 -1
  363. package/lib/typescript/shared/stores/bound-store/index.d.ts +0 -24
  364. package/lib/typescript/shared/stores/bound-store/index.d.ts.map +0 -1
  365. package/lib/typescript/shared/stores/gesture-store.d.ts.map +0 -1
  366. package/lib/typescript/shared/stores/utils/reset-stores-for-screen.d.ts +0 -6
  367. package/lib/typescript/shared/stores/utils/reset-stores-for-screen.d.ts.map +0 -1
  368. package/lib/typescript/shared/types/animation.d.ts.map +0 -1
  369. package/lib/typescript/shared/types/bounds.d.ts.map +0 -1
  370. package/lib/typescript/shared/types/core.d.ts.map +0 -1
  371. package/lib/typescript/shared/types/gesture.d.ts.map +0 -1
  372. package/lib/typescript/shared/types/utils.d.ts.map +0 -1
  373. package/lib/typescript/shared/utils/bounds/_types/builder.d.ts.map +0 -1
  374. package/lib/typescript/shared/utils/bounds/_types/geometry.d.ts.map +0 -1
  375. package/lib/typescript/shared/utils/bounds/_types/get-bounds.d.ts +0 -10
  376. package/lib/typescript/shared/utils/bounds/_types/get-bounds.d.ts.map +0 -1
  377. package/lib/typescript/shared/utils/bounds/_utils/flatten-styles.d.ts +0 -2
  378. package/lib/typescript/shared/utils/bounds/_utils/flatten-styles.d.ts.map +0 -1
  379. package/lib/typescript/shared/utils/bounds/_utils/geometry.d.ts.map +0 -1
  380. package/lib/typescript/shared/utils/bounds/_utils/get-bounds.d.ts +0 -4
  381. package/lib/typescript/shared/utils/bounds/_utils/get-bounds.d.ts.map +0 -1
  382. package/lib/typescript/shared/utils/bounds/_utils/is-bounds-equal.d.ts.map +0 -1
  383. package/lib/typescript/shared/utils/bounds/_utils/style-composers.d.ts.map +0 -1
  384. package/lib/typescript/shared/utils/bounds/_utils/styles.d.ts.map +0 -1
  385. package/src/shared/hooks/bounds/use-bound-registry.tsx +0 -184
  386. package/src/shared/hooks/use-derived-value-state.ts +0 -41
  387. package/src/shared/stores/bound-store/_utils.ts +0 -161
  388. package/src/shared/stores/bound-store/index.ts +0 -148
  389. package/src/shared/stores/utils/reset-stores-for-screen.ts +0 -13
  390. package/src/shared/utils/bounds/_types/get-bounds.ts +0 -10
  391. package/src/shared/utils/bounds/_utils/flatten-styles.ts +0 -21
  392. package/src/shared/utils/bounds/_utils/get-bounds.ts +0 -54
  393. /package/lib/commonjs/shared/hooks/{use-shared-value-state.js → reanimated/use-shared-value-state.js} +0 -0
  394. /package/lib/commonjs/shared/utils/bounds/{_utils → helpers}/geometry.js +0 -0
  395. /package/lib/commonjs/shared/utils/bounds/{_utils → helpers}/style-composers.js +0 -0
  396. /package/lib/commonjs/shared/utils/bounds/{_utils → helpers}/styles.js +0 -0
  397. /package/lib/commonjs/shared/utils/bounds/{_types → types}/builder.js +0 -0
  398. /package/lib/commonjs/shared/utils/bounds/{_types → types}/geometry.js +0 -0
  399. /package/lib/commonjs/shared/{providers/utils → utils}/create-provider.js +0 -0
  400. /package/lib/module/shared/hooks/{use-shared-value-state.js → reanimated/use-shared-value-state.js} +0 -0
  401. /package/lib/module/shared/utils/bounds/{_utils → helpers}/geometry.js +0 -0
  402. /package/lib/module/shared/utils/bounds/{_utils → helpers}/style-composers.js +0 -0
  403. /package/lib/module/shared/utils/bounds/{_utils → helpers}/styles.js +0 -0
  404. /package/lib/module/shared/utils/bounds/{_types → types}/builder.js +0 -0
  405. /package/lib/module/shared/utils/bounds/{_types → types}/geometry.js +0 -0
  406. /package/lib/module/shared/{providers/utils → utils}/create-provider.js +0 -0
  407. /package/lib/typescript/shared/hooks/{use-shared-value-state.d.ts → reanimated/use-shared-value-state.d.ts} +0 -0
  408. /package/lib/typescript/shared/utils/bounds/{_utils → helpers}/is-bounds-equal.d.ts +0 -0
  409. /package/lib/typescript/shared/utils/bounds/{_types → types}/geometry.d.ts +0 -0
  410. /package/src/shared/hooks/{use-shared-value-state.ts → reanimated/use-shared-value-state.ts} +0 -0
  411. /package/src/shared/hooks/{use-stable-callback-value.tsx → use-stable-callback-value.ts} +0 -0
  412. /package/src/shared/hooks/{use-stable-callback.tsx → use-stable-callback.ts} +0 -0
  413. /package/src/shared/types/{gesture.ts → gesture.types.ts} +0 -0
  414. /package/src/shared/types/{utils.ts → utils.types.ts} +0 -0
  415. /package/src/shared/utils/bounds/{_types → types}/geometry.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"names":["useEffect","useGestureContext","useStableCallback","useParentGestureRegistry","parentContext","nativeGesture","registerNativeGesture","panGesture","blocksExternalGesture"],"sourceRoot":"../../../../../src","sources":["shared/hooks/gestures/use-parent-gesture-registry.tsx"],"mappings":";;AAAA,SAASA,SAAS,QAAQ,OAAO;AACjC,SAASC,iBAAiB,QAAQ,0BAA0B;AAC5D,OAAOC,iBAAiB,MAAM,wBAAwB;;AAEtD;AACA;AACA;AACA;AACA,OAAO,MAAMC,wBAAwB,GAAGA,CAAA,KAAM;EAC7C,MAAM;IAAEC,aAAa;IAAEC;EAAc,CAAC,GAAGJ,iBAAiB,CAAC,CAAC;EAC5D,MAAMK,qBAAqB,GAAGJ,iBAAiB,CAAC,MAAM;IACrD,IAAIE,aAAa,EAAEG,UAAU,IAAIF,aAAa,EAAE;MAC/CD,aAAa,CAACG,UAAU,CAACC,qBAAqB,CAACH,aAAa,CAAC;IAC9D;EACD,CAAC,CAAC;EAEFL,SAAS,CAACM,qBAAqB,CAAC;AACjC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["useEffect","useGestureContext","useStableCallback","useParentGestureRegistry","parentContext","nativeGesture","registerNativeGesture","panGesture","blocksExternalGesture"],"sourceRoot":"../../../../../src","sources":["shared/hooks/gestures/use-parent-gesture-registry.tsx"],"mappings":";;AAAA,SAASA,SAAS,QAAQ,OAAO;AACjC,SAASC,iBAAiB,QAAQ,mCAAmC;AACrE,OAAOC,iBAAiB,MAAM,wBAAwB;;AAEtD;AACA;AACA;AACA;AACA,OAAO,MAAMC,wBAAwB,GAAGA,CAAA,KAAM;EAC7C,MAAM;IAAEC,aAAa;IAAEC;EAAc,CAAC,GAAGJ,iBAAiB,CAAC,CAAC;EAC5D,MAAMK,qBAAqB,GAAGJ,iBAAiB,CAAC,MAAM;IACrD,IAAIE,aAAa,EAAEG,UAAU,IAAIF,aAAa,EAAE;MAC/CD,aAAa,CAACG,UAAU,CAACC,qBAAqB,CAACH,aAAa,CAAC;IAC9D;EACD,CAAC,CAAC;EAEFL,SAAS,CAACM,qBAAqB,CAAC;AACjC,CAAC","ignoreList":[]}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  import { useAnimatedScrollHandler } from "react-native-reanimated";
4
- import { useGestureContext } from "../../providers/gestures";
4
+ import { useGestureContext } from "../../providers/gestures.provider";
5
5
  import useStableCallback from "../use-stable-callback";
6
6
  export const useScrollRegistry = props => {
7
7
  const {
@@ -1 +1 @@
1
- {"version":3,"names":["useAnimatedScrollHandler","useGestureContext","useStableCallback","useScrollRegistry","props","scrollConfig","parentContext","scrollHandler","onScroll","event","modify","v","x","contentOffset","y","contentHeight","contentWidth","layoutHeight","layoutWidth","onContentSizeChange","width","height","onLayout","nativeEvent","layout"],"sourceRoot":"../../../../../src","sources":["shared/hooks/gestures/use-scroll-registry.tsx"],"mappings":";;AACA,SAASA,wBAAwB,QAAQ,yBAAyB;AAElE,SAASC,iBAAiB,QAAQ,0BAA0B;AAE5D,OAAOC,iBAAiB,MAAM,wBAAwB;AAQtD,OAAO,MAAMC,iBAAiB,GAAIC,KAA8B,IAAK;EACpE,MAAM;IAAEC,YAAY;IAAEC;EAAc,CAAC,GAAGL,iBAAiB,CAAC,CAAC;EAE3D,MAAMM,aAAa,GAAGP,wBAAwB,CAAC;IAC9CQ,QAAQ,EAAGC,KAAK,IAAK;MACpBL,KAAK,CAACI,QAAQ,GAAGC,KAAK,CAAC;MAEvBJ,YAAY,CAACK,MAAM,CAAEC,CAAM,IAAK;QAC/B,SAAS;;QACT,IAAIA,CAAC,KAAK,IAAI,EAAE;UACf,OAAO;YACNC,CAAC,EAAEH,KAAK,CAACI,aAAa,CAACD,CAAC;YACxBE,CAAC,EAAEL,KAAK,CAACI,aAAa,CAACC,CAAC;YACxBC,aAAa,EAAE,CAAC;YAChBC,YAAY,EAAE,CAAC;YACfC,YAAY,EAAE,CAAC;YACfC,WAAW,EAAE;UACd,CAAC;QACF;QACAP,CAAC,CAACC,CAAC,GAAGH,KAAK,CAACI,aAAa,CAACD,CAAC;QAC3BD,CAAC,CAACG,CAAC,GAAGL,KAAK,CAACI,aAAa,CAACC,CAAC;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AAM;QACvBV,CAAC,CAACO,WAAW,GAAGE,KAAK;QACrB,OAAOT,CAAC;MACT,CAAC,CAAC;IACH;EACD,CAAC,CAAC;EAEF,OAAO;IACNJ,aAAa;IACbY,mBAAmB;IACnBG;EACD,CAAC;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["useAnimatedScrollHandler","useGestureContext","useStableCallback","useScrollRegistry","props","scrollConfig","parentContext","scrollHandler","onScroll","event","modify","v","x","contentOffset","y","contentHeight","contentWidth","layoutHeight","layoutWidth","onContentSizeChange","width","height","onLayout","nativeEvent","layout"],"sourceRoot":"../../../../../src","sources":["shared/hooks/gestures/use-scroll-registry.tsx"],"mappings":";;AACA,SAASA,wBAAwB,QAAQ,yBAAyB;AAElE,SAASC,iBAAiB,QAAQ,mCAAmC;AAErE,OAAOC,iBAAiB,MAAM,wBAAwB;AAQtD,OAAO,MAAMC,iBAAiB,GAAIC,KAA8B,IAAK;EACpE,MAAM;IAAEC,YAAY;IAAEC;EAAc,CAAC,GAAGL,iBAAiB,CAAC,CAAC;EAE3D,MAAMM,aAAa,GAAGP,wBAAwB,CAAC;IAC9CQ,QAAQ,EAAGC,KAAK,IAAK;MACpBL,KAAK,CAACI,QAAQ,GAAGC,KAAK,CAAC;MAEvBJ,YAAY,CAACK,MAAM,CAAEC,CAAM,IAAK;QAC/B,SAAS;;QACT,IAAIA,CAAC,KAAK,IAAI,EAAE;UACf,OAAO;YACNC,CAAC,EAAEH,KAAK,CAACI,aAAa,CAACD,CAAC;YACxBE,CAAC,EAAEL,KAAK,CAACI,aAAa,CAACC,CAAC;YACxBC,aAAa,EAAE,CAAC;YAChBC,YAAY,EAAE,CAAC;YACfC,YAAY,EAAE,CAAC;YACfC,WAAW,EAAE;UACd,CAAC;QACF;QACAP,CAAC,CAACC,CAAC,GAAGH,KAAK,CAACI,aAAa,CAACD,CAAC;QAC3BD,CAAC,CAACG,CAAC,GAAGL,KAAK,CAACI,aAAa,CAACC,CAAC;QAC3B,OAAOH,C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C,CAACO,WAAW,GAAGE,KAAK;QACrB,OAAOT,CAAC;MACT,CAAC,CAAC;IACH;EACD,CAAC,CAAC;EAEF,OAAO;IACNJ,aAAa;IACbY,mBAAmB;IACnBG;EACD,CAAC;AACF,CAAC","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"names":["useState","executeOnUIRuntimeSync","runOnJS","useAnimatedReaction","useSharedValueState","sharedValue","state","setState","readOnUI","sv","value"],"sourceRoot":"../../../../../src","sources":["shared/hooks/reanimated/use-shared-value-state.ts"],"mappings":";;AAAA,SAASA,QAAQ,QAAQ,OAAO;AAChC,SACCC,sBAAsB,EACtBC,OAAO,EAEPC,mBAAmB,QACb,yBAAyB;;AAEhC;AACA;AACA;AACA;AACA,OAAO,SAASC,mBAAmBA,CAAIC,WAA2B,EAAK;EACtE,MAAM,CAACC,KAAK,EAAEC,QAAQ,CAAC,GAAGP,QAAQ,CAAI,MAAM;IAC3C,MAAMQ,QAAQ,GAAGP,sBAAsB,CAAEQ,EAAkB,IAAK;MAC/D,SAAS;;MACT,OAAOA,EAAE,CAACC,KAAK;IAChB,CAAC,CAAC;IACF,OAAOF,QAAQ,CAACH,WAAW,CAAC;EAC7B,CAAC,CAAC;EAEFF,mBAAmB,CAClB,MAAME,WAAW,CAACK,KAAK,EACtBA,KAAK,IAAKR,OAAO,CAACK,QAAQ,CAAC,CAACG,KAAK,CACnC,CAAC;EAED,OAAOJ,KAAK;AACb","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["useCallback","useEffect","useState","cancelAnimation","isWorkletFunction","makeMutable","runOnJS","useMutableValue","initialValue","mutable","wrap","callback","call","args","useStableCallbackValue","stableCallback","value"],"sourceRoot":"../../../../src","sources":["shared/hooks/use-stable-callback-value.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA,SAASA,WAAW,EAAEC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AACxD,SACCC,eAAe,EACfC,iBAAiB,EACjBC,WAAW,EACXC,OAAO,QACD,yBAAyB;;AAEhC;;AAGA,SAASC,eAAeA,CAAIC,YAAe,EAAE;EAC5C,MAAM,CAACC,OAAO,CAAC,GAAGP,QAAQ,CAAC,MAAMG,WAAW,CAACG,YAAY,CAAC,CAAC;EAE3DP,SAAS,CAAC,MAAM;IACf,OAAO,MAAM;MACZE,eAAe,CAACM,OAAO,CAAC;IACzB,CAAC;EACF,CAAC,EAAE,CAACA,OAAO,CAAC,CAAC;EAEb,OAAOA,OAAO;AACf;;AAEA;AACA;AACA;AACA;;AAKA,MAAMC,IAAI,GAA2BC,QAAW,IAAyB;EACxE,IAAIP,iBAAiB,CAACO,QAAQ,CAAC,EAAE;IAChC,OAAO;MAAEC,IAAI,EAAED;IAAS,CAAC;EAC1B;EACA,OAAO;IACNC,IAAI,EAAGA,CAAC,GAAGC,IAAmB,KAAK;MAClC,SAAS;;MACTP,OAAO,CAACK,QAAQ,CAAC,CAAC,GAAGE,IAAI,CAAC;IAC3B;EACD,CAAC;AACF,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,SAASC,sBAAsBA,CAC7CH,QAAY,EACX;EACD,MAAMI,cAAc,GAAGR,eAAe,CAA4B,IAAI,CAAC;EAEvEN,SAAS,CAAC,MAAM;IACf,IAAIU,QAAQ,EAAE;MACbI,cAAc,CAACC,KAAK,GAAGN,IAAI,CAACC,QAAQ,CAAC;IACtC,CAAC,MAAM;MACNI,cAAc,CAACC,KAAK,GAAG,IAAI;IAC5B;EACD,CAAC,EAAE,CAACL,QAAQ,EAAEI,cAAc,CAAC,CAAC;EAE9B,OAAOf,WAAW,CACjB,CAAC,GAAGa,IAAmB,KAAK;IAC3B,SAAS;;IACTE,cAAc,CAACC,KAAK,EAAEJ,IAAI,CAAC,GAAGC,IAAI,CAAC;EACpC,CAAC,EACD,CAACE,cAAc,CAChB,CAAC;AACF","ignoreList":[]}
1
+ {"version":3,"names":["useCallback","useEffect","useState","cancelAnimation","isWorkletFunction","makeMutable","runOnJS","useMutableValue","initialValue","mutable","wrap","callback","call","args","useStableCallbackValue","stableCallback","value"],"sourceRoot":"../../../../src","sources":["shared/hooks/use-stable-callback-value.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA,SAASA,WAAW,EAAEC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AACxD,SACCC,eAAe,EACfC,iBAAiB,EACjBC,WAAW,EACXC,OAAO,QACD,yBAAyB;;AAEhC;;AAGA,SAASC,eAAeA,CAAIC,YAAe,EAAE;EAC5C,MAAM,CAACC,OAAO,CAAC,GAAGP,QAAQ,CAAC,MAAMG,WAAW,CAACG,YAAY,CAAC,CAAC;EAE3DP,SAAS,CAAC,MAAM;IACf,OAAO,MAAM;MACZE,eAAe,CAACM,OAAO,CAAC;IACzB,CAAC;EACF,CAAC,EAAE,CAACA,OAAO,CAAC,CAAC;EAEb,OAAOA,OAAO;AACf;;AAEA;AACA;AACA;AACA;;AAKA,MAAMC,IAAI,GAA2BC,QAAW,IAAyB;EACxE,IAAIP,iBAAiB,CAACO,QAAQ,CAAC,EAAE;IAChC,OAAO;MAAEC,IAAI,EAAED;IAAS,CAAC;EAC1B;EACA,OAAO;IACNC,IAAI,EAAGA,CAAC,GAAGC,IAAmB,KAAK;MAClC,SAAS;;MACTP,OAAO,CAACK,QAAQ,CAAC,CAAC,GAAGE,IAAI,CAAC;IAC3B;EACD,CAAC;AACF,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,SAASC,sBAAsBA,CAC7CH,QAAY,EACX;EACD,MAAMI,cAAc,GAAGR,eAAe,CAA4B,IAAI,CAAC;EAEvEN,SAAS,CAAC,MAAM;IACf,IAAIU,QAAQ,EAAE;MACbI,cAAc,CAACC,KAAK,GAAGN,IAAI,CAACC,QAAQ,CAAC;IACtC,CAAC,MAAM;MACNI,cAAc,CAACC,KAAK,GAAG,IAAI;IAC5B;EACD,CAAC,EAAE,CAACL,QAAQ,EAAEI,cAAc,CAAC,CAAC;EAE9B,OAAOf,WAAW,CACjB,CAAC,GAAGa,IAAmB,KAAK;IAC3B,SAAS;;IACTE,cAAc,CAACC,KAAK,EAAEJ,IAAI,CAAC,GAAGC,IAAI,CAAC;EACpC,CAAC,EACD,CAACE,cAAc,CAChB,CAAC;AACF","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["useCallback","useEffect","useRef","useStableCallback","callback","callbackRef","current","args"],"sourceRoot":"../../../../src","sources":["shared/hooks/use-stable-callback.tsx"],"mappings":";;AAAA,SAASA,WAAW,EAAEC,SAAS,EAAEC,MAAM,QAAQ,OAAO;AAEtD,eAAe,SAASC,iBAAiBA,CACxCC,QAAW,EACV;EACD,MAAMC,WAAW,GAAGH,MAAM,CAACE,QAAQ,CAAC;EAEpCH,SAAS,CAAC,MAAM;IACfI,WAAW,CAACC,OAAO,GAAGF,QAAQ;EAC/B,CAAC,EAAE,CAACA,QAAQ,CAAC,CAAC;EAEd,OAAOJ,WAAW,CAAC,CAAC,GAAGO,IAAmB,KAAK;IAC9CF,WAAW,CAACC,OAAO,CAAC,GAAGC,IAAI,CAAC;EAC7B,CAAC,EAAE,EAAE,CAAC;AACP","ignoreList":[]}
1
+ {"version":3,"names":["useCallback","useEffect","useRef","useStableCallback","callback","callbackRef","current","args"],"sourceRoot":"../../../../src","sources":["shared/hooks/use-stable-callback.ts"],"mappings":";;AAAA,SAASA,WAAW,EAAEC,SAAS,EAAEC,MAAM,QAAQ,OAAO;AAEtD,eAAe,SAASC,iBAAiBA,CACxCC,QAAW,EACV;EACD,MAAMC,WAAW,GAAGH,MAAM,CAACE,QAAQ,CAAC;EAEpCH,SAAS,CAAC,MAAM;IACfI,WAAW,CAACC,OAAO,GAAGF,QAAQ;EAC/B,CAAC,EAAE,CAACA,QAAQ,CAAC,CAAC;EAEd,OAAOJ,WAAW,CAAC,CAAC,GAAGO,IAAmB,KAAK;IAC9CF,WAAW,CAACC,OAAO,CAAC,GAAGC,IAAI,CAAC;EAC7B,CAAC,EAAE,EAAE,CAAC;AACP","ignoreList":[]}
@@ -50,4 +50,4 @@ const styles = StyleSheet.create({
50
50
  flex: 1
51
51
  }
52
52
  });
53
- //# sourceMappingURL=gestures.js.map
53
+ //# sourceMappingURL=gestures.provider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createContext","useContext","useMemo","StyleSheet","View","GestureDetector","useSharedValue","useBuildGestures","jsx","_jsx","GestureContext","undefined","ScreenGestureProvider","children","parentContext","scrollConfig","panGesture","nativeGesture","gestureAnimationValues","value","Provider","gesture","style","styles","container","useGestureContext","context","Error","create","flex"],"sourceRoot":"../../../../src","sources":["shared/providers/gestures.provider.tsx"],"mappings":";;AAAA,SAASA,aAAa,EAAEC,UAAU,EAAEC,OAAO,QAAQ,OAAO;AAC1D,SAASC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAE/C,SAASC,eAAe,QAAQ,8BAA8B;AAE9D,SAASC,cAAc,QAAQ,yBAAyB;AACxD,SAASC,gBAAgB,QAAQ,sCAAsC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAwBxE,MAAMC,cAAc,gBAAGV,aAAa,CAAiCW,SAAS,CAAC;AAE/E,OAAO,MAAMC,qBAAqB,GAAGA,CAAC;EAAEC;AAA+B,CAAC,KAAK;EAC5E,MAAMC,aAAa,GAAGb,UAAU,CAACS,cAAc,CAAC;EAEhD,MAAMK,YAAY,GAAGT,cAAc,CAAsB,IAAI,CAAC;EAE9D,MAAM;IAAEU,UAAU;IAAEC,aAAa;IAAEC;EAAuB,CAAC,GAC1DX,gBAAgB,CAAC;IAChBQ,YAAY;IACZD;EACD,CAAC,CAAC;EAEH,MAAMK,KAAyB,GAAGjB,OAAO,CACxC,OAAO;IACNc,UAAU;IACVD,YAAY;IACZE,aAAa;IACbC,sBAAsB;IACtBJ,aAAa,EAAEA,aAAa,IAAI;EACjC,CAAC,CAAC,EACF,CACCE,UAAU,EACVD,YAAY,EACZE,aAAa,EACbC,sBAAsB,EACtBJ,aAAa,CAEf,CAAC;EAED,oBACCL,IAAA,CAACC,cAAc,CAACU,QAAQ;IAACD,KAAK,EAAEA,KAAM;IAAAN,QAAA,eACrCJ,IAAA,CAACJ,eAAe;MAACgB,OAAO,EAAEL,UAAW;MAAAH,QAAA,eACpCJ,IAAA,CAACL,IAAI;QAACkB,KAAK,EAAEC,MAAM,CAACC,SAAU;QAAAX,QAAA,EAAEA;MAAQ,CAAO;IAAC,CAChC;EAAC,CACM,CAAC;AAE5B,CAAC;AAED,OAAO,MAAMY,iBAAiB,GAAGA,CAAA,KAAM;EACtC,MAAMC,OAAO,GAAGzB,UAAU,CAACS,cAAc,CAAC;EAE1C,IAAI,CAACgB,OAAO,EAAE;IACb,MAAM,IAAIC,KAAK,CACd,+DACD,CAAC;EACF;EAEA,OAAOD,OAAO;AACf,CAAC;AAED,MAAMH,MAAM,GAAGpB,UAAU,CAACyB,MAAM,CAAC;EAChCJ,SAAS,EAAE;IACVK,IAAI,EAAE;EACP;AACD,CAAC,CAAC","ignoreList":[]}
@@ -26,4 +26,4 @@ export function useKeys() {
26
26
  }
27
27
  return context;
28
28
  }
29
- //# sourceMappingURL=keys.js.map
29
+ //# sourceMappingURL=keys.provider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createContext","useContext","useMemo","jsx","_jsx","KeysContext","undefined","KeysProvider","children","previous","current","next","value","Provider","useKeys","context","Error"],"sourceRoot":"../../../../src","sources":["shared/providers/keys.provider.tsx"],"mappings":";;AAMA,SAASA,aAAa,EAAEC,UAAU,EAAEC,OAAO,QAAQ,OAAO;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAiB3D,MAAMC,WAAW,gBAAGL,aAAa,CAE/BM,SAAS,CAAC;AASZ,OAAO,SAASC,YAAYA,CAA2C;EACtEC,QAAQ;EACRC,QAAQ;EACRC,OAAO;EACPC;AAC+B,CAAC,EAAE;EAClC,MAAMC,KAAK,GAAGV,OAAO,CACpB,OAAO;IAAEO,QAAQ;IAAEC,OAAO;IAAEC;EAAK,CAAC,CAAC,EACnC,CAACF,QAAQ,EAAEC,OAAO,EAAEC,IAAI,CACzB,CAAC;EAED,oBAAOP,IAAA,CAACC,WAAW,CAACQ,QAAQ;IAACD,KAAK,EAAEA,KAAM;IAAAJ,QAAA,EAAEA;EAAQ,CAAuB,CAAC;AAC7E;AAEA,OAAO,SAASM,OAAOA,CAAA,EAEW;EACjC,MAAMC,OAAO,GAAGd,UAAU,CAACI,WAAW,CAAC;EACvC,IAAIU,OAAO,KAAKT,SAAS,EAAE;IAC1B,MAAM,IAAIU,KAAK,CAAC,4CAA4C,CAAC;EAC9D;EACA,OAAOD,OAAO;AACf","ignoreList":[]}
@@ -0,0 +1,206 @@
1
+ "use strict";
2
+
3
+ import { useFocusEffect } from "@react-navigation/native";
4
+ import { useCallback, useMemo, useRef } from "react";
5
+ import { measure, runOnJS, runOnUI, useAnimatedReaction, useSharedValue } from "react-native-reanimated";
6
+ import useStableCallback from "../hooks/use-stable-callback";
7
+ import useStableCallbackValue from "../hooks/use-stable-callback-value";
8
+ import { AnimationStore } from "../stores/animation.store";
9
+ import { BoundStore } from "../stores/bounds.store";
10
+ import { prepareStyleForBounds } from "../utils/bounds/helpers/styles";
11
+ import createProvider from "../utils/create-provider";
12
+ import { useKeys } from "./keys.provider";
13
+ /**
14
+ * Gets the parent screen's route key for nested navigators.
15
+ * Returns undefined if we're not inside a nested navigator.
16
+ */
17
+ const getParentScreenKey = current => {
18
+ const parent = current.navigation.getParent();
19
+ if (!parent) return undefined;
20
+ const parentState = parent.getState();
21
+ if (!parentState?.routes) return undefined;
22
+
23
+ // Check if our route key exists directly in parent's routes
24
+ const existsInParent = parentState.routes.some(r => r.key === current.route.key);
25
+
26
+ // If we don't exist in parent's routes, we're nested inside the focused route
27
+ if (!existsInParent && parentState.index !== undefined) {
28
+ return parentState.routes[parentState.index]?.key;
29
+ }
30
+ return undefined;
31
+ };
32
+
33
+ /**
34
+ * Handles initial layout measurement for destination elements.
35
+ * Only measures if an animation is in progress (local or parent).
36
+ */
37
+ const useInitialLayoutHandler = params => {
38
+ const {
39
+ sharedBoundTag,
40
+ currentScreenKey,
41
+ parentScreenKey,
42
+ maybeMeasureAndStore
43
+ } = params;
44
+ const isAnimating = AnimationStore.getAnimation(currentScreenKey, "animating");
45
+ const isParentAnimating = parentScreenKey ? AnimationStore.getAnimation(parentScreenKey, "animating") : null;
46
+ const hasMeasuredOnLayout = useSharedValue(false);
47
+ return useCallback(() => {
48
+ "worklet";
49
+
50
+ if (!sharedBoundTag || hasMeasuredOnLayout.value) return;
51
+ if (!isAnimating.value && !isParentAnimating?.value) return;
52
+ maybeMeasureAndStore({
53
+ shouldSetSource: false,
54
+ shouldSetDestination: true
55
+ });
56
+ hasMeasuredOnLayout.value = true;
57
+ }, [sharedBoundTag, hasMeasuredOnLayout, isAnimating, isParentAnimating, maybeMeasureAndStore]);
58
+ };
59
+
60
+ /**
61
+ * Measures non-pressable elements when screen becomes blurred.
62
+ * Captures bounds right before transition starts.
63
+ */
64
+ const useBlurMeasurement = params => {
65
+ const {
66
+ sharedBoundTag,
67
+ maybeMeasureAndStore
68
+ } = params;
69
+ const isFocused = useRef(true);
70
+ const hasCapturedSource = useRef(false);
71
+ useFocusEffect(useCallback(() => {
72
+ isFocused.current = true;
73
+ hasCapturedSource.current = false;
74
+ return () => {
75
+ if (!sharedBoundTag) return;
76
+ if (hasCapturedSource.current) return;
77
+ isFocused.current = false;
78
+ runOnUI(maybeMeasureAndStore)({
79
+ shouldSetSource: true
80
+ });
81
+ };
82
+ }, [sharedBoundTag, maybeMeasureAndStore]));
83
+ return {
84
+ markSourceCaptured: () => {
85
+ hasCapturedSource.current = true;
86
+ }
87
+ };
88
+ };
89
+
90
+ /**
91
+ * Syncs child measurements when parent updates.
92
+ */
93
+ const useParentSyncReaction = params => {
94
+ const {
95
+ parentContext,
96
+ maybeMeasureAndStore
97
+ } = params;
98
+ useAnimatedReaction(() => parentContext?.updateSignal.value, value => {
99
+ "worklet";
100
+
101
+ if (value === 0 || value === undefined) return;
102
+ maybeMeasureAndStore();
103
+ });
104
+ };
105
+ const {
106
+ RegisterBoundsProvider,
107
+ useRegisterBoundsContext
108
+ } = createProvider("RegisterBounds", {
109
+ guarded: false
110
+ })(({
111
+ style,
112
+ onPress,
113
+ sharedBoundTag,
114
+ animatedRef,
115
+ children
116
+ }) => {
117
+ const {
118
+ current
119
+ } = useKeys();
120
+ const currentScreenKey = current.route.key;
121
+ const parentScreenKey = getParentScreenKey(current);
122
+
123
+ // Context & signals
124
+ const parentContext = useRegisterBoundsContext();
125
+ const ownSignal = useSharedValue(0);
126
+ const updateSignal = parentContext?.updateSignal ?? ownSignal;
127
+ const isAnimating = AnimationStore.getAnimation(currentScreenKey, "animating");
128
+ const preparedStyles = useMemo(() => prepareStyleForBounds(style), [style]);
129
+ const emitUpdate = useStableCallbackValue(() => {
130
+ "worklet";
131
+
132
+ const isRoot = !parentContext;
133
+ if (isRoot) updateSignal.value = updateSignal.value + 1;
134
+ });
135
+ const maybeMeasureAndStore = useStableCallbackValue(({
136
+ onPress,
137
+ shouldSetSource,
138
+ shouldSetDestination
139
+ } = {}) => {
140
+ "worklet";
141
+
142
+ if (!sharedBoundTag) return;
143
+ const measured = measure(animatedRef);
144
+ if (!measured) return;
145
+ emitUpdate();
146
+
147
+ // Always register occurrence
148
+ BoundStore.registerOccurrence(sharedBoundTag, currentScreenKey, measured, preparedStyles);
149
+
150
+ // Set as source (on press or blur)
151
+ if (shouldSetSource) {
152
+ if (isAnimating.value) {
153
+ const existing = BoundStore.getOccurrence(sharedBoundTag, currentScreenKey);
154
+ BoundStore.setLinkSource(sharedBoundTag, currentScreenKey, existing.bounds, preparedStyles, parentScreenKey);
155
+ return;
156
+ }
157
+ BoundStore.setLinkSource(sharedBoundTag, currentScreenKey, measured, preparedStyles, parentScreenKey);
158
+ }
159
+
160
+ // Set as destination (on mount during animation)
161
+ if (shouldSetDestination) {
162
+ BoundStore.setLinkDestination(sharedBoundTag, currentScreenKey, measured, preparedStyles, parentScreenKey);
163
+ }
164
+ if (onPress) runOnJS(onPress)();
165
+ });
166
+ const handleInitialLayout = useInitialLayoutHandler({
167
+ sharedBoundTag,
168
+ currentScreenKey,
169
+ parentScreenKey,
170
+ maybeMeasureAndStore
171
+ });
172
+
173
+ // Side effects
174
+ const {
175
+ markSourceCaptured
176
+ } = useBlurMeasurement({
177
+ sharedBoundTag,
178
+ maybeMeasureAndStore
179
+ });
180
+ useParentSyncReaction({
181
+ parentContext,
182
+ maybeMeasureAndStore
183
+ });
184
+ const captureActiveOnPress = useStableCallback(() => {
185
+ if (!sharedBoundTag) {
186
+ onPress?.();
187
+ return;
188
+ }
189
+ runOnUI(maybeMeasureAndStore)({
190
+ onPress,
191
+ shouldSetSource: true
192
+ });
193
+ markSourceCaptured();
194
+ });
195
+ return {
196
+ value: {
197
+ updateSignal
198
+ },
199
+ children: children({
200
+ handleInitialLayout,
201
+ captureActiveOnPress
202
+ })
203
+ };
204
+ });
205
+ export { RegisterBoundsProvider };
206
+ //# sourceMappingURL=register-bounds.provider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["useFocusEffect","useCallback","useMemo","useRef","measure","runOnJS","runOnUI","useAnimatedReaction","useSharedValue","useStableCallback","useStableCallbackValue","AnimationStore","BoundStore","prepareStyleForBounds","createProvider","useKeys","getParentScreenKey","current","parent","navigation","getParent","undefined","parentState","getState","routes","existsInParent","some","r","key","route","index","useInitialLayoutHandler","params","sharedBoundTag","currentScreenKey","parentScreenKey","maybeMeasureAndStore","isAnimating","getAnimation","isParentAnimating","hasMeasuredOnLayout","value","shouldSetSource","shouldSetDestination","useBlurMeasurement","isFocused","hasCapturedSource","markSourceCaptured","useParentSyncReaction","parentContext","updateSignal","RegisterBoundsProvider","useRegisterBoundsContext","guarded","style","onPress","animatedRef","children","ownSignal","preparedStyles","emitUpdate","isRoot","measured","registerOccurrence","existing","getOccurrence","setLinkSource","bounds","setLinkDestination","handleInitialLayout","captureActiveOnPress"],"sourceR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CAAC;EAED,MAAMc,mBAAmB,GAAGtC,uBAAuB,CAAC;IACnDE,cAAc;IACdC,gBAAgB;IAChBC,eAAe;IACfC;EACD,CAAC,CAAC;;EAEF;EACA,MAAM;IAAEW;EAAmB,CAAC,GAAGH,kBAAkB,CAAC;IACjDX,cAAc;IACdG;EACD,CAAC,CAAC;EAEFY,qBAAqB,CAAC;IAAEC,aAAa;IAAEb;EAAqB,CAAC,CAAC;EAE9D,MAAMkC,oBAAoB,GAAG7D,iBAAiB,CAAC,MAAM;IACpD,IAAI,CAACwB,cAAc,EAAE;MACpBsB,OAAO,GAAG,CAAC;MACX;IACD;IACAjD,OAAO,CAAC8B,oBAAoB,CAAC,CAAC;MAAEmB,OAAO;MAAEb,eAAe,EAAE;IAAK,CAAC,CAAC;IACjEK,kBAAkB,CAAC,CAAC;EACrB,CAAC,CAAC;EAEF,OAAO;IACNN,KAAK,EAAE;MAAES;IAAa,CAAC;IACvBO,QAAQ,EAAEA,QAAQ,CAAC;MAAEY,mBAAmB;MAAEC;IAAqB,CAAC;EACjE,CAAC;AACF,CACD,CAAC;AAED,SAASnB,sBAAsB","ignoreList":[]}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
 
3
3
  import { RootTransitionAware } from "../components/root-transition-aware";
4
- import { ScreenGestureProvider } from "../providers/gestures";
5
- import { KeysProvider } from "../providers/keys";
6
- import { TransitionStylesProvider } from "../providers/transition-styles";
4
+ import { ScreenGestureProvider } from "./gestures.provider";
5
+ import { KeysProvider } from "./keys.provider";
6
+ import { TransitionStylesProvider } from "./transition-styles.provider";
7
7
  import { jsx as _jsx } from "react/jsx-runtime";
8
8
  export function ScreenTransitionProvider({
9
9
  previous,
@@ -27,4 +27,4 @@ export function ScreenTransitionProvider({
27
27
  })
28
28
  });
29
29
  }
30
- //# sourceMappingURL=screen-transition-provider.js.map
30
+ //# sourceMappingURL=screen-transition.provider.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["RootTransitionAware","ScreenGestureProvider","KeysProvider","TransitionStylesProvider","jsx","_jsx","ScreenTransitionProvider","previous","current","next","children","LifecycleController"],"sourceRoot":"../../../../src","sources":["shared/providers/screen-transition-provider.tsx"],"mappings":";;AAGA,SAASA,mBAAmB,QAAQ,qCAAqC;AACzE,SAASC,qBAAqB,QAAQ,uBAAuB;AAC7D,SAASC,YAAY,QAAmC,mBAAmB;AAC3E,SAASC,wBAAwB,QAAQ,gCAAgC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAU1E,OAAO,SAASC,wBAAwBA,CAEtC;EACDC,QAAQ;EACRC,OAAO;EACPC,IAAI;EACJC,QAAQ;EACRC;AACmB,CAAC,EAAE;EACtB,oBACCN,IAAA,CAACH,YAAY;IACZK,QAAQ,EAAEA,QAAS;IACnBC,OAAO,EAAEA,OAAQ;IACjBC,IAAI,EAAEA,IAAK;IAAAC,QAAA,eAEXL,IAAA,CAACJ,qBAAqB;MAAAS,QAAA,eACrBL,IAAA,CAACM,mBAAmB;QAAAD,QAAA,eACnBL,IAAA,CAACF,wBAAwB;UAAAO,QAAA,eACxBL,IAAA,CAACL,mBAAmB;YAAAU,QAAA,EAAEA;UAAQ,CAAsB;QAAC,CAC5B;MAAC,CACP;IAAC,CACA;EAAC,CACX,CAAC;AAEjB","ignoreList":[]}
1
+ {"version":3,"names":["RootTransitionAware","ScreenGestureProvider","KeysProvider","TransitionStylesProvider","jsx","_jsx","ScreenTransitionProvider","previous","current","next","children","LifecycleController"],"sourceRoot":"../../../../src","sources":["shared/providers/screen-transition.provider.tsx"],"mappings":";;AAGA,SAASA,mBAAmB,QAAQ,qCAAqC;AACzE,SAASC,qBAAqB,QAAQ,qBAAqB;AAC3D,SAASC,YAAY,QAAmC,iBAAiB;AACzE,SAASC,wBAAwB,QAAQ,8BAA8B;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAUxE,OAAO,SAASC,wBAAwBA,CAEtC;EACDC,QAAQ;EACRC,OAAO;EACPC,IAAI;EACJC,QAAQ;EACRC;AACmB,CAAC,EAAE;EACtB,oBACCN,IAAA,CAACH,YAAY;IACZK,QAAQ,EAAEA,QAAS;IACnBC,OAAO,EAAEA,OAAQ;IACjBC,IAAI,EAAEA,IAAK;IAAAC,QAAA,eAEXL,IAAA,CAACJ,qBAAqB;MAAAS,QAAA,eACrBL,IAAA,CAACM,mBAAmB;QAAAD,QAAA,eACnBL,IAAA,CAACF,wBAAwB;UAAAO,QAAA,eACxBL,IAAA,CAACL,mBAAmB;YAAAU,QAAA,EAAEA;UAAQ,CAAsB;QAAC,CAC5B;MAAC,CACP;IAAC,CACA;EAAC,CACX,CAAC;AAEjB","ignoreList":[]}
@@ -6,10 +6,11 @@ import { NO_STYLES } from "../constants";
6
6
  import { _useScreenAnimation } from "../hooks/animation/use-screen-animation";
7
7
  import { createBounds } from "../utils/bounds";
8
8
  import { jsx as _jsx } from "react/jsx-runtime";
9
- const TransitionStylesContext = /*#__PURE__*/createContext(null);
9
+ export const TransitionStylesContext = /*#__PURE__*/createContext(null);
10
10
  export function TransitionStylesProvider({
11
11
  children
12
12
  }) {
13
+ const parentCtx = useContext(TransitionStylesContext);
13
14
  const {
14
15
  screenInterpolatorProps,
15
16
  screenStyleInterpolator
@@ -17,11 +18,6 @@ export function TransitionStylesProvider({
17
18
  const stylesMap = useDerivedValue(() => {
18
19
  "worklet";
19
20
 
20
- /**
21
- * ### Maintainer note
22
- *
23
- * From my understanding, reanimated will serialize the DerivedValue result. Thus resulting in us receiving a `bounds is not a function, it is an object` error. We'll build the bounds function inside here (the final step) and pass it alongside the interpolator instead.
24
- */
25
21
  const props = screenInterpolatorProps.value;
26
22
  const bounds = createBounds(props);
27
23
  try {
@@ -38,10 +34,13 @@ export function TransitionStylesProvider({
38
34
  }
39
35
  });
40
36
  const value = useMemo(() => {
37
+ // Build ancestor chain: [parent, grandparent, great-grandparent, ...]
38
+ const ancestorStylesMaps = parentCtx ? [parentCtx.stylesMap, ...parentCtx.ancestorStylesMaps] : [];
41
39
  return {
42
- stylesMap
40
+ stylesMap,
41
+ ancestorStylesMaps
43
42
  };
44
- }, [stylesMap]);
43
+ }, [stylesMap, parentCtx]);
45
44
  return /*#__PURE__*/_jsx(TransitionStylesContext.Provider, {
46
45
  value: value,
47
46
  children: children
@@ -54,4 +53,4 @@ export function useTransitionStyles() {
54
53
  }
55
54
  return ctx;
56
55
  }
57
- //# sourceMappingURL=transition-styles.js.map
56
+ //# sourceMappingURL=transition-styles.provider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createContext","useContext","useMemo","useDerivedValue","NO_STYLES","_useScreenAnimation","createBounds","jsx","_jsx","TransitionStylesContext","TransitionStylesProvider","children","parentCtx","screenInterpolatorProps","screenStyleInterpolator","stylesMap","props","value","bounds","err","__DEV__","console","warn","ancestorStylesMaps","Provider","useTransitionStyles","ctx","Error"],"sourceRoot":"../../../../src","sources":["shared/providers/transition-styles.provider.tsx"],"mappings":";;AAAA,SAASA,aAAa,EAAEC,UAAU,EAAEC,OAAO,QAAQ,OAAO;AAC1D,SAA2BC,eAAe,QAAQ,yBAAyB;AAC3E,SAASC,SAAS,QAAQ,cAAc;AACxC,SAASC,mBAAmB,QAAQ,yCAAyC;AAE7E,SAASC,YAAY,QAAQ,iBAAiB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAW/C,OAAO,MAAMC,uBAAuB,gBACnCT,aAAa,CAAsC,IAAI,CAAC;AAEzD,OAAO,SAASU,wBAAwBA,CAAC;EAAEC;AAAgB,CAAC,EAAE;EAC7D,MAAMC,SAAS,GAAGX,UAAU,CAACQ,uBAAuB,CAAC;EAErD,MAAM;IAAEI,uBAAuB;IAAEC;EAAwB,CAAC,GACzDT,mBAAmB,CAAC,CAAC;EAEtB,MAAMU,SAAS,GAAGZ,eAAe,CAA8B,MAAM;IACpE,SAAS;;IACT,MAAMa,KAAK,GAAGH,uBAAuB,CAACI,KAAK;IAC3C,MAAMC,MAAM,GAAGZ,YAAY,CAACU,KAAK,CAAC;IAClC,IAAI;MACH,IAAI,CAACF,uBAAuB,EAAE,OAAOV,SAAS;MAC9C,OAAOU,uBAAuB,CAAC;QAC9B,GAAGE,KAAK;QACRE;MACD,CAAC,CAAC;IACH,CAAC,CAAC,OAAOC,GAAG,EAAE;MACb,IAAIC,OAAO,EAAE;QACZC,OAAO,CAACC,IAAI,CACX,6EAA6E,EAC7EH,GACD,CAAC;MACF;MACA,OAAOf,SAAS;IACjB;EACD,CAAC,CAAC;EAEF,MAAMa,KAAK,GAAGf,OAAO,CAAC,MAAM;IAC3B;IACA,MAAMqB,kBAAkB,GAAGX,SAAS,GACjC,CAACA,SAAS,CAACG,SAAS,EAAE,GAAGH,SAAS,CAACW,kBAAkB,CAAC,GACtD,EAAE;IAEL,OAAO;MACNR,SAAS;MACTQ;IACD,CAAC;EACF,CAAC,EAAE,CAACR,SAAS,EAAEH,SAAS,CAAC,CAAC;EAE1B,oBACCJ,IAAA,CAACC,uBAAuB,CAACe,QAAQ;IAACP,KAAK,EAAEA,KAAM;IAAAN,QAAA,EAC7CA;EAAQ,CACwB,CAAC;AAErC;AAEA,OAAO,SAASc,mBAAmBA,CAAA,EAAG;EACrC,MAAMC,GAAG,GAAGzB,UAAU,CAACQ,uBAAuB,CAAC;EAC/C,IAAI,CAACiB,GAAG,EAAE;IACT,MAAM,IAAIC,KAAK,CACd,oEACD,CAAC;EACF;EACA,OAAOD,GAAG;AACX","ignoreList":[]}
@@ -41,4 +41,4 @@ export const AnimationStore = {
41
41
  getAll,
42
42
  debugStoreSize
43
43
  };
44
- //# sourceMappingURL=animation-store.js.map
44
+ //# sourceMappingURL=animation.store.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["cancelAnimation","makeMutable","store","ensure","key","bag","progress","closing","animating","getAnimation","type","getAll","clear","routeKey","debugStoreSize","console","log","Object","keys","length","AnimationStore"],"sourceRoot":"../../../../src","sources":["shared/stores/animation-store.ts"],"mappings":";;AAAA,SACCA,eAAe,EACfC,WAAW,QAEL,yBAAyB;AAShC,MAAMC,KAA2C,GAAG,CA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eMutable","store","ensure","key","bag","progress","closing","animating","getAnimation","type","getAll","clear","routeKey","debugStoreSize","console","log","Object","keys","length","AnimationStore"],"sourceRoot":"../../../../src","sources":["shared/stores/animation.store.ts"],"mappings":";;AAAA,SACCA,eAAe,EACfC,WAAW,QAEL,yBAAyB;AAShC,MAAMC,KAA2C,GAAG,CAAC,CAAC;AAEtD,MAAMC,MAAM,GAAIC,GAAc,IAAK;EAClC,IAAIC,GAAG,GAAGH,KAAK,CAACE,GAAG,CAAC;EACpB,IAAI,CAACC,GAAG,EAAE;IACTA,GAAG,GAAG;MACLC,QAAQ,EAAEL,WAAW,CAAC,CAAC,CAAC;MACxBM,OAAO,EAAEN,WAAW,CAAC,CAAC,CAAC;MACvBO,SAAS,EAAEP,WAAW,CAAC,CAAC;IACzB,CAAC;IACDC,KAAK,CAACE,GAAG,CAAC,GAAGC,GAAG;EACjB;EACA,OAAOA,GAAG;AACX,CAAC;AAED,SAASI,YAAYA,CACpBL,GAAc,EACdM,IAA0C,EACpB;EACtB,OAAOP,MAAM,CAACC,GAAG,CAAC,CAACM,IAAI,CAAC;AACzB;AAEA,SAASC,MAAMA,CAACP,GAAc,EAAE;EAC/B,OAAOD,MAAM,CAACC,GAAG,CAAC;AACnB;AAEA,SAASQ,KAAKA,CAACC,QAAmB,EAAE;EACnC,SAAS;;EACT,MAAMR,GAAG,GAAGH,KAAK,CAACW,QAAQ,CAAC;EAC3B,IAAIR,GAAG,EAAE;IACRL,eAAe,CAACK,GAAG,CAACC,QAAQ,CAAC;IAC7BN,eAAe,CAACK,GAAG,CAACE,OAAO,CAAC;IAC5BP,eAAe,CAACK,GAAG,CAACG,SAAS,CAAC;EAC/B;EACA,OAAON,KAAK,CAACW,QAAQ,CAAC;AACvB;AAEA,SAASC,cAAcA,CAAA,EAAG;EACzBC,OAAO,CAACC,GAAG,CAAC,wBAAwB,EAAEC,MAAM,CAACC,IAAI,CAAChB,KAAK,CAAC,CAACiB,MAAM,CAAC;EAChEJ,OAAO,CAACC,GAAG,CAAC,wBAAwB,EAAEC,MAAM,CAACC,IAAI,CAAChB,KAAK,CAAC,CAAC;AAC1D;AAEA,OAAO,MAAMkB,cAAc,GAAG;EAC7BX,YAAY;EACZG,KAAK;EACLD,MAAM;EACNG;AACD,CAAC","ignoreList":[]}
@@ -0,0 +1,137 @@
1
+ "use strict";
2
+
3
+ import { makeMutable } from "react-native-reanimated";
4
+ /**
5
+ * Note on cleanup: We intentionally skip automatic cleanup of old links.
6
+ * The linkStack grows by one entry per navigation, but `getActiveLink`
7
+ * finds the correct link via screenKey matching regardless of stack size.
8
+ * This is unlikely to cause performance issues in typical apps, but if
9
+ * memory becomes a concern in apps with heavy navigation (hundreds of
10
+ * transitions), we should consider implementing cleanup on screen unmount using
11
+ * screenKey filtering.
12
+ */
13
+
14
+ const registry = makeMutable({});
15
+ function registerOccurrence(tag, screenKey, bounds, styles = {}) {
16
+ "worklet";
17
+
18
+ registry.modify(state => {
19
+ "worklet";
20
+
21
+ if (!state[tag]) {
22
+ state[tag] = {
23
+ occurrences: {},
24
+ linkStack: []
25
+ };
26
+ }
27
+ state[tag].occurrences[screenKey] = {
28
+ bounds,
29
+ styles
30
+ };
31
+ return state;
32
+ });
33
+ }
34
+ function setLinkSource(tag, screenKey, bounds, styles = {}, parentScreenKey) {
35
+ "worklet";
36
+
37
+ registry.modify(state => {
38
+ "worklet";
39
+
40
+ if (!state[tag]) state[tag] = {
41
+ occurrences: {},
42
+ linkStack: []
43
+ };
44
+
45
+ // Push new link onto stack
46
+ state[tag].linkStack.push({
47
+ source: {
48
+ screenKey,
49
+ parentScreenKey,
50
+ bounds,
51
+ styles
52
+ },
53
+ destination: null
54
+ });
55
+ return state;
56
+ });
57
+ }
58
+ function setLinkDestination(tag, screenKey, bounds, styles = {}, parentScreenKey) {
59
+ "worklet";
60
+
61
+ registry.modify(state => {
62
+ "worklet";
63
+
64
+ const stack = state[tag]?.linkStack;
65
+ if (!stack || stack.length === 0) return state;
66
+
67
+ // Find the topmost link without a destination
68
+ for (let i = stack.length - 1; i >= 0; i--) {
69
+ if (stack[i].destination === null) {
70
+ stack[i].destination = {
71
+ screenKey,
72
+ parentScreenKey,
73
+ bounds,
74
+ styles
75
+ };
76
+ break;
77
+ }
78
+ }
79
+ return state;
80
+ });
81
+ }
82
+ function getOccurrence(tag, key) {
83
+ "worklet";
84
+
85
+ return registry.value[tag]?.occurrences[key] ?? null;
86
+ }
87
+
88
+ // Helper to check if a screen identifier matches a given key
89
+ function matchesScreenKey(identifier, key) {
90
+ "worklet";
91
+
92
+ if (!identifier) return false;
93
+ return identifier.screenKey === key || identifier.parentScreenKey === key;
94
+ }
95
+ function getActiveLink(tag, screenKey, isClosing) {
96
+ "worklet";
97
+
98
+ const stack = registry.value[tag]?.linkStack;
99
+ if (!stack || stack.length === 0) {
100
+ return null;
101
+ }
102
+
103
+ // If screenKey provided, find link involving that screen
104
+ if (screenKey) {
105
+ // When closing (backward nav), we want the link where this screen is the DESTINATION
106
+ // When opening (forward nav), we want the link where this screen is the DESTINATION too
107
+ // The source is always the "from" screen, destination is the "to" screen
108
+
109
+ if (isClosing) {
110
+ // Backward: find link where I am the destination (I'm going back to source)
111
+ for (let i = stack.length - 1; i >= 0; i--) {
112
+ const link = stack[i];
113
+ if (matchesScreenKey(link.destination, screenKey)) {
114
+ return link;
115
+ }
116
+ }
117
+ }
118
+
119
+ // Forward or fallback: find any link involving this screen
120
+ for (let i = stack.length - 1; i >= 0; i--) {
121
+ const link = stack[i];
122
+ if (matchesScreenKey(link.source, screenKey) || matchesScreenKey(link.destination, screenKey)) {
123
+ return link;
124
+ }
125
+ }
126
+ return null;
127
+ }
128
+ return stack[stack.length - 1] ?? null;
129
+ }
130
+ export const BoundStore = {
131
+ registerOccurrence,
132
+ setLinkSource,
133
+ setLinkDestination,
134
+ getActiveLink,
135
+ getOccurrence
136
+ };
137
+ //# sourceMappingURL=bounds.store.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["makeMutable","registry","registerOccurrence","tag","screenKey","bounds","styles","modify","state","occurrences","linkStack","setLinkSource","parentScreenKey","push","source","destination","setLinkDestination","stack","length","i","getOccurrence","key","value","matchesScreenKey","identifier","getActiveLink","isClosing","link","BoundStore"],"sourceRoot":"../../../../src","sources":["shared/stores/bounds.store.ts"],"mappings":";;AAAA,SAECA,WAAW,QAEL,yBAAyB;AA0BhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAMC,QAAQ,GAAGD,WAAW,CAA0B,CAAC,CAAC,CAAC;AAEzD,SAASE,kBAAkBA,CAC1BC,GAAU,EACVC,SAAoB,EACpBC,MAA0B,EAC1BC,MAAkB,GAAG,CAAC,CAAC,EACtB;EACD,SAAS;;EACTL,QAAQ,CAACM,MAAM,CAAEC,KAAU,IAAK;IAC/B,SAAS;;IACT,IAAI,CAACA,KAAK,CAACL,GAAG,CAAC,EAAE;MAChBK,KAAK,CAACL,GAAG,CAAC,GAAG;QAAEM,WAAW,EAAE,CAAC,CAAC;QAAEC,SAAS,EAAE;MAAG,CAAC;IAChD;IACAF,KAAK,CAACL,GAAG,CAAC,CAACM,WAAW,CAACL,SAAS,CAAC,GAAG;MAAEC,MAAM;MAAEC;IAAO,CAAC;IACtD,OAAOE,KAAK;EACb,CAAC,CAAC;AACH;AAEA,SAASG,aAAaA,CACrBR,GAAU,EACVC,SAAoB,EACpBC,MAA0B,EAC1BC,MAAkB,GAAG,CAAC,CAAC,EACvBM,eAA2B,EAC1B;EACD,SAAS;;EACTX,QAAQ,CAACM,MAAM,CAAEC,KAAU,IAAK;IAC/B,SAAS;;IACT,IAAI,CAACA,KAAK,CAACL,GAAG,CAAC,EAAEK,KAAK,CAACL,GAAG,CAAC,GAAG;MAAEM,WAAW,EAAE,CAAC,CAAC;MAAEC,SAAS,EAAE;IAAG,CAAC;;IAEhE;IACAF,KAAK,CAACL,GAAG,CAAC,CAACO,SAAS,CAACG,IAAI,CAAC;MACzBC,MAAM,EAAE;QAAEV,SAAS;QAAEQ,e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AAEsB,SAAmB,EAAE;EAC9E,SAAS;;EACT,MAAMT,KAAK,GAAGhB,QAAQ,CAACqB,KAAK,CAACnB,GAAG,CAAC,EAAEO,SAAS;EAE5C,IAAI,CAACO,KAAK,IAAIA,KAAK,CAACC,MAAM,KAAK,CAAC,EAAE;IACjC,OAAO,IAAI;EACZ;;EAEA;EACA,IAAId,SAAS,EAAE;IACd;IACA;IACA;;IAEA,IAAIsB,SAAS,EAAE;MACd;MACA,KAAK,IAAIP,CAAC,GAAGF,KAAK,CAACC,MAAM,GAAG,CAAC,EAAEC,CAAC,IAAI,CAAC,EAAEA,CAAC,EAAE,EAAE;QAC3C,MAAMQ,IAAI,GAAGV,KAAK,CAACE,CAAC,CAAC;QACrB,IAAII,gBAAgB,CAACI,IAAI,CAACZ,WAAW,EAAEX,SAAS,CAAC,EAAE;UAClD,OAAOuB,IAAI;QACZ;MACD;IACD;;IAEA;IACA,KAAK,IAAIR,CAAC,GAAGF,KAAK,CAACC,MAAM,GAAG,CAAC,EAAEC,CAAC,IAAI,CAAC,EAAEA,CAAC,EAAE,EAAE;MAC3C,MAAMQ,IAAI,GAAGV,KAAK,CAACE,CAAC,CAAC;MACrB,IACCI,gBAAgB,CAACI,IAAI,CAACb,MAAM,EAAEV,SAAS,CAAC,IACxCmB,gBAAgB,CAACI,IAAI,CAACZ,WAAW,EAAEX,SAAS,CAAC,EAC5C;QACD,OAAOuB,IAAI;MACZ;IACD;IACA,OAAO,IAAI;EACZ;EAEA,OAAOV,KAAK,CAACA,KAAK,CAACC,MAAM,GAAG,CAAC,CAAC,IAAI,IAAI;AACvC;AAEA,OAAO,MAAMU,UAAU,GAAG;EACzB1B,kBAAkB;EAClBS,aAAa;EACbK,kBAAkB;EAClBS,aAAa;EACbL;AACD,CAAC","ignoreList":[]}
@@ -42,4 +42,4 @@ export const GestureStore = {
42
42
  getRouteGestures,
43
43
  clear
44
44
  };
45
- //# sourceMappingURL=gesture-store.js.map
45
+ //# sourceMappingURL=gesture.store.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["cancelAnimation","makeMutable","store","ensure","routeKey","bag","x","y","normalizedX","normalizedY","isDismissing","isDragging","direction","getGesture","gestureKey","getRouteGestures","clear","GestureStore"],"sourceRoot":"../../../../src","sources":["shared/stores/gesture-store.ts"],"mappings":";;AAAA,SACCA,eAAe,EACfC,WAAW,QAEL,yBAAyB;AAsBhC,MAAMC,KAAyC,GAAG,CAAC,CAAC;AAEpD,SAASC,MAAMA,CAACC,QAAmB,EAAmB;EACrD,IAAIC,GAAG,GAAGH,KAAK,CAACE,QAAQ,CAAC;EACzB,IAAI,CAACC,GAAG,EAAE;IACTA,GAAG,GAAG;MACLC,CAAC,EAAEL,WAAW,CAAC,CAAC,CAAC;MACjBM,CAAC,EAAEN,WAAW,CAAC,CAAC,CAAC;MACjBO,WAAW,EAAEP,WAAW,CAAC,CAAC,CAAC;MAC3BQ,WAAW,EAAER,WAAW,CAAC,CAAC,CAAC;MAC3BS,YAAY,EAAET,WAAW,CAAC,CAAC,CAAC;MAC5BU,UAAU,EAAEV,WAAW,CAAC,CAAC,CAAC;MAC1BW,SAAS,EAAEX,WAAW,CACrB,IACD;IACD,CAAC;IACDC,KAAK,CAACE,QAAQ,CAAC,GAAGC,GAAG;EACtB;EACA,OAAOA,GAAG;AACX;AAEA,SAASQ,UAAUA,CAACT,QAAmB,EAAEU,UAAsB,EAAE;EAChE,OAAOX,MAAM,CAACC,QAAQ,CAAC,CAACU,UAAU,CAAC;AACpC;AAEA,SAASC,gBAAgBA,CAACX,QAAmB,EAAE;EAC9C,OAAOD,MAAM,CAACC,QAAQ,CAAC;AACxB;AAEA,SAASY,KAAKA,CAACZ,QAAmB,EAAE;EACnC,MAAMC,GAAG,GAAGH,KAAK,CAACE,QAAQ,CAAC;EAC3B,IAAIC,GAAG,EAAE;IACRL,eAAe,CAACK,GAAG,CAACC,CAAC,CAAC;IACtBN,eAAe,CAACK,GAAG,CAACE,CAAC,CAAC;IACtBP,eAAe,CAACK,GAAG,CAACG,WAAW,CAAC;IAChCR,eAAe,CAACK,GAAG,CAACI,WAAW,CAAC;IAChCT,eAAe,CAACK,GAAG,CAACK,YAAY,CAAC;IACjCV,eAAe,CAACK,GAAG,CAACM,UAAU,CAAC;IAC/BX,eAAe,CAACK,GAAG,CAACO,SAAS,CAAC;EAC/B;EACA,OAAOV,KAAK,CAACE,QAAQ,CAAC;AACvB;AAEA,OAAO,MAAMa,YAAY,GAAG;EAC3BJ,UAAU;EACVE,gBAAgB;EAChBC;AACD,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["cancelAnimation","makeMutable","store","ensure","routeKey","bag","x","y","normalizedX","normalizedY","isDismissing","isDragging","direction","getGesture","gestureKey","getRouteGestures","clear","GestureStore"],"sourceRoot":"../../../../src","sources":["shared/stores/gesture.store.ts"],"mappings":";;AAAA,SACCA,eAAe,EACfC,WAAW,QAEL,yBAAyB;AAsBhC,MAAMC,KAAyC,GAAG,CAAC,CAAC;AAEpD,SAASC,MAAMA,CAACC,QAAmB,EAAmB;EACrD,IAAIC,GAAG,GAAGH,KAAK,CAACE,QAAQ,CAAC;EACzB,IAAI,CAACC,GAAG,EAAE;IACTA,GAAG,GAAG;MACLC,CAAC,EAAEL,WAAW,CAAC,CAAC,CAAC;MACjBM,CAAC,EAAEN,WAAW,CAAC,CAAC,CAAC;MACjBO,WAAW,EAAEP,WAAW,CAAC,CAAC,CAAC;MAC3BQ,WAAW,EAAER,WAAW,CAAC,CAAC,CAAC;MAC3BS,YAAY,EAAET,WAAW,CAAC,CAAC,CAAC;MAC5BU,UAAU,EAAEV,WAAW,CAAC,CAAC,CAAC;MAC1BW,SAAS,EAAEX,WAAW,CACrB,IACD;IACD,CAAC;IACDC,KAAK,CAACE,QAAQ,CAAC,GAAGC,GAAG;EACtB;EACA,OAAOA,GAAG;AACX;AAEA,SAASQ,UAAUA,CAACT,QAAmB,EAAEU,UAAsB,EAAE;EAChE,OAAOX,MAAM,CAACC,QAAQ,CAAC,CAACU,UAAU,CAAC;AACpC;AAEA,SAASC,gBAAgBA,CAACX,QAAmB,EAAE;EAC9C,OAAOD,MAAM,CAACC,QAAQ,CAAC;AACxB;AAEA,SAASY,KAAKA,CAACZ,QAAmB,EAAE;EACnC,MAAMC,GAAG,GAAGH,KAAK,CAACE,QAAQ,CAAC;EAC3B,IAAIC,GAAG,EAAE;IACRL,eAAe,CAACK,GAAG,CAACC,CAAC,CAAC;IACtBN,eAAe,CAACK,GAAG,CAACE,CAAC,CAAC;IACtBP,eAAe,CAACK,GAAG,CAACG,WAAW,CAAC;IAChCR,eAAe,CAACK,GAAG,CAACI,WAAW,CAAC;IAChCT,eAAe,CAACK,GAAG,CAACK,YAAY,CAAC;IACjCV,eAAe,CAACK,GAAG,CAACM,UAAU,CAAC;IAC/BX,eAAe,CAACK,GAAG,CAACO,SAAS,CAAC;EAC/B;EACA,OAAOV,KAAK,CAACE,QAAQ,CAAC;AACvB;AAEA,OAAO,MAAMa,YAAY,GAAG;EAC3BJ,UAAU;EACVE,gBAAgB;EAChBC;AACD,CAAC","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export {};
4
+ //# sourceMappingURL=animation.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["shared/types/animation.types.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export {};
4
+ //# sourceMappingURL=bounds.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["shared/types/bounds.types.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export {};
4
+ //# sourceMappingURL=core.types.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["shared/types/bounds.ts"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["shared/types/core.types.ts"],"mappings":"","ignoreList":[]}
@@ -6,4 +6,4 @@ export let GestureOffsetState = /*#__PURE__*/function (GestureOffsetState) {
6
6
  GestureOffsetState[GestureOffsetState["FAILED"] = 2] = "FAILED";
7
7
  return GestureOffsetState;
8
8
  }({});
9
- //# sourceMappingURL=gesture.js.map
9
+ //# sourceMappingURL=gesture.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["GestureOffsetState"],"sourceRoot":"../../../../src","sources":["shared/types/gesture.types.ts"],"mappings":";;AAgBA,WAAYA,kBAAkB,0BAAlBA,kBAAkB;EAAlBA,kBAAkB,CAAlBA,kBAAkB;EAAlBA,kBAAkB,CAAlBA,kBAAkB;EAAlBA,kBAAkB,CAAlBA,kBAAkB;EAAA,OAAlBA,kBAAkB;AAAA","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=utils.types.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["shared/types/utils.ts"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["shared/types/utils.types.ts"],"mappings":"","ignoreList":[]}