react-native-screen-transitions 3.1.0 → 3.2.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 (586) hide show
  1. package/README.md +103 -8
  2. package/lib/commonjs/blank-stack/components/adjusted-screen-container.js +36 -0
  3. package/lib/commonjs/blank-stack/components/adjusted-screen-container.js.map +1 -0
  4. package/lib/commonjs/blank-stack/components/{screens.js → adjusted-screen.js} +33 -13
  5. package/lib/commonjs/blank-stack/components/adjusted-screen.js.map +1 -0
  6. package/lib/commonjs/blank-stack/components/stack-view.js +44 -61
  7. package/lib/commonjs/blank-stack/components/stack-view.js.map +1 -1
  8. package/lib/commonjs/blank-stack/components/stack-view.native.js +81 -0
  9. package/lib/commonjs/blank-stack/components/stack-view.native.js.map +1 -0
  10. package/lib/commonjs/component-stack/components/component-screen-container.js +23 -0
  11. package/lib/commonjs/component-stack/components/component-screen-container.js.map +1 -0
  12. package/lib/commonjs/component-stack/components/component-screen.js +36 -0
  13. package/lib/commonjs/component-stack/components/component-screen.js.map +1 -0
  14. package/lib/commonjs/component-stack/components/stack-view.js +64 -0
  15. package/lib/commonjs/component-stack/components/stack-view.js.map +1 -0
  16. package/lib/commonjs/component-stack/index.js +13 -0
  17. package/lib/commonjs/component-stack/index.js.map +1 -0
  18. package/lib/commonjs/component-stack/navigators/create-component-stack-navigator.js +52 -0
  19. package/lib/commonjs/component-stack/navigators/create-component-stack-navigator.js.map +1 -0
  20. package/lib/commonjs/component-stack/types.js.map +1 -0
  21. package/lib/commonjs/{shared/components → native-stack}/controllers/native-stack-lifecycle.js +18 -9
  22. package/lib/commonjs/native-stack/controllers/native-stack-lifecycle.js.map +1 -0
  23. package/lib/commonjs/native-stack/views/NativeStackView.native.js +114 -117
  24. package/lib/commonjs/native-stack/views/NativeStackView.native.js.map +1 -1
  25. package/lib/commonjs/shared/components/create-transition-aware-component.js.map +1 -1
  26. package/lib/commonjs/shared/components/overlay/helpers/get-active-overlay.js +39 -0
  27. package/lib/commonjs/shared/components/overlay/helpers/get-active-overlay.js.map +1 -0
  28. package/lib/commonjs/shared/components/overlay/index.js +13 -0
  29. package/lib/commonjs/shared/components/overlay/index.js.map +1 -0
  30. package/lib/commonjs/shared/components/overlay/variations/float-overlay.js +51 -0
  31. package/lib/commonjs/shared/components/overlay/variations/float-overlay.js.map +1 -0
  32. package/lib/commonjs/shared/components/overlay/variations/overlay-host.js +124 -0
  33. package/lib/commonjs/shared/components/overlay/variations/overlay-host.js.map +1 -0
  34. package/lib/commonjs/shared/components/overlay/variations/screen-overlay.js +47 -0
  35. package/lib/commonjs/shared/components/overlay/variations/screen-overlay.js.map +1 -0
  36. package/lib/commonjs/shared/components/root-transition-aware.js +2 -2
  37. package/lib/commonjs/shared/components/root-transition-aware.js.map +1 -1
  38. package/lib/commonjs/shared/constants.js +4 -31
  39. package/lib/commonjs/shared/constants.js.map +1 -1
  40. package/lib/commonjs/shared/{components/controllers/blank-stack-lifecycle.js → controller/managed-lifecycle.js} +25 -19
  41. package/lib/commonjs/shared/controller/managed-lifecycle.js.map +1 -0
  42. package/lib/commonjs/shared/hooks/animation/use-associated-style.js +2 -2
  43. package/lib/commonjs/shared/hooks/animation/use-associated-style.js.map +1 -1
  44. package/lib/commonjs/shared/hooks/animation/use-high-refresh-rate.js +36 -0
  45. package/lib/commonjs/shared/hooks/animation/use-high-refresh-rate.js.map +1 -0
  46. package/lib/commonjs/shared/hooks/animation/use-screen-animation.js +18 -11
  47. package/lib/commonjs/shared/hooks/animation/use-screen-animation.js.map +1 -1
  48. package/lib/commonjs/shared/hooks/gestures/use-build-gestures.js +4 -2
  49. package/lib/commonjs/shared/hooks/gestures/use-build-gestures.js.map +1 -1
  50. package/lib/commonjs/shared/hooks/gestures/use-scroll-registry.js.map +1 -1
  51. package/lib/commonjs/{blank-stack/utils/with-stack-navigation/hooks → shared/hooks/navigation}/use-closing-route-keys.js +1 -1
  52. package/lib/commonjs/shared/hooks/navigation/use-closing-route-keys.js.map +1 -0
  53. package/lib/commonjs/shared/hooks/navigation/use-previous.js.map +1 -0
  54. package/lib/commonjs/shared/hooks/navigation/use-stack.js +37 -0
  55. package/lib/commonjs/shared/hooks/navigation/use-stack.js.map +1 -0
  56. package/lib/commonjs/shared/hooks/reanimated/use-shared-value-state.js +5 -0
  57. package/lib/commonjs/shared/hooks/reanimated/use-shared-value-state.js.map +1 -1
  58. package/lib/commonjs/shared/providers/gestures.provider.js +1 -1
  59. package/lib/commonjs/shared/providers/gestures.provider.js.map +1 -1
  60. package/lib/commonjs/shared/providers/layout-anchor.provider.js +73 -0
  61. package/lib/commonjs/shared/providers/layout-anchor.provider.js.map +1 -0
  62. package/lib/commonjs/shared/providers/register-bounds.provider.js +19 -8
  63. package/lib/commonjs/shared/providers/register-bounds.provider.js.map +1 -1
  64. package/lib/commonjs/shared/providers/{keys.provider.js → screen/keys.provider.js} +12 -0
  65. package/lib/commonjs/shared/providers/screen/keys.provider.js.map +1 -0
  66. package/lib/commonjs/shared/providers/{screen-transition.provider.js → screen/screen-composer.js} +7 -7
  67. package/lib/commonjs/shared/providers/screen/screen-composer.js.map +1 -0
  68. package/lib/commonjs/shared/providers/screen/styles.provider.js +95 -0
  69. package/lib/commonjs/shared/providers/screen/styles.provider.js.map +1 -0
  70. package/lib/commonjs/shared/providers/stack/core.provider.js +84 -0
  71. package/lib/commonjs/shared/providers/stack/core.provider.js.map +1 -0
  72. package/lib/commonjs/shared/providers/stack/direct.provider.js +160 -0
  73. package/lib/commonjs/shared/providers/stack/direct.provider.js.map +1 -0
  74. package/lib/commonjs/{blank-stack/utils/with-stack-navigation/helpers/calculate-active-screens-limit.js → shared/providers/stack/helpers/active-screens-limit.js} +1 -1
  75. package/lib/commonjs/shared/providers/stack/helpers/active-screens-limit.js.map +1 -0
  76. package/lib/commonjs/shared/providers/stack/helpers/use-local-routes.js +93 -0
  77. package/lib/commonjs/shared/providers/stack/helpers/use-local-routes.js.map +1 -0
  78. package/lib/commonjs/shared/providers/stack/managed.provider.js +157 -0
  79. package/lib/commonjs/shared/providers/stack/managed.provider.js.map +1 -0
  80. package/lib/commonjs/shared/stores/bounds.store.js.map +1 -1
  81. package/lib/commonjs/shared/types/index.js +19 -0
  82. package/lib/commonjs/shared/types/index.js.map +1 -0
  83. package/lib/commonjs/shared/types/overlay.types.js +6 -0
  84. package/lib/commonjs/shared/types/overlay.types.js.map +1 -0
  85. package/lib/commonjs/shared/types/{core.types.js → screen.types.js} +1 -1
  86. package/lib/commonjs/shared/types/screen.types.js.map +1 -0
  87. package/lib/commonjs/shared/types/stack.types.js +32 -0
  88. package/lib/commonjs/shared/types/stack.types.js.map +1 -0
  89. package/lib/commonjs/shared/utils/bounds/helpers/styles.js.map +1 -1
  90. package/lib/commonjs/shared/utils/bounds/index.js +13 -1
  91. package/lib/commonjs/shared/utils/bounds/index.js.map +1 -1
  92. package/lib/commonjs/shared/utils/create-provider.js +16 -13
  93. package/lib/commonjs/shared/utils/create-provider.js.map +1 -1
  94. package/lib/commonjs/shared/utils/gesture/check-gesture-activation.js.map +1 -1
  95. package/lib/commonjs/shared/utils/navigation/align-routes-with-latest.js +51 -0
  96. package/lib/commonjs/shared/utils/navigation/align-routes-with-latest.js.map +1 -0
  97. package/lib/commonjs/shared/utils/navigation/are-descriptors-equal.js.map +1 -0
  98. package/lib/commonjs/shared/utils/navigation/compose-descriptors.js.map +1 -0
  99. package/lib/commonjs/shared/utils/navigation/have-same-route-keys.js.map +1 -0
  100. package/lib/commonjs/shared/utils/navigation/routes-are-identical.js.map +1 -0
  101. package/lib/commonjs/shared/utils/navigation/sync-routes-with-removed.js +70 -0
  102. package/lib/commonjs/shared/utils/navigation/sync-routes-with-removed.js.map +1 -0
  103. package/lib/commonjs/shared/utils/read-shared-value.js +17 -0
  104. package/lib/commonjs/shared/utils/read-shared-value.js.map +1 -0
  105. package/lib/commonjs/shared/utils/reset-stores-for-screen.js +2 -1
  106. package/lib/commonjs/shared/utils/reset-stores-for-screen.js.map +1 -1
  107. package/lib/module/blank-stack/components/adjusted-screen-container.js +31 -0
  108. package/lib/module/blank-stack/components/adjusted-screen-container.js.map +1 -0
  109. package/lib/module/blank-stack/components/{screens.js → adjusted-screen.js} +32 -12
  110. package/lib/module/blank-stack/components/adjusted-screen.js.map +1 -0
  111. package/lib/module/blank-stack/components/stack-view.js +43 -60
  112. package/lib/module/blank-stack/components/stack-view.js.map +1 -1
  113. package/lib/module/blank-stack/components/stack-view.native.js +76 -0
  114. package/lib/module/blank-stack/components/stack-view.native.js.map +1 -0
  115. package/lib/module/component-stack/components/component-screen-container.js +18 -0
  116. package/lib/module/component-stack/components/component-screen-container.js.map +1 -0
  117. package/lib/module/component-stack/components/component-screen.js +30 -0
  118. package/lib/module/component-stack/components/component-screen.js.map +1 -0
  119. package/lib/module/component-stack/components/stack-view.js +59 -0
  120. package/lib/module/component-stack/components/stack-view.js.map +1 -0
  121. package/lib/module/component-stack/index.js +4 -0
  122. package/lib/module/component-stack/index.js.map +1 -0
  123. package/lib/module/component-stack/navigators/create-component-stack-navigator.js +48 -0
  124. package/lib/module/component-stack/navigators/create-component-stack-navigator.js.map +1 -0
  125. package/lib/module/component-stack/types.js.map +1 -0
  126. package/lib/module/{shared/components → native-stack}/controllers/native-stack-lifecycle.js +18 -9
  127. package/lib/module/native-stack/controllers/native-stack-lifecycle.js.map +1 -0
  128. package/lib/module/native-stack/views/NativeStackView.native.js +115 -118
  129. package/lib/module/native-stack/views/NativeStackView.native.js.map +1 -1
  130. package/lib/module/shared/components/create-transition-aware-component.js.map +1 -1
  131. package/lib/module/shared/components/overlay/helpers/get-active-overlay.js +35 -0
  132. package/lib/module/shared/components/overlay/helpers/get-active-overlay.js.map +1 -0
  133. package/lib/module/shared/components/overlay/index.js +9 -0
  134. package/lib/module/shared/components/overlay/index.js.map +1 -0
  135. package/lib/module/shared/components/overlay/variations/float-overlay.js +48 -0
  136. package/lib/module/shared/components/overlay/variations/float-overlay.js.map +1 -0
  137. package/lib/module/shared/components/overlay/variations/overlay-host.js +120 -0
  138. package/lib/module/shared/components/overlay/variations/overlay-host.js.map +1 -0
  139. package/lib/module/shared/components/overlay/variations/screen-overlay.js +44 -0
  140. package/lib/module/shared/components/overlay/variations/screen-overlay.js.map +1 -0
  141. package/lib/module/shared/components/root-transition-aware.js +2 -2
  142. package/lib/module/shared/components/root-transition-aware.js.map +1 -1
  143. package/lib/module/shared/constants.js +2 -29
  144. package/lib/module/shared/constants.js.map +1 -1
  145. package/lib/module/shared/controller/managed-lifecycle.js +72 -0
  146. package/lib/module/shared/controller/managed-lifecycle.js.map +1 -0
  147. package/lib/module/shared/hooks/animation/use-associated-style.js +2 -2
  148. package/lib/module/shared/hooks/animation/use-associated-style.js.map +1 -1
  149. package/lib/module/shared/hooks/animation/use-high-refresh-rate.js +31 -0
  150. package/lib/module/shared/hooks/animation/use-high-refresh-rate.js.map +1 -0
  151. package/lib/module/shared/hooks/animation/use-screen-animation.js +18 -11
  152. package/lib/module/shared/hooks/animation/use-screen-animation.js.map +1 -1
  153. package/lib/module/shared/hooks/gestures/use-build-gestures.js +5 -3
  154. package/lib/module/shared/hooks/gestures/use-build-gestures.js.map +1 -1
  155. package/lib/module/shared/hooks/gestures/use-scroll-registry.js.map +1 -1
  156. package/lib/module/{blank-stack/utils/with-stack-navigation/hooks → shared/hooks/navigation}/use-closing-route-keys.js +1 -1
  157. package/lib/module/shared/hooks/navigation/use-closing-route-keys.js.map +1 -0
  158. package/lib/module/shared/hooks/navigation/use-previous.js.map +1 -0
  159. package/lib/module/shared/hooks/navigation/use-stack.js +33 -0
  160. package/lib/module/shared/hooks/navigation/use-stack.js.map +1 -0
  161. package/lib/module/shared/hooks/reanimated/use-shared-value-state.js +5 -0
  162. package/lib/module/shared/hooks/reanimated/use-shared-value-state.js.map +1 -1
  163. package/lib/module/shared/providers/gestures.provider.js +1 -1
  164. package/lib/module/shared/providers/gestures.provider.js.map +1 -1
  165. package/lib/module/shared/providers/layout-anchor.provider.js +67 -0
  166. package/lib/module/shared/providers/layout-anchor.provider.js.map +1 -0
  167. package/lib/module/shared/providers/register-bounds.provider.js +19 -8
  168. package/lib/module/shared/providers/register-bounds.provider.js.map +1 -1
  169. package/lib/module/shared/providers/{keys.provider.js → screen/keys.provider.js} +12 -0
  170. package/lib/module/shared/providers/screen/keys.provider.js.map +1 -0
  171. package/lib/module/shared/providers/{screen-transition.provider.js → screen/screen-composer.js} +6 -6
  172. package/lib/module/shared/providers/screen/screen-composer.js.map +1 -0
  173. package/lib/module/shared/providers/screen/styles.provider.js +90 -0
  174. package/lib/module/shared/providers/screen/styles.provider.js.map +1 -0
  175. package/lib/module/shared/providers/stack/core.provider.js +78 -0
  176. package/lib/module/shared/providers/stack/core.provider.js.map +1 -0
  177. package/lib/module/shared/providers/stack/direct.provider.js +155 -0
  178. package/lib/module/shared/providers/stack/direct.provider.js.map +1 -0
  179. package/lib/module/{blank-stack/utils/with-stack-navigation/helpers/calculate-active-screens-limit.js → shared/providers/stack/helpers/active-screens-limit.js} +1 -1
  180. package/lib/module/shared/providers/stack/helpers/active-screens-limit.js.map +1 -0
  181. package/lib/module/shared/providers/stack/helpers/use-local-routes.js +87 -0
  182. package/lib/module/shared/providers/stack/helpers/use-local-routes.js.map +1 -0
  183. package/lib/module/shared/providers/stack/managed.provider.js +152 -0
  184. package/lib/module/shared/providers/stack/managed.provider.js.map +1 -0
  185. package/lib/module/shared/stores/bounds.store.js.map +1 -1
  186. package/lib/module/shared/types/index.js +4 -0
  187. package/lib/module/shared/types/index.js.map +1 -0
  188. package/lib/module/shared/types/overlay.types.js +4 -0
  189. package/lib/module/shared/types/overlay.types.js.map +1 -0
  190. package/lib/module/shared/types/screen.types.js +4 -0
  191. package/lib/module/shared/types/screen.types.js.map +1 -0
  192. package/lib/module/shared/types/stack.types.js +33 -0
  193. package/lib/module/shared/types/stack.types.js.map +1 -0
  194. package/lib/module/shared/utils/bounds/helpers/styles.js.map +1 -1
  195. package/lib/module/shared/utils/bounds/index.js +13 -1
  196. package/lib/module/shared/utils/bounds/index.js.map +1 -1
  197. package/lib/module/shared/utils/create-provider.js +16 -13
  198. package/lib/module/shared/utils/create-provider.js.map +1 -1
  199. package/lib/module/shared/utils/gesture/check-gesture-activation.js.map +1 -1
  200. package/lib/module/shared/utils/navigation/align-routes-with-latest.js +46 -0
  201. package/lib/module/shared/utils/navigation/align-routes-with-latest.js.map +1 -0
  202. package/lib/module/shared/utils/navigation/are-descriptors-equal.js.map +1 -0
  203. package/lib/module/shared/utils/navigation/compose-descriptors.js.map +1 -0
  204. package/lib/module/shared/utils/navigation/have-same-route-keys.js.map +1 -0
  205. package/lib/module/shared/utils/navigation/routes-are-identical.js.map +1 -0
  206. package/lib/module/shared/utils/navigation/sync-routes-with-removed.js +65 -0
  207. package/lib/module/shared/utils/navigation/sync-routes-with-removed.js.map +1 -0
  208. package/lib/module/shared/utils/read-shared-value.js +14 -0
  209. package/lib/module/shared/utils/read-shared-value.js.map +1 -0
  210. package/lib/module/shared/utils/reset-stores-for-screen.js +2 -2
  211. package/lib/module/shared/utils/reset-stores-for-screen.js.map +1 -1
  212. package/lib/typescript/blank-stack/components/adjusted-screen-container.d.ts +6 -0
  213. package/lib/typescript/blank-stack/components/adjusted-screen-container.d.ts.map +1 -0
  214. package/lib/typescript/blank-stack/components/{screens.d.ts → adjusted-screen.d.ts} +2 -2
  215. package/lib/typescript/blank-stack/components/adjusted-screen.d.ts.map +1 -0
  216. package/lib/typescript/blank-stack/components/stack-view.d.ts +2 -1
  217. package/lib/typescript/blank-stack/components/stack-view.d.ts.map +1 -1
  218. package/lib/typescript/blank-stack/components/stack-view.native.d.ts +4 -0
  219. package/lib/typescript/blank-stack/components/stack-view.native.d.ts.map +1 -0
  220. package/lib/typescript/blank-stack/types.d.ts +10 -49
  221. package/lib/typescript/blank-stack/types.d.ts.map +1 -1
  222. package/lib/typescript/component-stack/components/component-screen-container.d.ts +6 -0
  223. package/lib/typescript/component-stack/components/component-screen-container.d.ts.map +1 -0
  224. package/lib/typescript/component-stack/components/component-screen.d.ts +8 -0
  225. package/lib/typescript/component-stack/components/component-screen.d.ts.map +1 -0
  226. package/lib/typescript/component-stack/components/stack-view.d.ts +4 -0
  227. package/lib/typescript/component-stack/components/stack-view.d.ts.map +1 -0
  228. package/lib/typescript/component-stack/index.d.ts +3 -0
  229. package/lib/typescript/component-stack/index.d.ts.map +1 -0
  230. package/lib/typescript/component-stack/navigators/create-component-stack-navigator.d.ts +16 -0
  231. package/lib/typescript/component-stack/navigators/create-component-stack-navigator.d.ts.map +1 -0
  232. package/lib/typescript/component-stack/types.d.ts +39 -0
  233. package/lib/typescript/component-stack/types.d.ts.map +1 -0
  234. package/lib/typescript/native-stack/controllers/native-stack-lifecycle.d.ts.map +1 -0
  235. package/lib/typescript/native-stack/index.d.ts +1 -1
  236. package/lib/typescript/native-stack/index.d.ts.map +1 -1
  237. package/lib/typescript/native-stack/types.d.ts +9 -6
  238. package/lib/typescript/native-stack/types.d.ts.map +1 -1
  239. package/lib/typescript/native-stack/views/NativeStackView.native.d.ts +2 -10
  240. package/lib/typescript/native-stack/views/NativeStackView.native.d.ts.map +1 -1
  241. package/lib/typescript/shared/components/create-transition-aware-component.d.ts.map +1 -1
  242. package/lib/typescript/shared/components/overlay/helpers/get-active-overlay.d.ts +11 -0
  243. package/lib/typescript/shared/components/overlay/helpers/get-active-overlay.d.ts.map +1 -0
  244. package/lib/typescript/shared/components/overlay/index.d.ts +7 -0
  245. package/lib/typescript/shared/components/overlay/index.d.ts.map +1 -0
  246. package/lib/typescript/shared/components/overlay/variations/float-overlay.d.ts +6 -0
  247. package/lib/typescript/shared/components/overlay/variations/float-overlay.d.ts.map +1 -0
  248. package/lib/typescript/shared/components/overlay/variations/overlay-host.d.ts +12 -0
  249. package/lib/typescript/shared/components/overlay/variations/overlay-host.d.ts.map +1 -0
  250. package/lib/typescript/shared/components/overlay/variations/screen-overlay.d.ts +6 -0
  251. package/lib/typescript/shared/components/overlay/variations/screen-overlay.d.ts.map +1 -0
  252. package/lib/typescript/shared/configs/index.d.ts.map +1 -1
  253. package/lib/typescript/shared/configs/presets.d.ts +1 -1
  254. package/lib/typescript/shared/configs/presets.d.ts.map +1 -1
  255. package/lib/typescript/shared/constants.d.ts +2 -16
  256. package/lib/typescript/shared/constants.d.ts.map +1 -1
  257. package/lib/typescript/shared/controller/managed-lifecycle.d.ts +9 -0
  258. package/lib/typescript/shared/controller/managed-lifecycle.d.ts.map +1 -0
  259. package/lib/typescript/shared/hooks/animation/use-high-refresh-rate.d.ts +13 -0
  260. package/lib/typescript/shared/hooks/animation/use-high-refresh-rate.d.ts.map +1 -0
  261. package/lib/typescript/shared/hooks/animation/use-screen-animation.d.ts +2 -1
  262. package/lib/typescript/shared/hooks/animation/use-screen-animation.d.ts.map +1 -1
  263. package/lib/typescript/shared/hooks/gestures/use-build-gestures.d.ts.map +1 -1
  264. package/lib/typescript/shared/hooks/gestures/use-scroll-registry.d.ts.map +1 -1
  265. package/lib/typescript/shared/hooks/navigation/use-closing-route-keys.d.ts.map +1 -0
  266. package/lib/typescript/shared/hooks/navigation/use-previous.d.ts.map +1 -0
  267. package/lib/typescript/shared/hooks/navigation/use-stack.d.ts +66 -0
  268. package/lib/typescript/shared/hooks/navigation/use-stack.d.ts.map +1 -0
  269. package/lib/typescript/shared/hooks/reanimated/use-shared-value-state.d.ts.map +1 -1
  270. package/lib/typescript/shared/index.d.ts +41 -43
  271. package/lib/typescript/shared/index.d.ts.map +1 -1
  272. package/lib/typescript/shared/providers/gestures.provider.d.ts +4 -2
  273. package/lib/typescript/shared/providers/gestures.provider.d.ts.map +1 -1
  274. package/lib/typescript/shared/providers/layout-anchor.provider.d.ts +34 -0
  275. package/lib/typescript/shared/providers/layout-anchor.provider.d.ts.map +1 -0
  276. package/lib/typescript/shared/providers/register-bounds.provider.d.ts.map +1 -1
  277. package/lib/typescript/shared/providers/screen/keys.provider.d.ts +29 -0
  278. package/lib/typescript/shared/providers/screen/keys.provider.d.ts.map +1 -0
  279. package/lib/typescript/shared/providers/screen/screen-composer.d.ts +13 -0
  280. package/lib/typescript/shared/providers/screen/screen-composer.d.ts.map +1 -0
  281. package/lib/typescript/shared/providers/screen/styles.provider.d.ts +13 -0
  282. package/lib/typescript/shared/providers/screen/styles.provider.d.ts.map +1 -0
  283. package/lib/typescript/shared/providers/stack/core.provider.d.ts +22 -0
  284. package/lib/typescript/shared/providers/stack/core.provider.d.ts.map +1 -0
  285. package/lib/typescript/shared/providers/stack/direct.provider.d.ts +34 -0
  286. package/lib/typescript/shared/providers/stack/direct.provider.d.ts.map +1 -0
  287. package/lib/typescript/shared/providers/stack/helpers/active-screens-limit.d.ts +9 -0
  288. package/lib/typescript/shared/providers/stack/helpers/active-screens-limit.d.ts.map +1 -0
  289. package/lib/typescript/shared/providers/stack/helpers/use-local-routes.d.ts +19 -0
  290. package/lib/typescript/shared/providers/stack/helpers/use-local-routes.d.ts.map +1 -0
  291. package/lib/typescript/shared/providers/stack/managed.provider.d.ts +39 -0
  292. package/lib/typescript/shared/providers/stack/managed.provider.d.ts.map +1 -0
  293. package/lib/typescript/shared/stores/animation.store.d.ts +1 -1
  294. package/lib/typescript/shared/stores/animation.store.d.ts.map +1 -1
  295. package/lib/typescript/shared/stores/bounds.store.d.ts.map +1 -1
  296. package/lib/typescript/shared/stores/gesture.store.d.ts +2 -2
  297. package/lib/typescript/shared/stores/gesture.store.d.ts.map +1 -1
  298. package/lib/typescript/shared/types/animation.types.d.ts +3 -3
  299. package/lib/typescript/shared/types/animation.types.d.ts.map +1 -1
  300. package/lib/typescript/shared/types/bounds.types.d.ts +1 -0
  301. package/lib/typescript/shared/types/bounds.types.d.ts.map +1 -1
  302. package/lib/typescript/shared/types/gesture.types.d.ts +0 -1
  303. package/lib/typescript/shared/types/gesture.types.d.ts.map +1 -1
  304. package/lib/typescript/shared/types/index.d.ts +8 -0
  305. package/lib/typescript/shared/types/index.d.ts.map +1 -0
  306. package/lib/typescript/shared/types/overlay.types.d.ts +39 -0
  307. package/lib/typescript/shared/types/overlay.types.d.ts.map +1 -0
  308. package/lib/typescript/shared/types/{core.types.d.ts → screen.types.d.ts} +31 -6
  309. package/lib/typescript/shared/types/screen.types.d.ts.map +1 -0
  310. package/lib/typescript/shared/types/stack.types.d.ts +55 -0
  311. package/lib/typescript/shared/types/stack.types.d.ts.map +1 -0
  312. package/lib/typescript/shared/utils/bounds/helpers/geometry.d.ts +1 -1
  313. package/lib/typescript/shared/utils/bounds/helpers/geometry.d.ts.map +1 -1
  314. package/lib/typescript/shared/utils/bounds/helpers/style-composers.d.ts +2 -1
  315. package/lib/typescript/shared/utils/bounds/helpers/style-composers.d.ts.map +1 -1
  316. package/lib/typescript/shared/utils/bounds/helpers/styles.d.ts +1 -2
  317. package/lib/typescript/shared/utils/bounds/helpers/styles.d.ts.map +1 -1
  318. package/lib/typescript/shared/utils/bounds/index.d.ts +1 -9
  319. package/lib/typescript/shared/utils/bounds/index.d.ts.map +1 -1
  320. package/lib/typescript/shared/utils/bounds/types/builder.d.ts +9 -8
  321. package/lib/typescript/shared/utils/bounds/types/builder.d.ts.map +1 -1
  322. package/lib/typescript/shared/utils/bounds/types/geometry.d.ts +2 -1
  323. package/lib/typescript/shared/utils/bounds/types/geometry.d.ts.map +1 -1
  324. package/lib/typescript/shared/utils/create-provider.d.ts.map +1 -1
  325. package/lib/typescript/shared/utils/gesture/check-gesture-activation.d.ts +1 -1
  326. package/lib/typescript/shared/utils/gesture/check-gesture-activation.d.ts.map +1 -1
  327. package/lib/typescript/shared/utils/navigation/align-routes-with-latest.d.ts +13 -0
  328. package/lib/typescript/shared/utils/navigation/align-routes-with-latest.d.ts.map +1 -0
  329. package/lib/typescript/shared/utils/navigation/are-descriptors-equal.d.ts +2 -0
  330. package/lib/typescript/shared/utils/navigation/are-descriptors-equal.d.ts.map +1 -0
  331. package/lib/typescript/shared/utils/navigation/compose-descriptors.d.ts +6 -0
  332. package/lib/typescript/shared/utils/navigation/compose-descriptors.d.ts.map +1 -0
  333. package/lib/typescript/shared/utils/navigation/have-same-route-keys.d.ts +6 -0
  334. package/lib/typescript/shared/utils/navigation/have-same-route-keys.d.ts.map +1 -0
  335. package/lib/typescript/shared/utils/navigation/routes-are-identical.d.ts +6 -0
  336. package/lib/typescript/shared/utils/navigation/routes-are-identical.d.ts.map +1 -0
  337. package/lib/typescript/shared/utils/navigation/sync-routes-with-removed.d.ts +21 -0
  338. package/lib/typescript/shared/utils/navigation/sync-routes-with-removed.d.ts.map +1 -0
  339. package/lib/typescript/shared/utils/read-shared-value.d.ts +7 -0
  340. package/lib/typescript/shared/utils/read-shared-value.d.ts.map +1 -0
  341. package/lib/typescript/shared/utils/reset-stores-for-screen.d.ts +4 -3
  342. package/lib/typescript/shared/utils/reset-stores-for-screen.d.ts.map +1 -1
  343. package/package.json +7 -2
  344. package/src/blank-stack/components/adjusted-screen-container.tsx +25 -0
  345. package/src/blank-stack/components/{screens.tsx → adjusted-screen.tsx} +35 -14
  346. package/src/blank-stack/components/stack-view.native.tsx +94 -0
  347. package/src/blank-stack/components/stack-view.tsx +60 -74
  348. package/src/blank-stack/types.ts +12 -63
  349. package/src/component-stack/components/component-screen-container.tsx +15 -0
  350. package/src/component-stack/components/component-screen.tsx +40 -0
  351. package/src/component-stack/components/stack-view.tsx +74 -0
  352. package/src/component-stack/index.ts +10 -0
  353. package/src/component-stack/navigators/create-component-stack-navigator.tsx +88 -0
  354. package/src/component-stack/types.ts +101 -0
  355. package/src/{shared/components → native-stack}/controllers/native-stack-lifecycle.tsx +18 -11
  356. package/src/native-stack/index.ts +1 -0
  357. package/src/native-stack/types.ts +11 -7
  358. package/src/native-stack/views/NativeStackView.native.tsx +138 -167
  359. package/src/shared/__tests__/sync-routes-with-removed.test.ts +137 -0
  360. package/src/shared/components/create-transition-aware-component.tsx +5 -6
  361. package/src/shared/components/overlay/helpers/get-active-overlay.ts +38 -0
  362. package/src/shared/components/overlay/index.ts +7 -0
  363. package/src/shared/components/overlay/variations/float-overlay.tsx +44 -0
  364. package/src/shared/components/overlay/variations/overlay-host.tsx +148 -0
  365. package/src/shared/components/overlay/variations/screen-overlay.tsx +51 -0
  366. package/src/shared/components/root-transition-aware.tsx +2 -2
  367. package/src/shared/configs/presets.ts +1 -1
  368. package/src/shared/constants.ts +3 -32
  369. package/src/shared/controller/managed-lifecycle.tsx +73 -0
  370. package/src/shared/hooks/animation/use-associated-style.tsx +2 -2
  371. package/src/shared/hooks/animation/use-high-refresh-rate.tsx +34 -0
  372. package/src/shared/hooks/animation/use-screen-animation.tsx +24 -18
  373. package/src/shared/hooks/gestures/use-build-gestures.tsx +10 -3
  374. package/src/shared/hooks/gestures/use-scroll-registry.tsx +3 -4
  375. package/src/{blank-stack/utils/with-stack-navigation/hooks → shared/hooks/navigation}/use-closing-route-keys.tsx +1 -1
  376. package/src/shared/hooks/navigation/use-stack.tsx +89 -0
  377. package/src/shared/hooks/reanimated/use-shared-value-state.ts +5 -0
  378. package/src/shared/index.ts +8 -3
  379. package/src/shared/providers/gestures.provider.tsx +6 -2
  380. package/src/shared/providers/layout-anchor.provider.tsx +81 -0
  381. package/src/shared/providers/register-bounds.provider.tsx +23 -9
  382. package/src/shared/providers/{keys.provider.tsx → screen/keys.provider.tsx} +25 -10
  383. package/src/shared/providers/screen/screen-composer.tsx +38 -0
  384. package/src/shared/providers/screen/styles.provider.tsx +120 -0
  385. package/src/shared/providers/stack/core.provider.tsx +87 -0
  386. package/src/shared/providers/stack/direct.provider.tsx +231 -0
  387. package/src/{blank-stack/utils/with-stack-navigation/helpers/calculate-active-screens-limit.ts → shared/providers/stack/helpers/active-screens-limit.ts} +10 -4
  388. package/src/shared/providers/stack/helpers/use-local-routes.tsx +133 -0
  389. package/src/shared/providers/stack/managed.provider.tsx +229 -0
  390. package/src/shared/stores/animation.store.ts +1 -1
  391. package/src/shared/stores/bounds.store.ts +4 -5
  392. package/src/shared/stores/gesture.store.ts +2 -2
  393. package/src/shared/types/animation.types.ts +3 -3
  394. package/src/shared/types/bounds.types.ts +5 -0
  395. package/src/shared/types/gesture.types.ts +0 -2
  396. package/src/shared/types/index.ts +46 -0
  397. package/src/shared/types/overlay.types.ts +49 -0
  398. package/src/shared/types/{core.types.ts → screen.types.ts} +34 -7
  399. package/src/shared/types/stack.types.ts +63 -0
  400. package/src/shared/utils/bounds/helpers/geometry.ts +1 -1
  401. package/src/shared/utils/bounds/helpers/style-composers.ts +1 -1
  402. package/src/shared/utils/bounds/helpers/styles.ts +1 -2
  403. package/src/shared/utils/bounds/index.ts +19 -10
  404. package/src/shared/utils/bounds/types/builder.ts +8 -8
  405. package/src/shared/utils/bounds/types/geometry.ts +1 -1
  406. package/src/shared/utils/create-provider.tsx +14 -16
  407. package/src/shared/utils/gesture/check-gesture-activation.ts +1 -1
  408. package/src/shared/utils/navigation/align-routes-with-latest.ts +68 -0
  409. package/src/{blank-stack/utils/with-stack-navigation/helpers → shared/utils/navigation}/are-descriptors-equal.ts +5 -5
  410. package/src/shared/utils/navigation/compose-descriptors.ts +21 -0
  411. package/src/{blank-stack/utils/with-stack-navigation/helpers → shared/utils/navigation}/have-same-route-keys.ts +6 -4
  412. package/src/{blank-stack/utils/with-stack-navigation/helpers → shared/utils/navigation}/routes-are-identical.ts +6 -4
  413. package/src/shared/utils/navigation/sync-routes-with-removed.ts +102 -0
  414. package/src/shared/utils/read-shared-value.ts +15 -0
  415. package/src/shared/utils/reset-stores-for-screen.ts +4 -3
  416. package/lib/commonjs/blank-stack/components/overlay.js +0 -156
  417. package/lib/commonjs/blank-stack/components/overlay.js.map +0 -1
  418. package/lib/commonjs/blank-stack/components/screens.js.map +0 -1
  419. package/lib/commonjs/blank-stack/hooks/use-overlay-animation.js +0 -72
  420. package/lib/commonjs/blank-stack/hooks/use-overlay-animation.js.map +0 -1
  421. package/lib/commonjs/blank-stack/utils/with-stack-navigation/helpers/are-descriptors-equal.js.map +0 -1
  422. package/lib/commonjs/blank-stack/utils/with-stack-navigation/helpers/calculate-active-screens-limit.js.map +0 -1
  423. package/lib/commonjs/blank-stack/utils/with-stack-navigation/helpers/compose-descriptors.js.map +0 -1
  424. package/lib/commonjs/blank-stack/utils/with-stack-navigation/helpers/have-same-route-keys.js.map +0 -1
  425. package/lib/commonjs/blank-stack/utils/with-stack-navigation/helpers/routes-are-identical.js.map +0 -1
  426. package/lib/commonjs/blank-stack/utils/with-stack-navigation/hooks/use-closing-route-keys.js.map +0 -1
  427. package/lib/commonjs/blank-stack/utils/with-stack-navigation/hooks/use-previous.js.map +0 -1
  428. package/lib/commonjs/blank-stack/utils/with-stack-navigation/hooks/use-stack-navigation-state.js +0 -196
  429. package/lib/commonjs/blank-stack/utils/with-stack-navigation/hooks/use-stack-navigation-state.js.map +0 -1
  430. package/lib/commonjs/blank-stack/utils/with-stack-navigation/index.js +0 -61
  431. package/lib/commonjs/blank-stack/utils/with-stack-navigation/index.js.map +0 -1
  432. package/lib/commonjs/blank-stack/utils/with-stack-navigation/types.js.map +0 -1
  433. package/lib/commonjs/native-stack/views/FooterComponent.js +0 -17
  434. package/lib/commonjs/native-stack/views/FooterComponent.js.map +0 -1
  435. package/lib/commonjs/shared/components/controllers/blank-stack-lifecycle.js.map +0 -1
  436. package/lib/commonjs/shared/components/controllers/native-stack-lifecycle.js.map +0 -1
  437. package/lib/commonjs/shared/providers/flags.provider.js +0 -25
  438. package/lib/commonjs/shared/providers/flags.provider.js.map +0 -1
  439. package/lib/commonjs/shared/providers/keys.provider.js.map +0 -1
  440. package/lib/commonjs/shared/providers/routes.provider.js +0 -48
  441. package/lib/commonjs/shared/providers/routes.provider.js.map +0 -1
  442. package/lib/commonjs/shared/providers/screen-transition.provider.js.map +0 -1
  443. package/lib/commonjs/shared/providers/transition-styles.provider.js +0 -62
  444. package/lib/commonjs/shared/providers/transition-styles.provider.js.map +0 -1
  445. package/lib/commonjs/shared/types/core.types.js.map +0 -1
  446. package/lib/commonjs/shared/types/utils.types.js +0 -2
  447. package/lib/commonjs/shared/types/utils.types.js.map +0 -1
  448. package/lib/commonjs/shared/utils/animation/compute-stack-progress.js +0 -20
  449. package/lib/commonjs/shared/utils/animation/compute-stack-progress.js.map +0 -1
  450. package/lib/commonjs/shared/utils/bounds/constants.js +0 -42
  451. package/lib/commonjs/shared/utils/bounds/constants.js.map +0 -1
  452. package/lib/commonjs/shared/utils/bounds/helpers/is-bounds-equal.js +0 -19
  453. package/lib/commonjs/shared/utils/bounds/helpers/is-bounds-equal.js.map +0 -1
  454. package/lib/commonjs/shared/utils/gesture/apply-offset-rules.js +0 -224
  455. package/lib/commonjs/shared/utils/gesture/apply-offset-rules.js.map +0 -1
  456. package/lib/commonjs/shared/utils/reanimated/version.js +0 -12
  457. package/lib/commonjs/shared/utils/reanimated/version.js.map +0 -1
  458. package/lib/module/blank-stack/components/overlay.js +0 -152
  459. package/lib/module/blank-stack/components/overlay.js.map +0 -1
  460. package/lib/module/blank-stack/components/screens.js.map +0 -1
  461. package/lib/module/blank-stack/hooks/use-overlay-animation.js +0 -68
  462. package/lib/module/blank-stack/hooks/use-overlay-animation.js.map +0 -1
  463. package/lib/module/blank-stack/utils/with-stack-navigation/helpers/are-descriptors-equal.js.map +0 -1
  464. package/lib/module/blank-stack/utils/with-stack-navigation/helpers/calculate-active-screens-limit.js.map +0 -1
  465. package/lib/module/blank-stack/utils/with-stack-navigation/helpers/compose-descriptors.js.map +0 -1
  466. package/lib/module/blank-stack/utils/with-stack-navigation/helpers/have-same-route-keys.js.map +0 -1
  467. package/lib/module/blank-stack/utils/with-stack-navigation/helpers/routes-are-identical.js.map +0 -1
  468. package/lib/module/blank-stack/utils/with-stack-navigation/hooks/use-closing-route-keys.js.map +0 -1
  469. package/lib/module/blank-stack/utils/with-stack-navigation/hooks/use-previous.js.map +0 -1
  470. package/lib/module/blank-stack/utils/with-stack-navigation/hooks/use-stack-navigation-state.js +0 -190
  471. package/lib/module/blank-stack/utils/with-stack-navigation/hooks/use-stack-navigation-state.js.map +0 -1
  472. package/lib/module/blank-stack/utils/with-stack-navigation/index.js +0 -55
  473. package/lib/module/blank-stack/utils/with-stack-navigation/index.js.map +0 -1
  474. package/lib/module/blank-stack/utils/with-stack-navigation/types.js.map +0 -1
  475. package/lib/module/native-stack/views/FooterComponent.js +0 -13
  476. package/lib/module/native-stack/views/FooterComponent.js.map +0 -1
  477. package/lib/module/shared/components/controllers/blank-stack-lifecycle.js +0 -66
  478. package/lib/module/shared/components/controllers/blank-stack-lifecycle.js.map +0 -1
  479. package/lib/module/shared/components/controllers/native-stack-lifecycle.js.map +0 -1
  480. package/lib/module/shared/providers/flags.provider.js +0 -19
  481. package/lib/module/shared/providers/flags.provider.js.map +0 -1
  482. package/lib/module/shared/providers/keys.provider.js.map +0 -1
  483. package/lib/module/shared/providers/routes.provider.js +0 -42
  484. package/lib/module/shared/providers/routes.provider.js.map +0 -1
  485. package/lib/module/shared/providers/screen-transition.provider.js.map +0 -1
  486. package/lib/module/shared/providers/transition-styles.provider.js +0 -56
  487. package/lib/module/shared/providers/transition-styles.provider.js.map +0 -1
  488. package/lib/module/shared/types/core.types.js +0 -4
  489. package/lib/module/shared/types/core.types.js.map +0 -1
  490. package/lib/module/shared/types/utils.types.js +0 -2
  491. package/lib/module/shared/types/utils.types.js.map +0 -1
  492. package/lib/module/shared/utils/animation/compute-stack-progress.js +0 -15
  493. package/lib/module/shared/utils/animation/compute-stack-progress.js.map +0 -1
  494. package/lib/module/shared/utils/bounds/constants.js +0 -37
  495. package/lib/module/shared/utils/bounds/constants.js.map +0 -1
  496. package/lib/module/shared/utils/bounds/helpers/is-bounds-equal.js +0 -14
  497. package/lib/module/shared/utils/bounds/helpers/is-bounds-equal.js.map +0 -1
  498. package/lib/module/shared/utils/gesture/apply-offset-rules.js +0 -219
  499. package/lib/module/shared/utils/gesture/apply-offset-rules.js.map +0 -1
  500. package/lib/module/shared/utils/reanimated/version.js +0 -7
  501. package/lib/module/shared/utils/reanimated/version.js.map +0 -1
  502. package/lib/typescript/blank-stack/components/overlay.d.ts +0 -5
  503. package/lib/typescript/blank-stack/components/overlay.d.ts.map +0 -1
  504. package/lib/typescript/blank-stack/components/screens.d.ts.map +0 -1
  505. package/lib/typescript/blank-stack/hooks/use-overlay-animation.d.ts +0 -12
  506. package/lib/typescript/blank-stack/hooks/use-overlay-animation.d.ts.map +0 -1
  507. package/lib/typescript/blank-stack/utils/with-stack-navigation/helpers/are-descriptors-equal.d.ts +0 -3
  508. package/lib/typescript/blank-stack/utils/with-stack-navigation/helpers/are-descriptors-equal.d.ts.map +0 -1
  509. package/lib/typescript/blank-stack/utils/with-stack-navigation/helpers/calculate-active-screens-limit.d.ts +0 -4
  510. package/lib/typescript/blank-stack/utils/with-stack-navigation/helpers/calculate-active-screens-limit.d.ts.map +0 -1
  511. package/lib/typescript/blank-stack/utils/with-stack-navigation/helpers/compose-descriptors.d.ts +0 -4
  512. package/lib/typescript/blank-stack/utils/with-stack-navigation/helpers/compose-descriptors.d.ts.map +0 -1
  513. package/lib/typescript/blank-stack/utils/with-stack-navigation/helpers/have-same-route-keys.d.ts +0 -3
  514. package/lib/typescript/blank-stack/utils/with-stack-navigation/helpers/have-same-route-keys.d.ts.map +0 -1
  515. package/lib/typescript/blank-stack/utils/with-stack-navigation/helpers/routes-are-identical.d.ts +0 -3
  516. package/lib/typescript/blank-stack/utils/with-stack-navigation/helpers/routes-are-identical.d.ts.map +0 -1
  517. package/lib/typescript/blank-stack/utils/with-stack-navigation/hooks/use-closing-route-keys.d.ts.map +0 -1
  518. package/lib/typescript/blank-stack/utils/with-stack-navigation/hooks/use-previous.d.ts.map +0 -1
  519. package/lib/typescript/blank-stack/utils/with-stack-navigation/hooks/use-stack-navigation-state.d.ts +0 -20
  520. package/lib/typescript/blank-stack/utils/with-stack-navigation/hooks/use-stack-navigation-state.d.ts.map +0 -1
  521. package/lib/typescript/blank-stack/utils/with-stack-navigation/index.d.ts +0 -4
  522. package/lib/typescript/blank-stack/utils/with-stack-navigation/index.d.ts.map +0 -1
  523. package/lib/typescript/blank-stack/utils/with-stack-navigation/types.d.ts +0 -22
  524. package/lib/typescript/blank-stack/utils/with-stack-navigation/types.d.ts.map +0 -1
  525. package/lib/typescript/native-stack/views/FooterComponent.d.ts +0 -7
  526. package/lib/typescript/native-stack/views/FooterComponent.d.ts.map +0 -1
  527. package/lib/typescript/shared/components/controllers/blank-stack-lifecycle.d.ts +0 -8
  528. package/lib/typescript/shared/components/controllers/blank-stack-lifecycle.d.ts.map +0 -1
  529. package/lib/typescript/shared/components/controllers/native-stack-lifecycle.d.ts.map +0 -1
  530. package/lib/typescript/shared/providers/flags.provider.d.ts +0 -10
  531. package/lib/typescript/shared/providers/flags.provider.d.ts.map +0 -1
  532. package/lib/typescript/shared/providers/keys.provider.d.ts +0 -18
  533. package/lib/typescript/shared/providers/keys.provider.d.ts.map +0 -1
  534. package/lib/typescript/shared/providers/routes.provider.d.ts +0 -19
  535. package/lib/typescript/shared/providers/routes.provider.d.ts.map +0 -1
  536. package/lib/typescript/shared/providers/screen-transition.provider.d.ts +0 -14
  537. package/lib/typescript/shared/providers/screen-transition.provider.d.ts.map +0 -1
  538. package/lib/typescript/shared/providers/transition-styles.provider.d.ts +0 -14
  539. package/lib/typescript/shared/providers/transition-styles.provider.d.ts.map +0 -1
  540. package/lib/typescript/shared/types/core.types.d.ts.map +0 -1
  541. package/lib/typescript/shared/types/utils.types.d.ts +0 -5
  542. package/lib/typescript/shared/types/utils.types.d.ts.map +0 -1
  543. package/lib/typescript/shared/utils/animation/compute-stack-progress.d.ts +0 -3
  544. package/lib/typescript/shared/utils/animation/compute-stack-progress.d.ts.map +0 -1
  545. package/lib/typescript/shared/utils/bounds/constants.d.ts +0 -7
  546. package/lib/typescript/shared/utils/bounds/constants.d.ts.map +0 -1
  547. package/lib/typescript/shared/utils/bounds/helpers/is-bounds-equal.d.ts +0 -7
  548. package/lib/typescript/shared/utils/bounds/helpers/is-bounds-equal.d.ts.map +0 -1
  549. package/lib/typescript/shared/utils/gesture/apply-offset-rules.d.ts +0 -38
  550. package/lib/typescript/shared/utils/gesture/apply-offset-rules.d.ts.map +0 -1
  551. package/lib/typescript/shared/utils/reanimated/version.d.ts +0 -2
  552. package/lib/typescript/shared/utils/reanimated/version.d.ts.map +0 -1
  553. package/src/blank-stack/components/overlay.tsx +0 -169
  554. package/src/blank-stack/hooks/use-overlay-animation.tsx +0 -86
  555. package/src/blank-stack/utils/with-stack-navigation/helpers/compose-descriptors.ts +0 -17
  556. package/src/blank-stack/utils/with-stack-navigation/hooks/use-stack-navigation-state.tsx +0 -267
  557. package/src/blank-stack/utils/with-stack-navigation/index.tsx +0 -74
  558. package/src/blank-stack/utils/with-stack-navigation/types.ts +0 -35
  559. package/src/native-stack/views/FooterComponent.tsx +0 -10
  560. package/src/shared/components/controllers/blank-stack-lifecycle.tsx +0 -70
  561. package/src/shared/providers/flags.provider.tsx +0 -21
  562. package/src/shared/providers/routes.provider.tsx +0 -54
  563. package/src/shared/providers/screen-transition.provider.tsx +0 -41
  564. package/src/shared/providers/transition-styles.provider.tsx +0 -74
  565. package/src/shared/types/utils.types.ts +0 -4
  566. package/src/shared/utils/animation/compute-stack-progress.ts +0 -16
  567. package/src/shared/utils/bounds/constants.ts +0 -40
  568. package/src/shared/utils/bounds/helpers/is-bounds-equal.ts +0 -24
  569. package/src/shared/utils/gesture/apply-offset-rules.ts +0 -312
  570. package/src/shared/utils/reanimated/version.ts +0 -5
  571. /package/lib/commonjs/{blank-stack/utils/with-stack-navigation → component-stack}/types.js +0 -0
  572. /package/lib/commonjs/{blank-stack/utils/with-stack-navigation/hooks → shared/hooks/navigation}/use-previous.js +0 -0
  573. /package/lib/commonjs/{blank-stack/utils/with-stack-navigation/helpers → shared/utils/navigation}/are-descriptors-equal.js +0 -0
  574. /package/lib/commonjs/{blank-stack/utils/with-stack-navigation/helpers → shared/utils/navigation}/compose-descriptors.js +0 -0
  575. /package/lib/commonjs/{blank-stack/utils/with-stack-navigation/helpers → shared/utils/navigation}/have-same-route-keys.js +0 -0
  576. /package/lib/commonjs/{blank-stack/utils/with-stack-navigation/helpers → shared/utils/navigation}/routes-are-identical.js +0 -0
  577. /package/lib/module/{blank-stack/utils/with-stack-navigation → component-stack}/types.js +0 -0
  578. /package/lib/module/{blank-stack/utils/with-stack-navigation/hooks → shared/hooks/navigation}/use-previous.js +0 -0
  579. /package/lib/module/{blank-stack/utils/with-stack-navigation/helpers → shared/utils/navigation}/are-descriptors-equal.js +0 -0
  580. /package/lib/module/{blank-stack/utils/with-stack-navigation/helpers → shared/utils/navigation}/compose-descriptors.js +0 -0
  581. /package/lib/module/{blank-stack/utils/with-stack-navigation/helpers → shared/utils/navigation}/have-same-route-keys.js +0 -0
  582. /package/lib/module/{blank-stack/utils/with-stack-navigation/helpers → shared/utils/navigation}/routes-are-identical.js +0 -0
  583. /package/lib/typescript/{shared/components → native-stack}/controllers/native-stack-lifecycle.d.ts +0 -0
  584. /package/lib/typescript/{blank-stack/utils/with-stack-navigation/hooks → shared/hooks/navigation}/use-closing-route-keys.d.ts +0 -0
  585. /package/lib/typescript/{blank-stack/utils/with-stack-navigation/hooks → shared/hooks/navigation}/use-previous.d.ts +0 -0
  586. /package/src/{blank-stack/utils/with-stack-navigation/hooks → shared/hooks/navigation}/use-previous.tsx +0 -0
@@ -1,10 +1,7 @@
1
1
  import type { MeasuredDimensions } from "react-native-reanimated";
2
2
  import type { ScreenTransitionState } from "./types/animation.types";
3
- import type { BoundEntry } from "./types/bounds.types";
4
- import type { Layout } from "./types/core.types";
5
3
  import type { ActivationArea } from "./types/gesture.types";
6
- import type { Complete } from "./types/utils.types";
7
- import type { BoundsBuilderOptions } from "./utils/bounds/types/builder";
4
+ import type { Layout } from "./types/screen.types";
8
5
  /**
9
6
  * Masked view integration
10
7
  */
@@ -21,7 +18,6 @@ export declare const DEFAULT_SCREEN_TRANSITION_STATE: ScreenTransitionState;
21
18
  /**
22
19
  * Bounds API Defaults
23
20
  */
24
- export declare const NO_BOUNDS_MAP: Record<string, BoundEntry>;
25
21
  export declare const EMPTY_BOUND_HELPER_RESULT: Readonly<{}>;
26
22
  export declare const EMPTY_BOUND_HELPER_RESULT_RAW: Readonly<{
27
23
  scaleX: 1;
@@ -35,7 +31,6 @@ export declare const EMPTY_BOUND_HELPER_RESULT_RAW: Readonly<{
35
31
  export declare const ENTER_RANGE: readonly [0, 1];
36
32
  export declare const EXIT_RANGE: readonly [1, 2];
37
33
  export declare const FULLSCREEN_DIMENSIONS: (dimensions: Layout) => MeasuredDimensions;
38
- export declare const DEFAULT_BUILDER_OPTIONS: Complete<Omit<BoundsBuilderOptions, "id">>;
39
34
  /**
40
35
  * Default gesture config
41
36
  */
@@ -44,14 +39,5 @@ export declare const DEFAULT_GESTURE_DIRECTION = "horizontal";
44
39
  export declare const DEFAULT_GESTURE_ENABLED = false;
45
40
  export declare const DEFAULT_GESTURE_DRIVES_PROGRESS = true;
46
41
  export declare const DEFAULT_GESTURE_ACTIVATION_AREA: ActivationArea;
47
- /**
48
- * Default gesture offset
49
- */
50
- export declare const GESTURE_ACTIVATION_THRESHOLD_X = 10;
51
- export declare const GESTURE_ACTIVATION_THRESHOLD_Y = 10;
52
- export declare const GESTURE_FAIL_TOLERANCE_X = 15;
53
- export declare const GESTURE_FAIL_TOLERANCE_Y = 20;
54
- export declare const DEFAULT_EDGE_DISTANCE_HORIZONTAL = 50;
55
- export declare const DEFAULT_EDGE_DISTANCE_VERTICAL = 135;
56
- export declare const DEFAULT_ACTIVATION_AREA: "screen";
42
+ export declare const IS_WEB: boolean;
57
43
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/shared/constants.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEzE;;GAEG;AACH,eAAO,MAAM,aAAa,iBAAiB,CAAC;AAC5C,eAAO,MAAM,kBAAkB,oBAAoB,CAAC;AAEpD;;GAEG;AACH,eAAO,MAAM,SAAS,cAAoB,CAAC;AAE3C;;GAEG;AACH,eAAO,MAAM,+BAA+B,EAAE,qBAe3C,CAAC;AAEJ;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAqB,CAAC;AAC3E,eAAO,MAAM,yBAAyB,cAAoB,CAAC;AAC3D,eAAO,MAAM,6BAA6B;;;;;;;;EAQxC,CAAC;AACH,eAAO,MAAM,WAAW,iBAAkB,CAAC;AAC3C,eAAO,MAAM,UAAU,iBAAkB,CAAC;AAE1C,eAAO,MAAM,qBAAqB,GACjC,YAAY,MAAM,KAChB,kBAUF,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAC7C,IAAI,CAAC,oBAAoB,EAAE,IAAI,CAAC,CActB,CAAC;AAEZ;;GAEG;AACH,eAAO,MAAM,uBAAuB,MAAM,CAAC;AAC3C,eAAO,MAAM,yBAAyB,eAAe,CAAC;AACtD,eAAO,MAAM,uBAAuB,QAAQ,CAAC;AAC7C,eAAO,MAAM,+BAA+B,OAAO,CAAC;AACpD,eAAO,MAAM,+BAA+B,EAAE,cAAyB,CAAC;AAExE;;GAEG;AACH,eAAO,MAAM,8BAA8B,KAAK,CAAC;AACjD,eAAO,MAAM,8BAA8B,KAAK,CAAC;AACjD,eAAO,MAAM,wBAAwB,KAAK,CAAC;AAC3C,eAAO,MAAM,wBAAwB,KAAK,CAAC;AAC3C,eAAO,MAAM,gCAAgC,KAAK,CAAC;AACnD,eAAO,MAAM,8BAA8B,MAAM,CAAC;AAClD,eAAO,MAAM,uBAAuB,EAAG,QAAiB,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/shared/constants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAEnD;;GAEG;AACH,eAAO,MAAM,aAAa,iBAAiB,CAAC;AAC5C,eAAO,MAAM,kBAAkB,oBAAoB,CAAC;AAEpD;;GAEG;AACH,eAAO,MAAM,SAAS,cAAoB,CAAC;AAE3C;;GAEG;AACH,eAAO,MAAM,+BAA+B,EAAE,qBAe3C,CAAC;AAEJ;;GAEG;AACH,eAAO,MAAM,yBAAyB,cAAoB,CAAC;AAC3D,eAAO,MAAM,6BAA6B;;;;;;;;EAQxC,CAAC;AACH,eAAO,MAAM,WAAW,iBAAkB,CAAC;AAC3C,eAAO,MAAM,UAAU,iBAAkB,CAAC;AAE1C,eAAO,MAAM,qBAAqB,GACjC,YAAY,MAAM,KAChB,kBAUF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,MAAM,CAAC;AAC3C,eAAO,MAAM,yBAAyB,eAAe,CAAC;AACtD,eAAO,MAAM,uBAAuB,QAAQ,CAAC;AAC7C,eAAO,MAAM,+BAA+B,OAAO,CAAC;AACpD,eAAO,MAAM,+BAA+B,EAAE,cAAyB,CAAC;AAExE,eAAO,MAAM,MAAM,SAAwB,CAAC"}
@@ -0,0 +1,9 @@
1
+ interface Props {
2
+ children: React.ReactNode;
3
+ }
4
+ /**
5
+ * Lifecycle controller built out for Blank Stack implementation.
6
+ */
7
+ export declare const ManagedLifecycle: ({ children }: Props) => import("react").ReactNode;
8
+ export {};
9
+ //# sourceMappingURL=managed-lifecycle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"managed-lifecycle.d.ts","sourceRoot":"","sources":["../../../../src/shared/controller/managed-lifecycle.tsx"],"names":[],"mappings":"AAWA,UAAU,KAAK;IACd,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAAI,cAAc,KAAK,8BAsDnD,CAAC"}
@@ -0,0 +1,13 @@
1
+ import type { BaseDescriptor } from "../../providers/screen/keys.provider";
2
+ /**
3
+ * Maintainer Notes:
4
+ * Marking as experimental for now since, I'll be honest, I'm not sure if this does much. This was taken
5
+ * right from this https://github.com/software-mansion/react-native-reanimated/issues/4738
6
+ *
7
+ * Not noticing much of a difference in prod.
8
+ */
9
+ export declare const useHighRefreshRate: (current: BaseDescriptor) => {
10
+ activateHighRefreshRate: () => void;
11
+ deactivateHighRefreshRate: () => void;
12
+ };
13
+ //# sourceMappingURL=use-high-refresh-rate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-high-refresh-rate.d.ts","sourceRoot":"","sources":["../../../../../src/shared/hooks/animation/use-high-refresh-rate.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AAG3E;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,GAAI,SAAS,cAAc;;;CAsBzD,CAAC"}
@@ -1,7 +1,8 @@
1
1
  import type { ScreenInterpolationProps } from "../../types/animation.types";
2
2
  export declare function _useScreenAnimation(): {
3
3
  screenInterpolatorProps: import("react-native-reanimated").DerivedValue<Omit<ScreenInterpolationProps, "bounds">>;
4
- screenStyleInterpolator: import("../../types/animation.types").ScreenStyleInterpolator | undefined;
4
+ nextInterpolator: import("../../types/animation.types").ScreenStyleInterpolator | undefined;
5
+ currentInterpolator: import("../../types/animation.types").ScreenStyleInterpolator | undefined;
5
6
  };
6
7
  export declare function useScreenAnimation(): import("react-native-reanimated").DerivedValue<ScreenInterpolationProps>;
7
8
  //# sourceMappingURL=use-screen-animation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-screen-animation.d.ts","sourceRoot":"","sources":["../../../../../src/shared/hooks/animation/use-screen-animation.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EACX,wBAAwB,EAExB,MAAM,6BAA6B,CAAC;AAoFrC,wBAAgB,mBAAmB;;;EA+DlC;AAED,wBAAgB,kBAAkB,6EAUjC"}
1
+ {"version":3,"file":"use-screen-animation.d.ts","sourceRoot":"","sources":["../../../../../src/shared/hooks/animation/use-screen-animation.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EACX,wBAAwB,EAExB,MAAM,6BAA6B,CAAC;AAoFrC,wBAAgB,mBAAmB;;;;EAuElC;AAED,wBAAgB,kBAAkB,6EAUjC"}
@@ -1 +1 @@
1
- {"version":3,"file":"use-build-gestures.d.ts","sourceRoot":"","sources":["../../../../../src/shared/hooks/gestures/use-build-gestures.tsx"],"names":[],"mappings":"AAGA,OAAO,EAIN,KAAK,WAAW,EAGhB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,KAAK,WAAW,EAAkB,MAAM,yBAAyB,CAAC;AAQ3E,OAAO,KAAK,EACX,kBAAkB,EAClB,YAAY,EACZ,MAAM,mCAAmC,CAAC;AAG3C,OAAO,EAAgB,KAAK,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAchF,UAAU,sBAAsB;IAC/B,YAAY,EAAE,WAAW,CAAC,YAAY,GAAG,IAAI,CAAC,CAAC;IAC/C,eAAe,CAAC,EAAE,kBAAkB,GAAG,IAAI,CAAC;CAC5C;AAED,eAAO,MAAM,gBAAgB,GAAI,oCAG9B,sBAAsB,KAAG;IAC3B,UAAU,EAAE,WAAW,CAAC;IACxB,aAAa,EAAE,KAAK,CAAC,gBAAgB,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IAC/D,aAAa,EAAE,WAAW,CAAC;IAC3B,sBAAsB,EAAE,eAAe,CAAC;CA+UxC,CAAC"}
1
+ {"version":3,"file":"use-build-gestures.d.ts","sourceRoot":"","sources":["../../../../../src/shared/hooks/gestures/use-build-gestures.tsx"],"names":[],"mappings":"AAGA,OAAO,EAIN,KAAK,WAAW,EAGhB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,KAAK,WAAW,EAAkB,MAAM,yBAAyB,CAAC;AAQ3E,OAAO,KAAK,EACX,kBAAkB,EAClB,YAAY,EACZ,MAAM,mCAAmC,CAAC;AAG3C,OAAO,EAAgB,KAAK,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAchF,UAAU,sBAAsB;IAC/B,YAAY,EAAE,WAAW,CAAC,YAAY,GAAG,IAAI,CAAC,CAAC;IAC/C,eAAe,CAAC,EAAE,kBAAkB,GAAG,IAAI,CAAC;CAC5C;AAED,eAAO,MAAM,gBAAgB,GAAI,oCAG9B,sBAAsB,KAAG;IAC3B,UAAU,EAAE,WAAW,CAAC;IACxB,aAAa,EAAE,KAAK,CAAC,gBAAgB,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IAC/D,aAAa,EAAE,WAAW,CAAC;IAC3B,sBAAsB,EAAE,eAAe,CAAC;CAsVxC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"use-scroll-registry.d.ts","sourceRoot":"","sources":["../../../../../src/shared/hooks/gestures/use-scroll-registry.tsx"],"names":[],"mappings":"AAAA,yGAAyG;AAGzG,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yDAAyD,CAAC;AAKrG,UAAU,uBAAuB;IAChC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAClD,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9D,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;CAC9C;AAED,eAAO,MAAM,iBAAiB,GAAI,OAAO,uBAAuB;;;;CA4G/D,CAAC"}
1
+ {"version":3,"file":"use-scroll-registry.d.ts","sourceRoot":"","sources":["../../../../../src/shared/hooks/gestures/use-scroll-registry.tsx"],"names":[],"mappings":"AAAA,yGAAyG;AAGzG,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yDAAyD,CAAC;AAIrG,UAAU,uBAAuB;IAChC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAClD,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9D,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;CAC9C;AAED,eAAO,MAAM,iBAAiB,GAAI,OAAO,uBAAuB;;;;CA4G/D,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-closing-route-keys.d.ts","sourceRoot":"","sources":["../../../../../src/shared/hooks/navigation/use-closing-route-keys.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,mBAAmB;;;;;;CAuD/B,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-previous.d.ts","sourceRoot":"","sources":["../../../../../src/shared/hooks/navigation/use-previous.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,GAAI,CAAC,EAAG,OAAO,CAAC,KAAG,CAAC,GAAG,IAQ9C,CAAC"}
@@ -0,0 +1,66 @@
1
+ import type { Route } from "@react-navigation/native";
2
+ import type { DerivedValue } from "react-native-reanimated";
3
+ import type { StackCoreContextValue } from "../../providers/stack/core.provider";
4
+ import type { OverlayMode, OverlayProps } from "../../types/overlay.types";
5
+ import type { BaseStackDescriptor, BaseStackNavigation, BaseStackRoute, BaseStackScene } from "../../types/stack.types";
6
+ /**
7
+ * Stack descriptor with overlay options.
8
+ * Extends BaseStackDescriptor with overlay-specific options.
9
+ */
10
+ export interface StackDescriptor<TRoute extends BaseStackRoute = Route<string>, TNavigation extends BaseStackNavigation = BaseStackNavigation> extends BaseStackDescriptor<TRoute, TNavigation> {
11
+ options: BaseStackDescriptor["options"] & {
12
+ overlay?: (props: OverlayProps) => React.ReactNode;
13
+ overlayMode?: OverlayMode;
14
+ overlayShown?: boolean;
15
+ meta?: Record<string, unknown>;
16
+ enableTransitions?: boolean;
17
+ };
18
+ }
19
+ /**
20
+ * Scene type for stack context (route + descriptor pair).
21
+ */
22
+ export type StackScene<TDescriptor extends StackDescriptor = StackDescriptor> = BaseStackScene<TDescriptor>;
23
+ /**
24
+ * Common stack context value that both managed and direct stack providers populate.
25
+ * Used by overlays and shared components that need stack progress info.
26
+ */
27
+ export interface StackContextValue extends StackCoreContextValue {
28
+ /**
29
+ * Route keys for all routes in the stack.
30
+ */
31
+ routeKeys: string[];
32
+ /**
33
+ * All routes in the stack.
34
+ */
35
+ routes: Route<string>[];
36
+ /**
37
+ * Descriptor map for all routes.
38
+ */
39
+ descriptors: Record<string, StackDescriptor>;
40
+ /**
41
+ * Pre-computed scenes (route + descriptor pairs).
42
+ */
43
+ scenes: StackScene[];
44
+ /**
45
+ * The current focused index from navigation state.
46
+ */
47
+ focusedIndex: number;
48
+ /**
49
+ * Aggregated stack progress across all routes.
50
+ * Sum of all individual screen progress values.
51
+ * When 4 screens are fully visible, stackProgress = 4.
52
+ */
53
+ stackProgress: DerivedValue<number>;
54
+ /**
55
+ * Focused index that accounts for closing screens.
56
+ * Returns currentIndex - 1 if any screen is closing, otherwise currentIndex.
57
+ */
58
+ optimisticFocusedIndex: DerivedValue<number>;
59
+ }
60
+ export declare const StackContext: import("react").Context<StackContextValue | null>;
61
+ /**
62
+ * Hook to access common stack context values.
63
+ * Works in both blank-stack and native-stack navigators.
64
+ */
65
+ export declare function useStack<T extends StackContextValue = StackContextValue>(): T;
66
+ //# sourceMappingURL=use-stack.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-stack.d.ts","sourceRoot":"","sources":["../../../../../src/shared/hooks/navigation/use-stack.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAEtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AACjF,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,KAAK,EACX,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,EACd,cAAc,EACd,MAAM,yBAAyB,CAAC;AAEjC;;;GAGG;AACH,MAAM,WAAW,eAAe,CAC/B,MAAM,SAAS,cAAc,GAAG,KAAK,CAAC,MAAM,CAAC,EAC7C,WAAW,SAAS,mBAAmB,GAAG,mBAAmB,CAC5D,SAAQ,mBAAmB,CAAC,MAAM,EAAE,WAAW,CAAC;IACjD,OAAO,EAAE,mBAAmB,CAAC,SAAS,CAAC,GAAG;QACzC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,KAAK,CAAC,SAAS,CAAC;QACnD,WAAW,CAAC,EAAE,WAAW,CAAC;QAC1B,YAAY,CAAC,EAAE,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAC/B,iBAAiB,CAAC,EAAE,OAAO,CAAC;KAC5B,CAAC;CACF;AAED;;GAEG;AACH,MAAM,MAAM,UAAU,CAAC,WAAW,SAAS,eAAe,GAAG,eAAe,IAC3E,cAAc,CAAC,WAAW,CAAC,CAAC;AAE7B;;;GAGG;AACH,MAAM,WAAW,iBAAkB,SAAQ,qBAAqB;IAC/D;;OAEG;IACH,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC;IACxB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IAC7C;;OAEG;IACH,MAAM,EAAE,UAAU,EAAE,CAAC;IACrB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,aAAa,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IACpC;;;OAGG;IACH,sBAAsB,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;CAC7C;AAED,eAAO,MAAM,YAAY,mDAAgD,CAAC;AAG1E;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,CAAC,SAAS,iBAAiB,GAAG,iBAAiB,KAAK,CAAC,CAQ7E"}
@@ -1 +1 @@
1
- {"version":3,"file":"use-shared-value-state.d.ts","sourceRoot":"","sources":["../../../../../src/shared/hooks/reanimated/use-shared-value-state.ts"],"names":[],"mappings":"AACA,OAAO,EAGN,KAAK,WAAW,EAEhB,MAAM,yBAAyB,CAAC;AAEjC;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,CAerE"}
1
+ {"version":3,"file":"use-shared-value-state.d.ts","sourceRoot":"","sources":["../../../../../src/shared/hooks/reanimated/use-shared-value-state.ts"],"names":[],"mappings":"AACA,OAAO,EAGN,KAAK,WAAW,EAEhB,MAAM,yBAAyB,CAAC;AAGjC;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,CAmBrE"}
@@ -4,9 +4,9 @@ import MaskedView from "./components/integrations/masked-view";
4
4
  declare const _default: {
5
5
  createTransitionAwareComponent: typeof createTransitionAwareComponent;
6
6
  View: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
7
- id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
8
- pointerEvents?: "none" | "auto" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"none" | "auto" | "box-none" | "box-only" | undefined> | undefined;
9
7
  children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
8
+ id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
9
+ pointerEvents?: "none" | "box-none" | "box-only" | "auto" | import("react-native-reanimated").SharedValue<"none" | "box-none" | "box-only" | "auto" | undefined> | undefined;
10
10
  hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
11
11
  needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
12
12
  onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").LayoutChangeEvent) => void) | undefined> | undefined;
@@ -107,9 +107,9 @@ declare const _default: {
107
107
  exiting?: import("react-native-reanimated").EntryOrExitLayoutType;
108
108
  } & {
109
109
  animatedProps?: import("react-native-reanimated/lib/typescript/css/types").AddArrayPropertyType<Partial<{
110
- id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
111
- pointerEvents?: "none" | "auto" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"none" | "auto" | "box-none" | "box-only" | undefined> | undefined;
112
110
  children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
111
+ id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
112
+ pointerEvents?: "none" | "box-none" | "box-only" | "auto" | import("react-native-reanimated").SharedValue<"none" | "box-none" | "box-only" | "auto" | undefined> | undefined;
113
113
  hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
114
114
  needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
115
115
  onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").LayoutChangeEvent) => void) | undefined> | undefined;
@@ -214,11 +214,11 @@ declare const _default: {
214
214
  sharedBoundTag?: string;
215
215
  } & import("react").RefAttributes<never>>>;
216
216
  Pressable: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
217
- id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
218
- pointerEvents?: "none" | "auto" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"none" | "auto" | "box-none" | "box-only" | undefined> | undefined;
219
217
  key?: import("react").Key | import("react-native-reanimated").SharedValue<import("react").Key | null | undefined> | null | undefined;
220
218
  children?: import("react").ReactNode | ((state: import("react-native").PressableStateCallbackType) => React.ReactNode) | import("react-native-reanimated").SharedValue<import("react").ReactNode | ((state: import("react-native").PressableStateCallbackType) => React.ReactNode)>;
221
219
  ref?: import("react").Ref<View> | import("react-native-reanimated").SharedValue<import("react").Ref<View> | undefined> | undefined;
220
+ id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
221
+ pointerEvents?: "none" | "box-none" | "box-only" | "auto" | import("react-native-reanimated").SharedValue<"none" | "box-none" | "box-only" | "auto" | undefined> | undefined;
222
222
  hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
223
223
  needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
224
224
  onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").LayoutChangeEvent) => void) | undefined> | undefined;
@@ -335,11 +335,11 @@ declare const _default: {
335
335
  exiting?: import("react-native-reanimated").EntryOrExitLayoutType;
336
336
  } & {
337
337
  animatedProps?: import("react-native-reanimated/lib/typescript/css/types").AddArrayPropertyType<Partial<{
338
- id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
339
- pointerEvents?: "none" | "auto" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"none" | "auto" | "box-none" | "box-only" | undefined> | undefined;
340
338
  key?: import("react").Key | import("react-native-reanimated").SharedValue<import("react").Key | null | undefined> | null | undefined;
341
339
  children?: import("react").ReactNode | ((state: import("react-native").PressableStateCallbackType) => React.ReactNode) | import("react-native-reanimated").SharedValue<import("react").ReactNode | ((state: import("react-native").PressableStateCallbackType) => React.ReactNode)>;
342
340
  ref?: import("react").Ref<View> | import("react-native-reanimated").SharedValue<import("react").Ref<View> | undefined> | undefined;
341
+ id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
342
+ pointerEvents?: "none" | "box-none" | "box-only" | "auto" | import("react-native-reanimated").SharedValue<"none" | "box-none" | "box-only" | "auto" | undefined> | undefined;
343
343
  hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
344
344
  needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
345
345
  onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").LayoutChangeEvent) => void) | undefined> | undefined;
@@ -460,10 +460,10 @@ declare const _default: {
460
460
  sharedBoundTag?: string;
461
461
  } & import("react").RefAttributes<View | import("react").Component<import("react-native").PressableProps & import("react").RefAttributes<View>, any, any>>>>;
462
462
  ScrollView: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
463
- horizontal?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
464
- id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
465
- pointerEvents?: "none" | "auto" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"none" | "auto" | "box-none" | "box-only" | undefined> | undefined;
466
463
  children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
464
+ id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
465
+ pointerEvents?: "none" | "box-none" | "box-only" | "auto" | import("react-native-reanimated").SharedValue<"none" | "box-none" | "box-only" | "auto" | undefined> | undefined;
466
+ horizontal?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
467
467
  hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
468
468
  needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
469
469
  onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").LayoutChangeEvent) => void) | undefined> | undefined;
@@ -635,10 +635,10 @@ declare const _default: {
635
635
  exiting?: import("react-native-reanimated").EntryOrExitLayoutType;
636
636
  } & {
637
637
  animatedProps?: import("react-native-reanimated/lib/typescript/css/types").AddArrayPropertyType<Partial<{
638
- horizontal?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
639
- id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
640
- pointerEvents?: "none" | "auto" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"none" | "auto" | "box-none" | "box-only" | undefined> | undefined;
641
638
  children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
639
+ id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
640
+ pointerEvents?: "none" | "box-none" | "box-only" | "auto" | import("react-native-reanimated").SharedValue<"none" | "box-none" | "box-only" | "auto" | undefined> | undefined;
641
+ horizontal?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
642
642
  hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
643
643
  needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
644
644
  onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").LayoutChangeEvent) => void) | undefined> | undefined;
@@ -814,12 +814,12 @@ declare const _default: {
814
814
  sharedBoundTag?: string;
815
815
  } & import("react").RefAttributes<never>>>;
816
816
  FlatList: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
817
- horizontal?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
818
- id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
819
- pointerEvents?: "none" | "auto" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"none" | "auto" | "box-none" | "box-only" | undefined> | undefined;
820
- inverted?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
821
817
  data: ArrayLike<unknown> | import("react-native-reanimated").SharedValue<ArrayLike<unknown> | null | undefined> | null | undefined;
822
818
  children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
819
+ id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
820
+ pointerEvents?: "none" | "box-none" | "box-only" | "auto" | import("react-native-reanimated").SharedValue<"none" | "box-none" | "box-only" | "auto" | undefined> | undefined;
821
+ horizontal?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
822
+ inverted?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
823
823
  hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
824
824
  needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
825
825
  onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").LayoutChangeEvent) => void) | undefined> | undefined;
@@ -1008,9 +1008,9 @@ declare const _default: {
1008
1008
  renderItem: import("react-native").ListRenderItem<unknown> | import("react-native-reanimated").SharedValue<import("react-native").ListRenderItem<unknown> | null | undefined> | null | undefined;
1009
1009
  viewabilityConfig?: import("react-native").ViewabilityConfig | import("react-native-reanimated").SharedValue<import("react-native").ViewabilityConfig | undefined> | undefined;
1010
1010
  ItemSeparatorComponent?: import("react").ComponentType<any> | import("react-native-reanimated").SharedValue<import("react").ComponentType<any> | null | undefined> | null | undefined;
1011
- ListEmptyComponent?: import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ComponentType<any> | import("react-native-reanimated").SharedValue<import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ComponentType<any> | null | undefined> | null | undefined;
1012
- ListFooterComponent?: import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ComponentType<any> | import("react-native-reanimated").SharedValue<import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ComponentType<any> | null | undefined> | null | undefined;
1013
- ListHeaderComponent?: import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ComponentType<any> | import("react-native-reanimated").SharedValue<import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ComponentType<any> | null | undefined> | null | undefined;
1011
+ ListEmptyComponent?: import("react").ComponentType<any> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react-native-reanimated").SharedValue<import("react").ComponentType<any> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | null | undefined> | null | undefined;
1012
+ ListFooterComponent?: import("react").ComponentType<any> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react-native-reanimated").SharedValue<import("react").ComponentType<any> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | null | undefined> | null | undefined;
1013
+ ListHeaderComponent?: import("react").ComponentType<any> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react-native-reanimated").SharedValue<import("react").ComponentType<any> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | null | undefined> | null | undefined;
1014
1014
  debug?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
1015
1015
  disableVirtualization?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
1016
1016
  getItem?: ((data: any, index: number) => unknown) | import("react-native-reanimated").SharedValue<((data: any, index: number) => unknown) | undefined> | undefined;
@@ -1056,12 +1056,12 @@ declare const _default: {
1056
1056
  exiting?: import("react-native-reanimated").EntryOrExitLayoutType;
1057
1057
  } & {
1058
1058
  animatedProps?: import("react-native-reanimated/lib/typescript/css/types").AddArrayPropertyType<Partial<{
1059
- horizontal?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
1060
- id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
1061
- pointerEvents?: "none" | "auto" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"none" | "auto" | "box-none" | "box-only" | undefined> | undefined;
1062
- inverted?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
1063
1059
  data: ArrayLike<unknown> | import("react-native-reanimated").SharedValue<ArrayLike<unknown> | null | undefined> | null | undefined;
1064
1060
  children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
1061
+ id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
1062
+ pointerEvents?: "none" | "box-none" | "box-only" | "auto" | import("react-native-reanimated").SharedValue<"none" | "box-none" | "box-only" | "auto" | undefined> | undefined;
1063
+ horizontal?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
1064
+ inverted?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
1065
1065
  hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
1066
1066
  needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
1067
1067
  onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").LayoutChangeEvent) => void) | undefined> | undefined;
@@ -1250,9 +1250,9 @@ declare const _default: {
1250
1250
  renderItem: import("react-native").ListRenderItem<unknown> | import("react-native-reanimated").SharedValue<import("react-native").ListRenderItem<unknown> | null | undefined> | null | undefined;
1251
1251
  viewabilityConfig?: import("react-native").ViewabilityConfig | import("react-native-reanimated").SharedValue<import("react-native").ViewabilityConfig | undefined> | undefined;
1252
1252
  ItemSeparatorComponent?: import("react").ComponentType<any> | import("react-native-reanimated").SharedValue<import("react").ComponentType<any> | null | undefined> | null | undefined;
1253
- ListEmptyComponent?: import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ComponentType<any> | import("react-native-reanimated").SharedValue<import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ComponentType<any> | null | undefined> | null | undefined;
1254
- ListFooterComponent?: import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ComponentType<any> | import("react-native-reanimated").SharedValue<import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ComponentType<any> | null | undefined> | null | undefined;
1255
- ListHeaderComponent?: import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ComponentType<any> | import("react-native-reanimated").SharedValue<import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ComponentType<any> | null | undefined> | null | undefined;
1253
+ ListEmptyComponent?: import("react").ComponentType<any> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react-native-reanimated").SharedValue<import("react").ComponentType<any> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | null | undefined> | null | undefined;
1254
+ ListFooterComponent?: import("react").ComponentType<any> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react-native-reanimated").SharedValue<import("react").ComponentType<any> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | null | undefined> | null | undefined;
1255
+ ListHeaderComponent?: import("react").ComponentType<any> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react-native-reanimated").SharedValue<import("react").ComponentType<any> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | null | undefined> | null | undefined;
1256
1256
  debug?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
1257
1257
  disableVirtualization?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
1258
1258
  getItem?: ((data: any, index: number) => unknown) | import("react-native-reanimated").SharedValue<((data: any, index: number) => unknown) | undefined> | undefined;
@@ -1303,22 +1303,22 @@ declare const _default: {
1303
1303
  } & import("react").RefAttributes<never>>>;
1304
1304
  MaskedView: typeof MaskedView;
1305
1305
  Presets: {
1306
- SlideFromTop: (config?: Partial<import("./types/core.types").ScreenTransitionConfig>) => import("./types/core.types").ScreenTransitionConfig;
1307
- ZoomIn: (config?: Partial<import("./types/core.types").ScreenTransitionConfig>) => import("./types/core.types").ScreenTransitionConfig;
1308
- SlideFromBottom: (config?: Partial<import("./types/core.types").ScreenTransitionConfig>) => import("./types/core.types").ScreenTransitionConfig;
1309
- DraggableCard: (config?: Partial<import("./types/core.types").ScreenTransitionConfig>) => import("./types/core.types").ScreenTransitionConfig;
1310
- ElasticCard: (config?: Partial<import("./types/core.types").ScreenTransitionConfig> & {
1306
+ SlideFromTop: (config?: Partial<import("./types").ScreenTransitionConfig>) => import("./types").ScreenTransitionConfig;
1307
+ ZoomIn: (config?: Partial<import("./types").ScreenTransitionConfig>) => import("./types").ScreenTransitionConfig;
1308
+ SlideFromBottom: (config?: Partial<import("./types").ScreenTransitionConfig>) => import("./types").ScreenTransitionConfig;
1309
+ DraggableCard: (config?: Partial<import("./types").ScreenTransitionConfig>) => import("./types").ScreenTransitionConfig;
1310
+ ElasticCard: (config?: Partial<import("./types").ScreenTransitionConfig> & {
1311
1311
  elasticFactor?: number;
1312
- }) => import("./types/core.types").ScreenTransitionConfig;
1313
- SharedIGImage: ({ sharedBoundTag, ...config }: Partial<import("./types/core.types").ScreenTransitionConfig> & {
1312
+ }) => import("./types").ScreenTransitionConfig;
1313
+ SharedIGImage: ({ sharedBoundTag, ...config }: Partial<import("./types").ScreenTransitionConfig> & {
1314
1314
  sharedBoundTag: string;
1315
- }) => import("./types/core.types").ScreenTransitionConfig;
1316
- SharedAppleMusic: ({ sharedBoundTag, ...config }: Partial<import("./types/core.types").ScreenTransitionConfig> & {
1315
+ }) => import("./types").ScreenTransitionConfig;
1316
+ SharedAppleMusic: ({ sharedBoundTag, ...config }: Partial<import("./types").ScreenTransitionConfig> & {
1317
1317
  sharedBoundTag: string;
1318
- }) => import("./types/core.types").ScreenTransitionConfig;
1319
- SharedXImage: ({ sharedBoundTag, ...config }: Partial<import("./types/core.types").ScreenTransitionConfig> & {
1318
+ }) => import("./types").ScreenTransitionConfig;
1319
+ SharedXImage: ({ sharedBoundTag, ...config }: Partial<import("./types").ScreenTransitionConfig> & {
1320
1320
  sharedBoundTag: string;
1321
- }) => import("./types/core.types").ScreenTransitionConfig;
1321
+ }) => import("./types").ScreenTransitionConfig;
1322
1322
  };
1323
1323
  Specs: {
1324
1324
  DefaultSpec: import("react-native-reanimated/lib/typescript/animation/spring").SpringConfig;
@@ -1327,7 +1327,5 @@ declare const _default: {
1327
1327
  export default _default;
1328
1328
  export { useScreenAnimation } from "./hooks/animation/use-screen-animation";
1329
1329
  export { useScreenGesture } from "./hooks/gestures/use-screen-gesture";
1330
- export type { AnimationConfig, OverlayInterpolationProps, ScreenInterpolationProps, ScreenStyleInterpolator, } from "./types/animation.types";
1331
- export type { BoundEntry, BoundsLink } from "./types/bounds.types";
1332
- export type { ScreenTransitionConfig } from "./types/core.types";
1330
+ export type { AnimationConfig, BoundEntry, BoundsLink, OverlayInterpolationProps, OverlayMode, OverlayProps, ScreenInterpolationProps, ScreenStyleInterpolator, ScreenTransitionConfig, TransitionInterpolatedStyle, TransitionSpec, } from "./types";
1333
1331
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,UAAU,MAAM,uCAAuC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA6BqmE,CAAC;;;;;;;;;;;;;;;;AA1BrqE,wBAaE;AAEF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAEvE,YAAY,EACX,eAAe,EACf,yBAAyB,EACzB,wBAAwB,EACxB,uBAAuB,GACvB,MAAM,yBAAyB,CAAC;AACjC,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACnE,YAAY,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,UAAU,MAAM,uCAAuC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAkC8nE,CAAC;;;;;;;;;;;;;;;;AA/B9rE,wBAaE;AAEF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAEvE,YAAY,EACX,eAAe,EACf,UAAU,EACV,UAAU,EACV,yBAAyB,EACzB,WAAW,EACX,YAAY,EACZ,wBAAwB,EACxB,uBAAuB,EACvB,sBAAsB,EACtB,2BAA2B,EAC3B,cAAc,GACd,MAAM,SAAS,CAAC"}
@@ -18,7 +18,9 @@ export interface GestureContextType {
18
18
  ancestorContext: GestureContextType | null;
19
19
  gestureEnabled: boolean;
20
20
  }
21
- export declare const ScreenGestureProvider: import("react").FC<{
21
+ interface ScreenGestureProviderProps {
22
22
  children: React.ReactNode;
23
- }>, useGestureContext: () => GestureContextType | null;
23
+ }
24
+ export declare const ScreenGestureProvider: import("react").FC<ScreenGestureProviderProps>, useGestureContext: () => GestureContextType | null;
25
+ export {};
24
26
  //# sourceMappingURL=gestures.provider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"gestures.provider.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/gestures.provider.tsx"],"names":[],"mappings":"AACA,OAAO,EAEN,KAAK,WAAW,EAChB,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAG3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAI/D,MAAM,MAAM,YAAY,GAAG;IAC1B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,WAAW,kBAAkB;IAClC,UAAU,EAAE,WAAW,CAAC;IACxB,aAAa,EAAE,KAAK,CAAC,gBAAgB,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IAC/D,aAAa,EAAE,WAAW,CAAC;IAC3B,YAAY,EAAE,WAAW,CAAC,YAAY,GAAG,IAAI,CAAC,CAAC;IAC/C,sBAAsB,EAAE,eAAe,CAAC;IACxC,eAAe,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAC3C,cAAc,EAAE,OAAO,CAAC;CACxB;AAED,eAAO,MACN,qBAAqB;cAGT,KAAK,CAAC,SAAS;IAFF,iBAAiB,iCAmCzC,CAAC"}
1
+ {"version":3,"file":"gestures.provider.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/gestures.provider.tsx"],"names":[],"mappings":"AACA,OAAO,EAEN,KAAK,WAAW,EAChB,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAG3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAI/D,MAAM,MAAM,YAAY,GAAG;IAC1B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,WAAW,kBAAkB;IAClC,UAAU,EAAE,WAAW,CAAC;IACxB,aAAa,EAAE,KAAK,CAAC,gBAAgB,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IAC/D,aAAa,EAAE,WAAW,CAAC;IAC3B,YAAY,EAAE,WAAW,CAAC,YAAY,GAAG,IAAI,CAAC,CAAC;IAC/C,sBAAsB,EAAE,eAAe,CAAC;IACxC,eAAe,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAC3C,cAAc,EAAE,OAAO,CAAC;CACxB;AAED,UAAU,0BAA0B;IACnC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AAED,eAAO,MACN,qBAAqB,kDACI,iBAAiB,iCAmCzC,CAAC"}
@@ -0,0 +1,34 @@
1
+ import type { ReactNode } from "react";
2
+ import { type View } from "react-native";
3
+ import { type AnimatedRef, type MeasuredDimensions } from "react-native-reanimated";
4
+ interface LayoutAnchorProviderProps {
5
+ anchorRef: AnimatedRef<View>;
6
+ children: ReactNode;
7
+ }
8
+ interface LayoutAnchorContextValue {
9
+ /**
10
+ * Corrects measured dimensions for parent transforms (translation and scale).
11
+ * The anchor should be at (0, 0) with full screen dimensions - any difference
12
+ * is from parent transforms. This function reverses those transforms to yield
13
+ * the true layout position and dimensions.
14
+ */
15
+ correctMeasurement: (measured: MeasuredDimensions) => MeasuredDimensions;
16
+ }
17
+ /**
18
+ * Provides a reference point for correcting bounds measurements.
19
+ *
20
+ * When a parent view has transforms applied (e.g., during screen transitions),
21
+ * `measure()` returns visual positions that include those transforms. This provider
22
+ * establishes an anchor point (typically the screen container at 0,0) and exposes
23
+ * a `correctMeasurement` function that reverses translation and scale transforms
24
+ * to yield the true layout position and dimensions.
25
+ *
26
+ * ## How it works
27
+ *
28
+ * 1. **Translation**: Subtract anchor's pageX/pageY offset
29
+ * 2. **Scale**: Compare anchor's measured size to expected (screen) size to compute
30
+ * scale factor, then divide positions and dimensions by that factor
31
+ */
32
+ declare const LayoutAnchorProvider: import("react").FC<LayoutAnchorProviderProps>, useLayoutAnchorContext: () => LayoutAnchorContextValue | null;
33
+ export { LayoutAnchorProvider, useLayoutAnchorContext };
34
+ //# sourceMappingURL=layout-anchor.provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"layout-anchor.provider.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/layout-anchor.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAuB,KAAK,IAAI,EAAE,MAAM,cAAc,CAAC;AAC9D,OAAO,EACN,KAAK,WAAW,EAChB,KAAK,kBAAkB,EAEvB,MAAM,yBAAyB,CAAC;AAGjC,UAAU,yBAAyB;IAClC,SAAS,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IAC7B,QAAQ,EAAE,SAAS,CAAC;CACpB;AAED,UAAU,wBAAwB;IACjC;;;;;OAKG;IACH,kBAAkB,EAAE,CAAC,QAAQ,EAAE,kBAAkB,KAAK,kBAAkB,CAAC;CACzE;AAED;;;;;;;;;;;;;;GAcG;AACH,QAAA,MAAQ,oBAAoB,iDAAE,sBAAsB,uCAuCnD,CAAC;AAEF,OAAO,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"register-bounds.provider.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/register-bounds.provider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAgC,MAAM,OAAO,CAAC;AACrE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EACN,KAAK,WAAW,EAIhB,KAAK,UAAU,EAGf,MAAM,yBAAyB,CAAC;AAgBjC,UAAU,yBAAyB;IAClC,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,oBAAoB,EAAE,MAAM,IAAI,CAAC;CACjC;AAED,UAAU,2BAA2B;IACpC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IAC/B,KAAK,EAAE,UAAU,CAAC;IAClB,OAAO,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IACrD,QAAQ,EAAE,CAAC,KAAK,EAAE,yBAAyB,KAAK,SAAS,CAAC;CAC1D;AA6JD,QAAA,MAAQ,sBAAsB,iDA4H7B,CAAC;AAEF,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
1
+ {"version":3,"file":"register-bounds.provider.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/register-bounds.provider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAgC,MAAM,OAAO,CAAC;AACrE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EACN,KAAK,WAAW,EAIhB,KAAK,UAAU,EAGf,MAAM,yBAAyB,CAAC;AAiBjC,UAAU,yBAAyB;IAClC,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,oBAAoB,EAAE,MAAM,IAAI,CAAC;CACjC;AAED,UAAU,2BAA2B;IACpC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IAC/B,KAAK,EAAE,UAAU,CAAC;IAClB,OAAO,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IACrD,QAAQ,EAAE,CAAC,KAAK,EAAE,yBAAyB,KAAK,SAAS,CAAC;CAC1D;AAoKD,QAAA,MAAQ,sBAAsB,iDAkI7B,CAAC;AAEF,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
@@ -0,0 +1,29 @@
1
+ import type { Descriptor, NavigationProp, ParamListBase, RouteProp } from "@react-navigation/native";
2
+ import type { ScreenTransitionConfig } from "../../types/screen.types";
3
+ import type { BaseStackDescriptor, BaseStackNavigation, BaseStackRoute } from "../../types/stack.types";
4
+ export type { BaseStackNavigation as BaseNavigation };
5
+ export type { BaseStackRoute as BaseRoute };
6
+ /**
7
+ * Base descriptor interface - minimal contract for all stack types.
8
+ * This allows blank-stack and native-stack to work with the shared
9
+ * providers without tight coupling to React Navigation.
10
+ */
11
+ export type BaseDescriptor = BaseStackDescriptor;
12
+ /**
13
+ * React Navigation specific descriptor - extends base with full typing
14
+ */
15
+ export type TransitionDescriptor = Descriptor<ScreenTransitionConfig, NavigationProp<ParamListBase>, RouteProp<ParamListBase>>;
16
+ interface KeysContextType<TDescriptor extends BaseDescriptor = BaseDescriptor> {
17
+ previous?: TDescriptor;
18
+ current: TDescriptor;
19
+ next?: TDescriptor;
20
+ }
21
+ interface KeysProviderProps<TDescriptor extends BaseDescriptor> {
22
+ children: React.ReactNode;
23
+ previous?: TDescriptor;
24
+ current: TDescriptor;
25
+ next?: TDescriptor;
26
+ }
27
+ export declare function KeysProvider<TDescriptor extends BaseDescriptor>({ children, previous, current, next, }: KeysProviderProps<TDescriptor>): import("react/jsx-runtime").JSX.Element;
28
+ export declare function useKeys<TDescriptor extends BaseDescriptor = BaseDescriptor>(): KeysContextType<TDescriptor>;
29
+ //# sourceMappingURL=keys.provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keys.provider.d.ts","sourceRoot":"","sources":["../../../../../src/shared/providers/screen/keys.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,UAAU,EACV,cAAc,EACd,aAAa,EACb,SAAS,EACT,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EACX,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,EACd,MAAM,yBAAyB,CAAC;AAGjC,YAAY,EAAE,mBAAmB,IAAI,cAAc,EAAE,CAAC;AACtD,YAAY,EAAE,cAAc,IAAI,SAAS,EAAE,CAAC;AAE5C;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,mBAAmB,CAAC;AAEjD;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAC5C,sBAAsB,EACtB,cAAc,CAAC,aAAa,CAAC,EAC7B,SAAS,CAAC,aAAa,CAAC,CACxB,CAAC;AAEF,UAAU,eAAe,CAAC,WAAW,SAAS,cAAc,GAAG,cAAc;IAC5E,QAAQ,CAAC,EAAE,WAAW,CAAC;IACvB,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,CAAC,EAAE,WAAW,CAAC;CACnB;AAID,UAAU,iBAAiB,CAAC,WAAW,SAAS,cAAc;IAC7D,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,WAAW,CAAC;IACvB,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,CAAC,EAAE,WAAW,CAAC;CACnB;AAED,wBAAgB,YAAY,CAAC,WAAW,SAAS,cAAc,EAAE,EAChE,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,IAAI,GACJ,EAAE,iBAAiB,CAAC,WAAW,CAAC,2CAOhC;AAED,wBAAgB,OAAO,CACtB,WAAW,SAAS,cAAc,GAAG,cAAc,KAC/C,eAAe,CAAC,WAAW,CAAC,CAMhC"}
@@ -0,0 +1,13 @@
1
+ import type React from "react";
2
+ import type { ComponentType } from "react";
3
+ import { type BaseDescriptor } from "./keys.provider";
4
+ type Props<TDescriptor extends BaseDescriptor> = {
5
+ previous?: TDescriptor;
6
+ current: TDescriptor;
7
+ next?: TDescriptor;
8
+ children: React.ReactNode;
9
+ LifecycleController: ComponentType<any>;
10
+ };
11
+ export declare function ScreenComposer<TDescriptor extends BaseDescriptor>({ previous, current, next, children, LifecycleController, }: Props<TDescriptor>): import("react/jsx-runtime").JSX.Element;
12
+ export {};
13
+ //# sourceMappingURL=screen-composer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"screen-composer.d.ts","sourceRoot":"","sources":["../../../../../src/shared/providers/screen/screen-composer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAG3C,OAAO,EAAE,KAAK,cAAc,EAAgB,MAAM,iBAAiB,CAAC;AAGpE,KAAK,KAAK,CAAC,WAAW,SAAS,cAAc,IAAI;IAChD,QAAQ,CAAC,EAAE,WAAW,CAAC;IACvB,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,mBAAmB,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;CACxC,CAAC;AAEF,wBAAgB,cAAc,CAAC,WAAW,SAAS,cAAc,EAAE,EAClE,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,mBAAmB,GACnB,EAAE,KAAK,CAAC,WAAW,CAAC,2CAgBpB"}
@@ -0,0 +1,13 @@
1
+ import { type SharedValue } from "react-native-reanimated";
2
+ import type { TransitionInterpolatedStyle } from "../../types/animation.types";
3
+ type Props = {
4
+ children: React.ReactNode;
5
+ };
6
+ type ScreenStylesContextValue = {
7
+ stylesMap: SharedValue<TransitionInterpolatedStyle>;
8
+ ancestorStylesMaps: SharedValue<TransitionInterpolatedStyle>[];
9
+ };
10
+ export declare function ScreenStylesProvider({ children }: Props): import("react/jsx-runtime").JSX.Element;
11
+ export declare function useScreenStyles(): ScreenStylesContextValue;
12
+ export {};
13
+ //# sourceMappingURL=styles.provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.provider.d.ts","sourceRoot":"","sources":["../../../../../src/shared/providers/screen/styles.provider.tsx"],"names":[],"mappings":"AACA,OAAO,EACN,KAAK,WAAW,EAGhB,MAAM,yBAAyB,CAAC;AAGjC,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAG/E,KAAK,KAAK,GAAG;IACZ,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,CAAC;AAEF,KAAK,wBAAwB,GAAG;IAC/B,SAAS,EAAE,WAAW,CAAC,2BAA2B,CAAC,CAAC;IACpD,kBAAkB,EAAE,WAAW,CAAC,2BAA2B,CAAC,EAAE,CAAC;CAC/D,CAAC;AAMF,wBAAgB,oBAAoB,CAAC,EAAE,QAAQ,EAAE,EAAE,KAAK,2CAqFvD;AAED,wBAAgB,eAAe,6BAQ9B"}
@@ -0,0 +1,22 @@
1
+ import type * as React from "react";
2
+ import { StackType } from "../../types/stack.types";
3
+ export interface StackCoreConfig {
4
+ TRANSITIONS_ALWAYS_ON?: boolean;
5
+ STACK_TYPE?: StackType;
6
+ DISABLE_NATIVE_SCREENS?: boolean;
7
+ }
8
+ export interface StackCoreContextValue {
9
+ flags: {
10
+ TRANSITIONS_ALWAYS_ON: boolean;
11
+ STACK_TYPE?: StackType;
12
+ DISABLE_NATIVE_SCREENS: boolean;
13
+ };
14
+ }
15
+ declare const useStackCoreContext: () => StackCoreContextValue;
16
+ /**
17
+ * HOC that wraps a component with the StackCore provider.
18
+ * Just a simple open gate
19
+ */
20
+ export declare function withStackCore<TProps extends object>(defaultConfig: StackCoreConfig, Component: React.ComponentType<TProps>): React.FC<TProps & StackCoreConfig>;
21
+ export { useStackCoreContext };
22
+ //# sourceMappingURL=core.provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core.provider.d.ts","sourceRoot":"","sources":["../../../../../src/shared/providers/stack/core.provider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAGpC,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAGpD,MAAM,WAAW,eAAe;IAC/B,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,sBAAsB,CAAC,EAAE,OAAO,CAAC;CACjC;AAOD,MAAM,WAAW,qBAAqB;IACrC,KAAK,EAAE;QACN,qBAAqB,EAAE,OAAO,CAAC;QAC/B,UAAU,CAAC,EAAE,SAAS,CAAC;QACvB,sBAAsB,EAAE,OAAO,CAAC;KAChC,CAAC;CACF;AAED,QAAA,MAAsD,mBAAmB,6BAyBtE,CAAC;AAEJ;;;GAGG;AACH,wBAAgB,aAAa,CAAC,MAAM,SAAS,MAAM,EAClD,aAAa,EAAE,eAAe,EAC9B,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,GACpC,KAAK,CAAC,EAAE,CAAC,MAAM,GAAG,eAAe,CAAC,CAoBpC;AAMD,OAAO,EAAE,mBAAmB,EAAE,CAAC"}