react-native-screen-transitions 3.2.0-beta.2 → 3.2.0-beta.3

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 (170) hide show
  1. package/README.md +108 -37
  2. package/lib/commonjs/blank-stack/components/stack-view.js +0 -2
  3. package/lib/commonjs/blank-stack/components/stack-view.js.map +1 -1
  4. package/lib/commonjs/blank-stack/components/stack-view.native.js +0 -2
  5. package/lib/commonjs/blank-stack/components/stack-view.native.js.map +1 -1
  6. package/lib/commonjs/component-stack/components/stack-view.js +16 -20
  7. package/lib/commonjs/component-stack/components/stack-view.js.map +1 -1
  8. package/lib/commonjs/native-stack/views/NativeStackView.native.js +3 -3
  9. package/lib/commonjs/native-stack/views/NativeStackView.native.js.map +1 -1
  10. package/lib/commonjs/shared/components/overlay/variations/float-overlay.js +1 -6
  11. package/lib/commonjs/shared/components/overlay/variations/float-overlay.js.map +1 -1
  12. package/lib/commonjs/shared/components/overlay/variations/overlay-host.js +16 -64
  13. package/lib/commonjs/shared/components/overlay/variations/overlay-host.js.map +1 -1
  14. package/lib/commonjs/shared/components/overlay/variations/screen-overlay.js +5 -8
  15. package/lib/commonjs/shared/components/overlay/variations/screen-overlay.js.map +1 -1
  16. package/lib/commonjs/shared/components/screen-lifecycle.js +153 -0
  17. package/lib/commonjs/shared/components/screen-lifecycle.js.map +1 -0
  18. package/lib/commonjs/shared/constants.js +3 -2
  19. package/lib/commonjs/shared/constants.js.map +1 -1
  20. package/lib/commonjs/shared/hooks/animation/use-screen-animation.js.map +1 -1
  21. package/lib/commonjs/shared/hooks/gestures/use-build-gestures.js.map +1 -1
  22. package/lib/commonjs/shared/hooks/navigation/use-screen-state.js +45 -0
  23. package/lib/commonjs/shared/hooks/navigation/use-screen-state.js.map +1 -0
  24. package/lib/commonjs/shared/hooks/use-stable-callback-value.js +0 -2
  25. package/lib/commonjs/shared/hooks/use-stable-callback-value.js.map +1 -1
  26. package/lib/commonjs/shared/index.js +7 -0
  27. package/lib/commonjs/shared/index.js.map +1 -1
  28. package/lib/commonjs/shared/providers/screen/keys.provider.js +0 -2
  29. package/lib/commonjs/shared/providers/screen/keys.provider.js.map +1 -1
  30. package/lib/commonjs/shared/providers/screen/screen-composer.js +3 -3
  31. package/lib/commonjs/shared/providers/screen/screen-composer.js.map +1 -1
  32. package/lib/commonjs/shared/providers/screen/styles.provider.js +1 -1
  33. package/lib/commonjs/shared/providers/screen/styles.provider.js.map +1 -1
  34. package/lib/commonjs/shared/types/index.js +3 -3
  35. package/lib/commonjs/shared/types/index.js.map +1 -1
  36. package/lib/commonjs/shared/types/stack.types.js +4 -0
  37. package/lib/commonjs/shared/types/stack.types.js.map +1 -1
  38. package/lib/commonjs/shared/utils/animation/start-screen-transition.js +5 -5
  39. package/lib/commonjs/shared/utils/animation/start-screen-transition.js.map +1 -1
  40. package/lib/commonjs/shared/utils/bounds/index.js.map +1 -1
  41. package/lib/module/blank-stack/components/stack-view.js +0 -2
  42. package/lib/module/blank-stack/components/stack-view.js.map +1 -1
  43. package/lib/module/blank-stack/components/stack-view.native.js +0 -2
  44. package/lib/module/blank-stack/components/stack-view.native.js.map +1 -1
  45. package/lib/module/component-stack/components/stack-view.js +16 -20
  46. package/lib/module/component-stack/components/stack-view.js.map +1 -1
  47. package/lib/module/native-stack/views/NativeStackView.native.js +3 -3
  48. package/lib/module/native-stack/views/NativeStackView.native.js.map +1 -1
  49. package/lib/module/shared/components/overlay/variations/float-overlay.js +1 -6
  50. package/lib/module/shared/components/overlay/variations/float-overlay.js.map +1 -1
  51. package/lib/module/shared/components/overlay/variations/overlay-host.js +16 -64
  52. package/lib/module/shared/components/overlay/variations/overlay-host.js.map +1 -1
  53. package/lib/module/shared/components/overlay/variations/screen-overlay.js +5 -8
  54. package/lib/module/shared/components/overlay/variations/screen-overlay.js.map +1 -1
  55. package/lib/module/shared/components/screen-lifecycle.js +147 -0
  56. package/lib/module/shared/components/screen-lifecycle.js.map +1 -0
  57. package/lib/module/shared/constants.js +2 -1
  58. package/lib/module/shared/constants.js.map +1 -1
  59. package/lib/module/shared/hooks/animation/use-screen-animation.js.map +1 -1
  60. package/lib/module/shared/hooks/gestures/use-build-gestures.js.map +1 -1
  61. package/lib/module/shared/hooks/navigation/use-screen-state.js +41 -0
  62. package/lib/module/shared/hooks/navigation/use-screen-state.js.map +1 -0
  63. package/lib/module/shared/hooks/use-stable-callback-value.js +0 -3
  64. package/lib/module/shared/hooks/use-stable-callback-value.js.map +1 -1
  65. package/lib/module/shared/index.js +1 -0
  66. package/lib/module/shared/index.js.map +1 -1
  67. package/lib/module/shared/providers/screen/keys.provider.js +0 -2
  68. package/lib/module/shared/providers/screen/keys.provider.js.map +1 -1
  69. package/lib/module/shared/providers/screen/screen-composer.js +3 -3
  70. package/lib/module/shared/providers/screen/screen-composer.js.map +1 -1
  71. package/lib/module/shared/providers/screen/styles.provider.js +1 -1
  72. package/lib/module/shared/providers/screen/styles.provider.js.map +1 -1
  73. package/lib/module/shared/types/index.js +1 -1
  74. package/lib/module/shared/types/index.js.map +1 -1
  75. package/lib/module/shared/types/stack.types.js +5 -0
  76. package/lib/module/shared/types/stack.types.js.map +1 -1
  77. package/lib/module/shared/utils/animation/start-screen-transition.js +1 -1
  78. package/lib/module/shared/utils/animation/start-screen-transition.js.map +1 -1
  79. package/lib/module/shared/utils/bounds/index.js.map +1 -1
  80. package/lib/typescript/blank-stack/components/stack-view.d.ts.map +1 -1
  81. package/lib/typescript/blank-stack/components/stack-view.native.d.ts.map +1 -1
  82. package/lib/typescript/blank-stack/types.d.ts +4 -8
  83. package/lib/typescript/blank-stack/types.d.ts.map +1 -1
  84. package/lib/typescript/component-stack/components/stack-view.d.ts.map +1 -1
  85. package/lib/typescript/component-stack/types.d.ts +4 -8
  86. package/lib/typescript/component-stack/types.d.ts.map +1 -1
  87. package/lib/typescript/native-stack/types.d.ts +2 -3
  88. package/lib/typescript/native-stack/types.d.ts.map +1 -1
  89. package/lib/typescript/native-stack/views/NativeStackView.native.d.ts.map +1 -1
  90. package/lib/typescript/shared/components/overlay/variations/float-overlay.d.ts.map +1 -1
  91. package/lib/typescript/shared/components/overlay/variations/overlay-host.d.ts +1 -6
  92. package/lib/typescript/shared/components/overlay/variations/overlay-host.d.ts.map +1 -1
  93. package/lib/typescript/shared/components/overlay/variations/screen-overlay.d.ts +4 -0
  94. package/lib/typescript/shared/components/overlay/variations/screen-overlay.d.ts.map +1 -1
  95. package/lib/typescript/shared/components/screen-lifecycle.d.ts +9 -0
  96. package/lib/typescript/shared/components/screen-lifecycle.d.ts.map +1 -0
  97. package/lib/typescript/shared/constants.d.ts +2 -1
  98. package/lib/typescript/shared/constants.d.ts.map +1 -1
  99. package/lib/typescript/shared/hooks/animation/use-screen-animation.d.ts.map +1 -1
  100. package/lib/typescript/shared/hooks/gestures/use-build-gestures.d.ts.map +1 -1
  101. package/lib/typescript/shared/hooks/navigation/use-screen-state.d.ts +40 -0
  102. package/lib/typescript/shared/hooks/navigation/use-screen-state.d.ts.map +1 -0
  103. package/lib/typescript/shared/hooks/use-stable-callback-value.d.ts.map +1 -1
  104. package/lib/typescript/shared/index.d.ts +21 -20
  105. package/lib/typescript/shared/index.d.ts.map +1 -1
  106. package/lib/typescript/shared/providers/screen/keys.provider.d.ts +2 -3
  107. package/lib/typescript/shared/providers/screen/keys.provider.d.ts.map +1 -1
  108. package/lib/typescript/shared/providers/screen/screen-composer.d.ts +1 -3
  109. package/lib/typescript/shared/providers/screen/screen-composer.d.ts.map +1 -1
  110. package/lib/typescript/shared/types/animation.types.d.ts +2 -6
  111. package/lib/typescript/shared/types/animation.types.d.ts.map +1 -1
  112. package/lib/typescript/shared/types/index.d.ts +2 -2
  113. package/lib/typescript/shared/types/index.d.ts.map +1 -1
  114. package/lib/typescript/shared/types/overlay.types.d.ts +21 -0
  115. package/lib/typescript/shared/types/overlay.types.d.ts.map +1 -1
  116. package/lib/typescript/shared/types/screen.types.d.ts +5 -4
  117. package/lib/typescript/shared/types/screen.types.d.ts.map +1 -1
  118. package/lib/typescript/shared/types/stack.types.d.ts +9 -0
  119. package/lib/typescript/shared/types/stack.types.d.ts.map +1 -1
  120. package/lib/typescript/shared/utils/animation/start-screen-transition.d.ts.map +1 -1
  121. package/lib/typescript/shared/utils/bounds/index.d.ts.map +1 -1
  122. package/package.json +1 -1
  123. package/src/blank-stack/components/stack-view.native.tsx +0 -2
  124. package/src/blank-stack/components/stack-view.tsx +0 -2
  125. package/src/blank-stack/types.ts +6 -8
  126. package/src/component-stack/components/stack-view.tsx +19 -23
  127. package/src/component-stack/types.ts +7 -8
  128. package/src/native-stack/types.ts +2 -3
  129. package/src/native-stack/views/NativeStackView.native.tsx +2 -3
  130. package/src/shared/components/overlay/variations/float-overlay.tsx +2 -8
  131. package/src/shared/components/overlay/variations/overlay-host.tsx +18 -84
  132. package/src/shared/components/overlay/variations/screen-overlay.tsx +6 -15
  133. package/src/shared/components/screen-lifecycle.tsx +168 -0
  134. package/src/shared/constants.ts +3 -1
  135. package/src/shared/hooks/animation/use-screen-animation.tsx +3 -3
  136. package/src/shared/hooks/gestures/use-build-gestures.tsx +0 -2
  137. package/src/shared/hooks/navigation/use-screen-state.tsx +99 -0
  138. package/src/shared/hooks/use-stable-callback-value.ts +0 -1
  139. package/src/shared/index.ts +4 -0
  140. package/src/shared/providers/screen/keys.provider.tsx +1 -9
  141. package/src/shared/providers/screen/screen-composer.tsx +3 -5
  142. package/src/shared/providers/screen/styles.provider.tsx +1 -1
  143. package/src/shared/types/animation.types.ts +2 -6
  144. package/src/shared/types/index.ts +2 -7
  145. package/src/shared/types/overlay.types.ts +23 -0
  146. package/src/shared/types/screen.types.ts +5 -4
  147. package/src/shared/types/stack.types.ts +16 -1
  148. package/src/shared/utils/animation/start-screen-transition.ts +1 -1
  149. package/src/shared/utils/bounds/index.ts +6 -1
  150. package/lib/commonjs/native-stack/controllers/native-stack-lifecycle.js +0 -90
  151. package/lib/commonjs/native-stack/controllers/native-stack-lifecycle.js.map +0 -1
  152. package/lib/commonjs/shared/controller/managed-lifecycle.js +0 -78
  153. package/lib/commonjs/shared/controller/managed-lifecycle.js.map +0 -1
  154. package/lib/commonjs/shared/types/state.types.js +0 -9
  155. package/lib/commonjs/shared/types/state.types.js.map +0 -1
  156. package/lib/module/native-stack/controllers/native-stack-lifecycle.js +0 -83
  157. package/lib/module/native-stack/controllers/native-stack-lifecycle.js.map +0 -1
  158. package/lib/module/shared/controller/managed-lifecycle.js +0 -72
  159. package/lib/module/shared/controller/managed-lifecycle.js.map +0 -1
  160. package/lib/module/shared/types/state.types.js +0 -5
  161. package/lib/module/shared/types/state.types.js.map +0 -1
  162. package/lib/typescript/native-stack/controllers/native-stack-lifecycle.d.ts +0 -8
  163. package/lib/typescript/native-stack/controllers/native-stack-lifecycle.d.ts.map +0 -1
  164. package/lib/typescript/shared/controller/managed-lifecycle.d.ts +0 -9
  165. package/lib/typescript/shared/controller/managed-lifecycle.d.ts.map +0 -1
  166. package/lib/typescript/shared/types/state.types.d.ts +0 -3
  167. package/lib/typescript/shared/types/state.types.d.ts.map +0 -1
  168. package/src/native-stack/controllers/native-stack-lifecycle.tsx +0 -96
  169. package/src/shared/controller/managed-lifecycle.tsx +0 -73
  170. package/src/shared/types/state.types.ts +0 -2
@@ -1,6 +1,7 @@
1
- import type { DefaultNavigatorOptions, Descriptor, NavigationHelpers, NavigationProp, ParamListBase, Route, RouteProp, StackActionHelpers, StackNavigationState, StackRouterOptions, Theme } from "@react-navigation/native";
1
+ import type { DefaultNavigatorOptions, Descriptor, NavigationHelpers, NavigationProp, ParamListBase, RouteProp, StackActionHelpers, StackNavigationState, StackRouterOptions, Theme } from "@react-navigation/native";
2
2
  import type { ScreenTransitionConfig } from "../shared";
3
3
  import type { OverlayProps } from "../shared/types/overlay.types";
4
+ import type { BaseStackScene, DescriptorMap } from "../shared/types/stack.types";
4
5
  export type ComponentStackNavigationEventMap = {};
5
6
  export type ComponentStackNavigationProp<ParamList extends ParamListBase, RouteName extends keyof ParamList = string, NavigatorID extends string | undefined = undefined> = NavigationProp<ParamList, RouteName, NavigatorID, StackNavigationState<ParamList>, ComponentStackNavigationOptions, ComponentStackNavigationEventMap> & StackActionHelpers<ParamList>;
6
7
  export type ComponentStackScreenProps<ParamList extends ParamListBase, RouteName extends keyof ParamList = string, NavigatorID extends string | undefined = undefined> = {
@@ -11,10 +12,7 @@ export type ComponentStackOptionsArgs<ParamList extends ParamListBase, RouteName
11
12
  theme: Theme;
12
13
  };
13
14
  export type ComponentStackNavigationHelpers = NavigationHelpers<ParamListBase, ComponentStackNavigationEventMap>;
14
- export type ComponentStackScene = {
15
- route: Route<string>;
16
- descriptor: ComponentStackDescriptor;
17
- };
15
+ export type ComponentStackScene = BaseStackScene<ComponentStackDescriptor>;
18
16
  type ComponentStackNavigationConfig = {};
19
17
  /**
20
18
  * Props passed to overlay components in component-stack.
@@ -32,8 +30,6 @@ type ComponentStackScreenTransitionConfig = ScreenTransitionConfig & {
32
30
  export type ComponentStackNavigationOptions = ComponentStackScreenTransitionConfig & {};
33
31
  export type ComponentStackNavigatorProps = DefaultNavigatorOptions<ParamListBase, string | undefined, StackNavigationState<ParamListBase>, ComponentStackNavigationOptions, ComponentStackNavigationEventMap, ComponentStackNavigationProp<ParamListBase>> & StackRouterOptions & ComponentStackNavigationConfig;
34
32
  export type ComponentStackDescriptor = Descriptor<ComponentStackNavigationOptions, ComponentStackNavigationProp<ParamListBase>, RouteProp<ParamListBase>>;
35
- export type ComponentStackDescriptorMap = {
36
- [key: string]: ComponentStackDescriptor;
37
- };
33
+ export type ComponentStackDescriptorMap = DescriptorMap<ComponentStackDescriptor>;
38
34
  export {};
39
35
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/component-stack/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,uBAAuB,EACvB,UAAU,EACV,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,KAAK,EACL,SAAS,EACT,k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AC,EAAE,OAAO,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAC1C,oCAAoC,GAAG,EAAE,CAAC;AAE3C,MAAM,MAAM,4BAA4B,GAAG,uBAAuB,CACjE,aAAa,EACb,MAAM,GAAG,SAAS,EAClB,oBAAoB,CAAC,aAAa,CAAC,EACnC,+BAA+B,EAC/B,gCAAgC,EAChC,4BAA4B,CAAC,aAAa,CAAC,CAC3C,GACA,kBAAkB,GAClB,8BAA8B,CAAC;AAEhC,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAChD,+BAA+B,EAC/B,4BAA4B,CAAC,aAAa,CAAC,EAC3C,SAAS,CAAC,aAAa,CAAC,CACxB,CAAC;AAEF,MAAM,MAAM,2BAA2B,GACtC,aAAa,CAAC,wBAAwB,CAAC,CAAC"}
@@ -3,6 +3,7 @@ import type { ImageSourcePropType, StyleProp, TextStyle, ViewStyle } from "react
3
3
  import type { ScreenProps, ScreenStackHeaderConfigProps, SearchBarProps } from "react-native-screens";
4
4
  import type { OverlayProps } from "../shared/types/overlay.types";
5
5
  import type { ScreenTransitionConfig } from "../shared/types/screen.types";
6
+ import type { DescriptorMap } from "../shared/types/stack.types";
6
7
  export type NativeStackNavigationEventMap = {
7
8
  /**
8
9
  * Event which fires when a transition animation starts.
@@ -653,8 +654,6 @@ export type NativeStackNavigationOptions = NativeStackScreenTransitionConfig & {
653
654
  };
654
655
  export type NativeStackNavigatorProps = DefaultNavigatorOptions<ParamListBase, string | undefined, StackNavigationState<ParamListBase>, NativeStackNavigationOptions, NativeStackNavigationEventMap, NativeStackNavigationProp<ParamListBase>> & StackRouterOptions & NativeStackNavigationConfig;
655
656
  export type NativeStackDescriptor = Descriptor<NativeStackNavigationOptions, NativeStackNavigationProp<ParamListBase>, RouteProp<ParamListBase>>;
656
- export type NativeStackDescriptorMap = {
657
- [key: string]: NativeStackDescriptor;
658
- };
657
+ export type NativeStackDescriptorMap = DescriptorMap<NativeStackDescriptor>;
659
658
  export {};
660
659
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/native-stack/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,uBAAuB,EACvB,UAAU,EACV,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,KAAK,EACL,SAAS,EACT,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,KAAK,EACL,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EACX,mBAAmB,EACnB,SAAS,EACT,SAAS,EACT,SAAS,EACT,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EACX,WAAW,EACX,4BAA4B,EAC5B,cAAc,EACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAE3E,MAAM,MAAM,6BAA6B,GAAG;IAC3C;;OAEG;IACH,eAAe,EAAE;QAAE,IAAI,EAAE;YAAE,OAAO,EAAE,OAAO,CAAA;SAAE,CAAA;KAAE,CAAC;IAChD;;OAEG;IACH,aAAa,EAAE;QAAE,IAAI,EAAE;YAAE,OAAO,EAAE,OAAO,CAAA;SAAE,CAAA;KAAE,CAAC;IAC9C;;OAEG;IACH,aAAa,EAAE;QAAE,IAAI,EAAE,SAAS,CAAA;KAAE,CAAC;IACnC;;;;;;;OAOG;IACH,iBAAiB,EAAE;QAAE,IAAI,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,OAAO,CAAA;SAAE,CAAA;KAAE,CAAC;CAChE,CAAC;AAEF,MAAM,MAAM,yBAAyB,CACpC,SAAS,SAAS,aAAa,EAC/B,SAAS,SAAS,MAAM,SAAS,GAAG,MAAM,EAC1C,WAAW,SAAS,MAAM,GAAG,SAAS,GAAG,SAAS,IAC/C,cAAc,CACjB,SAAS,EACT,SAAS,EACT,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WAAW,CAAC,mBAAmB,CAAC,CAAC;IAC/C;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;;;;;;;;OAWG;IACH,oBAAoB,CAAC,EAAE,MAAM,KAAK,CAAC,SAAS,CAAC;CAC7C,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,uBAAuB,CAC9D,aAAa,EACb,MAAM,GAAG,SAAS,EAClB,oBAAoB,CAAC,aAAa,CAAC,EACnC,4BAA4B,EAC5B,6BAA6B,EAC7B,yBAAyB,CAAC,aAAa,CAAC,CACxC,GACA,kBAAkB,GAClB,2BAA2B,CAAC;AAE7B,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAC7C,4BAA4B,EAC5B,yBAAyB,CAAC,aAAa,CAAC,EACxC,SAAS,CAAC,aAAa,CAAC,CACxB,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,aAAa,CAAC,qBAAqB,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"NativeStackView.native.d.ts","sourceRoot":"","sources":["../../../../src/native-stack/views/NativeStackView.native.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAqd/B,eAAO,MAAM,eAAe,0JA8H3B,CAAC"}
1
+ {"version":3,"file":"NativeStackView.native.d.ts","sourceRoot":"","sources":["../../../../src/native-stack/views/NativeStackView.native.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAod/B,eAAO,MAAM,eAAe,0JA8H3B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"float-overlay.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/overlay/variations/float-overlay.tsx"],"names":[],"mappings":"AAOA;;;GAGG;AACH,wBAAgB,YAAY,mDAgC3B"}
1
+ {"version":3,"file":"float-overlay.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/overlay/variations/float-overlay.tsx"],"names":[],"mappings":"AAOA;;;GAGG;AACH,wBAAgB,YAAY,mDA0B3B"}
@@ -1,11 +1,6 @@
1
- import { type Route } from "@react-navigation/native";
2
- import { type StackScene } from "../../../hooks/navigation/use-stack";
1
+ import type { StackScene } from "../../../hooks/navigation/use-stack";
3
2
  type OverlayHostProps = {
4
3
  scene: StackScene;
5
- scenes: StackScene[];
6
- routes: Route<string>[];
7
- overlayIndex: number;
8
- isFloating?: boolean;
9
4
  };
10
5
  export declare const OverlayHost: import("react").NamedExoticComponent<OverlayHostProps>;
11
6
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"overlay-host.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/overlay/variations/overlay-host.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGN,KAAK,KAAK,EACV,MAAM,0BAA0B,CAAC;AAMlC,OAAO,EAAE,KAAK,UAAU,EAAY,MAAM,qCAAqC,CAAC;AAKhF,KAAK,gBAAgB,GAAG;IACvB,KAAK,EAAE,UAAU,CAAC;IAClB,MAAM,EAAE,UAAU,EAAE,CAAC;IACrB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,WAAW,wDA8GtB,CAAC"}
1
+ {"version":3,"file":"overlay-host.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/overlay/variations/overlay-host.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAKtE,KAAK,gBAAgB,GAAG;IACvB,KAAK,EAAE,UAAU,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,WAAW,wDAgDtB,CAAC"}
@@ -1,6 +1,10 @@
1
1
  /**
2
2
  * Screen overlay component that renders per-screen.
3
3
  * Gets current descriptor from keys context.
4
+ *
5
+ * @deprecated Screen overlays are deprecated. For per-screen overlays, render an
6
+ * absolute-positioned view directly in your screen component and use `useScreenAnimation()`
7
+ * to access animation values. This component will be removed in a future version.
4
8
  */
5
9
  export declare function ScreenOverlay(): import("react/jsx-runtime").JSX.Element | null;
6
10
  //# sourceMappingURL=screen-overlay.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"screen-overlay.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/overlay/variations/screen-overlay.tsx"],"names":[],"mappings":"AASA;;;GAGG;AACH,wBAAgB,aAAa,mDAqC5B"}
1
+ {"version":3,"file":"screen-overlay.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/overlay/variations/screen-overlay.tsx"],"names":[],"mappings":"AASA;;;;;;;GAOG;AACH,wBAAgB,aAAa,mDAwB5B"}
@@ -0,0 +1,9 @@
1
+ interface Props {
2
+ children: React.ReactNode;
3
+ }
4
+ /**
5
+ * Unified lifecycle controller for all stack types.
6
+ */
7
+ export declare const ScreenLifecycle: ({ children }: Props) => import("react").ReactNode;
8
+ export {};
9
+ //# sourceMappingURL=screen-lifecycle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"screen-lifecycle.d.ts","sourceRoot":"","sources":["../../../../src/shared/components/screen-lifecycle.tsx"],"names":[],"mappings":"AAqBA,UAAU,KAAK;IACd,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AAyGD;;GAEG;AACH,eAAO,MAAM,eAAe,GAAI,cAAc,KAAK,8BAoClD,CAAC"}
@@ -36,8 +36,9 @@ export declare const FULLSCREEN_DIMENSIONS: (dimensions: Layout) => MeasuredDime
36
36
  */
37
37
  export declare const GESTURE_VELOCITY_IMPACT = 0.3;
38
38
  export declare const DEFAULT_GESTURE_DIRECTION = "horizontal";
39
- export declare const DEFAULT_GESTURE_ENABLED = false;
40
39
  export declare const DEFAULT_GESTURE_DRIVES_PROGRESS = true;
41
40
  export declare const DEFAULT_GESTURE_ACTIVATION_AREA: ActivationArea;
42
41
  export declare const IS_WEB: boolean;
42
+ export declare const TRUE = 1;
43
+ export declare const FALSE = 0;
43
44
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
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"}
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,+BAA+B,OAAO,CAAC;AACpD,eAAO,MAAM,+BAA+B,EAAE,cAAyB,CAAC;AAExE,eAAO,MAAM,MAAM,SAAwB,CAAC;AAE5C,eAAO,MAAM,IAAI,IAAI,CAAC;AACtB,eAAO,MAAM,KAAK,IAAI,CAAC"}
@@ -1 +1 @@
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
+ {"version":3,"file":"use-screen-animation.d.ts","sourceRoot":"","sources":["../../../../../src/shared/hooks/animation/use-screen-animation.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EACX,wBAAwB,EAExB,MAAM,6BAA6B,CAAC;AAqFrC,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;CAsVxC,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;AAO3E,OAAO,KAAK,EACX,kBAAkB,EAClB,YAAY,EACZ,MAAM,mCAAmC,CAAC;AAG3C,OAAO,EAAgB,KAAK,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAahF,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"}
@@ -0,0 +1,40 @@
1
+ import type { Route } from "@react-navigation/native";
2
+ import type { ScreenTransitionConfig } from "../../types/screen.types";
3
+ import type { BaseStackNavigation } from "../../types/stack.types";
4
+ export interface ScreenState<TNavigation extends BaseStackNavigation = BaseStackNavigation> {
5
+ /**
6
+ * The index of this screen in the stack.
7
+ */
8
+ index: number;
9
+ /**
10
+ * Screen options for the currently focused screen.
11
+ */
12
+ options: ScreenTransitionConfig;
13
+ /**
14
+ * All routes currently in the stack.
15
+ */
16
+ routes: Route<string>[];
17
+ /**
18
+ * Route of the currently focused screen in the stack.
19
+ */
20
+ focusedRoute: Route<string>;
21
+ /**
22
+ * Index of the focused route in the stack.
23
+ */
24
+ focusedIndex: number;
25
+ /**
26
+ * Custom metadata from the focused screen's options.
27
+ */
28
+ meta?: Record<string, unknown>;
29
+ /**
30
+ * Navigation object for this screen.
31
+ */
32
+ navigation: TNavigation;
33
+ }
34
+ /**
35
+ * Hook to access screen state information.
36
+ *
37
+ * Use this hook to get navigation state and screen information.
38
+ */
39
+ export declare function useScreenState<TNavigation extends BaseStackNavigation = BaseStackNavigation>(): ScreenState<TNavigation>;
40
+ //# sourceMappingURL=use-screen-state.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-screen-state.d.ts","sourceRoot":"","sources":["../../../../../src/shared/hooks/navigation/use-screen-state.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAOtD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAInE,MAAM,WAAW,WAAW,CAC3B,WAAW,SAAS,mBAAmB,GAAG,mBAAmB;IAE7D;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,OAAO,EAAE,sBAAsB,CAAC;IAEhC;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC;IAExB;;OAEG;IACH,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE5B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAE/B;;OAEG;IACH,UAAU,EAAE,WAAW,CAAC;CACxB;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAC7B,WAAW,SAAS,mBAAmB,GAAG,mBAAmB,KACzD,WAAW,CAAC,WAAW,CAAC,CAwC5B"}
@@ -1 +1 @@
1
- {"version":3,"file":"use-stable-callback-value.d.ts","sourceRoot":"","sources":["../../../../src/shared/hooks/use-stable-callback-value.ts"],"names":[],"mappings":"AAaA,KAAK,WAAW,GAAG,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,KAAK,GAAG,CAAC;AAkChD;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,CAAC,SAAS,WAAW,EACnE,QAAQ,CAAC,EAAE,CAAC,aAaD,UAAU,CAAC,CAAC,CAAC,UAMxB"}
1
+ {"version":3,"file":"use-stable-callback-value.d.ts","sourceRoot":"","sources":["../../../../src/shared/hooks/use-stable-callback-value.ts"],"names":[],"mappings":"AAYA,KAAK,WAAW,GAAG,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,KAAK,GAAG,CAAC;AAkChD;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,CAAC,SAAS,WAAW,EACnE,QAAQ,CAAC,EAAE,CAAC,aAaD,UAAU,CAAC,CAAC,CAAC,UAMxB"}
@@ -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
- children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
8
7
  id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
9
8
  pointerEvents?: "none" | "box-none" | "box-only" | "auto" | import("react-native-reanimated").SharedValue<"none" | "box-none" | "box-only" | "auto" | undefined> | undefined;
9
+ children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
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
- children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
111
110
  id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
112
111
  pointerEvents?: "none" | "box-none" | "box-only" | "auto" | import("react-native-reanimated").SharedValue<"none" | "box-none" | "box-only" | "auto" | undefined> | undefined;
112
+ children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
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
- key?: import("react").Key | import("react-native-reanimated").SharedValue<import("react").Key | null | undefined> | null | undefined;
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)>;
219
- ref?: import("react").Ref<View> | import("react-native-reanimated").SharedValue<import("react").Ref<View> | undefined> | undefined;
220
217
  id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
221
218
  pointerEvents?: "none" | "box-none" | "box-only" | "auto" | import("react-native-reanimated").SharedValue<"none" | "box-none" | "box-only" | "auto" | undefined> | undefined;
219
+ 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)>;
220
+ ref?: import("react").Ref<View> | import("react-native-reanimated").SharedValue<import("react").Ref<View> | undefined> | undefined;
221
+ key?: import("react").Key | import("react-native-reanimated").SharedValue<import("react").Key | null | undefined> | null | 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
- key?: import("react").Key | import("react-native-reanimated").SharedValue<import("react").Key | null | undefined> | null | undefined;
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)>;
340
- ref?: import("react").Ref<View> | import("react-native-reanimated").SharedValue<import("react").Ref<View> | undefined> | undefined;
341
338
  id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
342
339
  pointerEvents?: "none" | "box-none" | "box-only" | "auto" | import("react-native-reanimated").SharedValue<"none" | "box-none" | "box-only" | "auto" | undefined> | undefined;
340
+ 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)>;
341
+ ref?: import("react").Ref<View> | import("react-native-reanimated").SharedValue<import("react").Ref<View> | undefined> | undefined;
342
+ key?: import("react").Key | import("react-native-reanimated").SharedValue<import("react").Key | null | undefined> | null | 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
- children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
464
463
  id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
465
464
  pointerEvents?: "none" | "box-none" | "box-only" | "auto" | import("react-native-reanimated").SharedValue<"none" | "box-none" | "box-only" | "auto" | undefined> | undefined;
466
465
  horizontal?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
466
+ children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
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
- children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
639
638
  id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
640
639
  pointerEvents?: "none" | "box-none" | "box-only" | "auto" | import("react-native-reanimated").SharedValue<"none" | "box-none" | "box-only" | "auto" | undefined> | undefined;
641
640
  horizontal?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
641
+ children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
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,11 +814,11 @@ declare const _default: {
814
814
  sharedBoundTag?: string;
815
815
  } & import("react").RefAttributes<never>>>;
816
816
  FlatList: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
817
- data: ArrayLike<unknown> | import("react-native-reanimated").SharedValue<ArrayLike<unknown> | null | undefined> | null | undefined;
818
- children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
819
817
  id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
820
818
  pointerEvents?: "none" | "box-none" | "box-only" | "auto" | import("react-native-reanimated").SharedValue<"none" | "box-none" | "box-only" | "auto" | undefined> | undefined;
821
819
  horizontal?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
820
+ children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
821
+ data: ArrayLike<unknown> | import("react-native-reanimated").SharedValue<ArrayLike<unknown> | null | undefined> | null | undefined;
822
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;
@@ -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").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;
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;
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,11 +1056,11 @@ 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
- data: ArrayLike<unknown> | import("react-native-reanimated").SharedValue<ArrayLike<unknown> | null | undefined> | null | undefined;
1060
- children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
1061
1059
  id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
1062
1060
  pointerEvents?: "none" | "box-none" | "box-only" | "auto" | import("react-native-reanimated").SharedValue<"none" | "box-none" | "box-only" | "auto" | undefined> | undefined;
1063
1061
  horizontal?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
1062
+ children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
1063
+ data: ArrayLike<unknown> | import("react-native-reanimated").SharedValue<ArrayLike<unknown> | null | undefined> | null | undefined;
1064
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;
@@ -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").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;
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;
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;
@@ -1327,5 +1327,6 @@ 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 ScreenState, useScreenState, } from "./hooks/navigation/use-screen-state";
1330
1331
  export type { AnimationConfig, BoundEntry, BoundsLink, OverlayInterpolationProps, OverlayMode, OverlayProps, ScreenInterpolationProps, ScreenStyleInterpolator, ScreenTransitionConfig, TransitionInterpolatedStyle, TransitionSpec, } from "./types";
1331
1332
  //# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAsCmiE,CAAC;;;;;;;;;;;;;;;;AAnCnmE,wBAaE;AAEF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EACN,KAAK,WAAW,EAChB,cAAc,GACd,MAAM,qCAAqC,CAAC;AAE7C,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"}
@@ -1,8 +1,6 @@
1
1
  import type { Descriptor, NavigationProp, ParamListBase, RouteProp } from "@react-navigation/native";
2
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 };
3
+ import type { BaseStackDescriptor } from "../../types/stack.types";
6
4
  /**
7
5
  * Base descriptor interface - minimal contract for all stack types.
8
6
  * This allows blank-stack and native-stack to work with the shared
@@ -26,4 +24,5 @@ interface KeysProviderProps<TDescriptor extends BaseDescriptor> {
26
24
  }
27
25
  export declare function KeysProvider<TDescriptor extends BaseDescriptor>({ children, previous, current, next, }: KeysProviderProps<TDescriptor>): import("react/jsx-runtime").JSX.Element;
28
26
  export declare function useKeys<TDescriptor extends BaseDescriptor = BaseDescriptor>(): KeysContextType<TDescriptor>;
27
+ export {};
29
28
  //# sourceMappingURL=keys.provider.d.ts.map
@@ -1 +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"}
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,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEnE;;;;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"}
@@ -1,13 +1,11 @@
1
1
  import type React from "react";
2
- import type { ComponentType } from "react";
3
2
  import { type BaseDescriptor } from "./keys.provider";
4
3
  type Props<TDescriptor extends BaseDescriptor> = {
5
4
  previous?: TDescriptor;
6
5
  current: TDescriptor;
7
6
  next?: TDescriptor;
8
7
  children: React.ReactNode;
9
- LifecycleController: ComponentType<any>;
10
8
  };
11
- export declare function ScreenComposer<TDescriptor extends BaseDescriptor>({ previous, current, next, children, LifecycleController, }: Props<TDescriptor>): import("react/jsx-runtime").JSX.Element;
9
+ export declare function ScreenComposer<TDescriptor extends BaseDescriptor>({ previous, current, next, children, }: Props<TDescriptor>): import("react/jsx-runtime").JSX.Element;
12
10
  export {};
13
11
  //# sourceMappingURL=screen-composer.d.ts.map
@@ -1 +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"}
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;AAI/B,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;CAC1B,CAAC;AAEF,wBAAgB,cAAc,CAAC,WAAW,SAAS,cAAc,EAAE,EAClE,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,QAAQ,GACR,EAAE,KAAK,CAAC,WAAW,CAAC,2CAgBpB"}
@@ -1,9 +1,9 @@
1
1
  import type { StyleProps, WithSpringConfig, WithTimingConfig } from "react-native-reanimated";
2
2
  import type { EdgeInsets } from "react-native-safe-area-context";
3
- import type { BaseRoute } from "../providers/screen/keys.provider";
4
3
  import type { BoundsAccessor } from "./bounds.types";
5
4
  import type { GestureValues } from "./gesture.types";
6
5
  import type { Layout } from "./screen.types";
6
+ import type { BaseStackRoute } from "./stack.types";
7
7
  export interface OverlayInterpolationProps {
8
8
  progress: number;
9
9
  layouts: {
@@ -58,12 +58,8 @@ export type ScreenTransitionState = {
58
58
  meta?: Record<string, unknown>;
59
59
  /**
60
60
  * The route object for this screen.
61
- *
62
- * @deprecated Use `meta` instead for conditional animation logic.
63
- * Pass route params via options: `options={({ route }) => ({ meta: { id: route.params.id } })}`
64
- * This field may be removed in a future version.
65
61
  */
66
- route: BaseRoute;
62
+ route: BaseStackRoute;
67
63
  };
68
64
  export interface ScreenInterpolationProps {
69
65
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"animation.types.d.ts","sourceRoot":"","sources":["../../../../src/shared/types/animation.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,UAAU,EACV,gBAAgB,EAChB,gBAAgB,EAChB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,WAAW,yBAAyB;IACzC,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE;QACR;;WAEG;QACH,MAAM,EAAE,MAAM,CAAC;KACf,CAAC;IACF,MAAM,EAAE,UAAU,CAAC;CACnB;AAED,MAAM,MAAM,qBAAqB,GAAG;IACnC;;;;;;;OAOG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;;;OAMG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;;OAIG;IACH,OAAO,EAAE,aAAa,CAAC;IAEvB;;;;;;;;;;OAUG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAE/B;;;;;;OAMG;IACH,KAAK,EAAE,SAAS,CAAC;CACjB,CAAC;AAEF,MAAM,WAAW,wBAAwB;IACxC;;OAEG;IACH,QAAQ,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAE5C;;OAEG;IACH,OAAO,EAAE,qBAAqB,CAAC;IAE/B;;OAEG;IACH,IAAI,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAExC;;OAEG;IACH,OAAO,EAAE;QACR;;WAEG;QACH,MAAM,EAAE,MAAM,CAAC;KACf,CAAC;IAEF;;OAEG;IACH,MAAM,EAAE,UAAU,CAAC;IAEnB;;;OAGG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC;IAEtB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;;;;;;;OAUG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,MAAM,EAAE,cAAc,CAAC;IAEvB;;OAEG;IACH,MAAM,EAAE,qBAAqB,CAAC;IAE9B;;;OAGG;IACH,QAAQ,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAE5C;;;OAGG;IACH,qBAAqB,EAAE,OAAO,CAAC;IAE/B;;;OAGG;IACH,YAAY,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,MAAM,uBAAuB,GAAG,CACrC,KAAK,EAAE,wBAAwB,KAC3B,2BAA2B,CAAC;AAEjC,MAAM,MAAM,2BAA2B,GAAG;IACzC;;OAEG;IACH,YAAY,CAAC,EAAE,UAAU,CAAC;IAE1B;;OAEG;IACH,YAAY,CAAC,EAAE,UAAU,CAAC;IAE1B;;OAEG;IACH,CAAC,EAAE,EAAE,MAAM,GAAG,UAAU,GAAG,SAAS,CAAC;CACrC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,gBAAgB,GAAG,gBAAgB,CAAC;AAElE;;GAEG;AACH,MAAM,WAAW,cAAc;IAC9B,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,KAAK,CAAC,EAAE,eAAe,CAAC;CACxB"}
1
+ {"version":3,"file":"animation.types.d.ts","sourceRoot":"","sources":["../../../../src/shared/types/animation.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,UAAU,EACV,gBAAgB,EAChB,gBAAgB,EAChB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,KAAK,EAAE,cAAc,E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OAEG;IACH,MAAM,EAAE,cAAc,CAAC;IAEvB;;OAEG;IACH,MAAM,EAAE,qBAAqB,CAAC;IAE9B;;;OAGG;IACH,QAAQ,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAE5C;;;OAGG;IACH,qBAAqB,EAAE,OAAO,CAAC;IAE/B;;;OAGG;IACH,YAAY,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,MAAM,uBAAuB,GAAG,CACrC,KAAK,EAAE,wBAAwB,KAC3B,2BAA2B,CAAC;AAEjC,MAAM,MAAM,2BAA2B,GAAG;IACzC;;OAEG;IACH,YAAY,CAAC,EAAE,UAAU,CAAC;IAE1B;;OAEG;IACH,YAAY,CAAC,EAAE,UAAU,CAAC;IAE1B;;OAEG;IACH,CAAC,EAAE,EAAE,MAAM,GAAG,UAAU,GAAG,SAAS,CAAC;CACrC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,gBAAgB,GAAG,gBAAgB,CAAC;AAElE;;GAEG;AACH,MAAM,WAAW,cAAc;IAC9B,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,KAAK,CAAC,EAAE,eAAe,CAAC;CACxB"}
@@ -1,8 +1,8 @@
1
+ export { FALSE, TRUE } from "../constants";
1
2
  export type { AnimationConfig, OverlayInterpolationProps, ScreenInterpolationProps, ScreenStyleInterpolator, ScreenTransitionState, TransitionInterpolatedStyle, TransitionSpec, } from "./animation.types";
2
3
  export type { BoundEntry, BoundsAccessor, BoundsLink, BoundsMethod, } from "./bounds.types";
3
4
  export type { ActivationArea, GestureActivationArea, GestureDirection, GestureValues, SideActivation, } from "./gesture.types";
4
5
  export type { OverlayMode, OverlayProps, } from "./overlay.types";
5
6
  export type { Layout, ScreenKey, ScreenTransitionConfig, TransitionAwareProps, } from "./screen.types";
6
- export type { BaseStackDescriptor, BaseStackNavigation, BaseStackRoute, BaseStackScene, BaseStackState, } from "./stack.types";
7
- export { FALSE, TRUE } from "./state.types";
7
+ export type { BaseStackDescriptor, BaseStackNavigation, BaseStackRoute, BaseStackScene, BaseStackState, DescriptorMap, } from "./stack.types";
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/shared/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACX,eAAe,EACf,yBAAyB,EACzB,wBAAwB,EACxB,uBAAuB,EACvB,qBAAqB,EACrB,2BAA2B,EAC3B,cAAc,GACd,MAAM,mBAAmB,CAAC;AAE3B,YAAY,EACX,UAAU,EACV,cAAc,EACd,UAAU,EACV,YAAY,GACZ,MAAM,gBAAgB,CAAC;AAExB,YAAY,EACX,cAAc,EACd,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,cAAc,GACd,MAAM,iBAAiB,CAAC;AAEzB,YAAY,EACX,WAAW,EACX,YAAY,GACZ,MAAM,iBAAiB,CAAC;AAEzB,YAAY,EACX,MAAM,EACN,SAAS,EACT,sBAAsB,EACtB,oBAAoB,GACpB,MAAM,gBAAgB,CAAC;AAExB,YAAY,EACX,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,EACd,cAAc,EACd,cAAc,GACd,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/shared/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAC3C,YAAY,EACX,eAAe,EACf,yBAAyB,EACzB,wBAAwB,EACxB,uBAAuB,EACvB,qBAAqB,EACrB,2BAA2B,EAC3B,cAAc,GACd,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EACX,UAAU,EACV,cAAc,EACd,UAAU,EACV,YAAY,GACZ,MAAM,gBAAgB,CAAC;AACxB,YAAY,EACX,cAAc,EACd,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,cAAc,GACd,MAAM,iBAAiB,CAAC;AACzB,YAAY,EACX,WAAW,EACX,YAAY,GACZ,MAAM,iBAAiB,CAAC;AACzB,YAAY,EACX,MAAM,EACN,SAAS,EACT,sBAAsB,EACtB,oBAAoB,GACpB,MAAM,gBAAgB,CAAC;AACxB,YAAY,EACX,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,EACd,cAAc,EACd,cAAc,EACd,aAAa,GACb,MAAM,eAAe,CAAC"}
@@ -1,6 +1,12 @@
1
1
  import type { Route } from "@react-navigation/native";
2
2
  import type { DerivedValue } from "react-native-reanimated";
3
3
  import type { OverlayInterpolationProps, ScreenInterpolationProps } from "./animation.types";
4
+ import type { ScreenTransitionConfig } from "./screen.types";
5
+ /**
6
+ * @deprecated Overlay mode is no longer needed. Overlays now always render as "float" mode.
7
+ * For per-screen overlays, render an absolute-positioned view directly in your screen component
8
+ * and use `useScreenAnimation()` to access animation values.
9
+ */
4
10
  export type OverlayMode = "float" | "screen";
5
11
  /**
6
12
  * Props passed to overlay components.
@@ -27,12 +33,27 @@ export type OverlayProps<TNavigation = unknown> = {
27
33
  * Navigation prop for the overlay.
28
34
  */
29
35
  navigation: TNavigation;
36
+ /**
37
+ * Screen options for the currently focused screen.
38
+ */
39
+ options: ScreenTransitionConfig;
40
+ /**
41
+ * Stack progress relative to the overlay's position.
42
+ * This is equivalent to `useScreenAnimation().stackProgress`.
43
+ */
44
+ progress: DerivedValue<number>;
30
45
  /**
31
46
  * Animation values for the overlay.
47
+ *
48
+ * @deprecated Use `progress` prop or `useScreenAnimation()` instead.
49
+ * This prop will be removed in a future version.
32
50
  */
33
51
  overlayAnimation: DerivedValue<OverlayInterpolationProps>;
34
52
  /**
35
53
  * Animation values for the screen.
54
+ *
55
+ * @deprecated Use `useScreenAnimation()` hook directly instead.
56
+ * This prop will be removed in a future version.
36
57
  */
37
58
  screenAnimation: DerivedValue<ScreenInterpolationProps>;
38
59
  };
@@ -1 +1 @@
1
- {"version":3,"file":"overlay.types.d.ts","sourceRoot":"","sources":["../../../../src/shared/types/overlay.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EACX,yBAAyB,EACzB,wBAAwB,EACxB,MAAM,mBAAmB,CAAC;AAE3B,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,QAAQ,CAAC;AAE7C;;;GAGG;AACH,MAAM,MAAM,YAAY,CAAC,WAAW,GAAG,OAAO,IAAI;IACjD;;OAEG;IACH,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE5B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC;IAExB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAE/B;;OAEG;IACH,UAAU,EAAE,WAAW,CAAC;IAExB;;OAEG;IACH,gBAAgB,EAAE,YAAY,CAAC,yBAAyB,CAAC,CAAC;IAE1D;;OAEG;IACH,eAAe,EAAE,YAAY,CAAC,wBAAwB,CAAC,CAAC;CACxD,CAAC"}
1
+ {"version":3,"file":"overlay.types.d.ts","sourceRoot":"","sources":["../../../../src/shared/types/overlay.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EACX,yBAAyB,EACzB,wBAAwB,EACxB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAE7D;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,QAAQ,CAAC;AAE7C;;;GAGG;AACH,MAAM,MAAM,YAAY,CAAC,WAAW,GAAG,OAAO,IAAI;IACjD;;OAEG;IACH,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE5B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC;IAExB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAE/B;;OAEG;IACH,UAAU,EAAE,WAAW,CAAC;IAExB;;OAEG;IACH,OAAO,EAAE,sBAAsB,CAAC;IAEhC;;;OAGG;IACH,QAAQ,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAE/B;;;;;OAKG;IACH,gBAAgB,EAAE,YAAY,CAAC,yBAAyB,CAAC,CAAC;IAE1D;;;;;OAKG;IACH,eAAe,EAAE,YAAY,CAAC,wBAAwB,CAAC,CAAC;CACxD,CAAC"}
@@ -93,10 +93,11 @@ export type ScreenTransitionConfig = {
93
93
  overlay?: (props: OverlayProps) => React.ReactNode;
94
94
  /**
95
95
  * How the overlay is positioned relative to screens.
96
- * - 'float': Single persistent overlay above all screens (like iOS tab bar)
97
- * - 'screen': Per-screen overlay that transitions with content
98
- * - 'container': Wraps all screen content, receives children prop (for MaskedView, custom containers)
99
- * @default 'screen'
96
+ *
97
+ * @deprecated This option is no longer needed. Overlays now always render as "float" mode
98
+ * (single persistent overlay above all screens). For per-screen overlays, render an
99
+ * absolute-positioned view directly in your screen component and use `useScreenAnimation()`
100
+ * to access animation values.
100
101
  */
101
102
  overlayMode?: OverlayMode;
102
103
  /**