@react-navigation/native-stack 7.3.8 → 7.3.10
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/index.d.ts.map +1 -0
- package/lib/typescript/src/navigators/createNativeStackNavigator.d.ts.map +1 -0
- package/lib/typescript/src/types.d.ts.map +1 -0
- package/lib/typescript/src/utils/debounce.d.ts.map +1 -0
- package/lib/typescript/src/utils/getModalRoutesKeys.d.ts.map +1 -0
- package/lib/typescript/src/utils/useAnimatedHeaderHeight.d.ts.map +1 -0
- package/lib/typescript/src/utils/useDismissedRouteError.d.ts.map +1 -0
- package/lib/typescript/src/utils/useInvalidPreventRemoveError.d.ts.map +1 -0
- package/lib/typescript/src/views/FontProcessor.d.ts.map +1 -0
- package/lib/typescript/src/views/FontProcessor.native.d.ts.map +1 -0
- package/lib/typescript/src/views/FooterComponent.d.ts.map +1 -0
- package/lib/typescript/src/views/NativeStackView.d.ts.map +1 -0
- package/lib/typescript/src/views/NativeStackView.native.d.ts.map +1 -0
- package/lib/typescript/src/views/useHeaderConfigProps.d.ts.map +1 -0
- package/package.json +14 -26
- package/lib/commonjs/index.js +0 -27
- package/lib/commonjs/index.js.map +0 -1
- package/lib/commonjs/navigators/createNativeStackNavigator.js +0 -71
- package/lib/commonjs/navigators/createNativeStackNavigator.js.map +0 -1
- package/lib/commonjs/package.json +0 -1
- package/lib/commonjs/types.js +0 -6
- package/lib/commonjs/types.js.map +0 -1
- package/lib/commonjs/utils/debounce.js +0 -16
- package/lib/commonjs/utils/debounce.js.map +0 -1
- package/lib/commonjs/utils/getModalRoutesKeys.js +0 -17
- package/lib/commonjs/utils/getModalRoutesKeys.js.map +0 -1
- package/lib/commonjs/utils/useAnimatedHeaderHeight.js +0 -19
- package/lib/commonjs/utils/useAnimatedHeaderHeight.js.map +0 -1
- package/lib/commonjs/utils/useDismissedRouteError.js +0 -23
- package/lib/commonjs/utils/useDismissedRouteError.js.map +0 -1
- package/lib/commonjs/utils/useInvalidPreventRemoveError.js +0 -26
- package/lib/commonjs/utils/useInvalidPreventRemoveError.js.map +0 -1
- package/lib/commonjs/views/FontProcessor.js +0 -10
- package/lib/commonjs/views/FontProcessor.js.map +0 -1
- package/lib/commonjs/views/FontProcessor.native.js +0 -18
- package/lib/commonjs/views/FontProcessor.native.js.map +0 -1
- package/lib/commonjs/views/FooterComponent.js +0 -19
- package/lib/commonjs/views/FooterComponent.js.map +0 -1
- package/lib/commonjs/views/NativeStackView.js +0 -139
- package/lib/commonjs/views/NativeStackView.js.map +0 -1
- package/lib/commonjs/views/NativeStackView.native.js +0 -478
- package/lib/commonjs/views/NativeStackView.native.js.map +0 -1
- package/lib/commonjs/views/useHeaderConfigProps.js +0 -211
- package/lib/commonjs/views/useHeaderConfigProps.js.map +0 -1
- package/lib/typescript/commonjs/package.json +0 -1
- package/lib/typescript/commonjs/src/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/navigators/createNativeStackNavigator.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/debounce.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/getModalRoutesKeys.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/useAnimatedHeaderHeight.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/useDismissedRouteError.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/useInvalidPreventRemoveError.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/views/FontProcessor.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/views/FontProcessor.native.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/views/FooterComponent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/views/NativeStackView.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/views/NativeStackView.native.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/views/useHeaderConfigProps.d.ts.map +0 -1
- package/lib/typescript/module/src/index.d.ts +0 -17
- package/lib/typescript/module/src/index.d.ts.map +0 -1
- package/lib/typescript/module/src/navigators/createNativeStackNavigator.d.ts +0 -16
- package/lib/typescript/module/src/navigators/createNativeStackNavigator.d.ts.map +0 -1
- package/lib/typescript/module/src/types.d.ts +0 -623
- package/lib/typescript/module/src/types.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/debounce.d.ts +0 -2
- package/lib/typescript/module/src/utils/debounce.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/getModalRoutesKeys.d.ts +0 -4
- package/lib/typescript/module/src/utils/getModalRoutesKeys.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/useAnimatedHeaderHeight.d.ts +0 -5
- package/lib/typescript/module/src/utils/useAnimatedHeaderHeight.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/useDismissedRouteError.d.ts +0 -6
- package/lib/typescript/module/src/utils/useDismissedRouteError.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/useInvalidPreventRemoveError.d.ts +0 -3
- package/lib/typescript/module/src/utils/useInvalidPreventRemoveError.d.ts.map +0 -1
- package/lib/typescript/module/src/views/FontProcessor.d.ts +0 -2
- package/lib/typescript/module/src/views/FontProcessor.d.ts.map +0 -1
- package/lib/typescript/module/src/views/FontProcessor.native.d.ts +0 -2
- package/lib/typescript/module/src/views/FontProcessor.native.d.ts.map +0 -1
- package/lib/typescript/module/src/views/FooterComponent.d.ts +0 -7
- package/lib/typescript/module/src/views/FooterComponent.d.ts.map +0 -1
- package/lib/typescript/module/src/views/NativeStackView.d.ts +0 -11
- package/lib/typescript/module/src/views/NativeStackView.d.ts.map +0 -1
- package/lib/typescript/module/src/views/NativeStackView.native.d.ts +0 -11
- package/lib/typescript/module/src/views/NativeStackView.native.d.ts.map +0 -1
- package/lib/typescript/module/src/views/useHeaderConfigProps.d.ts +0 -44
- package/lib/typescript/module/src/views/useHeaderConfigProps.d.ts.map +0 -1
- /package/lib/typescript/{module/package.json → package.json} +0 -0
- /package/lib/typescript/{commonjs/src → src}/index.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/navigators/createNativeStackNavigator.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/types.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/utils/debounce.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/utils/getModalRoutesKeys.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/utils/useAnimatedHeaderHeight.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/utils/useDismissedRouteError.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/utils/useInvalidPreventRemoveError.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/views/FontProcessor.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/views/FontProcessor.native.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/views/FooterComponent.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/views/NativeStackView.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/views/NativeStackView.native.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/views/useHeaderConfigProps.d.ts +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useInvalidPreventRemoveError.d.ts","sourceRoot":"","sources":["../../../../../src/utils/useInvalidPreventRemoveError.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAEzD,wBAAgB,4BAA4B,CAC1C,WAAW,EAAE,wBAAwB,QAwBtC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FontProcessor.d.ts","sourceRoot":"","sources":["../../../../../src/views/FontProcessor.tsx"],"names":[],"mappings":"AAAA,wBAAgB,YAAY,CAC1B,CAAC,EAAE,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,GACxB,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,CAExB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FontProcessor.native.d.ts","sourceRoot":"","sources":["../../../../../src/views/FontProcessor.native.tsx"],"names":[],"mappings":"AAGA,wBAAgB,YAAY,CAC1B,YAAY,EAAE,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,GACnC,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,CAMxB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FooterComponent.d.ts","sourceRoot":"","sources":["../../../../../src/views/FooterComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAEF,wBAAgB,eAAe,CAAC,EAAE,QAAQ,EAAE,EAAE,WAAW,2CAExD"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type ParamListBase, type RouteProp, type StackNavigationState } from '@react-navigation/native';
|
|
2
|
-
import type { NativeStackDescriptor, NativeStackDescriptorMap, NativeStackNavigationHelpers } from '../types';
|
|
3
|
-
type Props = {
|
|
4
|
-
state: StackNavigationState<ParamListBase>;
|
|
5
|
-
navigation: NativeStackNavigationHelpers;
|
|
6
|
-
descriptors: NativeStackDescriptorMap;
|
|
7
|
-
describe: (route: RouteProp<ParamListBase>, placeholder: boolean) => NativeStackDescriptor;
|
|
8
|
-
};
|
|
9
|
-
export declare function NativeStackView({ state, descriptors, describe }: Props): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=NativeStackView.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NativeStackView.d.ts","sourceRoot":"","sources":["../../../../../src/views/NativeStackView.tsx"],"names":[],"mappings":"AASA,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,oBAAoB,EAE1B,MAAM,0BAA0B,CAAC;AAIlC,OAAO,KAAK,EACV,qBAAqB,EACrB,wBAAwB,EACxB,4BAA4B,EAC7B,MAAM,UAAU,CAAC;AAGlB,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,oBAAoB,CAAC,aAAa,CAAC,CAAC;IAE3C,UAAU,EAAE,4BAA4B,CAAC;IACzC,WAAW,EAAE,wBAAwB,CAAC;IACtC,QAAQ,EAAE,CACR,KAAK,EAAE,SAAS,CAAC,aAAa,CAAC,EAC/B,WAAW,EAAE,OAAO,KACjB,qBAAqB,CAAC;CAC5B,CAAC;AAOF,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,EAAE,KAAK,2CA4ItE"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type ParamListBase, type RouteProp, type StackNavigationState } from '@react-navigation/native';
|
|
2
|
-
import type { NativeStackDescriptor, NativeStackDescriptorMap, NativeStackNavigationHelpers } from '../types';
|
|
3
|
-
type Props = {
|
|
4
|
-
state: StackNavigationState<ParamListBase>;
|
|
5
|
-
navigation: NativeStackNavigationHelpers;
|
|
6
|
-
descriptors: NativeStackDescriptorMap;
|
|
7
|
-
describe: (route: RouteProp<ParamListBase>, placeholder: boolean) => NativeStackDescriptor;
|
|
8
|
-
};
|
|
9
|
-
export declare function NativeStackView({ state, navigation, descriptors, describe, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=NativeStackView.native.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NativeStackView.native.d.ts","sourceRoot":"","sources":["../../../../../src/views/NativeStackView.native.tsx"],"names":[],"mappings":"AAQA,OAAO,EAGL,KAAK,aAAa,EAClB,KAAK,SAAS,EAEd,KAAK,oBAAoB,EAG1B,MAAM,0BAA0B,CAAC;AAoBlC,OAAO,KAAK,EACV,qBAAqB,EACrB,wBAAwB,EACxB,4BAA4B,EAC7B,MAAM,UAAU,CAAC;AAoalB,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,oBAAoB,CAAC,aAAa,CAAC,CAAC;IAC3C,UAAU,EAAE,4BAA4B,CAAC;IACzC,WAAW,EAAE,wBAAwB,CAAC;IACtC,QAAQ,EAAE,CACR,KAAK,EAAE,SAAS,CAAC,aAAa,CAAC,EAC/B,WAAW,EAAE,OAAO,KACjB,qBAAqB,CAAC;CAC5B,CAAC;AAEF,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,UAAU,EACV,WAAW,EACX,QAAQ,GACT,EAAE,KAAK,2CA4HP"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { type Route } from '@react-navigation/native';
|
|
2
|
-
import type { NativeStackNavigationOptions } from '../types';
|
|
3
|
-
type Props = NativeStackNavigationOptions & {
|
|
4
|
-
headerTopInsetEnabled: boolean;
|
|
5
|
-
headerHeight: number;
|
|
6
|
-
headerBack: {
|
|
7
|
-
title?: string | undefined;
|
|
8
|
-
href: undefined;
|
|
9
|
-
} | undefined;
|
|
10
|
-
route: Route<string>;
|
|
11
|
-
};
|
|
12
|
-
export declare function useHeaderConfigProps({ headerBackImageSource, headerBackButtonDisplayMode, headerBackButtonMenuEnabled, headerBackTitle, headerBackTitleStyle, headerBackVisible, headerShadowVisible, headerLargeStyle, headerLargeTitle, headerLargeTitleShadowVisible, headerLargeTitleStyle, headerBackground, headerLeft, headerRight, headerShown, headerStyle, headerBlurEffect, headerTintColor, headerTitle, headerTitleAlign, headerTitleStyle, headerTransparent, headerSearchBarOptions, headerTopInsetEnabled, headerBack, route, title, }: Props): {
|
|
13
|
-
readonly backButtonInCustomView: boolean;
|
|
14
|
-
readonly backgroundColor: string;
|
|
15
|
-
readonly backTitle: string | undefined;
|
|
16
|
-
readonly backTitleVisible: boolean | undefined;
|
|
17
|
-
readonly backButtonDisplayMode: import("react-native-screens").BackButtonDisplayMode | undefined;
|
|
18
|
-
readonly backTitleFontFamily: string | undefined;
|
|
19
|
-
readonly backTitleFontSize: number | undefined;
|
|
20
|
-
readonly blurEffect: import("react-native-screens").BlurEffectTypes | undefined;
|
|
21
|
-
readonly color: string;
|
|
22
|
-
readonly direction: import("@react-navigation/native").LocaleDirection;
|
|
23
|
-
readonly disableBackButtonMenu: boolean;
|
|
24
|
-
readonly hidden: boolean;
|
|
25
|
-
readonly hideBackButton: boolean;
|
|
26
|
-
readonly hideShadow: boolean | undefined;
|
|
27
|
-
readonly largeTitle: boolean | undefined;
|
|
28
|
-
readonly largeTitleBackgroundColor: string | undefined;
|
|
29
|
-
readonly largeTitleColor: string | undefined;
|
|
30
|
-
readonly largeTitleFontFamily: string | undefined;
|
|
31
|
-
readonly largeTitleFontSize: number | undefined;
|
|
32
|
-
readonly largeTitleFontWeight: string | undefined;
|
|
33
|
-
readonly largeTitleHideShadow: boolean;
|
|
34
|
-
readonly title: string;
|
|
35
|
-
readonly titleColor: string | undefined;
|
|
36
|
-
readonly titleFontFamily: string | undefined;
|
|
37
|
-
readonly titleFontSize: number | undefined;
|
|
38
|
-
readonly titleFontWeight: string;
|
|
39
|
-
readonly topInsetEnabled: boolean;
|
|
40
|
-
readonly translucent: boolean;
|
|
41
|
-
readonly children: import("react/jsx-runtime").JSX.Element;
|
|
42
|
-
};
|
|
43
|
-
export {};
|
|
44
|
-
//# sourceMappingURL=useHeaderConfigProps.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useHeaderConfigProps.d.ts","sourceRoot":"","sources":["../../../../../src/views/useHeaderConfigProps.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,KAAK,EAAuB,MAAM,0BAA0B,CAAC;AAY3E,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAC;AAG7D,KAAK,KAAK,GAAG,4BAA4B,GAAG;IAC1C,qBAAqB,EAAE,OAAO,CAAC;IAC/B,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAAC,IAAI,EAAE,SAAS,CAAA;KAAE,GAAG,SAAS,CAAC;IACxE,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACtB,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,EACnC,qBAAqB,EACrB,2BAA2B,EAC3B,2BAA2B,EAC3B,eAAe,EACf,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,6BAA6B,EAC7B,qBAAqB,EACrB,gBAAgB,EAChB,UAAU,EACV,WAAW,EACX,WAAW,EACX,WAAW,EACX,gBAAgB,EAChB,eAAe,EACf,WAAW,EACX,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,sBAAsB,EACtB,qBAAqB,EACrB,UAAU,EACV,KAAK,EACL,KAAK,GACN,EAAE,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiQP"}
|
|
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
|