@react-navigation/core 7.17.5 → 7.19.0
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/module/StaticNavigation.js +6 -0
- package/lib/module/StaticNavigation.js.map +1 -1
- package/lib/module/index.js +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/useNavigationBuilder.js +6 -1
- package/lib/module/useNavigationBuilder.js.map +1 -1
- package/lib/typescript/src/BaseNavigationContainer.d.ts +1 -1
- package/lib/typescript/src/BaseNavigationContainer.d.ts.map +1 -1
- package/lib/typescript/src/Group.d.ts +1 -1
- package/lib/typescript/src/Group.d.ts.map +1 -1
- package/lib/typescript/src/NavigationBuilderContext.d.ts +1 -1
- package/lib/typescript/src/NavigationBuilderContext.d.ts.map +1 -1
- package/lib/typescript/src/NavigationContainerRefContext.d.ts +1 -1
- package/lib/typescript/src/NavigationContainerRefContext.d.ts.map +1 -1
- package/lib/typescript/src/NavigationContext.d.ts +1 -1
- package/lib/typescript/src/NavigationContext.d.ts.map +1 -1
- package/lib/typescript/src/NavigationHelpersContext.d.ts +1 -1
- package/lib/typescript/src/NavigationHelpersContext.d.ts.map +1 -1
- package/lib/typescript/src/NavigationProvider.d.ts +1 -1
- package/lib/typescript/src/NavigationProvider.d.ts.map +1 -1
- package/lib/typescript/src/SceneView.d.ts +1 -1
- package/lib/typescript/src/SceneView.d.ts.map +1 -1
- package/lib/typescript/src/Screen.d.ts +1 -1
- package/lib/typescript/src/Screen.d.ts.map +1 -1
- package/lib/typescript/src/StaticNavigation.d.ts +59 -3
- package/lib/typescript/src/StaticNavigation.d.ts.map +1 -1
- package/lib/typescript/src/createNavigationContainerRef.d.ts +1 -1
- package/lib/typescript/src/createNavigationContainerRef.d.ts.map +1 -1
- package/lib/typescript/src/getActionFromState.d.ts +1 -1
- package/lib/typescript/src/getActionFromState.d.ts.map +1 -1
- package/lib/typescript/src/getPathFromState.d.ts +1 -1
- package/lib/typescript/src/getPathFromState.d.ts.map +1 -1
- package/lib/typescript/src/getStateFromPath.d.ts +1 -1
- package/lib/typescript/src/getStateFromPath.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +34 -34
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/useChildListeners.d.ts +3 -3
- package/lib/typescript/src/useChildListeners.d.ts.map +1 -1
- package/lib/typescript/src/useCurrentRender.d.ts +1 -1
- package/lib/typescript/src/useCurrentRender.d.ts.map +1 -1
- package/lib/typescript/src/useDescriptors.d.ts +7 -7
- package/lib/typescript/src/useDescriptors.d.ts.map +1 -1
- package/lib/typescript/src/useEventEmitter.d.ts +1 -1
- package/lib/typescript/src/useEventEmitter.d.ts.map +1 -1
- package/lib/typescript/src/useFocusEvents.d.ts +2 -2
- package/lib/typescript/src/useFocusEvents.d.ts.map +1 -1
- package/lib/typescript/src/useFocusedListenersChildrenAdapter.d.ts +2 -2
- package/lib/typescript/src/useFocusedListenersChildrenAdapter.d.ts.map +1 -1
- package/lib/typescript/src/useKeyedChildListeners.d.ts +3 -3
- package/lib/typescript/src/useKeyedChildListeners.d.ts.map +1 -1
- package/lib/typescript/src/useNavigation.d.ts +1 -1
- package/lib/typescript/src/useNavigation.d.ts.map +1 -1
- package/lib/typescript/src/useNavigationBuilder.d.ts +11 -11
- package/lib/typescript/src/useNavigationBuilder.d.ts.map +1 -1
- package/lib/typescript/src/useNavigationCache.d.ts +4 -4
- package/lib/typescript/src/useNavigationCache.d.ts.map +1 -1
- package/lib/typescript/src/useNavigationContainerRef.d.ts +1 -1
- package/lib/typescript/src/useNavigationContainerRef.d.ts.map +1 -1
- package/lib/typescript/src/useNavigationHelpers.d.ts +3 -3
- package/lib/typescript/src/useNavigationHelpers.d.ts.map +1 -1
- package/lib/typescript/src/useOnAction.d.ts +3 -3
- package/lib/typescript/src/useOnAction.d.ts.map +1 -1
- package/lib/typescript/src/useOnGetState.d.ts +1 -1
- package/lib/typescript/src/useOnGetState.d.ts.map +1 -1
- package/lib/typescript/src/useOnPreventRemove.d.ts +3 -3
- package/lib/typescript/src/useOnPreventRemove.d.ts.map +1 -1
- package/lib/typescript/src/useOptionsGetters.d.ts +1 -1
- package/lib/typescript/src/useOptionsGetters.d.ts.map +1 -1
- package/lib/typescript/src/usePreventRemoveContext.d.ts +1 -1
- package/lib/typescript/src/useRoute.d.ts +1 -1
- package/lib/typescript/src/useRoute.d.ts.map +1 -1
- package/lib/typescript/src/useRouteCache.d.ts +1 -1
- package/lib/typescript/src/useRouteCache.d.ts.map +1 -1
- package/lib/typescript/src/useStateForPath.d.ts +1 -1
- package/lib/typescript/src/useStateForPath.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/StaticNavigation.tsx +117 -1
- package/src/index.tsx +2 -0
- package/src/useNavigationBuilder.tsx +5 -0
|
@@ -1,36 +1,36 @@
|
|
|
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 { NavigationMetaContext } from './NavigationMetaContext';
|
|
15
|
-
export { NavigationProvider, NavigationRouteContext, } from './NavigationProvider';
|
|
16
|
-
export { PreventRemoveContext } from './PreventRemoveContext';
|
|
17
|
-
export { PreventRemoveProvider } from './PreventRemoveProvider';
|
|
18
|
-
export { createComponentForStaticNavigationDeprecated as createComponentForStaticNavigation, createPathConfigForStaticNavigation, type StaticConfig, type StaticConfigGroup, type StaticConfigScreens, type StaticNavigation, type StaticScreenProps, } from './StaticNavigation';
|
|
19
|
-
export { ThemeContext } from './theming/ThemeContext';
|
|
20
|
-
export { ThemeProvider } from './theming/ThemeProvider';
|
|
21
|
-
export { useTheme } from './theming/useTheme';
|
|
22
|
-
export * from './types';
|
|
23
|
-
export { useFocusEffect } from './useFocusEffect';
|
|
24
|
-
export { useIsFocused } from './useIsFocused';
|
|
25
|
-
export { useNavigation } from './useNavigation';
|
|
26
|
-
export { useNavigationBuilder } from './useNavigationBuilder';
|
|
27
|
-
export { useNavigationContainerRef } from './useNavigationContainerRef';
|
|
28
|
-
export { useNavigationIndependentTree } from './useNavigationIndependentTree';
|
|
29
|
-
export { useNavigationState } from './useNavigationState';
|
|
30
|
-
export { usePreventRemove } from './usePreventRemove';
|
|
31
|
-
export { usePreventRemoveContext } from './usePreventRemoveContext';
|
|
32
|
-
export { useRoute } from './useRoute';
|
|
33
|
-
export { useStateForPath } from './useStateForPath';
|
|
34
|
-
export { validatePathConfig } from './validatePathConfig';
|
|
1
|
+
export { BaseNavigationContainer } from './BaseNavigationContainer.js';
|
|
2
|
+
export { createNavigationContainerRef } from './createNavigationContainerRef.js';
|
|
3
|
+
export { createNavigatorFactory } from './createNavigatorFactory.js';
|
|
4
|
+
export { CurrentRenderContext } from './CurrentRenderContext.js';
|
|
5
|
+
export { findFocusedRoute } from './findFocusedRoute.js';
|
|
6
|
+
export { getActionFromState } from './getActionFromState.js';
|
|
7
|
+
export { getFocusedRouteNameFromRoute } from './getFocusedRouteNameFromRoute.js';
|
|
8
|
+
export { getPathFromState } from './getPathFromState.js';
|
|
9
|
+
export { getStateFromPath } from './getStateFromPath.js';
|
|
10
|
+
export { NavigationContainerRefContext } from './NavigationContainerRefContext.js';
|
|
11
|
+
export { NavigationContext } from './NavigationContext.js';
|
|
12
|
+
export { NavigationHelpersContext } from './NavigationHelpersContext.js';
|
|
13
|
+
export { NavigationIndependentTree } from './NavigationIndependentTree.js';
|
|
14
|
+
export { NavigationMetaContext } from './NavigationMetaContext.js';
|
|
15
|
+
export { NavigationProvider, NavigationRouteContext, } from './NavigationProvider.js';
|
|
16
|
+
export { PreventRemoveContext } from './PreventRemoveContext.js';
|
|
17
|
+
export { PreventRemoveProvider } from './PreventRemoveProvider.js';
|
|
18
|
+
export { createComponentForStaticNavigationDeprecated as createComponentForStaticNavigation, createPathConfigForStaticNavigation, createScreenFactory, type StaticConfig, type StaticConfigGroup, type StaticConfigScreens, type StaticNavigation, type StaticScreenFactory, type StaticScreenProps, } from './StaticNavigation.js';
|
|
19
|
+
export { ThemeContext } from './theming/ThemeContext.js';
|
|
20
|
+
export { ThemeProvider } from './theming/ThemeProvider.js';
|
|
21
|
+
export { useTheme } from './theming/useTheme.js';
|
|
22
|
+
export * from './types.js';
|
|
23
|
+
export { useFocusEffect } from './useFocusEffect.js';
|
|
24
|
+
export { useIsFocused } from './useIsFocused.js';
|
|
25
|
+
export { useNavigation } from './useNavigation.js';
|
|
26
|
+
export { useNavigationBuilder } from './useNavigationBuilder.js';
|
|
27
|
+
export { useNavigationContainerRef } from './useNavigationContainerRef.js';
|
|
28
|
+
export { useNavigationIndependentTree } from './useNavigationIndependentTree.js';
|
|
29
|
+
export { useNavigationState } from './useNavigationState.js';
|
|
30
|
+
export { usePreventRemove } from './usePreventRemove.js';
|
|
31
|
+
export { usePreventRemoveContext } from './usePreventRemoveContext.js';
|
|
32
|
+
export { useRoute } from './useRoute.js';
|
|
33
|
+
export { useStateForPath } from './useStateForPath.js';
|
|
34
|
+
export { validatePathConfig } from './validatePathConfig.js';
|
|
35
35
|
export * from '@react-navigation/routers';
|
|
36
36
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"m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vB,MAAM,uBAAoB,CAAC;AAC5B,OAAO,EAAE,YAAY,EAAE,MAAM,2BAAwB,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,4BAAyB,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAoB,CAAC;AAC9C,cAAc,YAAS,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAkB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAgB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAiB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAAwB,CAAC;AAC9D,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAA6B,CAAC;AACxE,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAgC,CAAC;AAC9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAsB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAoB,CAAC;AACtD,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA2B,CAAC;AACpE,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAY,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAmB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAsB,CAAC;AAC1D,cAAc,2BAA2B,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { ListenerMap } from './NavigationBuilderContext';
|
|
1
|
+
import type { ListenerMap } from './NavigationBuilderContext.js';
|
|
2
2
|
/**
|
|
3
3
|
* Hook which lets child navigators add action listeners.
|
|
4
4
|
*/
|
|
5
5
|
export declare function useChildListeners(): {
|
|
6
6
|
listeners: {
|
|
7
|
-
action: import("./NavigationBuilderContext").ChildActionListener[];
|
|
8
|
-
focus: import("./NavigationBuilderContext").FocusedNavigationListener[];
|
|
7
|
+
action: import("./NavigationBuilderContext.js").ChildActionListener[];
|
|
8
|
+
focus: import("./NavigationBuilderContext.js").FocusedNavigationListener[];
|
|
9
9
|
};
|
|
10
10
|
addListener: <T extends keyof ListenerMap>(type: T, listener: ListenerMap[T]) => () => void;
|
|
11
11
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useChildListeners.d.ts","sourceRoot":"","sources":["../../../src/useChildListeners.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"useChildListeners.d.ts","sourceRoot":"","sources":["../../../src/useChildListeners.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA4B,CAAC;AAE9D;;GAEG;AACH,wBAAgB,iBAAiB;;;;;kBAS5B,CAAC,SAAS,MAAM,WAAW,QAAQ,CAAC,YAAY,WAAW,CAAC,CAAC,CAAC;EAoBlE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { NavigationState, ParamListBase } from '@react-navigation/routers';
|
|
2
|
-
import type { Descriptor, NavigationHelpers, NavigationProp, RouteProp } from './types';
|
|
2
|
+
import type { Descriptor, NavigationHelpers, NavigationProp, RouteProp } from './types.js';
|
|
3
3
|
type Options = {
|
|
4
4
|
state: NavigationState;
|
|
5
5
|
navigation: NavigationHelpers<ParamListBase>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCurrentRender.d.ts","sourceRoot":"","sources":["../../../src/useCurrentRender.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAIhF,OAAO,KAAK,EACV,UAAU,EACV,iBAAiB,EACjB,cAAc,EACd,SAAS,EACV,MAAM,
|
|
1
|
+
{"version":3,"file":"useCurrentRender.d.ts","sourceRoot":"","sources":["../../../src/useCurrentRender.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAIhF,OAAO,KAAK,EACV,UAAU,EACV,iBAAiB,EACjB,cAAc,EACd,SAAS,EACV,MAAM,YAAS,CAAC;AAEjB,KAAK,OAAO,GAAG;IACb,KAAK,EAAE,eAAe,CAAC;IACvB,UAAU,EAAE,iBAAiB,CAAC,aAAa,CAAC,CAAC;IAC7C,WAAW,EAAE,MAAM,CACjB,MAAM,EACN,UAAU,CAAC,MAAM,EAAE,cAAc,CAAC,aAAa,CAAC,EAAE,SAAS,CAAC,aAAa,CAAC,CAAC,CAC5E,CAAC;CACH,CAAC;AAEF;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,EAAE,OAAO,QAM3E"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { NavigationAction, NavigationState, ParamListBase, PartialState, Router } from '@react-navigation/routers';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { type AddKeyedListener, type AddListener } from './NavigationBuilderContext';
|
|
4
|
-
import type { Descriptor, EventMapBase, NavigationHelpers, NavigationProp, RouteConfig, RouteProp } from './types';
|
|
5
|
-
import type { NavigationEventEmitter } from './useEventEmitter';
|
|
3
|
+
import { type AddKeyedListener, type AddListener } from './NavigationBuilderContext.js';
|
|
4
|
+
import type { Descriptor, EventMapBase, NavigationHelpers, NavigationProp, RouteConfig, RouteProp } from './types.js';
|
|
5
|
+
import type { NavigationEventEmitter } from './useEventEmitter.js';
|
|
6
6
|
export type ScreenConfigWithParent<State extends NavigationState, ScreenOptions extends {}, EventMap extends EventMapBase> = {
|
|
7
7
|
keys: (string | undefined)[];
|
|
8
8
|
options: (ScreenOptionsOrCallback<ScreenOptions> | undefined)[] | undefined;
|
|
@@ -82,7 +82,7 @@ export declare function useDescriptors<State extends NavigationState, ActionHelp
|
|
|
82
82
|
getId(): string | undefined;
|
|
83
83
|
getParent<T = NavigationHelpers<ParamListBase, {}> | undefined>(id?: string): T;
|
|
84
84
|
getState(): State;
|
|
85
|
-
} & import("./types").PrivateValueStore<[ParamListBase, unknown, unknown]>, "getParent"> & {
|
|
85
|
+
} & import("./types.js").PrivateValueStore<[ParamListBase, unknown, unknown]>, "getParent"> & {
|
|
86
86
|
getParent<T = NavigationProp<ParamListBase, string, string | undefined, Readonly<{
|
|
87
87
|
key: string;
|
|
88
88
|
index: number;
|
|
@@ -96,7 +96,7 @@ export declare function useDescriptors<State extends NavigationState, ActionHelp
|
|
|
96
96
|
} & {
|
|
97
97
|
setParams(params: Partial<object | undefined>): void;
|
|
98
98
|
replaceParams(params: object | undefined): void;
|
|
99
|
-
} & import("./types").EventConsumer<EventMap & import("./types").EventMapCore<State>> & import("./types").PrivateValueStore<[ParamListBase, string, EventMap]> & ActionHelpers, RouteProp<ParamListBase>>;
|
|
99
|
+
} & import("./types.js").EventConsumer<EventMap & import("./types.js").EventMapCore<State>> & import("./types.js").PrivateValueStore<[ParamListBase, string, EventMap]> & ActionHelpers, RouteProp<ParamListBase>>;
|
|
100
100
|
descriptors: Record<string, Descriptor<ScreenOptions, Omit<{
|
|
101
101
|
dispatch(action: Readonly<{
|
|
102
102
|
type: string;
|
|
@@ -134,7 +134,7 @@ export declare function useDescriptors<State extends NavigationState, ActionHelp
|
|
|
134
134
|
getId(): string | undefined;
|
|
135
135
|
getParent<T = NavigationHelpers<ParamListBase, {}> | undefined>(id?: string): T;
|
|
136
136
|
getState(): State;
|
|
137
|
-
} & import("./types").PrivateValueStore<[ParamListBase, unknown, unknown]>, "getParent"> & {
|
|
137
|
+
} & import("./types.js").PrivateValueStore<[ParamListBase, unknown, unknown]>, "getParent"> & {
|
|
138
138
|
getParent<T = NavigationProp<ParamListBase, string, string | undefined, Readonly<{
|
|
139
139
|
key: string;
|
|
140
140
|
index: number;
|
|
@@ -148,7 +148,7 @@ export declare function useDescriptors<State extends NavigationState, ActionHelp
|
|
|
148
148
|
} & {
|
|
149
149
|
setParams(params: Partial<object | undefined>): void;
|
|
150
150
|
replaceParams(params: object | undefined): void;
|
|
151
|
-
} & import("./types").EventConsumer<EventMap & import("./types").EventMapCore<State>> & import("./types").PrivateValueStore<[ParamListBase, string, EventMap]> & ActionHelpers, RouteProp<ParamListBase>>>;
|
|
151
|
+
} & import("./types.js").EventConsumer<EventMap & import("./types.js").EventMapCore<State>> & import("./types.js").PrivateValueStore<[ParamListBase, string, EventMap]> & ActionHelpers, RouteProp<ParamListBase>>>;
|
|
152
152
|
};
|
|
153
153
|
export {};
|
|
154
154
|
//# sourceMappingURL=useDescriptors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDescriptors.d.ts","sourceRoot":"","sources":["../../../src/useDescriptors.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,YAAY,EACZ,MAAM,EACP,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAEjB,MAAM,
|
|
1
|
+
{"version":3,"file":"useDescriptors.d.ts","sourceRoot":"","sources":["../../../src/useDescriptors.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,YAAY,EACZ,MAAM,EACP,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAEjB,MAAM,+BAA4B,CAAC;AAIpC,OAAO,KAAK,EACV,UAAU,EACV,YAAY,EACZ,iBAAiB,EACjB,cAAc,EACd,WAAW,EACX,SAAS,EACV,MAAM,YAAS,CAAC;AACjB,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAmB,CAAC;AAIhE,MAAM,MAAM,sBAAsB,CAChC,KAAK,SAAS,eAAe,EAC7B,aAAa,SAAS,EAAE,EACxB,QAAQ,SAAS,YAAY,I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"version":3,"file":"useEventEmitter.d.ts","sourceRoot":"","sources":["../../../src/useEventEmitter.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAY,aAAa,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AAErE,MAAM,MAAM,sBAAsB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IAC9D,YAAY,CAAC,CAAC,CAAC,GAAG;IAChB,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,aAAa,CAAC,CAAC,CAAC,CAAC;CAC9C,CAAC;AAIJ;;GAEG;AACH,wBAAgB,eAAe,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC3D,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,IAAI,GACxB,sBAAsB,CAAC,CAAC,CAAC,CAuH3B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { NavigationState } from '@react-navigation/routers';
|
|
2
|
-
import type { EventMapCore } from './types';
|
|
3
|
-
import type { NavigationEventEmitter } from './useEventEmitter';
|
|
2
|
+
import type { EventMapCore } from './types.js';
|
|
3
|
+
import type { NavigationEventEmitter } from './useEventEmitter.js';
|
|
4
4
|
type Options<State extends NavigationState> = {
|
|
5
5
|
state: State;
|
|
6
6
|
emitter: NavigationEventEmitter<EventMapCore<State>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFocusEvents.d.ts","sourceRoot":"","sources":["../../../src/useFocusEvents.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAIjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"useFocusEvents.d.ts","sourceRoot":"","sources":["../../../src/useFocusEvents.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAIjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AAC5C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAmB,CAAC;AAEhE,KAAK,OAAO,CAAC,KAAK,SAAS,eAAe,IAAI;IAC5C,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,sBAAsB,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;CACtD,CAAC;AAEF;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,SAAS,eAAe,EAAE,EAC5D,KAAK,EACL,OAAO,GACR,EAAE,OAAO,CAAC,KAAK,CAAC,QAsDhB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ParamListBase } from '@react-navigation/routers';
|
|
2
|
-
import { type FocusedNavigationListener } from './NavigationBuilderContext';
|
|
3
|
-
import type { NavigationHelpers } from './types';
|
|
2
|
+
import { type FocusedNavigationListener } from './NavigationBuilderContext.js';
|
|
3
|
+
import type { NavigationHelpers } from './types.js';
|
|
4
4
|
type Options = {
|
|
5
5
|
navigation: NavigationHelpers<ParamListBase>;
|
|
6
6
|
focusedListeners: FocusedNavigationListener[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFocusedListenersChildrenAdapter.d.ts","sourceRoot":"","sources":["../../../src/useFocusedListenersChildrenAdapter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAG/D,OAAO,EAEL,KAAK,yBAAyB,EAE/B,MAAM,
|
|
1
|
+
{"version":3,"file":"useFocusedListenersChildrenAdapter.d.ts","sourceRoot":"","sources":["../../../src/useFocusedListenersChildrenAdapter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAG/D,OAAO,EAEL,KAAK,yBAAyB,EAE/B,MAAM,+BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAS,CAAC;AAEjD,KAAK,OAAO,GAAG;IACb,UAAU,EAAE,iBAAiB,CAAC,aAAa,CAAC,CAAC;IAC7C,gBAAgB,EAAE,yBAAyB,EAAE,CAAC;CAC/C,CAAC;AAEF;;GAEG;AACH,wBAAgB,kCAAkC,CAAC,EACjD,UAAU,EACV,gBAAgB,GACjB,EAAE,OAAO,QA0BT"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { KeyedListenerMap } from './NavigationBuilderContext';
|
|
1
|
+
import type { KeyedListenerMap } from './NavigationBuilderContext.js';
|
|
2
2
|
/**
|
|
3
3
|
* Hook which lets child navigators add getters to be called for obtaining rehydrated state.
|
|
4
4
|
*/
|
|
5
5
|
export declare function useKeyedChildListeners(): {
|
|
6
6
|
keyedListeners: {
|
|
7
|
-
getState: Record<string, import("./NavigationBuilderContext").GetStateListener | undefined>;
|
|
8
|
-
beforeRemove: Record<string, import("./NavigationBuilderContext").ChildBeforeRemoveListener | undefined>;
|
|
7
|
+
getState: Record<string, import("./NavigationBuilderContext.js").GetStateListener | undefined>;
|
|
8
|
+
beforeRemove: Record<string, import("./NavigationBuilderContext.js").ChildBeforeRemoveListener | undefined>;
|
|
9
9
|
};
|
|
10
10
|
addKeyedListener: <T extends keyof KeyedListenerMap>(type: T, key: string, listener: KeyedListenerMap[T]) => () => void;
|
|
11
11
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useKeyedChildListeners.d.ts","sourceRoot":"","sources":["../../../src/useKeyedChildListeners.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"useKeyedChildListeners.d.ts","sourceRoot":"","sources":["../../../src/useKeyedChildListeners.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA4B,CAAC;AAEnE;;GAEG;AACH,wBAAgB,sBAAsB;;;;;uBAcjC,CAAC,SAAS,MAAM,gBAAgB,QACzB,CAAC,OACF,MAAM,YACD,gBAAgB,CAAC,CAAC,CAAC;EAiBlC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useNavigation.d.ts","sourceRoot":"","sources":["../../../src/useNavigation.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAKjE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"useNavigation.d.ts","sourceRoot":"","sources":["../../../src/useNavigation.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAKjE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAS,CAAC;AAE9C;;;;GAIG;AACH,wBAAgB,aAAa,CAC3B,CAAC,GAAG,IAAI,CAAC,cAAc,CAAC,eAAe,CAAC,aAAa,CAAC,EAAE,UAAU,CAAC,GAAG;IACpE,QAAQ,IAAI,eAAe,GAAG,SAAS,CAAC;CACzC,KACE,CAAC,CAYL"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type DefaultRouterOptions, type NavigationAction, type NavigationState, type ParamListBase, type PartialState, type RouterFactory } from '@react-navigation/routers';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { type DefaultNavigatorOptions, type EventMapCore, PrivateValueStore } from './types';
|
|
3
|
+
import { type DefaultNavigatorOptions, type EventMapCore, PrivateValueStore } from './types.js';
|
|
4
4
|
/**
|
|
5
5
|
* Hook for building navigators.
|
|
6
6
|
*
|
|
@@ -69,7 +69,7 @@ export declare function useNavigationBuilder<State extends NavigationState, Rout
|
|
|
69
69
|
isFocused(): boolean;
|
|
70
70
|
canGoBack(): boolean;
|
|
71
71
|
getId(): string | undefined;
|
|
72
|
-
getParent<T = import("./types").NavigationHelpers<ParamListBase, {}> | undefined>(id?: string): T;
|
|
72
|
+
getParent<T = import("./types.js").NavigationHelpers<ParamListBase, {}> | undefined>(id?: string): T;
|
|
73
73
|
getState(): Readonly<{
|
|
74
74
|
key: string;
|
|
75
75
|
index: number;
|
|
@@ -79,11 +79,11 @@ export declare function useNavigationBuilder<State extends NavigationState, Rout
|
|
|
79
79
|
type: string;
|
|
80
80
|
stale: false;
|
|
81
81
|
}>;
|
|
82
|
-
} & PrivateValueStore<[ParamListBase, unknown, unknown]> & import("./types").EventEmitter<EventMap> & {
|
|
82
|
+
} & PrivateValueStore<[ParamListBase, unknown, unknown]> & import("./types.js").EventEmitter<EventMap> & {
|
|
83
83
|
setParams(params: Partial<object | undefined>): void;
|
|
84
84
|
replaceParams(params: object | undefined): void;
|
|
85
85
|
} & ActionHelpers;
|
|
86
|
-
describe: (route: import("./types").RouteProp<ParamListBase>, placeholder: boolean) => import("./types").Descriptor<ScreenOptions, Omit<{
|
|
86
|
+
describe: (route: import("./types.js").RouteProp<ParamListBase>, placeholder: boolean) => import("./types.js").Descriptor<ScreenOptions, Omit<{
|
|
87
87
|
dispatch(action: Readonly<{
|
|
88
88
|
type: string;
|
|
89
89
|
payload?: object;
|
|
@@ -118,10 +118,10 @@ export declare function useNavigationBuilder<State extends NavigationState, Rout
|
|
|
118
118
|
isFocused(): boolean;
|
|
119
119
|
canGoBack(): boolean;
|
|
120
120
|
getId(): string | undefined;
|
|
121
|
-
getParent<T = import("./types").NavigationHelpers<ParamListBase, {}> | undefined>(id?: string): T;
|
|
121
|
+
getParent<T = import("./types.js").NavigationHelpers<ParamListBase, {}> | undefined>(id?: string): T;
|
|
122
122
|
getState(): State;
|
|
123
123
|
} & PrivateValueStore<[ParamListBase, unknown, unknown]>, "getParent"> & {
|
|
124
|
-
getParent<T = import("./types").NavigationProp<ParamListBase, string, string | undefined, Readonly<{
|
|
124
|
+
getParent<T = import("./types.js").NavigationProp<ParamListBase, string, string | undefined, Readonly<{
|
|
125
125
|
key: string;
|
|
126
126
|
index: number;
|
|
127
127
|
routeNames: string[];
|
|
@@ -134,8 +134,8 @@ export declare function useNavigationBuilder<State extends NavigationState, Rout
|
|
|
134
134
|
} & {
|
|
135
135
|
setParams(params: Partial<object | undefined>): void;
|
|
136
136
|
replaceParams(params: object | undefined): void;
|
|
137
|
-
} & import("./types").EventConsumer<EventMap & EventMapCore<State>> & PrivateValueStore<[ParamListBase, string, EventMap]> & ActionHelpers, import("./types").RouteProp<ParamListBase>>;
|
|
138
|
-
descriptors: Record<string, import("./types").Descriptor<ScreenOptions, Omit<{
|
|
137
|
+
} & import("./types.js").EventConsumer<EventMap & EventMapCore<State>> & PrivateValueStore<[ParamListBase, string, EventMap]> & ActionHelpers, import("./types.js").RouteProp<ParamListBase>>;
|
|
138
|
+
descriptors: Record<string, import("./types.js").Descriptor<ScreenOptions, Omit<{
|
|
139
139
|
dispatch(action: Readonly<{
|
|
140
140
|
type: string;
|
|
141
141
|
payload?: object;
|
|
@@ -170,10 +170,10 @@ export declare function useNavigationBuilder<State extends NavigationState, Rout
|
|
|
170
170
|
isFocused(): boolean;
|
|
171
171
|
canGoBack(): boolean;
|
|
172
172
|
getId(): string | undefined;
|
|
173
|
-
getParent<T = import("./types").NavigationHelpers<ParamListBase, {}> | undefined>(id?: string): T;
|
|
173
|
+
getParent<T = import("./types.js").NavigationHelpers<ParamListBase, {}> | undefined>(id?: string): T;
|
|
174
174
|
getState(): State;
|
|
175
175
|
} & PrivateValueStore<[ParamListBase, unknown, unknown]>, "getParent"> & {
|
|
176
|
-
getParent<T = import("./types").NavigationProp<ParamListBase, string, string | undefined, Readonly<{
|
|
176
|
+
getParent<T = import("./types.js").NavigationProp<ParamListBase, string, string | undefined, Readonly<{
|
|
177
177
|
key: string;
|
|
178
178
|
index: number;
|
|
179
179
|
routeNames: string[];
|
|
@@ -186,7 +186,7 @@ export declare function useNavigationBuilder<State extends NavigationState, Rout
|
|
|
186
186
|
} & {
|
|
187
187
|
setParams(params: Partial<object | undefined>): void;
|
|
188
188
|
replaceParams(params: object | undefined): void;
|
|
189
|
-
} & import("./types").EventConsumer<EventMap & EventMapCore<State>> & PrivateValueStore<[ParamListBase, string, EventMap]> & ActionHelpers, import("./types").RouteProp<ParamListBase>>>;
|
|
189
|
+
} & import("./types.js").EventConsumer<EventMap & EventMapCore<State>> & PrivateValueStore<[ParamListBase, string, EventMap]> & ActionHelpers, import("./types.js").RouteProp<ParamListBase>>>;
|
|
190
190
|
NavigationContent: ({ children }: {
|
|
191
191
|
children: React.ReactNode;
|
|
192
192
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useNavigationBuilder.d.ts","sourceRoot":"","sources":["../../../src/useNavigationBuilder.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,YAAY,EAIjB,KAAK,aAAa,EACnB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAe/B,OAAO,EACL,KAAK,uBAAuB,EAE5B,KAAK,YAAY,EAEjB,iBAAiB,EAElB,MAAM,
|
|
1
|
+
{"version":3,"file":"useNavigationBuilder.d.ts","sourceRoot":"","sources":["../../../src/useNavigationBuilder.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,YAAY,EAIjB,KAAK,aAAa,EACnB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAe/B,OAAO,EACL,KAAK,uBAAuB,EAE5B,KAAK,YAAY,EAEjB,iBAAiB,EAElB,MAAM,YAAS,CAAC;AAiRjB;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAClC,KAAK,SAAS,eAAe,EAC7B,aAAa,SAAS,oBAAoB,EAC1C,aAAa,SAAS,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC,EAC5D,aAAa,SAAS,EAAE,EACxB,QAAQ,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAEpC,YAAY,EAAE,aAAa,CAAC,KAAK,EAAE,gBAAgB,EAAE,aAAa,CAAC,EACnE,OAAO,EAAE,uBAAuB,CAC9B,aAAa,EACb,MAAM,GAAG,SAAS,EAClB,KAAK,EACL,aAAa,EACb,QAAQ,EACR,GAAG,CACJ,GACC,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyrBhB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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';
|
|
2
|
+
import type { NavigationHelpers, NavigationProp } from './types.js';
|
|
3
|
+
import type { NavigationEventEmitter } from './useEventEmitter.js';
|
|
4
4
|
type Options<State extends NavigationState, ScreenOptions extends {}, EventMap extends Record<string, any>> = {
|
|
5
5
|
state: State;
|
|
6
6
|
getState: () => State;
|
|
@@ -54,7 +54,7 @@ export declare function useNavigationCache<State extends NavigationState, Screen
|
|
|
54
54
|
getId(): string | undefined;
|
|
55
55
|
getParent<T = NavigationHelpers<ParamListBase, {}> | undefined>(id?: string): T;
|
|
56
56
|
getState(): State;
|
|
57
|
-
} & import("./types").PrivateValueStore<[ParamListBase, unknown, unknown]>, "getParent"> & {
|
|
57
|
+
} & import("./types.js").PrivateValueStore<[ParamListBase, unknown, unknown]>, "getParent"> & {
|
|
58
58
|
getParent<T = NavigationProp<ParamListBase, string, string | undefined, Readonly<{
|
|
59
59
|
key: string;
|
|
60
60
|
index: number;
|
|
@@ -68,7 +68,7 @@ export declare function useNavigationCache<State extends NavigationState, Screen
|
|
|
68
68
|
} & {
|
|
69
69
|
setParams(params: Partial<object | undefined>): void;
|
|
70
70
|
replaceParams(params: object | undefined): void;
|
|
71
|
-
} & import("./types").EventConsumer<EventMap & import("./types").EventMapCore<State>> & import("./types").PrivateValueStore<[ParamListBase, string, EventMap]> & ActionHelpers;
|
|
71
|
+
} & import("./types.js").EventConsumer<EventMap & import("./types.js").EventMapCore<State>> & import("./types.js").PrivateValueStore<[ParamListBase, string, EventMap]> & ActionHelpers;
|
|
72
72
|
navigations: NavigationCache<State, ScreenOptions, EventMap>;
|
|
73
73
|
};
|
|
74
74
|
export {};
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,YAAS,CAAC;AACjE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAmB,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,KA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QAAQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4KzC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { NavigationContainerRefWithCurrent } from './types';
|
|
1
|
+
import type { NavigationContainerRefWithCurrent } from './types.js';
|
|
2
2
|
export declare function useNavigationContainerRef<ParamList extends {} = ReactNavigation.RootParamList>(): NavigationContainerRefWithCurrent<ParamList>;
|
|
3
3
|
//# sourceMappingURL=useNavigationContainerRef.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useNavigationContainerRef.d.ts","sourceRoot":"","sources":["../../../src/useNavigationContainerRef.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"useNavigationContainerRef.d.ts","sourceRoot":"","sources":["../../../src/useNavigationContainerRef.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,YAAS,CAAC;AAEjE,wBAAgB,yBAAyB,CACvC,SAAS,SAAS,EAAE,GAAG,eAAe,CAAC,aAAa,KACjD,iCAAiC,CAAC,SAAS,CAAC,CAShD"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type NavigationAction, type NavigationState, type ParamListBase, type Router } from '@react-navigation/routers';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { type NavigationHelpers, PrivateValueStore } from './types';
|
|
4
|
-
import type { NavigationEventEmitter } from './useEventEmitter';
|
|
3
|
+
import { type NavigationHelpers, PrivateValueStore } from './types.js';
|
|
4
|
+
import type { NavigationEventEmitter } from './useEventEmitter.js';
|
|
5
5
|
type Options<State extends NavigationState, Action extends NavigationAction> = {
|
|
6
6
|
id: string | undefined;
|
|
7
7
|
onAction: (action: NavigationAction) => boolean;
|
|
@@ -84,7 +84,7 @@ export declare function useNavigationHelpers<State extends NavigationState, Acti
|
|
|
84
84
|
type: string;
|
|
85
85
|
stale: false;
|
|
86
86
|
}>;
|
|
87
|
-
} & PrivateValueStore<[ParamListBase, unknown, unknown]> & import("./types").EventEmitter<EventMap> & {
|
|
87
|
+
} & PrivateValueStore<[ParamListBase, unknown, unknown]> & import("./types.js").EventEmitter<EventMap> & {
|
|
88
88
|
setParams(params: Partial<object | undefined>): void;
|
|
89
89
|
replaceParams(params: object | undefined): void;
|
|
90
90
|
} & ActionHelpers;
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,YAAS,CAAC;AACpE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAmB,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,iBAAiB,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACtD,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,iBAAiB,EACjB,QAAQ,EACR,OAAO,EACP,MAAM,EACN,QAAQ,GACT,EAAE,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAqFxB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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';
|
|
2
|
+
import { type ChildActionListener, type ChildBeforeRemoveListener } from './NavigationBuilderContext.js';
|
|
3
|
+
import type { EventMapCore } from './types.js';
|
|
4
|
+
import type { NavigationEventEmitter } from './useEventEmitter.js';
|
|
5
5
|
type Options<State extends NavigationState> = {
|
|
6
6
|
router: Router<State, NavigationAction>;
|
|
7
7
|
key?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useOnAction.d.ts","sourceRoot":"","sources":["../../../src/useOnAction.tsx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AmB,EACnB,OAAO,GACR,EAAE,OAAO,CAAC,KAAK,CAAC,YAoBH,gBAAgB,sBACL,GAAG,CAAC,MAAM,CAAC,aA8GnC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { NavigationState } from '@react-navigation/routers';
|
|
2
|
-
import { type GetStateListener } from './NavigationBuilderContext';
|
|
2
|
+
import { type GetStateListener } from './NavigationBuilderContext.js';
|
|
3
3
|
type Options = {
|
|
4
4
|
getState: () => NavigationState;
|
|
5
5
|
getStateListeners: Record<string, GetStateListener | undefined>;
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,+BAA4B,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,7 +1,7 @@
|
|
|
1
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';
|
|
2
|
+
import { type ChildBeforeRemoveListener } from './NavigationBuilderContext.js';
|
|
3
|
+
import type { EventMapCore } from './types.js';
|
|
4
|
+
import type { NavigationEventEmitter } from './useEventEmitter.js';
|
|
5
5
|
type Options = {
|
|
6
6
|
getState: () => NavigationState;
|
|
7
7
|
emitter: NavigationEventEmitter<EventMapCore<any>>;
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,+BAA4B,CAAC;AAEpC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AAC5C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAmB,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,GAC9B,SAAS,sBAAsB,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,EAClD,uBAAuB,MAAM,CAAC,MAAM,EAAE,yBAAyB,GAAG,SAAS,CAAC,EAC5E,eAAe;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,EAAE,EAChC,YAAY;IAAE,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,EAAE,EAC1C,QAAQ,gBAAgB,YA8CzB,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,OAAO,EACP,qBAAqB,GACtB,EAAE,OAAO,QAoBT"}
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,YAAS,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,5 +1,5 @@
|
|
|
1
1
|
export declare function usePreventRemoveContext(): {
|
|
2
|
-
preventedRoutes: import("./PreventRemoveContext").PreventedRoutes;
|
|
2
|
+
preventedRoutes: import("./PreventRemoveContext.js").PreventedRoutes;
|
|
3
3
|
setPreventRemove: (id: string, routeKey: string, preventRemove: boolean) => void;
|
|
4
4
|
};
|
|
5
5
|
//# sourceMappingURL=usePreventRemoveContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,YAAS,CAAC;AAEzC;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,CAAC,SAAS,SAAS,CAAC,aAAa,CAAC,KAAK,CAAC,CAUhE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { NavigationState, ParamListBase } from '@react-navigation/routers';
|
|
2
|
-
import type { RouteProp } from './types';
|
|
2
|
+
import type { RouteProp } from './types.js';
|
|
3
3
|
/**
|
|
4
4
|
* Utilities such as `getFocusedRouteNameFromRoute` need to access state.
|
|
5
5
|
* So we need a way to suppress the warning for those use cases.
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,YAAS,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,8BA+CxB"}
|
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
*
|
|
5
5
|
* @returns Minimal state to build a path for the current route.
|
|
6
6
|
*/
|
|
7
|
-
export declare function useStateForPath(): import("./NavigationFocusedRouteStateContext").FocusedRouteState | undefined;
|
|
7
|
+
export declare function useStateForPath(): import("./NavigationFocusedRouteStateContext.js").FocusedRouteState | undefined;
|
|
8
8
|
//# sourceMappingURL=useStateForPath.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useStateForPath.d.ts","sourceRoot":"","sources":["../../../src/useStateForPath.tsx"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,wBAAgB,eAAe,
|
|
1
|
+
{"version":3,"file":"useStateForPath.d.ts","sourceRoot":"","sources":["../../../src/useStateForPath.tsx"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,wBAAgB,eAAe,oFAI9B"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-navigation/core",
|
|
3
3
|
"description": "Core utilities for building navigators",
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.19.0",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
7
7
|
"react-native",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"clean": "del lib"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@react-navigation/routers": "^7.5.
|
|
43
|
+
"@react-navigation/routers": "^7.5.6",
|
|
44
44
|
"escape-string-regexp": "^4.0.0",
|
|
45
45
|
"fast-deep-equal": "^3.1.3",
|
|
46
46
|
"nanoid": "^3.3.11",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"del-cli": "^6.0.0",
|
|
59
59
|
"immer": "^10.1.1",
|
|
60
60
|
"react": "19.1.0",
|
|
61
|
-
"react-native-builder-bob": "^0.
|
|
61
|
+
"react-native-builder-bob": "^0.42.1",
|
|
62
62
|
"react-test-renderer": "19.1.0",
|
|
63
63
|
"typescript": "^5.9.2"
|
|
64
64
|
},
|
|
@@ -83,5 +83,5 @@
|
|
|
83
83
|
]
|
|
84
84
|
]
|
|
85
85
|
},
|
|
86
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "dd325d641ccae08a61fd25710270abb85865482f"
|
|
87
87
|
}
|