@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.
- package/lib/typescript/src/BaseNavigationContainer.d.ts.map +1 -0
- package/lib/typescript/src/CurrentRenderContext.d.ts.map +1 -0
- package/lib/typescript/src/DeprecatedNavigationInChildContext.d.ts.map +1 -0
- package/lib/typescript/src/EnsureSingleNavigator.d.ts.map +1 -0
- package/lib/typescript/src/Group.d.ts.map +1 -0
- package/lib/typescript/src/NavigationBuilderContext.d.ts.map +1 -0
- package/lib/typescript/src/NavigationContainerRefContext.d.ts.map +1 -0
- package/lib/typescript/src/NavigationContext.d.ts.map +1 -0
- package/lib/typescript/src/NavigationFocusedRouteStateContext.d.ts.map +1 -0
- package/lib/typescript/src/NavigationHelpersContext.d.ts.map +1 -0
- package/lib/typescript/src/NavigationIndependentTree.d.ts.map +1 -0
- package/lib/typescript/src/NavigationIndependentTreeContext.d.ts.map +1 -0
- package/lib/typescript/src/NavigationRouteContext.d.ts.map +1 -0
- package/lib/typescript/src/NavigationStateContext.d.ts.map +1 -0
- package/lib/typescript/src/PreventRemoveContext.d.ts.map +1 -0
- package/lib/typescript/src/PreventRemoveProvider.d.ts.map +1 -0
- package/lib/typescript/src/SceneView.d.ts.map +1 -0
- package/lib/typescript/src/Screen.d.ts.map +1 -0
- package/lib/typescript/src/StaticContainer.d.ts.map +1 -0
- package/lib/typescript/src/StaticNavigation.d.ts.map +1 -0
- package/lib/typescript/src/UnhandledActionContext.d.ts.map +1 -0
- package/lib/typescript/src/arrayStartsWith.d.ts.map +1 -0
- package/lib/typescript/src/checkDuplicateRouteNames.d.ts.map +1 -0
- package/lib/typescript/src/checkSerializable.d.ts.map +1 -0
- package/lib/typescript/src/createNavigationContainerRef.d.ts.map +1 -0
- package/lib/typescript/src/createNavigatorFactory.d.ts.map +1 -0
- package/lib/typescript/src/deepFreeze.d.ts.map +1 -0
- package/lib/typescript/src/findFocusedRoute.d.ts.map +1 -0
- package/lib/typescript/src/getActionFromState.d.ts.map +1 -0
- package/lib/typescript/src/getFocusedRouteNameFromRoute.d.ts.map +1 -0
- package/lib/typescript/src/getPathFromState.d.ts.map +1 -0
- package/lib/typescript/src/getPatternParts.d.ts.map +1 -0
- package/lib/typescript/src/getStateFromPath.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/isArrayEqual.d.ts.map +1 -0
- package/lib/typescript/src/isRecordEqual.d.ts.map +1 -0
- package/lib/typescript/src/theming/ThemeContext.d.ts.map +1 -0
- package/lib/typescript/src/theming/ThemeProvider.d.ts.map +1 -0
- package/lib/typescript/src/theming/useTheme.d.ts.map +1 -0
- package/lib/typescript/src/types.d.ts.map +1 -0
- package/lib/typescript/src/useChildListeners.d.ts.map +1 -0
- package/lib/typescript/src/useComponent.d.ts.map +1 -0
- package/lib/typescript/src/useCurrentRender.d.ts.map +1 -0
- package/lib/typescript/src/useDescriptors.d.ts.map +1 -0
- package/lib/typescript/src/useEventEmitter.d.ts.map +1 -0
- package/lib/typescript/src/useFocusEffect.d.ts.map +1 -0
- package/lib/typescript/src/useFocusEvents.d.ts.map +1 -0
- package/lib/typescript/src/useFocusedListenersChildrenAdapter.d.ts.map +1 -0
- package/lib/typescript/src/useIsFocused.d.ts.map +1 -0
- package/lib/typescript/src/useIsomorphicLayoutEffect.d.ts.map +1 -0
- package/lib/typescript/src/useIsomorphicLayoutEffect.native.d.ts.map +1 -0
- package/lib/typescript/src/useKeyedChildListeners.d.ts.map +1 -0
- package/lib/typescript/src/useLazyValue.d.ts.map +1 -0
- package/lib/typescript/src/useNavigation.d.ts.map +1 -0
- package/lib/typescript/src/useNavigationBuilder.d.ts.map +1 -0
- package/lib/typescript/src/useNavigationCache.d.ts.map +1 -0
- package/lib/typescript/src/useNavigationContainerRef.d.ts.map +1 -0
- package/lib/typescript/src/useNavigationHelpers.d.ts.map +1 -0
- package/lib/typescript/src/useNavigationIndependentTree.d.ts.map +1 -0
- package/lib/typescript/src/useNavigationState.d.ts.map +1 -0
- package/lib/typescript/src/useOnAction.d.ts.map +1 -0
- package/lib/typescript/src/useOnGetState.d.ts.map +1 -0
- package/lib/typescript/src/useOnPreventRemove.d.ts.map +1 -0
- package/lib/typescript/src/useOnRouteFocus.d.ts.map +1 -0
- package/lib/typescript/src/useOptionsGetters.d.ts.map +1 -0
- package/lib/typescript/src/usePreventRemove.d.ts.map +1 -0
- package/lib/typescript/src/usePreventRemoveContext.d.ts.map +1 -0
- package/lib/typescript/src/useRegisterNavigator.d.ts.map +1 -0
- package/lib/typescript/src/useRoute.d.ts.map +1 -0
- package/lib/typescript/src/useRouteCache.d.ts.map +1 -0
- package/lib/typescript/src/useScheduleUpdate.d.ts.map +1 -0
- package/lib/typescript/src/useStateForPath.d.ts.map +1 -0
- package/lib/typescript/src/useSyncState.d.ts.map +1 -0
- package/lib/typescript/src/validatePathConfig.d.ts.map +1 -0
- package/package.json +10 -24
- package/lib/typescript/commonjs/package.json +0 -1
- package/lib/typescript/commonjs/src/BaseNavigationContainer.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/CurrentRenderContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/DeprecatedNavigationInChildContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/EnsureSingleNavigator.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/Group.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/NavigationBuilderContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/NavigationContainerRefContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/NavigationContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/NavigationFocusedRouteStateContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/NavigationHelpersContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/NavigationIndependentTree.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/NavigationIndependentTreeContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/NavigationRouteContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/NavigationStateContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/PreventRemoveContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/PreventRemoveProvider.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/SceneView.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/Screen.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/StaticContainer.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/StaticNavigation.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/UnhandledActionContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/arrayStartsWith.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/checkDuplicateRouteNames.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/checkSerializable.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/createNavigationContainerRef.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/createNavigatorFactory.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/deepFreeze.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/findFocusedRoute.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/getActionFromState.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/getFocusedRouteNameFromRoute.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/getPathFromState.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/getPatternParts.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/getStateFromPath.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/isArrayEqual.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/isRecordEqual.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/theming/ThemeContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/theming/ThemeProvider.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/theming/useTheme.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useChildListeners.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useComponent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useCurrentRender.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useDescriptors.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useEventEmitter.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useFocusEffect.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useFocusEvents.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useFocusedListenersChildrenAdapter.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useIsFocused.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useIsomorphicLayoutEffect.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useIsomorphicLayoutEffect.native.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useKeyedChildListeners.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useLazyValue.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useNavigation.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useNavigationBuilder.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useNavigationCache.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useNavigationContainerRef.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useNavigationHelpers.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useNavigationIndependentTree.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useNavigationState.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useOnAction.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useOnGetState.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useOnPreventRemove.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useOnRouteFocus.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useOptionsGetters.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/usePreventRemove.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/usePreventRemoveContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useRegisterNavigator.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useRoute.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useRouteCache.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useScheduleUpdate.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useStateForPath.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useSyncState.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/validatePathConfig.d.ts.map +0 -1
- package/lib/typescript/module/src/BaseNavigationContainer.d.ts +0 -17
- package/lib/typescript/module/src/BaseNavigationContainer.d.ts.map +0 -1
- package/lib/typescript/module/src/CurrentRenderContext.d.ts +0 -9
- package/lib/typescript/module/src/CurrentRenderContext.d.ts.map +0 -1
- package/lib/typescript/module/src/DeprecatedNavigationInChildContext.d.ts +0 -6
- package/lib/typescript/module/src/DeprecatedNavigationInChildContext.d.ts.map +0 -1
- package/lib/typescript/module/src/EnsureSingleNavigator.d.ts +0 -14
- package/lib/typescript/module/src/EnsureSingleNavigator.d.ts.map +0 -1
- package/lib/typescript/module/src/Group.d.ts +0 -7
- package/lib/typescript/module/src/Group.d.ts.map +0 -1
- package/lib/typescript/module/src/NavigationBuilderContext.d.ts +0 -36
- package/lib/typescript/module/src/NavigationBuilderContext.d.ts.map +0 -1
- package/lib/typescript/module/src/NavigationContainerRefContext.d.ts +0 -8
- package/lib/typescript/module/src/NavigationContainerRefContext.d.ts.map +0 -1
- package/lib/typescript/module/src/NavigationContext.d.ts +0 -8
- package/lib/typescript/module/src/NavigationContext.d.ts.map +0 -1
- package/lib/typescript/module/src/NavigationFocusedRouteStateContext.d.ts +0 -17
- package/lib/typescript/module/src/NavigationFocusedRouteStateContext.d.ts.map +0 -1
- package/lib/typescript/module/src/NavigationHelpersContext.d.ts +0 -9
- package/lib/typescript/module/src/NavigationHelpersContext.d.ts.map +0 -1
- package/lib/typescript/module/src/NavigationIndependentTree.d.ts +0 -8
- package/lib/typescript/module/src/NavigationIndependentTree.d.ts.map +0 -1
- package/lib/typescript/module/src/NavigationIndependentTreeContext.d.ts +0 -6
- package/lib/typescript/module/src/NavigationIndependentTreeContext.d.ts.map +0 -1
- package/lib/typescript/module/src/NavigationRouteContext.d.ts +0 -7
- package/lib/typescript/module/src/NavigationRouteContext.d.ts.map +0 -1
- package/lib/typescript/module/src/NavigationStateContext.d.ts +0 -13
- package/lib/typescript/module/src/NavigationStateContext.d.ts.map +0 -1
- package/lib/typescript/module/src/PreventRemoveContext.d.ts +0 -13
- package/lib/typescript/module/src/PreventRemoveContext.d.ts.map +0 -1
- package/lib/typescript/module/src/PreventRemoveProvider.d.ts +0 -10
- package/lib/typescript/module/src/PreventRemoveProvider.d.ts.map +0 -1
- package/lib/typescript/module/src/SceneView.d.ts +0 -21
- package/lib/typescript/module/src/SceneView.d.ts.map +0 -1
- package/lib/typescript/module/src/Screen.d.ts +0 -7
- package/lib/typescript/module/src/Screen.d.ts.map +0 -1
- package/lib/typescript/module/src/StaticContainer.d.ts +0 -6
- package/lib/typescript/module/src/StaticContainer.d.ts.map +0 -1
- package/lib/typescript/module/src/StaticNavigation.d.ts +0 -188
- package/lib/typescript/module/src/StaticNavigation.d.ts.map +0 -1
- package/lib/typescript/module/src/UnhandledActionContext.d.ts +0 -4
- package/lib/typescript/module/src/UnhandledActionContext.d.ts.map +0 -1
- package/lib/typescript/module/src/arrayStartsWith.d.ts +0 -5
- package/lib/typescript/module/src/arrayStartsWith.d.ts.map +0 -1
- package/lib/typescript/module/src/checkDuplicateRouteNames.d.ts +0 -3
- package/lib/typescript/module/src/checkDuplicateRouteNames.d.ts.map +0 -1
- package/lib/typescript/module/src/checkSerializable.d.ts +0 -10
- package/lib/typescript/module/src/checkSerializable.d.ts.map +0 -1
- package/lib/typescript/module/src/createNavigationContainerRef.d.ts +0 -4
- package/lib/typescript/module/src/createNavigationContainerRef.d.ts.map +0 -1
- package/lib/typescript/module/src/createNavigatorFactory.d.ts +0 -10
- package/lib/typescript/module/src/createNavigatorFactory.d.ts.map +0 -1
- package/lib/typescript/module/src/deepFreeze.d.ts +0 -3
- package/lib/typescript/module/src/deepFreeze.d.ts.map +0 -1
- package/lib/typescript/module/src/findFocusedRoute.d.ts +0 -10
- package/lib/typescript/module/src/findFocusedRoute.d.ts.map +0 -1
- package/lib/typescript/module/src/getActionFromState.d.ts +0 -17
- package/lib/typescript/module/src/getActionFromState.d.ts.map +0 -1
- package/lib/typescript/module/src/getFocusedRouteNameFromRoute.d.ts +0 -3
- package/lib/typescript/module/src/getFocusedRouteNameFromRoute.d.ts.map +0 -1
- package/lib/typescript/module/src/getPathFromState.d.ts +0 -40
- package/lib/typescript/module/src/getPathFromState.d.ts.map +0 -1
- package/lib/typescript/module/src/getPatternParts.d.ts +0 -11
- package/lib/typescript/module/src/getPatternParts.d.ts.map +0 -1
- package/lib/typescript/module/src/getStateFromPath.d.ts +0 -34
- package/lib/typescript/module/src/getStateFromPath.d.ts.map +0 -1
- package/lib/typescript/module/src/index.d.ts +0 -35
- package/lib/typescript/module/src/index.d.ts.map +0 -1
- package/lib/typescript/module/src/isArrayEqual.d.ts +0 -6
- package/lib/typescript/module/src/isArrayEqual.d.ts.map +0 -1
- package/lib/typescript/module/src/isRecordEqual.d.ts +0 -5
- package/lib/typescript/module/src/isRecordEqual.d.ts.map +0 -1
- package/lib/typescript/module/src/theming/ThemeContext.d.ts +0 -3
- package/lib/typescript/module/src/theming/ThemeContext.d.ts.map +0 -1
- package/lib/typescript/module/src/theming/ThemeProvider.d.ts +0 -8
- package/lib/typescript/module/src/theming/ThemeProvider.d.ts.map +0 -1
- package/lib/typescript/module/src/theming/useTheme.d.ts +0 -2
- package/lib/typescript/module/src/theming/useTheme.d.ts.map +0 -1
- package/lib/typescript/module/src/types.d.ts +0 -732
- package/lib/typescript/module/src/types.d.ts.map +0 -1
- package/lib/typescript/module/src/useChildListeners.d.ts +0 -12
- package/lib/typescript/module/src/useChildListeners.d.ts.map +0 -1
- package/lib/typescript/module/src/useComponent.d.ts +0 -7
- package/lib/typescript/module/src/useComponent.d.ts.map +0 -1
- package/lib/typescript/module/src/useCurrentRender.d.ts +0 -14
- package/lib/typescript/module/src/useCurrentRender.d.ts.map +0 -1
- package/lib/typescript/module/src/useDescriptors.d.ts +0 -141
- package/lib/typescript/module/src/useDescriptors.d.ts.map +0 -1
- package/lib/typescript/module/src/useEventEmitter.d.ts +0 -9
- package/lib/typescript/module/src/useEventEmitter.d.ts.map +0 -1
- package/lib/typescript/module/src/useFocusEffect.d.ts +0 -11
- package/lib/typescript/module/src/useFocusEffect.d.ts.map +0 -1
- package/lib/typescript/module/src/useFocusEvents.d.ts +0 -13
- package/lib/typescript/module/src/useFocusEvents.d.ts.map +0 -1
- package/lib/typescript/module/src/useFocusedListenersChildrenAdapter.d.ts +0 -13
- package/lib/typescript/module/src/useFocusedListenersChildrenAdapter.d.ts.map +0 -1
- package/lib/typescript/module/src/useIsFocused.d.ts +0 -6
- package/lib/typescript/module/src/useIsFocused.d.ts.map +0 -1
- package/lib/typescript/module/src/useIsomorphicLayoutEffect.d.ts +0 -6
- package/lib/typescript/module/src/useIsomorphicLayoutEffect.d.ts.map +0 -1
- package/lib/typescript/module/src/useIsomorphicLayoutEffect.native.d.ts +0 -3
- package/lib/typescript/module/src/useIsomorphicLayoutEffect.native.d.ts.map +0 -1
- package/lib/typescript/module/src/useKeyedChildListeners.d.ts +0 -12
- package/lib/typescript/module/src/useKeyedChildListeners.d.ts.map +0 -1
- package/lib/typescript/module/src/useLazyValue.d.ts +0 -2
- package/lib/typescript/module/src/useLazyValue.d.ts.map +0 -1
- package/lib/typescript/module/src/useNavigation.d.ts +0 -11
- package/lib/typescript/module/src/useNavigation.d.ts.map +0 -1
- package/lib/typescript/module/src/useNavigationBuilder.d.ts +0 -193
- package/lib/typescript/module/src/useNavigationBuilder.d.ts.map +0 -1
- package/lib/typescript/module/src/useNavigationCache.d.ts +0 -69
- package/lib/typescript/module/src/useNavigationCache.d.ts.map +0 -1
- package/lib/typescript/module/src/useNavigationContainerRef.d.ts +0 -3
- package/lib/typescript/module/src/useNavigationContainerRef.d.ts.map +0 -1
- package/lib/typescript/module/src/useNavigationHelpers.d.ts +0 -102
- package/lib/typescript/module/src/useNavigationHelpers.d.ts.map +0 -1
- package/lib/typescript/module/src/useNavigationIndependentTree.d.ts +0 -2
- package/lib/typescript/module/src/useNavigationIndependentTree.d.ts.map +0 -1
- package/lib/typescript/module/src/useNavigationState.d.ts +0 -10
- package/lib/typescript/module/src/useNavigationState.d.ts.map +0 -1
- package/lib/typescript/module/src/useOnAction.d.ts +0 -26
- package/lib/typescript/module/src/useOnAction.d.ts.map +0 -1
- package/lib/typescript/module/src/useOnGetState.d.ts +0 -9
- package/lib/typescript/module/src/useOnGetState.d.ts.map +0 -1
- package/lib/typescript/module/src/useOnPreventRemove.d.ts +0 -17
- package/lib/typescript/module/src/useOnPreventRemove.d.ts.map +0 -1
- package/lib/typescript/module/src/useOnRouteFocus.d.ts +0 -15
- package/lib/typescript/module/src/useOnRouteFocus.d.ts.map +0 -1
- package/lib/typescript/module/src/useOptionsGetters.d.ts +0 -13
- package/lib/typescript/module/src/useOptionsGetters.d.ts.map +0 -1
- package/lib/typescript/module/src/usePreventRemove.d.ts +0 -13
- package/lib/typescript/module/src/usePreventRemove.d.ts.map +0 -1
- package/lib/typescript/module/src/usePreventRemoveContext.d.ts +0 -5
- package/lib/typescript/module/src/usePreventRemoveContext.d.ts.map +0 -1
- package/lib/typescript/module/src/useRegisterNavigator.d.ts +0 -6
- package/lib/typescript/module/src/useRegisterNavigator.d.ts.map +0 -1
- package/lib/typescript/module/src/useRoute.d.ts +0 -9
- package/lib/typescript/module/src/useRoute.d.ts.map +0 -1
- package/lib/typescript/module/src/useRouteCache.d.ts +0 -14
- package/lib/typescript/module/src/useRouteCache.d.ts.map +0 -1
- package/lib/typescript/module/src/useScheduleUpdate.d.ts +0 -9
- package/lib/typescript/module/src/useScheduleUpdate.d.ts.map +0 -1
- package/lib/typescript/module/src/useStateForPath.d.ts +0 -8
- package/lib/typescript/module/src/useStateForPath.d.ts.map +0 -1
- package/lib/typescript/module/src/useSyncState.d.ts +0 -8
- package/lib/typescript/module/src/useSyncState.d.ts.map +0 -1
- package/lib/typescript/module/src/validatePathConfig.d.ts +0 -2
- package/lib/typescript/module/src/validatePathConfig.d.ts.map +0 -1
- /package/lib/typescript/{module/package.json → package.json} +0 -0
- /package/lib/typescript/{commonjs/src → src}/BaseNavigationContainer.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/CurrentRenderContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/DeprecatedNavigationInChildContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/EnsureSingleNavigator.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/Group.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/NavigationBuilderContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/NavigationContainerRefContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/NavigationContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/NavigationFocusedRouteStateContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/NavigationHelpersContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/NavigationIndependentTree.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/NavigationIndependentTreeContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/NavigationRouteContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/NavigationStateContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/PreventRemoveContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/PreventRemoveProvider.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/SceneView.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/Screen.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/StaticContainer.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/StaticNavigation.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/UnhandledActionContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/arrayStartsWith.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/checkDuplicateRouteNames.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/checkSerializable.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/createNavigationContainerRef.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/createNavigatorFactory.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/deepFreeze.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/findFocusedRoute.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/getActionFromState.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/getFocusedRouteNameFromRoute.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/getPathFromState.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/getPatternParts.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/getStateFromPath.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/index.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/isArrayEqual.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/isRecordEqual.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/theming/ThemeContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/theming/ThemeProvider.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/theming/useTheme.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/types.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useChildListeners.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useComponent.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useCurrentRender.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useDescriptors.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useEventEmitter.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useFocusEffect.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useFocusEvents.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useFocusedListenersChildrenAdapter.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useIsFocused.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useIsomorphicLayoutEffect.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useIsomorphicLayoutEffect.native.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useKeyedChildListeners.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useLazyValue.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useNavigation.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useNavigationBuilder.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useNavigationCache.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useNavigationContainerRef.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useNavigationHelpers.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useNavigationIndependentTree.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useNavigationState.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useOnAction.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useOnGetState.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useOnPreventRemove.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useOnRouteFocus.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useOptionsGetters.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/usePreventRemove.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/usePreventRemoveContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useRegisterNavigator.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useRoute.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useRouteCache.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useScheduleUpdate.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useStateForPath.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useSyncState.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/validatePathConfig.d.ts +0 -0
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { type NavigationAction, type NavigationState, type ParamListBase, type Router } from '@react-navigation/routers';
|
|
2
|
-
import type { NavigationHelpers, NavigationProp } from './types';
|
|
3
|
-
import type { NavigationEventEmitter } from './useEventEmitter';
|
|
4
|
-
type Options<State extends NavigationState, ScreenOptions extends {}, EventMap extends Record<string, any>> = {
|
|
5
|
-
state: State;
|
|
6
|
-
getState: () => State;
|
|
7
|
-
navigation: NavigationHelpers<ParamListBase> & Partial<NavigationProp<ParamListBase, string, any, any, any>>;
|
|
8
|
-
setOptions: (cb: (options: Record<string, ScreenOptions>) => Record<string, ScreenOptions>) => void;
|
|
9
|
-
router: Router<State, NavigationAction>;
|
|
10
|
-
emitter: NavigationEventEmitter<EventMap>;
|
|
11
|
-
};
|
|
12
|
-
type NavigationItem<State extends NavigationState, ScreenOptions extends {}, EventMap extends Record<string, any>> = NavigationProp<ParamListBase, string, string | undefined, State, ScreenOptions, EventMap>;
|
|
13
|
-
type NavigationCache<State extends NavigationState, ScreenOptions extends {}, EventMap extends Record<string, any>> = Record<string, NavigationItem<State, ScreenOptions, EventMap>>;
|
|
14
|
-
/**
|
|
15
|
-
* Hook to cache navigation objects for each screen in the navigator.
|
|
16
|
-
* It's important to cache them to make sure navigation objects don't change between renders.
|
|
17
|
-
* This lets us apply optimizations like `React.memo` to minimize re-rendering screens.
|
|
18
|
-
*/
|
|
19
|
-
export declare function useNavigationCache<State extends NavigationState, ScreenOptions extends {}, EventMap extends Record<string, any>, ActionHelpers extends Record<string, () => void>>({ state, getState, navigation, setOptions, router, emitter, }: Options<State, ScreenOptions, EventMap>): {
|
|
20
|
-
base: Omit<{
|
|
21
|
-
dispatch(action: Readonly<{
|
|
22
|
-
type: string;
|
|
23
|
-
payload?: object;
|
|
24
|
-
source?: string;
|
|
25
|
-
target?: string;
|
|
26
|
-
}> | ((state: Readonly<State>) => NavigationAction)): void;
|
|
27
|
-
navigate<RouteName extends string>(...args: RouteName extends unknown ? [screen: RouteName, params?: object | undefined, options?: {
|
|
28
|
-
merge?: boolean;
|
|
29
|
-
pop?: boolean;
|
|
30
|
-
} | undefined] : never): void;
|
|
31
|
-
navigate<RouteName extends string>(options: RouteName extends unknown ? {
|
|
32
|
-
name: RouteName;
|
|
33
|
-
params: object | undefined;
|
|
34
|
-
path?: string;
|
|
35
|
-
merge?: boolean;
|
|
36
|
-
pop?: boolean;
|
|
37
|
-
} : never): void;
|
|
38
|
-
navigateDeprecated<RouteName extends string>(...args: RouteName extends unknown ? [screen: RouteName, params?: object | undefined] : never): void;
|
|
39
|
-
navigateDeprecated<RouteName extends string>(options: RouteName extends unknown ? {
|
|
40
|
-
name: RouteName;
|
|
41
|
-
params: object | undefined;
|
|
42
|
-
merge?: boolean;
|
|
43
|
-
} : never): void;
|
|
44
|
-
preload<RouteName extends string>(...args: RouteName extends unknown ? [screen: RouteName, params?: object | undefined] : never): void;
|
|
45
|
-
reset(state: State | import("@react-navigation/routers").PartialState<State>): void;
|
|
46
|
-
goBack(): void;
|
|
47
|
-
isFocused(): boolean;
|
|
48
|
-
canGoBack(): boolean;
|
|
49
|
-
getId(): string | undefined;
|
|
50
|
-
getParent<T = NavigationHelpers<ParamListBase, {}> | undefined>(id?: string): T;
|
|
51
|
-
getState(): State;
|
|
52
|
-
setStateForNextRouteNamesChange(state: State | import("@react-navigation/routers").PartialState<State>): void;
|
|
53
|
-
} & import("./types").PrivateValueStore<[ParamListBase, unknown, unknown]>, "getParent"> & {
|
|
54
|
-
getParent<T = NavigationProp<ParamListBase, string, undefined, Readonly<{
|
|
55
|
-
key: string;
|
|
56
|
-
index: number;
|
|
57
|
-
routeNames: string[];
|
|
58
|
-
history?: unknown[];
|
|
59
|
-
routes: import("@react-navigation/routers").NavigationRoute<ParamListBase, string>[];
|
|
60
|
-
type: string;
|
|
61
|
-
stale: false;
|
|
62
|
-
}>, {}, {}> | undefined>(id?: string | undefined): T;
|
|
63
|
-
setParams(params: Partial<object | undefined>): void;
|
|
64
|
-
setOptions(options: Partial<ScreenOptions>): void;
|
|
65
|
-
} & import("./types").EventConsumer<EventMap & import("./types").EventMapCore<State>> & import("./types").PrivateValueStore<[ParamListBase, string, EventMap]> & ActionHelpers;
|
|
66
|
-
navigations: NavigationCache<State, ScreenOptions, EventMap>;
|
|
67
|
-
};
|
|
68
|
-
export {};
|
|
69
|
-
//# sourceMappingURL=useNavigationCache.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useNavigationCache.d.ts","sourceRoot":"","sources":["../../../../src/useNavigationCache.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,MAAM,EACZ,MAAM,2BAA2B,CAAC;AAInC,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACjE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAEhE,KAAK,OAAO,CACV,KAAK,SAAS,eAAe,EAC7B,aAAa,SAAS,EAAE,EACxB,QAAQ,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IAClC;IACF,KAAK,EAAE,KAAK,CAAC;IACb,QAAQ,EAAE,MAAM,KAAK,CAAC;IACtB,UAAU,EAAE,iBAAiB,CAAC,aAAa,CAAC,GAC1C,OAAO,CAAC,cAAc,CAAC,aAAa,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;IAChE,UAAU,EAAE,CACV,EAAE,EAAE,CACF,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,KACnC,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,KAC/B,IAAI,CAAC;IACV,MAAM,EAAE,MAAM,CAAC,KAAK,EAAE,gBAAgB,CAAC,CAAC;IACxC,OAAO,EAAE,sBAAsB,CAAC,QAAQ,CAAC,CAAC;CAC3C,CAAC;AAEF,KAAK,cAAc,CACjB,KAAK,SAAS,eAAe,EAC7B,aAAa,SAAS,EAAE,EACxB,QAAQ,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IAClC,cAAc,CAChB,aAAa,EACb,MAAM,EACN,MAAM,GAAG,SAAS,EAClB,KAAK,EACL,aAAa,EACb,QAAQ,CACT,CAAC;AAEF,KAAK,eAAe,CAClB,KAAK,SAAS,eAAe,EAC7B,aAAa,SAAS,EAAE,EACxB,QAAQ,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IAClC,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,KAAK,EAAE,aAAa,EAAE,QAAQ,CAAC,CAAC,CAAC;AAEnE;;;;GAIG;AACH,wBAAgB,kBAAkB,CAChC,KAAK,SAAS,eAAe,EAC7B,aAAa,SAAS,EAAE,EACxB,QAAQ,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACpC,aAAa,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,IAAI,CAAC,EAChD,EACA,KAAK,EACL,QAAQ,EACR,UAAU,EACV,UAAU,EACV,MAAM,EACN,OAAO,GACR,EAAE,OAAO,CAAC,KAAK,EAAE,aAAa,EAAE,QAAQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4KzC"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { NavigationContainerRefWithCurrent } from './types';
|
|
2
|
-
export declare function useNavigationContainerRef<ParamList extends {} = ReactNavigation.RootParamList>(): NavigationContainerRefWithCurrent<ParamList>;
|
|
3
|
-
//# sourceMappingURL=useNavigationContainerRef.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useNavigationContainerRef.d.ts","sourceRoot":"","sources":["../../../../src/useNavigationContainerRef.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,SAAS,CAAC;AAEjE,wBAAgB,yBAAyB,CACvC,SAAS,SAAS,EAAE,GAAG,eAAe,CAAC,aAAa,KACjD,iCAAiC,CAAC,SAAS,CAAC,CAShD"}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { type NavigationAction, type NavigationState, type ParamListBase, type Router } from '@react-navigation/routers';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { type NavigationHelpers, PrivateValueStore } from './types';
|
|
4
|
-
import type { NavigationEventEmitter } from './useEventEmitter';
|
|
5
|
-
type Options<State extends NavigationState, Action extends NavigationAction> = {
|
|
6
|
-
id: string | undefined;
|
|
7
|
-
onAction: (action: NavigationAction) => boolean;
|
|
8
|
-
getState: () => State;
|
|
9
|
-
emitter: NavigationEventEmitter<any>;
|
|
10
|
-
router: Router<State, Action>;
|
|
11
|
-
stateRef: React.RefObject<State | null>;
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* Navigation object with helper methods to be used by a navigator.
|
|
15
|
-
* This object includes methods for common actions as well as methods the parent screen's navigation object.
|
|
16
|
-
*/
|
|
17
|
-
export declare function useNavigationHelpers<State extends NavigationState, ActionHelpers extends Record<string, () => void>, Action extends NavigationAction, EventMap extends Record<string, any>>({ id: navigatorId, onAction, getState, emitter, router, stateRef, }: Options<State, Action>): {
|
|
18
|
-
dispatch(action: Readonly<{
|
|
19
|
-
type: string;
|
|
20
|
-
payload?: object;
|
|
21
|
-
source?: string;
|
|
22
|
-
target?: string;
|
|
23
|
-
}> | ((state: Readonly<Readonly<{
|
|
24
|
-
key: string;
|
|
25
|
-
index: number;
|
|
26
|
-
routeNames: string[];
|
|
27
|
-
history?: unknown[];
|
|
28
|
-
routes: import("@react-navigation/routers").NavigationRoute<ParamListBase, string>[];
|
|
29
|
-
type: string;
|
|
30
|
-
stale: false;
|
|
31
|
-
}>>) => NavigationAction)): void;
|
|
32
|
-
navigate<RouteName extends string>(...args: RouteName extends unknown ? [screen: RouteName, params?: object | undefined, options?: {
|
|
33
|
-
merge?: boolean;
|
|
34
|
-
pop?: boolean;
|
|
35
|
-
} | undefined] : never): void;
|
|
36
|
-
navigate<RouteName extends string>(options: RouteName extends unknown ? {
|
|
37
|
-
name: RouteName;
|
|
38
|
-
params: object | undefined;
|
|
39
|
-
path?: string;
|
|
40
|
-
merge?: boolean;
|
|
41
|
-
pop?: boolean;
|
|
42
|
-
} : never): void;
|
|
43
|
-
navigateDeprecated<RouteName extends string>(...args: RouteName extends unknown ? [screen: RouteName, params?: object | undefined] : never): void;
|
|
44
|
-
navigateDeprecated<RouteName extends string>(options: RouteName extends unknown ? {
|
|
45
|
-
name: RouteName;
|
|
46
|
-
params: object | undefined;
|
|
47
|
-
merge?: boolean;
|
|
48
|
-
} : never): void;
|
|
49
|
-
preload<RouteName extends string>(...args: RouteName extends unknown ? [screen: RouteName, params?: object | undefined] : never): void;
|
|
50
|
-
reset(state: Readonly<{
|
|
51
|
-
key: string;
|
|
52
|
-
index: number;
|
|
53
|
-
routeNames: string[];
|
|
54
|
-
history?: unknown[];
|
|
55
|
-
routes: import("@react-navigation/routers").NavigationRoute<ParamListBase, string>[];
|
|
56
|
-
type: string;
|
|
57
|
-
stale: false;
|
|
58
|
-
}> | import("@react-navigation/routers").PartialState<Readonly<{
|
|
59
|
-
key: string;
|
|
60
|
-
index: number;
|
|
61
|
-
routeNames: string[];
|
|
62
|
-
history?: unknown[];
|
|
63
|
-
routes: import("@react-navigation/routers").NavigationRoute<ParamListBase, string>[];
|
|
64
|
-
type: string;
|
|
65
|
-
stale: false;
|
|
66
|
-
}>>): void;
|
|
67
|
-
goBack(): void;
|
|
68
|
-
isFocused(): boolean;
|
|
69
|
-
canGoBack(): boolean;
|
|
70
|
-
getId(): string | undefined;
|
|
71
|
-
getParent<T = NavigationHelpers<ParamListBase, {}> | undefined>(id?: string): T;
|
|
72
|
-
getState(): Readonly<{
|
|
73
|
-
key: string;
|
|
74
|
-
index: number;
|
|
75
|
-
routeNames: string[];
|
|
76
|
-
history?: unknown[];
|
|
77
|
-
routes: import("@react-navigation/routers").NavigationRoute<ParamListBase, string>[];
|
|
78
|
-
type: string;
|
|
79
|
-
stale: false;
|
|
80
|
-
}>;
|
|
81
|
-
setStateForNextRouteNamesChange(state: Readonly<{
|
|
82
|
-
key: string;
|
|
83
|
-
index: number;
|
|
84
|
-
routeNames: string[];
|
|
85
|
-
history?: unknown[];
|
|
86
|
-
routes: import("@react-navigation/routers").NavigationRoute<ParamListBase, string>[];
|
|
87
|
-
type: string;
|
|
88
|
-
stale: false;
|
|
89
|
-
}> | import("@react-navigation/routers").PartialState<Readonly<{
|
|
90
|
-
key: string;
|
|
91
|
-
index: number;
|
|
92
|
-
routeNames: string[];
|
|
93
|
-
history?: unknown[];
|
|
94
|
-
routes: import("@react-navigation/routers").NavigationRoute<ParamListBase, string>[];
|
|
95
|
-
type: string;
|
|
96
|
-
stale: false;
|
|
97
|
-
}>>): void;
|
|
98
|
-
} & PrivateValueStore<[ParamListBase, unknown, unknown]> & import("./types").EventEmitter<EventMap> & {
|
|
99
|
-
setParams<RouteName extends string>(params: Partial<object | undefined>): void;
|
|
100
|
-
} & ActionHelpers;
|
|
101
|
-
export {};
|
|
102
|
-
//# sourceMappingURL=useNavigationHelpers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useNavigationHelpers.d.ts","sourceRoot":"","sources":["../../../../src/useNavigationHelpers.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,MAAM,EACZ,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,KAAK,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEpE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAMhE,KAAK,OAAO,CAAC,KAAK,SAAS,eAAe,EAAE,MAAM,SAAS,gBAAgB,IAAI;IAC7E,EAAE,EAAE,MAAM,GAAG,SAAS,CAAC;IACvB,QAAQ,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,OAAO,CAAC;IAChD,QAAQ,EAAE,MAAM,KAAK,CAAC;IACtB,OAAO,EAAE,sBAAsB,CAAC,GAAG,CAAC,CAAC;IACrC,MAAM,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IAC9B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC;CACzC,CAAC;AAEF;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,KAAK,SAAS,eAAe,EAC7B,aAAa,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,IAAI,CAAC,EAChD,MAAM,SAAS,gBAAgB,EAC/B,QAAQ,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACpC,EACA,EAAE,EAAE,WAAW,EACf,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,MAAM,EACN,QAAQ,GACT,EAAE,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAsFxB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useNavigationIndependentTree.d.ts","sourceRoot":"","sources":["../../../../src/useNavigationIndependentTree.tsx"],"names":[],"mappings":"AAIA,wBAAgB,4BAA4B,YAE3C"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { NavigationState, ParamListBase } from '@react-navigation/routers';
|
|
2
|
-
type Selector<ParamList extends ParamListBase, T> = (state: NavigationState<ParamList>) => T;
|
|
3
|
-
/**
|
|
4
|
-
* Hook to get a value from the current navigation state using a selector.
|
|
5
|
-
*
|
|
6
|
-
* @param selector Selector function to get a value from the state.
|
|
7
|
-
*/
|
|
8
|
-
export declare function useNavigationState<ParamList extends ParamListBase, T>(selector: Selector<ParamList, T>): T;
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=useNavigationState.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useNavigationState.d.ts","sourceRoot":"","sources":["../../../../src/useNavigationState.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAOhF,KAAK,QAAQ,CAAC,SAAS,SAAS,aAAa,EAAE,CAAC,IAAI,CAClD,KAAK,EAAE,eAAe,CAAC,SAAS,CAAC,KAC9B,CAAC,CAAC;AAEP;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,SAAS,SAAS,aAAa,EAAE,CAAC,EACnE,QAAQ,EAAE,QAAQ,CAAC,SAAS,EAAE,CAAC,CAAC,GAC/B,CAAC,CAoBH"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { NavigationAction, NavigationState, PartialState, Router, RouterConfigOptions } from '@react-navigation/routers';
|
|
2
|
-
import { type ChildActionListener, type ChildBeforeRemoveListener } from './NavigationBuilderContext';
|
|
3
|
-
import type { EventMapCore } from './types';
|
|
4
|
-
import type { NavigationEventEmitter } from './useEventEmitter';
|
|
5
|
-
type Options = {
|
|
6
|
-
router: Router<NavigationState, NavigationAction>;
|
|
7
|
-
key?: string;
|
|
8
|
-
getState: () => NavigationState;
|
|
9
|
-
setState: (state: NavigationState | PartialState<NavigationState>) => void;
|
|
10
|
-
actionListeners: ChildActionListener[];
|
|
11
|
-
beforeRemoveListeners: Record<string, ChildBeforeRemoveListener | undefined>;
|
|
12
|
-
routerConfigOptions: RouterConfigOptions;
|
|
13
|
-
emitter: NavigationEventEmitter<EventMapCore<any>>;
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* Hook to handle actions for a navigator, including state updates and bubbling.
|
|
17
|
-
*
|
|
18
|
-
* Bubbling an action is achieved in 2 ways:
|
|
19
|
-
* 1. To bubble action to parent, we expose the action handler in context and then access the parent context
|
|
20
|
-
* 2. To bubble action to child, child adds event listeners subscribing to actions from parent
|
|
21
|
-
*
|
|
22
|
-
* When the action handler handles as action, it returns `true`, otherwise `false`.
|
|
23
|
-
*/
|
|
24
|
-
export declare function useOnAction({ router, getState, setState, key, actionListeners, beforeRemoveListeners, routerConfigOptions, emitter, }: Options): (action: NavigationAction, visitedNavigators?: Set<string>) => boolean;
|
|
25
|
-
export {};
|
|
26
|
-
//# sourceMappingURL=useOnAction.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useOnAction.d.ts","sourceRoot":"","sources":["../../../../src/useOnAction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,eAAe,EACf,YAAY,EACZ,MAAM,EACN,mBAAmB,EACpB,MAAM,2BAA2B,CAAC;AAInC,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,EAE/B,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAGhE,KAAK,OAAO,GAAG;IACb,MAAM,EAAE,MAAM,CAAC,eAAe,EAAE,gBAAgB,CAAC,CAAC;IAClD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,eAAe,CAAC;IAChC,QAAQ,EAAE,CAAC,KAAK,EAAE,eAAe,GAAG,YAAY,CAAC,eAAe,CAAC,KAAK,IAAI,CAAC;IAC3E,eAAe,EAAE,mBAAmB,EAAE,CAAC;IACvC,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,yBAAyB,GAAG,SAAS,CAAC,CAAC;IAC7E,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,OAAO,EAAE,sBAAsB,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC;CACpD,CAAC;AAEF;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAAC,EAC1B,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,GAAG,EACH,eAAe,EACf,qBAAqB,EACrB,mBAAmB,EACnB,OAAO,GACR,EAAE,OAAO,YAoBI,gBAAgB,sBACL,GAAG,CAAC,MAAM,CAAC,aA8GnC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { NavigationState } from '@react-navigation/routers';
|
|
2
|
-
import { type GetStateListener } from './NavigationBuilderContext';
|
|
3
|
-
type Options = {
|
|
4
|
-
getState: () => NavigationState;
|
|
5
|
-
getStateListeners: Record<string, GetStateListener | undefined>;
|
|
6
|
-
};
|
|
7
|
-
export declare function useOnGetState({ getState, getStateListeners }: Options): void;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=useOnGetState.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useOnGetState.d.ts","sourceRoot":"","sources":["../../../../src/useOnGetState.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAIjE,OAAO,EACL,KAAK,gBAAgB,EAEtB,MAAM,4BAA4B,CAAC;AAGpC,KAAK,OAAO,GAAG;IACb,QAAQ,EAAE,MAAM,eAAe,CAAC;IAChC,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,GAAG,SAAS,CAAC,CAAC;CACjE,CAAC;AAEF,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,iBAAiB,EAAE,EAAE,OAAO,QA6BrE"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { NavigationAction, NavigationState } from '@react-navigation/routers';
|
|
2
|
-
import { type ChildBeforeRemoveListener } from './NavigationBuilderContext';
|
|
3
|
-
import type { EventMapCore } from './types';
|
|
4
|
-
import type { NavigationEventEmitter } from './useEventEmitter';
|
|
5
|
-
type Options = {
|
|
6
|
-
getState: () => NavigationState;
|
|
7
|
-
emitter: NavigationEventEmitter<EventMapCore<any>>;
|
|
8
|
-
beforeRemoveListeners: Record<string, ChildBeforeRemoveListener | undefined>;
|
|
9
|
-
};
|
|
10
|
-
export declare const shouldPreventRemove: (emitter: NavigationEventEmitter<EventMapCore<any>>, beforeRemoveListeners: Record<string, ChildBeforeRemoveListener | undefined>, currentRoutes: {
|
|
11
|
-
key: string;
|
|
12
|
-
}[], nextRoutes: {
|
|
13
|
-
key?: string | undefined;
|
|
14
|
-
}[], action: NavigationAction) => boolean;
|
|
15
|
-
export declare function useOnPreventRemove({ getState, emitter, beforeRemoveListeners, }: Options): void;
|
|
16
|
-
export {};
|
|
17
|
-
//# sourceMappingURL=useOnPreventRemove.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useOnPreventRemove.d.ts","sourceRoot":"","sources":["../../../../src/useOnPreventRemove.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,eAAe,EAChB,MAAM,2BAA2B,CAAC;AAGnC,OAAO,EACL,KAAK,yBAAyB,EAE/B,MAAM,4BAA4B,CAAC;AAEpC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAEhE,KAAK,OAAO,GAAG;IACb,QAAQ,EAAE,MAAM,eAAe,CAAC;IAChC,OAAO,EAAE,sBAAsB,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC;IACnD,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,yBAAyB,GAAG,SAAS,CAAC,CAAC;CAC9E,CAAC;AAIF,eAAO,MAAM,mBAAmB,YACrB,sBAAsB,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,yBAC3B,MAAM,CAAC,MAAM,EAAE,yBAAyB,GAAG,SAAS,CAAC,iBAC7D;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,EAAE,cACpB;IAAE,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,EAAE,UAClC,gBAAgB,YA8CzB,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,OAAO,EACP,qBAAqB,GACtB,EAAE,OAAO,QAoBT"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { NavigationAction, NavigationState, Router } from '@react-navigation/routers';
|
|
2
|
-
type Options<Action extends NavigationAction> = {
|
|
3
|
-
router: Router<NavigationState, Action>;
|
|
4
|
-
getState: () => NavigationState;
|
|
5
|
-
setState: (state: NavigationState) => void;
|
|
6
|
-
key?: string;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Hook to handle focus actions for a route.
|
|
10
|
-
* Focus action needs to be treated specially, coz when a nested route is focused,
|
|
11
|
-
* the parent navigators also needs to be focused.
|
|
12
|
-
*/
|
|
13
|
-
export declare function useOnRouteFocus<Action extends NavigationAction>({ router, getState, key: sourceRouteKey, setState, }: Options<Action>): (key: string) => void;
|
|
14
|
-
export {};
|
|
15
|
-
//# sourceMappingURL=useOnRouteFocus.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useOnRouteFocus.d.ts","sourceRoot":"","sources":["../../../../src/useOnRouteFocus.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,eAAe,EACf,MAAM,EACP,MAAM,2BAA2B,CAAC;AAKnC,KAAK,OAAO,CAAC,MAAM,SAAS,gBAAgB,IAAI;IAC9C,MAAM,EAAE,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC;IACxC,QAAQ,EAAE,MAAM,eAAe,CAAC;IAChC,QAAQ,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAC;IAC3C,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,MAAM,SAAS,gBAAgB,EAAE,EAC/D,MAAM,EACN,QAAQ,EACR,GAAG,EAAE,cAAc,EACnB,QAAQ,GACT,EAAE,OAAO,CAAC,MAAM,CAAC,SAMR,MAAM,UAcf"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { ParamListBase } from '@react-navigation/routers';
|
|
2
|
-
import type { NavigationProp } from './types';
|
|
3
|
-
type Options = {
|
|
4
|
-
key?: string;
|
|
5
|
-
navigation?: NavigationProp<ParamListBase>;
|
|
6
|
-
options?: object | undefined;
|
|
7
|
-
};
|
|
8
|
-
export declare function useOptionsGetters({ key, options, navigation }: Options): {
|
|
9
|
-
addOptionsGetter: (key: string, getter: () => object | undefined | null) => () => void;
|
|
10
|
-
getCurrentOptions: () => object | null | undefined;
|
|
11
|
-
};
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=useOptionsGetters.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useOptionsGetters.d.ts","sourceRoot":"","sources":["../../../../src/useOptionsGetters.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAK/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,KAAK,OAAO,GAAG;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,cAAc,CAAC,aAAa,CAAC,CAAC;IAC3C,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,EAAE,GAAG,EAAE,OAAO,EAAE,UAAU,EAAE,EAAE,OAAO;4BA+D7D,MAAM,UAAU,MAAM,MAAM,GAAG,SAAS,GAAG,IAAI;;EAiBxD"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { NavigationAction } from '@react-navigation/routers';
|
|
2
|
-
/**
|
|
3
|
-
* Hook to prevent screen from being removed. Can be used to prevent users from leaving the screen.
|
|
4
|
-
*
|
|
5
|
-
* @param preventRemove Boolean indicating whether to prevent screen from being removed.
|
|
6
|
-
* @param callback Function which is executed when screen was prevented from being removed.
|
|
7
|
-
*/
|
|
8
|
-
export declare function usePreventRemove(preventRemove: boolean, callback: (options: {
|
|
9
|
-
data: {
|
|
10
|
-
action: NavigationAction;
|
|
11
|
-
};
|
|
12
|
-
}) => void): void;
|
|
13
|
-
//# sourceMappingURL=usePreventRemove.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"usePreventRemove.d.ts","sourceRoot":"","sources":["../../../../src/usePreventRemove.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAUlE;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAC9B,aAAa,EAAE,OAAO,EACtB,QAAQ,EAAE,CAAC,OAAO,EAAE;IAAE,IAAI,EAAE;QAAE,MAAM,EAAE,gBAAgB,CAAA;KAAE,CAAA;CAAE,KAAK,IAAI,QAgCpE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"usePreventRemoveContext.d.ts","sourceRoot":"","sources":["../../../../src/usePreventRemoveContext.tsx"],"names":[],"mappings":"AAIA,wBAAgB,uBAAuB;;;EAUtC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Register a navigator in the parent context (either a navigation container or a screen).
|
|
3
|
-
* This is used to prevent multiple navigators under a single container or screen.
|
|
4
|
-
*/
|
|
5
|
-
export declare function useRegisterNavigator(): string;
|
|
6
|
-
//# sourceMappingURL=useRegisterNavigator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useRegisterNavigator.d.ts","sourceRoot":"","sources":["../../../../src/useRegisterNavigator.tsx"],"names":[],"mappings":"AAKA;;;GAGG;AACH,wBAAgB,oBAAoB,WAmBnC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { ParamListBase } from '@react-navigation/routers';
|
|
2
|
-
import type { RouteProp } from './types';
|
|
3
|
-
/**
|
|
4
|
-
* Hook to access the route prop of the parent screen anywhere.
|
|
5
|
-
*
|
|
6
|
-
* @returns Route prop of the parent screen.
|
|
7
|
-
*/
|
|
8
|
-
export declare function useRoute<T extends RouteProp<ParamListBase>>(): T;
|
|
9
|
-
//# sourceMappingURL=useRoute.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useRoute.d.ts","sourceRoot":"","sources":["../../../../src/useRoute.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAI/D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,CAAC,SAAS,SAAS,CAAC,aAAa,CAAC,KAAK,CAAC,CAUhE"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { NavigationState, ParamListBase } from '@react-navigation/routers';
|
|
2
|
-
import type { RouteProp } from './types';
|
|
3
|
-
/**
|
|
4
|
-
* Utilities such as `getFocusedRouteNameFromRoute` need to access state.
|
|
5
|
-
* So we need a way to suppress the warning for those use cases.
|
|
6
|
-
* This is fine since they are internal utilities and this is not public API.
|
|
7
|
-
*/
|
|
8
|
-
export declare const CHILD_STATE: unique symbol;
|
|
9
|
-
/**
|
|
10
|
-
* Hook to cache route props for each screen in the navigator.
|
|
11
|
-
* This lets add warnings and modifications to the route object but keep references between renders.
|
|
12
|
-
*/
|
|
13
|
-
export declare function useRouteCache<State extends NavigationState>(routes: State['routes']): RouteProp<ParamListBase>[];
|
|
14
|
-
//# sourceMappingURL=useRouteCache.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useRouteCache.d.ts","sourceRoot":"","sources":["../../../../src/useRouteCache.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAIhF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAIzC;;;;GAIG;AACH,eAAO,MAAM,WAAW,eAAwB,CAAC;AAEjD;;;GAGG;AACH,wBAAgB,aAAa,CAAC,KAAK,SAAS,eAAe,EACzD,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,8BAmDxB"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* When screen config changes, we want to update the navigator in the same update phase.
|
|
3
|
-
* However, navigation state is in the root component and React won't let us update it from a child.
|
|
4
|
-
* This is a workaround for that, the scheduled update is stored in the ref without actually calling setState.
|
|
5
|
-
* It lets all subsequent updates access the latest state so it stays correct.
|
|
6
|
-
* Then we call setState during after the component updates.
|
|
7
|
-
*/
|
|
8
|
-
export declare function useScheduleUpdate(callback: () => void): void;
|
|
9
|
-
//# sourceMappingURL=useScheduleUpdate.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useScheduleUpdate.d.ts","sourceRoot":"","sources":["../../../../src/useScheduleUpdate.tsx"],"names":[],"mappings":"AAKA;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,IAAI,QAUrD"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Hook to get a minimal state representation for the current route.
|
|
3
|
-
* The returned state can be used with `getPathFromState` to build a path.
|
|
4
|
-
*
|
|
5
|
-
* @returns Minimal state to build a path for the current route.
|
|
6
|
-
*/
|
|
7
|
-
export declare function useStateForPath(): import("./NavigationFocusedRouteStateContext").FocusedRouteState | undefined;
|
|
8
|
-
//# sourceMappingURL=useStateForPath.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useStateForPath.d.ts","sourceRoot":"","sources":["../../../../src/useStateForPath.tsx"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,wBAAgB,eAAe,iFAI9B"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare function useSyncState<T>(getInitialState: () => T): {
|
|
2
|
-
readonly state: T;
|
|
3
|
-
readonly getState: () => T;
|
|
4
|
-
readonly setState: (newState: T) => void;
|
|
5
|
-
readonly scheduleUpdate: (callback: () => void) => void;
|
|
6
|
-
readonly flushUpdates: () => void;
|
|
7
|
-
};
|
|
8
|
-
//# sourceMappingURL=useSyncState.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useSyncState.d.ts","sourceRoot":"","sources":["../../../../src/useSyncState.tsx"],"names":[],"mappings":"AAiEA,wBAAgB,YAAY,CAAC,CAAC,EAAE,eAAe,EAAE,MAAM,CAAC;;;;wCAaF,MAAM,IAAI;;EA0B/D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validatePathConfig.d.ts","sourceRoot":"","sources":["../../../../src/validatePathConfig.tsx"],"names":[],"mappings":"AAKA,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,OAAO,EAAE,IAAI,UAAO,QA6E9D"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|