@react-navigation/core 7.8.3 → 7.8.4

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 (373) hide show
  1. package/lib/typescript/src/BaseNavigationContainer.d.ts.map +1 -0
  2. package/lib/typescript/src/CurrentRenderContext.d.ts.map +1 -0
  3. package/lib/typescript/src/DeprecatedNavigationInChildContext.d.ts.map +1 -0
  4. package/lib/typescript/src/EnsureSingleNavigator.d.ts.map +1 -0
  5. package/lib/typescript/src/Group.d.ts.map +1 -0
  6. package/lib/typescript/src/NavigationBuilderContext.d.ts.map +1 -0
  7. package/lib/typescript/src/NavigationContainerRefContext.d.ts.map +1 -0
  8. package/lib/typescript/src/NavigationContext.d.ts.map +1 -0
  9. package/lib/typescript/src/NavigationFocusedRouteStateContext.d.ts.map +1 -0
  10. package/lib/typescript/src/NavigationHelpersContext.d.ts.map +1 -0
  11. package/lib/typescript/src/NavigationIndependentTree.d.ts.map +1 -0
  12. package/lib/typescript/src/NavigationIndependentTreeContext.d.ts.map +1 -0
  13. package/lib/typescript/src/NavigationRouteContext.d.ts.map +1 -0
  14. package/lib/typescript/src/NavigationStateContext.d.ts.map +1 -0
  15. package/lib/typescript/src/PreventRemoveContext.d.ts.map +1 -0
  16. package/lib/typescript/src/PreventRemoveProvider.d.ts.map +1 -0
  17. package/lib/typescript/src/SceneView.d.ts.map +1 -0
  18. package/lib/typescript/src/Screen.d.ts.map +1 -0
  19. package/lib/typescript/src/StaticContainer.d.ts.map +1 -0
  20. package/lib/typescript/src/StaticNavigation.d.ts.map +1 -0
  21. package/lib/typescript/src/UnhandledActionContext.d.ts.map +1 -0
  22. package/lib/typescript/src/arrayStartsWith.d.ts.map +1 -0
  23. package/lib/typescript/src/checkDuplicateRouteNames.d.ts.map +1 -0
  24. package/lib/typescript/src/checkSerializable.d.ts.map +1 -0
  25. package/lib/typescript/src/createNavigationContainerRef.d.ts.map +1 -0
  26. package/lib/typescript/src/createNavigatorFactory.d.ts.map +1 -0
  27. package/lib/typescript/src/deepFreeze.d.ts.map +1 -0
  28. package/lib/typescript/src/findFocusedRoute.d.ts.map +1 -0
  29. package/lib/typescript/src/getActionFromState.d.ts.map +1 -0
  30. package/lib/typescript/src/getFocusedRouteNameFromRoute.d.ts.map +1 -0
  31. package/lib/typescript/src/getPathFromState.d.ts.map +1 -0
  32. package/lib/typescript/src/getPatternParts.d.ts.map +1 -0
  33. package/lib/typescript/src/getStateFromPath.d.ts.map +1 -0
  34. package/lib/typescript/src/index.d.ts.map +1 -0
  35. package/lib/typescript/src/isArrayEqual.d.ts.map +1 -0
  36. package/lib/typescript/src/isRecordEqual.d.ts.map +1 -0
  37. package/lib/typescript/src/theming/ThemeContext.d.ts.map +1 -0
  38. package/lib/typescript/src/theming/ThemeProvider.d.ts.map +1 -0
  39. package/lib/typescript/src/theming/useTheme.d.ts.map +1 -0
  40. package/lib/typescript/src/types.d.ts.map +1 -0
  41. package/lib/typescript/src/useChildListeners.d.ts.map +1 -0
  42. package/lib/typescript/src/useComponent.d.ts.map +1 -0
  43. package/lib/typescript/src/useCurrentRender.d.ts.map +1 -0
  44. package/lib/typescript/src/useDescriptors.d.ts.map +1 -0
  45. package/lib/typescript/src/useEventEmitter.d.ts.map +1 -0
  46. package/lib/typescript/src/useFocusEffect.d.ts.map +1 -0
  47. package/lib/typescript/src/useFocusEvents.d.ts.map +1 -0
  48. package/lib/typescript/src/useFocusedListenersChildrenAdapter.d.ts.map +1 -0
  49. package/lib/typescript/src/useIsFocused.d.ts.map +1 -0
  50. package/lib/typescript/src/useIsomorphicLayoutEffect.d.ts.map +1 -0
  51. package/lib/typescript/src/useIsomorphicLayoutEffect.native.d.ts.map +1 -0
  52. package/lib/typescript/src/useKeyedChildListeners.d.ts.map +1 -0
  53. package/lib/typescript/src/useLazyValue.d.ts.map +1 -0
  54. package/lib/typescript/src/useNavigation.d.ts.map +1 -0
  55. package/lib/typescript/src/useNavigationBuilder.d.ts.map +1 -0
  56. package/lib/typescript/src/useNavigationCache.d.ts.map +1 -0
  57. package/lib/typescript/src/useNavigationContainerRef.d.ts.map +1 -0
  58. package/lib/typescript/src/useNavigationHelpers.d.ts.map +1 -0
  59. package/lib/typescript/src/useNavigationIndependentTree.d.ts.map +1 -0
  60. package/lib/typescript/src/useNavigationState.d.ts.map +1 -0
  61. package/lib/typescript/src/useOnAction.d.ts.map +1 -0
  62. package/lib/typescript/src/useOnGetState.d.ts.map +1 -0
  63. package/lib/typescript/src/useOnPreventRemove.d.ts.map +1 -0
  64. package/lib/typescript/src/useOnRouteFocus.d.ts.map +1 -0
  65. package/lib/typescript/src/useOptionsGetters.d.ts.map +1 -0
  66. package/lib/typescript/src/usePreventRemove.d.ts.map +1 -0
  67. package/lib/typescript/src/usePreventRemoveContext.d.ts.map +1 -0
  68. package/lib/typescript/src/useRegisterNavigator.d.ts.map +1 -0
  69. package/lib/typescript/src/useRoute.d.ts.map +1 -0
  70. package/lib/typescript/src/useRouteCache.d.ts.map +1 -0
  71. package/lib/typescript/src/useScheduleUpdate.d.ts.map +1 -0
  72. package/lib/typescript/src/useStateForPath.d.ts.map +1 -0
  73. package/lib/typescript/src/useSyncState.d.ts.map +1 -0
  74. package/lib/typescript/src/validatePathConfig.d.ts.map +1 -0
  75. package/package.json +10 -24
  76. package/lib/typescript/commonjs/package.json +0 -1
  77. package/lib/typescript/commonjs/src/BaseNavigationContainer.d.ts.map +0 -1
  78. package/lib/typescript/commonjs/src/CurrentRenderContext.d.ts.map +0 -1
  79. package/lib/typescript/commonjs/src/DeprecatedNavigationInChildContext.d.ts.map +0 -1
  80. package/lib/typescript/commonjs/src/EnsureSingleNavigator.d.ts.map +0 -1
  81. package/lib/typescript/commonjs/src/Group.d.ts.map +0 -1
  82. package/lib/typescript/commonjs/src/NavigationBuilderContext.d.ts.map +0 -1
  83. package/lib/typescript/commonjs/src/NavigationContainerRefContext.d.ts.map +0 -1
  84. package/lib/typescript/commonjs/src/NavigationContext.d.ts.map +0 -1
  85. package/lib/typescript/commonjs/src/NavigationFocusedRouteStateContext.d.ts.map +0 -1
  86. package/lib/typescript/commonjs/src/NavigationHelpersContext.d.ts.map +0 -1
  87. package/lib/typescript/commonjs/src/NavigationIndependentTree.d.ts.map +0 -1
  88. package/lib/typescript/commonjs/src/NavigationIndependentTreeContext.d.ts.map +0 -1
  89. package/lib/typescript/commonjs/src/NavigationRouteContext.d.ts.map +0 -1
  90. package/lib/typescript/commonjs/src/NavigationStateContext.d.ts.map +0 -1
  91. package/lib/typescript/commonjs/src/PreventRemoveContext.d.ts.map +0 -1
  92. package/lib/typescript/commonjs/src/PreventRemoveProvider.d.ts.map +0 -1
  93. package/lib/typescript/commonjs/src/SceneView.d.ts.map +0 -1
  94. package/lib/typescript/commonjs/src/Screen.d.ts.map +0 -1
  95. package/lib/typescript/commonjs/src/StaticContainer.d.ts.map +0 -1
  96. package/lib/typescript/commonjs/src/StaticNavigation.d.ts.map +0 -1
  97. package/lib/typescript/commonjs/src/UnhandledActionContext.d.ts.map +0 -1
  98. package/lib/typescript/commonjs/src/arrayStartsWith.d.ts.map +0 -1
  99. package/lib/typescript/commonjs/src/checkDuplicateRouteNames.d.ts.map +0 -1
  100. package/lib/typescript/commonjs/src/checkSerializable.d.ts.map +0 -1
  101. package/lib/typescript/commonjs/src/createNavigationContainerRef.d.ts.map +0 -1
  102. package/lib/typescript/commonjs/src/createNavigatorFactory.d.ts.map +0 -1
  103. package/lib/typescript/commonjs/src/deepFreeze.d.ts.map +0 -1
  104. package/lib/typescript/commonjs/src/findFocusedRoute.d.ts.map +0 -1
  105. package/lib/typescript/commonjs/src/getActionFromState.d.ts.map +0 -1
  106. package/lib/typescript/commonjs/src/getFocusedRouteNameFromRoute.d.ts.map +0 -1
  107. package/lib/typescript/commonjs/src/getPathFromState.d.ts.map +0 -1
  108. package/lib/typescript/commonjs/src/getPatternParts.d.ts.map +0 -1
  109. package/lib/typescript/commonjs/src/getStateFromPath.d.ts.map +0 -1
  110. package/lib/typescript/commonjs/src/index.d.ts.map +0 -1
  111. package/lib/typescript/commonjs/src/isArrayEqual.d.ts.map +0 -1
  112. package/lib/typescript/commonjs/src/isRecordEqual.d.ts.map +0 -1
  113. package/lib/typescript/commonjs/src/theming/ThemeContext.d.ts.map +0 -1
  114. package/lib/typescript/commonjs/src/theming/ThemeProvider.d.ts.map +0 -1
  115. package/lib/typescript/commonjs/src/theming/useTheme.d.ts.map +0 -1
  116. package/lib/typescript/commonjs/src/types.d.ts.map +0 -1
  117. package/lib/typescript/commonjs/src/useChildListeners.d.ts.map +0 -1
  118. package/lib/typescript/commonjs/src/useComponent.d.ts.map +0 -1
  119. package/lib/typescript/commonjs/src/useCurrentRender.d.ts.map +0 -1
  120. package/lib/typescript/commonjs/src/useDescriptors.d.ts.map +0 -1
  121. package/lib/typescript/commonjs/src/useEventEmitter.d.ts.map +0 -1
  122. package/lib/typescript/commonjs/src/useFocusEffect.d.ts.map +0 -1
  123. package/lib/typescript/commonjs/src/useFocusEvents.d.ts.map +0 -1
  124. package/lib/typescript/commonjs/src/useFocusedListenersChildrenAdapter.d.ts.map +0 -1
  125. package/lib/typescript/commonjs/src/useIsFocused.d.ts.map +0 -1
  126. package/lib/typescript/commonjs/src/useIsomorphicLayoutEffect.d.ts.map +0 -1
  127. package/lib/typescript/commonjs/src/useIsomorphicLayoutEffect.native.d.ts.map +0 -1
  128. package/lib/typescript/commonjs/src/useKeyedChildListeners.d.ts.map +0 -1
  129. package/lib/typescript/commonjs/src/useLazyValue.d.ts.map +0 -1
  130. package/lib/typescript/commonjs/src/useNavigation.d.ts.map +0 -1
  131. package/lib/typescript/commonjs/src/useNavigationBuilder.d.ts.map +0 -1
  132. package/lib/typescript/commonjs/src/useNavigationCache.d.ts.map +0 -1
  133. package/lib/typescript/commonjs/src/useNavigationContainerRef.d.ts.map +0 -1
  134. package/lib/typescript/commonjs/src/useNavigationHelpers.d.ts.map +0 -1
  135. package/lib/typescript/commonjs/src/useNavigationIndependentTree.d.ts.map +0 -1
  136. package/lib/typescript/commonjs/src/useNavigationState.d.ts.map +0 -1
  137. package/lib/typescript/commonjs/src/useOnAction.d.ts.map +0 -1
  138. package/lib/typescript/commonjs/src/useOnGetState.d.ts.map +0 -1
  139. package/lib/typescript/commonjs/src/useOnPreventRemove.d.ts.map +0 -1
  140. package/lib/typescript/commonjs/src/useOnRouteFocus.d.ts.map +0 -1
  141. package/lib/typescript/commonjs/src/useOptionsGetters.d.ts.map +0 -1
  142. package/lib/typescript/commonjs/src/usePreventRemove.d.ts.map +0 -1
  143. package/lib/typescript/commonjs/src/usePreventRemoveContext.d.ts.map +0 -1
  144. package/lib/typescript/commonjs/src/useRegisterNavigator.d.ts.map +0 -1
  145. package/lib/typescript/commonjs/src/useRoute.d.ts.map +0 -1
  146. package/lib/typescript/commonjs/src/useRouteCache.d.ts.map +0 -1
  147. package/lib/typescript/commonjs/src/useScheduleUpdate.d.ts.map +0 -1
  148. package/lib/typescript/commonjs/src/useStateForPath.d.ts.map +0 -1
  149. package/lib/typescript/commonjs/src/useSyncState.d.ts.map +0 -1
  150. package/lib/typescript/commonjs/src/validatePathConfig.d.ts.map +0 -1
  151. package/lib/typescript/module/src/BaseNavigationContainer.d.ts +0 -17
  152. package/lib/typescript/module/src/BaseNavigationContainer.d.ts.map +0 -1
  153. package/lib/typescript/module/src/CurrentRenderContext.d.ts +0 -9
  154. package/lib/typescript/module/src/CurrentRenderContext.d.ts.map +0 -1
  155. package/lib/typescript/module/src/DeprecatedNavigationInChildContext.d.ts +0 -6
  156. package/lib/typescript/module/src/DeprecatedNavigationInChildContext.d.ts.map +0 -1
  157. package/lib/typescript/module/src/EnsureSingleNavigator.d.ts +0 -14
  158. package/lib/typescript/module/src/EnsureSingleNavigator.d.ts.map +0 -1
  159. package/lib/typescript/module/src/Group.d.ts +0 -7
  160. package/lib/typescript/module/src/Group.d.ts.map +0 -1
  161. package/lib/typescript/module/src/NavigationBuilderContext.d.ts +0 -36
  162. package/lib/typescript/module/src/NavigationBuilderContext.d.ts.map +0 -1
  163. package/lib/typescript/module/src/NavigationContainerRefContext.d.ts +0 -8
  164. package/lib/typescript/module/src/NavigationContainerRefContext.d.ts.map +0 -1
  165. package/lib/typescript/module/src/NavigationContext.d.ts +0 -8
  166. package/lib/typescript/module/src/NavigationContext.d.ts.map +0 -1
  167. package/lib/typescript/module/src/NavigationFocusedRouteStateContext.d.ts +0 -17
  168. package/lib/typescript/module/src/NavigationFocusedRouteStateContext.d.ts.map +0 -1
  169. package/lib/typescript/module/src/NavigationHelpersContext.d.ts +0 -9
  170. package/lib/typescript/module/src/NavigationHelpersContext.d.ts.map +0 -1
  171. package/lib/typescript/module/src/NavigationIndependentTree.d.ts +0 -8
  172. package/lib/typescript/module/src/NavigationIndependentTree.d.ts.map +0 -1
  173. package/lib/typescript/module/src/NavigationIndependentTreeContext.d.ts +0 -6
  174. package/lib/typescript/module/src/NavigationIndependentTreeContext.d.ts.map +0 -1
  175. package/lib/typescript/module/src/NavigationRouteContext.d.ts +0 -7
  176. package/lib/typescript/module/src/NavigationRouteContext.d.ts.map +0 -1
  177. package/lib/typescript/module/src/NavigationStateContext.d.ts +0 -13
  178. package/lib/typescript/module/src/NavigationStateContext.d.ts.map +0 -1
  179. package/lib/typescript/module/src/PreventRemoveContext.d.ts +0 -13
  180. package/lib/typescript/module/src/PreventRemoveContext.d.ts.map +0 -1
  181. package/lib/typescript/module/src/PreventRemoveProvider.d.ts +0 -10
  182. package/lib/typescript/module/src/PreventRemoveProvider.d.ts.map +0 -1
  183. package/lib/typescript/module/src/SceneView.d.ts +0 -21
  184. package/lib/typescript/module/src/SceneView.d.ts.map +0 -1
  185. package/lib/typescript/module/src/Screen.d.ts +0 -7
  186. package/lib/typescript/module/src/Screen.d.ts.map +0 -1
  187. package/lib/typescript/module/src/StaticContainer.d.ts +0 -6
  188. package/lib/typescript/module/src/StaticContainer.d.ts.map +0 -1
  189. package/lib/typescript/module/src/StaticNavigation.d.ts +0 -188
  190. package/lib/typescript/module/src/StaticNavigation.d.ts.map +0 -1
  191. package/lib/typescript/module/src/UnhandledActionContext.d.ts +0 -4
  192. package/lib/typescript/module/src/UnhandledActionContext.d.ts.map +0 -1
  193. package/lib/typescript/module/src/arrayStartsWith.d.ts +0 -5
  194. package/lib/typescript/module/src/arrayStartsWith.d.ts.map +0 -1
  195. package/lib/typescript/module/src/checkDuplicateRouteNames.d.ts +0 -3
  196. package/lib/typescript/module/src/checkDuplicateRouteNames.d.ts.map +0 -1
  197. package/lib/typescript/module/src/checkSerializable.d.ts +0 -10
  198. package/lib/typescript/module/src/checkSerializable.d.ts.map +0 -1
  199. package/lib/typescript/module/src/createNavigationContainerRef.d.ts +0 -4
  200. package/lib/typescript/module/src/createNavigationContainerRef.d.ts.map +0 -1
  201. package/lib/typescript/module/src/createNavigatorFactory.d.ts +0 -10
  202. package/lib/typescript/module/src/createNavigatorFactory.d.ts.map +0 -1
  203. package/lib/typescript/module/src/deepFreeze.d.ts +0 -3
  204. package/lib/typescript/module/src/deepFreeze.d.ts.map +0 -1
  205. package/lib/typescript/module/src/findFocusedRoute.d.ts +0 -10
  206. package/lib/typescript/module/src/findFocusedRoute.d.ts.map +0 -1
  207. package/lib/typescript/module/src/getActionFromState.d.ts +0 -17
  208. package/lib/typescript/module/src/getActionFromState.d.ts.map +0 -1
  209. package/lib/typescript/module/src/getFocusedRouteNameFromRoute.d.ts +0 -3
  210. package/lib/typescript/module/src/getFocusedRouteNameFromRoute.d.ts.map +0 -1
  211. package/lib/typescript/module/src/getPathFromState.d.ts +0 -40
  212. package/lib/typescript/module/src/getPathFromState.d.ts.map +0 -1
  213. package/lib/typescript/module/src/getPatternParts.d.ts +0 -11
  214. package/lib/typescript/module/src/getPatternParts.d.ts.map +0 -1
  215. package/lib/typescript/module/src/getStateFromPath.d.ts +0 -34
  216. package/lib/typescript/module/src/getStateFromPath.d.ts.map +0 -1
  217. package/lib/typescript/module/src/index.d.ts +0 -35
  218. package/lib/typescript/module/src/index.d.ts.map +0 -1
  219. package/lib/typescript/module/src/isArrayEqual.d.ts +0 -6
  220. package/lib/typescript/module/src/isArrayEqual.d.ts.map +0 -1
  221. package/lib/typescript/module/src/isRecordEqual.d.ts +0 -5
  222. package/lib/typescript/module/src/isRecordEqual.d.ts.map +0 -1
  223. package/lib/typescript/module/src/theming/ThemeContext.d.ts +0 -3
  224. package/lib/typescript/module/src/theming/ThemeContext.d.ts.map +0 -1
  225. package/lib/typescript/module/src/theming/ThemeProvider.d.ts +0 -8
  226. package/lib/typescript/module/src/theming/ThemeProvider.d.ts.map +0 -1
  227. package/lib/typescript/module/src/theming/useTheme.d.ts +0 -2
  228. package/lib/typescript/module/src/theming/useTheme.d.ts.map +0 -1
  229. package/lib/typescript/module/src/types.d.ts +0 -732
  230. package/lib/typescript/module/src/types.d.ts.map +0 -1
  231. package/lib/typescript/module/src/useChildListeners.d.ts +0 -12
  232. package/lib/typescript/module/src/useChildListeners.d.ts.map +0 -1
  233. package/lib/typescript/module/src/useComponent.d.ts +0 -7
  234. package/lib/typescript/module/src/useComponent.d.ts.map +0 -1
  235. package/lib/typescript/module/src/useCurrentRender.d.ts +0 -14
  236. package/lib/typescript/module/src/useCurrentRender.d.ts.map +0 -1
  237. package/lib/typescript/module/src/useDescriptors.d.ts +0 -141
  238. package/lib/typescript/module/src/useDescriptors.d.ts.map +0 -1
  239. package/lib/typescript/module/src/useEventEmitter.d.ts +0 -9
  240. package/lib/typescript/module/src/useEventEmitter.d.ts.map +0 -1
  241. package/lib/typescript/module/src/useFocusEffect.d.ts +0 -11
  242. package/lib/typescript/module/src/useFocusEffect.d.ts.map +0 -1
  243. package/lib/typescript/module/src/useFocusEvents.d.ts +0 -13
  244. package/lib/typescript/module/src/useFocusEvents.d.ts.map +0 -1
  245. package/lib/typescript/module/src/useFocusedListenersChildrenAdapter.d.ts +0 -13
  246. package/lib/typescript/module/src/useFocusedListenersChildrenAdapter.d.ts.map +0 -1
  247. package/lib/typescript/module/src/useIsFocused.d.ts +0 -6
  248. package/lib/typescript/module/src/useIsFocused.d.ts.map +0 -1
  249. package/lib/typescript/module/src/useIsomorphicLayoutEffect.d.ts +0 -6
  250. package/lib/typescript/module/src/useIsomorphicLayoutEffect.d.ts.map +0 -1
  251. package/lib/typescript/module/src/useIsomorphicLayoutEffect.native.d.ts +0 -3
  252. package/lib/typescript/module/src/useIsomorphicLayoutEffect.native.d.ts.map +0 -1
  253. package/lib/typescript/module/src/useKeyedChildListeners.d.ts +0 -12
  254. package/lib/typescript/module/src/useKeyedChildListeners.d.ts.map +0 -1
  255. package/lib/typescript/module/src/useLazyValue.d.ts +0 -2
  256. package/lib/typescript/module/src/useLazyValue.d.ts.map +0 -1
  257. package/lib/typescript/module/src/useNavigation.d.ts +0 -11
  258. package/lib/typescript/module/src/useNavigation.d.ts.map +0 -1
  259. package/lib/typescript/module/src/useNavigationBuilder.d.ts +0 -193
  260. package/lib/typescript/module/src/useNavigationBuilder.d.ts.map +0 -1
  261. package/lib/typescript/module/src/useNavigationCache.d.ts +0 -69
  262. package/lib/typescript/module/src/useNavigationCache.d.ts.map +0 -1
  263. package/lib/typescript/module/src/useNavigationContainerRef.d.ts +0 -3
  264. package/lib/typescript/module/src/useNavigationContainerRef.d.ts.map +0 -1
  265. package/lib/typescript/module/src/useNavigationHelpers.d.ts +0 -102
  266. package/lib/typescript/module/src/useNavigationHelpers.d.ts.map +0 -1
  267. package/lib/typescript/module/src/useNavigationIndependentTree.d.ts +0 -2
  268. package/lib/typescript/module/src/useNavigationIndependentTree.d.ts.map +0 -1
  269. package/lib/typescript/module/src/useNavigationState.d.ts +0 -10
  270. package/lib/typescript/module/src/useNavigationState.d.ts.map +0 -1
  271. package/lib/typescript/module/src/useOnAction.d.ts +0 -26
  272. package/lib/typescript/module/src/useOnAction.d.ts.map +0 -1
  273. package/lib/typescript/module/src/useOnGetState.d.ts +0 -9
  274. package/lib/typescript/module/src/useOnGetState.d.ts.map +0 -1
  275. package/lib/typescript/module/src/useOnPreventRemove.d.ts +0 -17
  276. package/lib/typescript/module/src/useOnPreventRemove.d.ts.map +0 -1
  277. package/lib/typescript/module/src/useOnRouteFocus.d.ts +0 -15
  278. package/lib/typescript/module/src/useOnRouteFocus.d.ts.map +0 -1
  279. package/lib/typescript/module/src/useOptionsGetters.d.ts +0 -13
  280. package/lib/typescript/module/src/useOptionsGetters.d.ts.map +0 -1
  281. package/lib/typescript/module/src/usePreventRemove.d.ts +0 -13
  282. package/lib/typescript/module/src/usePreventRemove.d.ts.map +0 -1
  283. package/lib/typescript/module/src/usePreventRemoveContext.d.ts +0 -5
  284. package/lib/typescript/module/src/usePreventRemoveContext.d.ts.map +0 -1
  285. package/lib/typescript/module/src/useRegisterNavigator.d.ts +0 -6
  286. package/lib/typescript/module/src/useRegisterNavigator.d.ts.map +0 -1
  287. package/lib/typescript/module/src/useRoute.d.ts +0 -9
  288. package/lib/typescript/module/src/useRoute.d.ts.map +0 -1
  289. package/lib/typescript/module/src/useRouteCache.d.ts +0 -14
  290. package/lib/typescript/module/src/useRouteCache.d.ts.map +0 -1
  291. package/lib/typescript/module/src/useScheduleUpdate.d.ts +0 -9
  292. package/lib/typescript/module/src/useScheduleUpdate.d.ts.map +0 -1
  293. package/lib/typescript/module/src/useStateForPath.d.ts +0 -8
  294. package/lib/typescript/module/src/useStateForPath.d.ts.map +0 -1
  295. package/lib/typescript/module/src/useSyncState.d.ts +0 -8
  296. package/lib/typescript/module/src/useSyncState.d.ts.map +0 -1
  297. package/lib/typescript/module/src/validatePathConfig.d.ts +0 -2
  298. package/lib/typescript/module/src/validatePathConfig.d.ts.map +0 -1
  299. /package/lib/typescript/{module/package.json → package.json} +0 -0
  300. /package/lib/typescript/{commonjs/src → src}/BaseNavigationContainer.d.ts +0 -0
  301. /package/lib/typescript/{commonjs/src → src}/CurrentRenderContext.d.ts +0 -0
  302. /package/lib/typescript/{commonjs/src → src}/DeprecatedNavigationInChildContext.d.ts +0 -0
  303. /package/lib/typescript/{commonjs/src → src}/EnsureSingleNavigator.d.ts +0 -0
  304. /package/lib/typescript/{commonjs/src → src}/Group.d.ts +0 -0
  305. /package/lib/typescript/{commonjs/src → src}/NavigationBuilderContext.d.ts +0 -0
  306. /package/lib/typescript/{commonjs/src → src}/NavigationContainerRefContext.d.ts +0 -0
  307. /package/lib/typescript/{commonjs/src → src}/NavigationContext.d.ts +0 -0
  308. /package/lib/typescript/{commonjs/src → src}/NavigationFocusedRouteStateContext.d.ts +0 -0
  309. /package/lib/typescript/{commonjs/src → src}/NavigationHelpersContext.d.ts +0 -0
  310. /package/lib/typescript/{commonjs/src → src}/NavigationIndependentTree.d.ts +0 -0
  311. /package/lib/typescript/{commonjs/src → src}/NavigationIndependentTreeContext.d.ts +0 -0
  312. /package/lib/typescript/{commonjs/src → src}/NavigationRouteContext.d.ts +0 -0
  313. /package/lib/typescript/{commonjs/src → src}/NavigationStateContext.d.ts +0 -0
  314. /package/lib/typescript/{commonjs/src → src}/PreventRemoveContext.d.ts +0 -0
  315. /package/lib/typescript/{commonjs/src → src}/PreventRemoveProvider.d.ts +0 -0
  316. /package/lib/typescript/{commonjs/src → src}/SceneView.d.ts +0 -0
  317. /package/lib/typescript/{commonjs/src → src}/Screen.d.ts +0 -0
  318. /package/lib/typescript/{commonjs/src → src}/StaticContainer.d.ts +0 -0
  319. /package/lib/typescript/{commonjs/src → src}/StaticNavigation.d.ts +0 -0
  320. /package/lib/typescript/{commonjs/src → src}/UnhandledActionContext.d.ts +0 -0
  321. /package/lib/typescript/{commonjs/src → src}/arrayStartsWith.d.ts +0 -0
  322. /package/lib/typescript/{commonjs/src → src}/checkDuplicateRouteNames.d.ts +0 -0
  323. /package/lib/typescript/{commonjs/src → src}/checkSerializable.d.ts +0 -0
  324. /package/lib/typescript/{commonjs/src → src}/createNavigationContainerRef.d.ts +0 -0
  325. /package/lib/typescript/{commonjs/src → src}/createNavigatorFactory.d.ts +0 -0
  326. /package/lib/typescript/{commonjs/src → src}/deepFreeze.d.ts +0 -0
  327. /package/lib/typescript/{commonjs/src → src}/findFocusedRoute.d.ts +0 -0
  328. /package/lib/typescript/{commonjs/src → src}/getActionFromState.d.ts +0 -0
  329. /package/lib/typescript/{commonjs/src → src}/getFocusedRouteNameFromRoute.d.ts +0 -0
  330. /package/lib/typescript/{commonjs/src → src}/getPathFromState.d.ts +0 -0
  331. /package/lib/typescript/{commonjs/src → src}/getPatternParts.d.ts +0 -0
  332. /package/lib/typescript/{commonjs/src → src}/getStateFromPath.d.ts +0 -0
  333. /package/lib/typescript/{commonjs/src → src}/index.d.ts +0 -0
  334. /package/lib/typescript/{commonjs/src → src}/isArrayEqual.d.ts +0 -0
  335. /package/lib/typescript/{commonjs/src → src}/isRecordEqual.d.ts +0 -0
  336. /package/lib/typescript/{commonjs/src → src}/theming/ThemeContext.d.ts +0 -0
  337. /package/lib/typescript/{commonjs/src → src}/theming/ThemeProvider.d.ts +0 -0
  338. /package/lib/typescript/{commonjs/src → src}/theming/useTheme.d.ts +0 -0
  339. /package/lib/typescript/{commonjs/src → src}/types.d.ts +0 -0
  340. /package/lib/typescript/{commonjs/src → src}/useChildListeners.d.ts +0 -0
  341. /package/lib/typescript/{commonjs/src → src}/useComponent.d.ts +0 -0
  342. /package/lib/typescript/{commonjs/src → src}/useCurrentRender.d.ts +0 -0
  343. /package/lib/typescript/{commonjs/src → src}/useDescriptors.d.ts +0 -0
  344. /package/lib/typescript/{commonjs/src → src}/useEventEmitter.d.ts +0 -0
  345. /package/lib/typescript/{commonjs/src → src}/useFocusEffect.d.ts +0 -0
  346. /package/lib/typescript/{commonjs/src → src}/useFocusEvents.d.ts +0 -0
  347. /package/lib/typescript/{commonjs/src → src}/useFocusedListenersChildrenAdapter.d.ts +0 -0
  348. /package/lib/typescript/{commonjs/src → src}/useIsFocused.d.ts +0 -0
  349. /package/lib/typescript/{commonjs/src → src}/useIsomorphicLayoutEffect.d.ts +0 -0
  350. /package/lib/typescript/{commonjs/src → src}/useIsomorphicLayoutEffect.native.d.ts +0 -0
  351. /package/lib/typescript/{commonjs/src → src}/useKeyedChildListeners.d.ts +0 -0
  352. /package/lib/typescript/{commonjs/src → src}/useLazyValue.d.ts +0 -0
  353. /package/lib/typescript/{commonjs/src → src}/useNavigation.d.ts +0 -0
  354. /package/lib/typescript/{commonjs/src → src}/useNavigationBuilder.d.ts +0 -0
  355. /package/lib/typescript/{commonjs/src → src}/useNavigationCache.d.ts +0 -0
  356. /package/lib/typescript/{commonjs/src → src}/useNavigationContainerRef.d.ts +0 -0
  357. /package/lib/typescript/{commonjs/src → src}/useNavigationHelpers.d.ts +0 -0
  358. /package/lib/typescript/{commonjs/src → src}/useNavigationIndependentTree.d.ts +0 -0
  359. /package/lib/typescript/{commonjs/src → src}/useNavigationState.d.ts +0 -0
  360. /package/lib/typescript/{commonjs/src → src}/useOnAction.d.ts +0 -0
  361. /package/lib/typescript/{commonjs/src → src}/useOnGetState.d.ts +0 -0
  362. /package/lib/typescript/{commonjs/src → src}/useOnPreventRemove.d.ts +0 -0
  363. /package/lib/typescript/{commonjs/src → src}/useOnRouteFocus.d.ts +0 -0
  364. /package/lib/typescript/{commonjs/src → src}/useOptionsGetters.d.ts +0 -0
  365. /package/lib/typescript/{commonjs/src → src}/usePreventRemove.d.ts +0 -0
  366. /package/lib/typescript/{commonjs/src → src}/usePreventRemoveContext.d.ts +0 -0
  367. /package/lib/typescript/{commonjs/src → src}/useRegisterNavigator.d.ts +0 -0
  368. /package/lib/typescript/{commonjs/src → src}/useRoute.d.ts +0 -0
  369. /package/lib/typescript/{commonjs/src → src}/useRouteCache.d.ts +0 -0
  370. /package/lib/typescript/{commonjs/src → src}/useScheduleUpdate.d.ts +0 -0
  371. /package/lib/typescript/{commonjs/src → src}/useStateForPath.d.ts +0 -0
  372. /package/lib/typescript/{commonjs/src → src}/useSyncState.d.ts +0 -0
  373. /package/lib/typescript/{commonjs/src → src}/validatePathConfig.d.ts +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"SceneView.d.ts","sourceRoot":"","sources":["../../../../src/SceneView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,aAAa,EACb,YAAY,EACZ,KAAK,EACN,MAAM,2BAA2B,CAAC;AAUnC,OAAO,KAAK,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAGpE,KAAK,KAAK,CAAC,KAAK,SAAS,eAAe,EAAE,aAAa,SAAS,EAAE,IAAI;IACpE,MAAM,EAAE,oBAAoB,CAAC,aAAa,EAAE,MAAM,CAAC,GAAG;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IACvE,UAAU,EAAE,cAAc,CACxB,aAAa,EACb,MAAM,EACN,MAAM,GAAG,SAAS,EAClB,KAAK,EACL,aAAa,CACd,CAAC;IACF,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB,UAAU,EAAE,eAAe,GAAG,YAAY,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC;IACxE,QAAQ,EAAE,MAAM,KAAK,CAAC;IACtB,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAEF;;;GAGG;AACH,wBAAgB,SAAS,CACvB,KAAK,SAAS,eAAe,EAC7B,aAAa,SAAS,EAAE,EACxB,EACA,MAAM,EACN,KAAK,EACL,UAAU,EACV,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,YAAY,GACb,EAAE,KAAK,CAAC,KAAK,EAAE,aAAa,CAAC,2CAuK7B"}
@@ -1,7 +0,0 @@
1
- import type { NavigationState, ParamListBase } from '@react-navigation/routers';
2
- import type { EventMapBase, RouteConfig } from './types';
3
- /**
4
- * Empty component used for specifying route configuration.
5
- */
6
- export declare function Screen<ParamList extends ParamListBase, RouteName extends keyof ParamList, State extends NavigationState, ScreenOptions extends {}, EventMap extends EventMapBase, NavigationProp>(_: RouteConfig<ParamList, RouteName, State, ScreenOptions, EventMap, NavigationProp>): null;
7
- //# sourceMappingURL=Screen.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Screen.d.ts","sourceRoot":"","sources":["../../../../src/Screen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAEhF,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEzD;;GAEG;AACH,wBAAgB,MAAM,CACpB,SAAS,SAAS,aAAa,EAC/B,SAAS,SAAS,MAAM,SAAS,EACjC,KAAK,SAAS,eAAe,EAC7B,aAAa,SAAS,EAAE,EACxB,QAAQ,SAAS,YAAY,EAC7B,cAAc,EAEd,CAAC,EAAE,WAAW,CACZ,SAAS,EACT,SAAS,EACT,KAAK,EACL,aAAa,EACb,QAAQ,EACR,cAAc,CACf,QAIF"}
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- /**
3
- * Component which prevents updates for children if no props changed
4
- */
5
- export declare const StaticContainer: React.NamedExoticComponent<any>;
6
- //# sourceMappingURL=StaticContainer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StaticContainer.d.ts","sourceRoot":"","sources":["../../../../src/StaticContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B;;GAEG;AACH,eAAO,MAAM,eAAe,iCAwB3B,CAAC"}
@@ -1,188 +0,0 @@
1
- import type { NavigationState, ParamListBase } from '@react-navigation/routers';
2
- import * as React from 'react';
3
- import type { DefaultNavigatorOptions, EventMapBase, NavigationListBase, NavigatorScreenParams, NavigatorTypeBagBase, PathConfig, RouteConfigComponent, RouteConfigProps, RouteGroupConfig } from './types';
4
- /**
5
- * Flatten a type to remove all type alias names, unions etc.
6
- * This will show a plain object when hovering over the type.
7
- */
8
- type FlatType<T> = {
9
- [K in keyof T]: T[K];
10
- } & {};
11
- /**
12
- * keyof T doesn't work for union types. We can use distributive conditional types instead.
13
- * https://www.typescriptlang.org/docs/handbook/2/conditional-types.html#distributive-conditional-types
14
- */
15
- type KeysOf<T> = T extends {} ? keyof T : never;
16
- /**
17
- * We get a union type when using keyof, but we want an intersection instead.
18
- * https://stackoverflow.com/a/50375286/1665026
19
- */
20
- type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
21
- type UnknownToUndefined<T> = unknown extends T ? undefined : T;
22
- type ParamsForScreenComponent<T> = T extends {
23
- screen: React.ComponentType<{
24
- route: {
25
- params: infer P;
26
- };
27
- }>;
28
- } ? P : T extends React.ComponentType<{
29
- route: {
30
- params: infer P;
31
- };
32
- }> ? P : undefined;
33
- type ParamsForScreen<T> = T extends {
34
- screen: StaticNavigation<any, any, any>;
35
- } ? NavigatorScreenParams<StaticParamList<T['screen']>> | undefined : T extends StaticNavigation<any, any, any> ? NavigatorScreenParams<StaticParamList<T>> | undefined : UnknownToUndefined<ParamsForScreenComponent<T>>;
36
- type ParamListForScreens<Screens> = {
37
- [Key in KeysOf<Screens>]: ParamsForScreen<Screens[Key]>;
38
- };
39
- type ParamListForGroups<Groups extends Readonly<{
40
- [key: string]: {
41
- screens: StaticConfigScreens<ParamListBase, NavigationState, {}, EventMapBase, any>;
42
- };
43
- }> | undefined> = Groups extends {
44
- [key: string]: {
45
- screens: StaticConfigScreens<ParamListBase, NavigationState, {}, EventMapBase, any>;
46
- };
47
- } ? ParamListForScreens<UnionToIntersection<Groups[keyof Groups]['screens']>> : {};
48
- type StaticRouteConfig<ParamList extends ParamListBase, RouteName extends keyof ParamList, State extends NavigationState, ScreenOptions extends {}, EventMap extends EventMapBase, Navigation> = RouteConfigProps<ParamList, RouteName, State, ScreenOptions, EventMap, Navigation> & RouteConfigComponent<ParamList, RouteName>;
49
- type StaticConfigScreens<ParamList extends ParamListBase, State extends NavigationState, ScreenOptions extends {}, EventMap extends EventMapBase, NavigationList extends NavigationListBase<ParamList>> = {
50
- [RouteName in keyof ParamList]: React.ComponentType<any> | StaticNavigation<any, any, any> | (Omit<StaticRouteConfig<ParamList, RouteName, State, ScreenOptions, EventMap, NavigationList[RouteName]>, 'name' | 'component' | 'getComponent' | 'children'> & {
51
- /**
52
- * Callback to determine whether the screen should be rendered or not.
53
- * This can be useful for conditional rendering of screens,
54
- * e.g. - if you want to render a different screen for logged in users.
55
- *
56
- * You can use a custom hook to use custom logic to determine the return value.
57
- *
58
- * @example
59
- * ```js
60
- * if: useIsLoggedIn
61
- * ```
62
- */
63
- if?: () => boolean;
64
- /**
65
- * Linking config for the screen.
66
- * This can be a string to specify the path, or an object with more options.
67
- *
68
- * @example
69
- * ```js
70
- * linking: {
71
- * path: 'profile/:id',
72
- * exact: true,
73
- * },
74
- * ```
75
- */
76
- linking?: PathConfig<ParamList> | string;
77
- /**
78
- * Static navigation config or Component to render for the screen.
79
- */
80
- screen: StaticNavigation<any, any, any> | React.ComponentType<any>;
81
- });
82
- };
83
- type GroupConfig<ParamList extends ParamListBase, State extends NavigationState, ScreenOptions extends {}, EventMap extends EventMapBase, NavigationList extends NavigationListBase<ParamList>> = Omit<RouteGroupConfig<ParamList, ScreenOptions, NavigationList[keyof ParamList]>, 'screens' | 'children'> & {
84
- /**
85
- * Callback to determine whether the screens in the group should be rendered or not.
86
- * This can be useful for conditional rendering of group of screens.
87
- */
88
- if?: () => boolean;
89
- /**
90
- * Static navigation config or Component to render for the screen.
91
- */
92
- screens: StaticConfigScreens<ParamList, State, ScreenOptions, EventMap, NavigationList>;
93
- };
94
- export type StaticConfig<Bag extends NavigatorTypeBagBase> = StaticConfigInternal<Bag['ParamList'], Bag['NavigatorID'], Bag['State'], Bag['ScreenOptions'], Bag['EventMap'], Bag['NavigationList'], Bag['Navigator']>;
95
- type StaticConfigInternal<ParamList extends ParamListBase, NavigatorID extends string | undefined, State extends NavigationState, ScreenOptions extends {}, EventMap extends EventMapBase, NavigationList extends NavigationListBase<ParamList>, Navigator extends React.ComponentType<any>> = Omit<Omit<React.ComponentProps<Navigator>, keyof DefaultNavigatorOptions<ParamListBase, string | undefined, NavigationState, {}, EventMapBase, NavigationList[keyof ParamList]>> & DefaultNavigatorOptions<ParamList, NavigatorID, State, ScreenOptions, EventMap, NavigationList[keyof ParamList]>, 'screens' | 'children'> & ({
96
- /**
97
- * Screens to render in the navigator and their configuration.
98
- */
99
- screens: StaticConfigScreens<ParamList, State, ScreenOptions, EventMap, NavigationList>;
100
- /**
101
- * Groups of screens to render in the navigator and their configuration.
102
- */
103
- groups?: {
104
- [key: string]: GroupConfig<ParamList, State, ScreenOptions, EventMap, NavigationList>;
105
- };
106
- } | {
107
- /**
108
- * Screens to render in the navigator and their configuration.
109
- */
110
- screens?: StaticConfigScreens<ParamList, State, ScreenOptions, EventMap, NavigationList>;
111
- /**
112
- * Groups of screens to render in the navigator and their configuration.
113
- */
114
- groups: {
115
- [key: string]: GroupConfig<ParamList, State, ScreenOptions, EventMap, NavigationList>;
116
- };
117
- });
118
- /**
119
- * Props for a screen component which is rendered by a static navigator.
120
- * Takes the route params as a generic argument.
121
- */
122
- export type StaticScreenProps<T extends Record<string, unknown> | undefined> = {
123
- route: {
124
- params: T;
125
- };
126
- };
127
- /**
128
- * Infer the param list from the static navigation config.
129
- */
130
- export type StaticParamList<T extends {
131
- readonly config: {
132
- readonly screens?: Record<string, any>;
133
- readonly groups?: {
134
- [key: string]: {
135
- screens: Record<string, any>;
136
- };
137
- };
138
- };
139
- }> = FlatType<ParamListForScreens<T['config']['screens']> & ParamListForGroups<T['config']['groups']>>;
140
- export type StaticNavigation<NavigatorProps, GroupProps, ScreenProps> = {
141
- Navigator: React.ComponentType<NavigatorProps>;
142
- Group: React.ComponentType<GroupProps>;
143
- Screen: React.ComponentType<ScreenProps>;
144
- config: StaticConfig<NavigatorTypeBagBase>;
145
- };
146
- /**
147
- * Create a component that renders a navigator based on the static configuration.
148
- *
149
- * @param tree Static navigation config.
150
- * @param displayName Name of the component to be displayed in React DevTools.
151
- * @returns A component which renders the navigator.
152
- */
153
- export declare function createComponentForStaticNavigation(tree: StaticNavigation<any, any, any>, displayName: string): React.ComponentType<{}>;
154
- type TreeForPathConfig = {
155
- config: {
156
- initialRouteName?: string;
157
- screens?: StaticConfigScreens<ParamListBase, NavigationState, {}, EventMapBase, Record<string, unknown>>;
158
- groups?: {
159
- [key: string]: {
160
- screens: StaticConfigScreens<ParamListBase, NavigationState, {}, EventMapBase, Record<string, unknown>>;
161
- };
162
- };
163
- };
164
- };
165
- /**
166
- * Create a path config object from a static navigation config for deep linking.
167
- *
168
- * @param tree Static navigation config.
169
- * @param options Additional options from `linking.config`.
170
- * @param auto Whether to automatically generate paths for leaf screens.
171
- * @returns Path config object to use in linking config.
172
- *
173
- * @example
174
- * ```js
175
- * const config = {
176
- * screens: {
177
- * Home: {
178
- * screens: createPathConfigForStaticNavigation(HomeTabs),
179
- * },
180
- * },
181
- * };
182
- * ```
183
- */
184
- export declare function createPathConfigForStaticNavigation(tree: TreeForPathConfig, options?: {
185
- initialRouteName?: string;
186
- }, auto?: boolean): {} | undefined;
187
- export {};
188
- //# sourceMappingURL=StaticNavigation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StaticNavigation.d.ts","sourceRoot":"","sources":["../../../../src/StaticNavigation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAChF,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EACV,uBAAuB,EACvB,YAAY,EACZ,kBAAkB,EAClB,qBAAqB,EACrB,oBAAoB,EACpB,UAAU,EACV,oBAAoB,EACpB,gBAAgB,EAChB,gBAAgB,EACjB,MAAM,SAAS,CAAC;AAGjB;;;GAGG;AACH,KAAK,QAAQ,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAE,GAAG,EAAE,CAAC;AAEjD;;;GAGG;AACH,KAAK,MAAM,CAAC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YACP,CAAC,GAAG,EAAE,MAAM,GAAG;gBACb,OAAO,EAAE,mBAAmB,CAC1B,aAAa,EACb,eAAe,EACf,EAAE,EACF,YAAY,EACZ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CACxB,CAAC;aACH,CAAC;SACH,CAAC;KACH,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,mCAAmC,CACjD,IAAI,EAAE,iBAAiB,EACvB,OAAO,CAAC,EAAE;IACR,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,EACD,IAAI,CAAC,EAAE,OAAO,kBAyJf"}
@@ -1,4 +0,0 @@
1
- import type { NavigationAction } from '@react-navigation/routers';
2
- import * as React from 'react';
3
- export declare const UnhandledActionContext: React.Context<((action: NavigationAction) => void) | undefined>;
4
- //# sourceMappingURL=UnhandledActionContext.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UnhandledActionContext.d.ts","sourceRoot":"","sources":["../../../../src/UnhandledActionContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,eAAO,MAAM,sBAAsB,0BACvB,gBAAgB,KAAK,IAAI,cACzB,CAAC"}
@@ -1,5 +0,0 @@
1
- /**
2
- * Compare two arrays to check if the first array starts with the second array.
3
- */
4
- export declare function arrayStartsWith<T>(array: T[], start: T[]): boolean;
5
- //# sourceMappingURL=arrayStartsWith.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"arrayStartsWith.d.ts","sourceRoot":"","sources":["../../../../src/arrayStartsWith.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,wBAAgB,eAAe,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,WAMxD"}
@@ -1,3 +0,0 @@
1
- import type { NavigationState } from '@react-navigation/routers';
2
- export declare function checkDuplicateRouteNames(state: NavigationState): string[][];
3
- //# sourceMappingURL=checkDuplicateRouteNames.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"checkDuplicateRouteNames.d.ts","sourceRoot":"","sources":["../../../../src/checkDuplicateRouteNames.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAgB,MAAM,2BAA2B,CAAC;AAE/E,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,eAAe,cA8B9D"}
@@ -1,10 +0,0 @@
1
- export declare function checkSerializable(o: {
2
- [key: string]: any;
3
- }): {
4
- serializable: true;
5
- } | {
6
- serializable: false;
7
- location: (string | number)[];
8
- reason: string;
9
- };
10
- //# sourceMappingURL=checkSerializable.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"checkSerializable.d.ts","sourceRoot":"","sources":["../../../../src/checkSerializable.tsx"],"names":[],"mappings":"AAuEA,wBAAgB,iBAAiB,CAAC,CAAC,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE;kBAlEvC,IAAI;;kBAEJ,KAAK;cACT,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE;YACrB,MAAM;EAgEnB"}
@@ -1,4 +0,0 @@
1
- import type { NavigationContainerRefWithCurrent } from './types';
2
- export declare const NOT_INITIALIZED_ERROR = "The 'navigation' object hasn't been initialized yet. This might happen if you don't have a navigator mounted, or if the navigator hasn't finished mounting. See https://reactnavigation.org/docs/navigating-without-navigation-prop#handling-initialization for more details.";
3
- export declare function createNavigationContainerRef<ParamList extends {} = ReactNavigation.RootParamList>(): NavigationContainerRefWithCurrent<ParamList>;
4
- //# sourceMappingURL=createNavigationContainerRef.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createNavigationContainerRef.d.ts","sourceRoot":"","sources":["../../../../src/createNavigationContainerRef.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAGV,iCAAiC,EAClC,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,qBAAqB,kRAC+O,CAAC;AAElR,wBAAgB,4BAA4B,CAC1C,SAAS,SAAS,EAAE,GAAG,eAAe,CAAC,aAAa,KACjD,iCAAiC,CAAC,SAAS,CAAC,CAqFhD"}
@@ -1,10 +0,0 @@
1
- import type * as React from 'react';
2
- /**
3
- * Higher order component to create a `Navigator` and `Screen` pair.
4
- * Custom navigators should wrap the navigator component in `createNavigator` before exporting.
5
- *
6
- * @param Navigator The navigator component to wrap.
7
- * @returns Factory method to create a `Navigator` and `Screen` pair.
8
- */
9
- export declare function createNavigatorFactory(Navigator: React.ComponentType<any>): (config?: any) => any;
10
- //# sourceMappingURL=createNavigatorFactory.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createNavigatorFactory.d.ts","sourceRoot":"","sources":["../../../../src/createNavigatorFactory.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAKpC;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAAC,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,aACtC,GAAG,KAAG,GAAG,CAkB5C"}
@@ -1,3 +0,0 @@
1
- export declare const isPlainObject: (value: unknown) => value is object;
2
- export declare const deepFreeze: <T>(object: T) => Readonly<T>;
3
- //# sourceMappingURL=deepFreeze.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"deepFreeze.d.ts","sourceRoot":"","sources":["../../../../src/deepFreeze.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,UAAW,OAAO,KAAG,KAAK,IAAI,MAMvD,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,CAAC,UAAW,CAAC,KAAG,QAAQ,CAAC,CAAC,CA4BpD,CAAC"}
@@ -1,10 +0,0 @@
1
- import type { InitialState } from '@react-navigation/routers';
2
- type Result = {
3
- key?: string;
4
- name: string;
5
- params?: object;
6
- path?: string;
7
- } | undefined;
8
- export declare function findFocusedRoute(state: InitialState): Result;
9
- export {};
10
- //# sourceMappingURL=findFocusedRoute.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"findFocusedRoute.d.ts","sourceRoot":"","sources":["../../../../src/findFocusedRoute.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D,KAAK,MAAM,GACP;IACE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,GACD,SAAS,CAAC;AAEd,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,YAAY,GAAG,MAAM,CAU5D"}
@@ -1,17 +0,0 @@
1
- import type { CommonActions, NavigationState, PartialState } from '@react-navigation/routers';
2
- import type { NavigatorScreenParams, PathConfigMap } from './types';
3
- type Options = {
4
- initialRouteName?: string;
5
- screens: PathConfigMap<object>;
6
- };
7
- type NavigateAction<State extends NavigationState> = {
8
- type: 'NAVIGATE';
9
- payload: {
10
- name: string;
11
- params?: NavigatorScreenParams<State>;
12
- path?: string;
13
- };
14
- };
15
- export declare function getActionFromState(state: PartialState<NavigationState>, options?: Options): NavigateAction<NavigationState> | CommonActions.Action | undefined;
16
- export {};
17
- //# sourceMappingURL=getActionFromState.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getActionFromState.d.ts","sourceRoot":"","sources":["../../../../src/getActionFromState.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,eAAe,EAGf,YAAY,EAEb,MAAM,2BAA2B,CAAC;AAEnC,OAAO,KAAK,EAAE,qBAAqB,EAAc,aAAa,EAAE,MAAM,SAAS,CAAC;AAOhF,KAAK,OAAO,GAAG;IACb,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;CAChC,CAAC;AAEF,KAAK,cAAc,CAAC,KAAK,SAAS,eAAe,IAAI;IACnD,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,CAAC,EAAE,qBAAqB,CAAC,KAAK,CAAC,CAAC;QACtC,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;CACH,CAAC;AAEF,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,YAAY,CAAC,eAAe,CAAC,EACpC,OAAO,CAAC,EAAE,OAAO,GAChB,cAAc,CAAC,eAAe,CAAC,GAAG,aAAa,CAAC,MAAM,GAAG,SAAS,CAmIpE"}
@@ -1,3 +0,0 @@
1
- import type { Route } from '@react-navigation/routers';
2
- export declare function getFocusedRouteNameFromRoute(route: Partial<Route<string>>): string | undefined;
3
- //# sourceMappingURL=getFocusedRouteNameFromRoute.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getFocusedRouteNameFromRoute.d.ts","sourceRoot":"","sources":["../../../../src/getFocusedRouteNameFromRoute.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAIvD,wBAAgB,4BAA4B,CAC1C,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,GAC5B,MAAM,GAAG,SAAS,CAqBpB"}
@@ -1,40 +0,0 @@
1
- import type { NavigationState, PartialState } from '@react-navigation/routers';
2
- import type { PathConfigMap } from './types';
3
- type Options<ParamList extends {}> = {
4
- path?: string;
5
- initialRouteName?: string;
6
- screens: PathConfigMap<ParamList>;
7
- };
8
- type State = NavigationState | Omit<PartialState<NavigationState>, 'stale'>;
9
- /**
10
- * Utility to serialize a navigation state object to a path string.
11
- *
12
- * @example
13
- * ```js
14
- * getPathFromState(
15
- * {
16
- * routes: [
17
- * {
18
- * name: 'Chat',
19
- * params: { author: 'Jane', id: 42 },
20
- * },
21
- * ],
22
- * },
23
- * {
24
- * screens: {
25
- * Chat: {
26
- * path: 'chat/:author/:id',
27
- * stringify: { author: author => author.toLowerCase() }
28
- * }
29
- * }
30
- * }
31
- * )
32
- * ```
33
- *
34
- * @param state Navigation state to serialize.
35
- * @param options Extra options to fine-tune how to serialize the path.
36
- * @returns Path representing the state, e.g. /foo/bar?count=42.
37
- */
38
- export declare function getPathFromState<ParamList extends {}>(state: State, options?: Options<ParamList>): string;
39
- export {};
40
- //# sourceMappingURL=getPathFromState.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getPathFromState.d.ts","sourceRoot":"","sources":["../../../../src/getPathFromState.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,YAAY,EAEb,MAAM,2BAA2B,CAAC;AAInC,OAAO,KAAK,EAAc,aAAa,EAAE,MAAM,SAAS,CAAC;AAGzD,KAAK,OAAO,CAAC,SAAS,SAAS,EAAE,IAAI;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;CACnC,CAAC;AAEF,KAAK,KAAK,GAAG,eAAe,GAAG,IAAI,CAAC,YAAY,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC,CAAC;AA0C5E;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,SAAS,EAAE,EACnD,KAAK,EAAE,KAAK,EACZ,OAAO,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,GAC3B,MAAM,CAiMR"}
@@ -1,11 +0,0 @@
1
- export type PatternPart = {
2
- segment: string;
3
- param?: string;
4
- regex?: string;
5
- optional?: boolean;
6
- };
7
- /**
8
- * Parse a path into an array of parts with information about each segment.
9
- */
10
- export declare function getPatternParts(path: string): PatternPart[];
11
- //# sourceMappingURL=getPatternParts.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getPatternParts.d.ts","sourceRoot":"","sources":["../../../../src/getPatternParts.tsx"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW,EAAE,CAmH3D"}
@@ -1,34 +0,0 @@
1
- import type { NavigationState, PartialState } from '@react-navigation/routers';
2
- import type { PathConfigMap } from './types';
3
- type Options<ParamList extends {}> = {
4
- path?: string;
5
- initialRouteName?: string;
6
- screens: PathConfigMap<ParamList>;
7
- };
8
- type ResultState = PartialState<NavigationState> & {
9
- state?: ResultState;
10
- };
11
- /**
12
- * Utility to parse a path string to initial state object accepted by the container.
13
- * This is useful for deep linking when we need to handle the incoming URL.
14
- *
15
- * @example
16
- * ```js
17
- * getStateFromPath(
18
- * '/chat/jane/42',
19
- * {
20
- * screens: {
21
- * Chat: {
22
- * path: 'chat/:author/:id',
23
- * parse: { id: Number }
24
- * }
25
- * }
26
- * }
27
- * )
28
- * ```
29
- * @param path Path string to parse and convert, e.g. /foo/bar?count=42.
30
- * @param options Extra options to fine-tune how to parse the path.
31
- */
32
- export declare function getStateFromPath<ParamList extends {}>(path: string, options?: Options<ParamList>): ResultState | undefined;
33
- export {};
34
- //# sourceMappingURL=getStateFromPath.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getStateFromPath.d.ts","sourceRoot":"","sources":["../../../../src/getStateFromPath.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,eAAe,EAEf,YAAY,EACb,MAAM,2BAA2B,CAAC;AAQnC,OAAO,KAAK,EAAc,aAAa,EAAE,MAAM,SAAS,CAAC;AAGzD,KAAK,OAAO,CAAC,SAAS,SAAS,EAAE,IAAI;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;CACnC,CAAC;AAkBF,KAAK,WAAW,GAAG,YAAY,CAAC,eAAe,CAAC,GAAG;IACjD,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB,CAAC;AAaF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,SAAS,EAAE,EACnD,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,GAC3B,WAAW,GAAG,SAAS,CAiFzB"}
@@ -1,35 +0,0 @@
1
- export { BaseNavigationContainer } from './BaseNavigationContainer';
2
- export { createNavigationContainerRef } from './createNavigationContainerRef';
3
- export { createNavigatorFactory } from './createNavigatorFactory';
4
- export { CurrentRenderContext } from './CurrentRenderContext';
5
- export { findFocusedRoute } from './findFocusedRoute';
6
- export { getActionFromState } from './getActionFromState';
7
- export { getFocusedRouteNameFromRoute } from './getFocusedRouteNameFromRoute';
8
- export { getPathFromState } from './getPathFromState';
9
- export { getStateFromPath } from './getStateFromPath';
10
- export { NavigationContainerRefContext } from './NavigationContainerRefContext';
11
- export { NavigationContext } from './NavigationContext';
12
- export { NavigationHelpersContext } from './NavigationHelpersContext';
13
- export { NavigationIndependentTree } from './NavigationIndependentTree';
14
- export { NavigationRouteContext } from './NavigationRouteContext';
15
- export { PreventRemoveContext } from './PreventRemoveContext';
16
- export { PreventRemoveProvider } from './PreventRemoveProvider';
17
- export { createComponentForStaticNavigation, createPathConfigForStaticNavigation, type StaticConfig, type StaticNavigation, type StaticParamList, type StaticScreenProps, } from './StaticNavigation';
18
- export { ThemeContext } from './theming/ThemeContext';
19
- export { ThemeProvider } from './theming/ThemeProvider';
20
- export { useTheme } from './theming/useTheme';
21
- export * from './types';
22
- export { useFocusEffect } from './useFocusEffect';
23
- export { useIsFocused } from './useIsFocused';
24
- export { useNavigation } from './useNavigation';
25
- export { useNavigationBuilder } from './useNavigationBuilder';
26
- export { useNavigationContainerRef } from './useNavigationContainerRef';
27
- export { useNavigationIndependentTree } from './useNavigationIndependentTree';
28
- export { useNavigationState } from './useNavigationState';
29
- export { usePreventRemove } from './usePreventRemove';
30
- export { usePreventRemoveContext } from './usePreventRemoveContext';
31
- export { useRoute } from './useRoute';
32
- export { useStateForPath } from './useStateForPath';
33
- export { validatePathConfig } from './validatePathConfig';
34
- export * from '@react-navigation/routers';
35
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EACL,kCAAkC,EAClC,mCAAmC,EACnC,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,iBAAiB,GACvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAC9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,cAAc,2BAA2B,CAAC"}
@@ -1,6 +0,0 @@
1
- /**
2
- * Compare two arrays with primitive values as the content.
3
- * We need to make sure that both values and order match.
4
- */
5
- export declare function isArrayEqual(a: any[], b: any[]): boolean;
6
- //# sourceMappingURL=isArrayEqual.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"isArrayEqual.d.ts","sourceRoot":"","sources":["../../../../src/isArrayEqual.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,wBAAgB,YAAY,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,EAAE,GAAG,EAAE,WAU9C"}
@@ -1,5 +0,0 @@
1
- /**
2
- * Compare two records with primitive values as the content.
3
- */
4
- export declare function isRecordEqual(a: Record<string, any>, b: Record<string, any>): boolean;
5
- //# sourceMappingURL=isRecordEqual.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"isRecordEqual.d.ts","sourceRoot":"","sources":["../../../../src/isRecordEqual.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,WAa3E"}
@@ -1,3 +0,0 @@
1
- import * as React from 'react';
2
- export declare const ThemeContext: React.Context<ReactNavigation.Theme | undefined>;
3
- //# sourceMappingURL=ThemeContext.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ThemeContext.d.ts","sourceRoot":"","sources":["../../../../../src/theming/ThemeContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,eAAO,MAAM,YAAY,kDAEb,CAAC"}
@@ -1,8 +0,0 @@
1
- import * as React from 'react';
2
- type Props = {
3
- value: ReactNavigation.Theme | undefined;
4
- children: React.ReactNode;
5
- };
6
- export declare function ThemeProvider({ value, children }: Props): import("react/jsx-runtime").JSX.Element;
7
- export {};
8
- //# sourceMappingURL=ThemeProvider.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../../../src/theming/ThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,eAAe,CAAC,KAAK,GAAG,SAAS,CAAC;IACzC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,KAAK,2CAIvD"}
@@ -1,2 +0,0 @@
1
- export declare function useTheme(): ReactNavigation.Theme;
2
- //# sourceMappingURL=useTheme.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useTheme.d.ts","sourceRoot":"","sources":["../../../../../src/theming/useTheme.tsx"],"names":[],"mappings":"AAIA,wBAAgB,QAAQ,0BAUvB"}