@react-navigation/native 7.1.4 → 7.1.6
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/Link.d.ts.map +1 -0
- package/lib/typescript/src/LinkingContext.d.ts.map +1 -0
- package/lib/typescript/src/LocaleDirContext.d.ts.map +1 -0
- package/lib/typescript/src/NavigationContainer.d.ts.map +1 -0
- package/lib/typescript/src/ServerContainer.d.ts.map +1 -0
- package/lib/typescript/src/ServerContext.d.ts.map +1 -0
- package/lib/typescript/src/UnhandledLinkingContext.d.ts.map +1 -0
- package/lib/typescript/src/__stubs__/createStackNavigator.d.ts.map +1 -0
- package/lib/typescript/src/__stubs__/window.d.ts.map +1 -0
- package/lib/typescript/src/createMemoryHistory.d.ts.map +1 -0
- package/lib/typescript/src/createStaticNavigation.d.ts.map +1 -0
- package/lib/typescript/src/extractPathFromURL.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/theming/DarkTheme.d.ts.map +1 -0
- package/lib/typescript/src/theming/DefaultTheme.d.ts.map +1 -0
- package/lib/typescript/src/theming/fonts.d.ts.map +1 -0
- package/lib/typescript/src/types.d.ts.map +1 -0
- package/lib/typescript/src/useBackButton.d.ts.map +1 -0
- package/lib/typescript/src/useBackButton.native.d.ts.map +1 -0
- package/lib/typescript/src/useDocumentTitle.d.ts.map +1 -0
- package/lib/typescript/src/useDocumentTitle.native.d.ts.map +1 -0
- package/lib/typescript/src/useLinkBuilder.d.ts.map +1 -0
- package/lib/typescript/src/useLinkProps.d.ts.map +1 -0
- package/lib/typescript/src/useLinkTo.d.ts.map +1 -0
- package/lib/typescript/src/useLinking.d.ts.map +1 -0
- package/lib/typescript/src/useLinking.native.d.ts.map +1 -0
- package/lib/typescript/src/useLocale.d.ts.map +1 -0
- package/lib/typescript/src/useRoutePath.d.ts.map +1 -0
- package/lib/typescript/src/useScrollToTop.d.ts.map +1 -0
- package/lib/typescript/src/useThenable.d.ts.map +1 -0
- package/package.json +12 -24
- package/lib/commonjs/Link.js +0 -68
- package/lib/commonjs/Link.js.map +0 -1
- package/lib/commonjs/LinkingContext.js +0 -17
- package/lib/commonjs/LinkingContext.js.map +0 -1
- package/lib/commonjs/LocaleDirContext.js +0 -12
- package/lib/commonjs/LocaleDirContext.js.map +0 -1
- package/lib/commonjs/NavigationContainer.js +0 -143
- package/lib/commonjs/NavigationContainer.js.map +0 -1
- package/lib/commonjs/ServerContainer.js +0 -62
- package/lib/commonjs/ServerContainer.js.map +0 -1
- package/lib/commonjs/ServerContext.js +0 -11
- package/lib/commonjs/ServerContext.js.map +0 -1
- package/lib/commonjs/UnhandledLinkingContext.js +0 -20
- package/lib/commonjs/UnhandledLinkingContext.js.map +0 -1
- package/lib/commonjs/__stubs__/createStackNavigator.js +0 -22
- package/lib/commonjs/__stubs__/createStackNavigator.js.map +0 -1
- package/lib/commonjs/__stubs__/window.js +0 -79
- package/lib/commonjs/__stubs__/window.js.map +0 -1
- package/lib/commonjs/createMemoryHistory.js +0 -219
- package/lib/commonjs/createMemoryHistory.js.map +0 -1
- package/lib/commonjs/createStaticNavigation.js +0 -60
- package/lib/commonjs/createStaticNavigation.js.map +0 -1
- package/lib/commonjs/extractPathFromURL.js +0 -24
- package/lib/commonjs/extractPathFromURL.js.map +0 -1
- package/lib/commonjs/index.js +0 -144
- package/lib/commonjs/index.js.map +0 -1
- package/lib/commonjs/package.json +0 -1
- package/lib/commonjs/theming/DarkTheme.js +0 -20
- package/lib/commonjs/theming/DarkTheme.js.map +0 -1
- package/lib/commonjs/theming/DefaultTheme.js +0 -20
- package/lib/commonjs/theming/DefaultTheme.js.map +0 -1
- package/lib/commonjs/theming/fonts.js +0 -65
- package/lib/commonjs/theming/fonts.js.map +0 -1
- package/lib/commonjs/types.js +0 -6
- package/lib/commonjs/types.js.map +0 -1
- package/lib/commonjs/useBackButton.js +0 -11
- package/lib/commonjs/useBackButton.js.map +0 -1
- package/lib/commonjs/useBackButton.native.js +0 -27
- package/lib/commonjs/useBackButton.native.js.map +0 -1
- package/lib/commonjs/useDocumentTitle.js +0 -32
- package/lib/commonjs/useDocumentTitle.js.map +0 -1
- package/lib/commonjs/useDocumentTitle.native.js +0 -10
- package/lib/commonjs/useDocumentTitle.native.js.map +0 -1
- package/lib/commonjs/useLinkBuilder.js +0 -91
- package/lib/commonjs/useLinkBuilder.js.map +0 -1
- package/lib/commonjs/useLinkProps.js +0 -99
- package/lib/commonjs/useLinkProps.js.map +0 -1
- package/lib/commonjs/useLinkTo.js +0 -31
- package/lib/commonjs/useLinkTo.js.map +0 -1
- package/lib/commonjs/useLinking.js +0 -329
- package/lib/commonjs/useLinking.js.map +0 -1
- package/lib/commonjs/useLinking.native.js +0 -158
- package/lib/commonjs/useLinking.native.js.map +0 -1
- package/lib/commonjs/useLocale.js +0 -23
- package/lib/commonjs/useLocale.js.map +0 -1
- package/lib/commonjs/useRoutePath.js +0 -35
- package/lib/commonjs/useRoutePath.js.map +0 -1
- package/lib/commonjs/useScrollToTop.js +0 -97
- package/lib/commonjs/useScrollToTop.js.map +0 -1
- package/lib/commonjs/useThenable.js +0 -42
- package/lib/commonjs/useThenable.js.map +0 -1
- package/lib/typescript/commonjs/package.json +0 -1
- package/lib/typescript/commonjs/src/Link.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/LinkingContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/LocaleDirContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/NavigationContainer.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/ServerContainer.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/ServerContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/UnhandledLinkingContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/__stubs__/createStackNavigator.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/__stubs__/window.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/createMemoryHistory.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/createStaticNavigation.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/extractPathFromURL.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/theming/DarkTheme.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/theming/DefaultTheme.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/theming/fonts.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useBackButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useBackButton.native.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useDocumentTitle.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useDocumentTitle.native.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useLinkBuilder.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useLinkProps.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useLinkTo.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useLinking.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useLinking.native.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useLocale.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useRoutePath.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useScrollToTop.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useThenable.d.ts.map +0 -1
- package/lib/typescript/module/src/Link.d.ts +0 -22
- package/lib/typescript/module/src/Link.d.ts.map +0 -1
- package/lib/typescript/module/src/LinkingContext.d.ts +0 -7
- package/lib/typescript/module/src/LinkingContext.d.ts.map +0 -1
- package/lib/typescript/module/src/LocaleDirContext.d.ts +0 -4
- package/lib/typescript/module/src/LocaleDirContext.d.ts.map +0 -1
- package/lib/typescript/module/src/NavigationContainer.d.ts +0 -19
- package/lib/typescript/module/src/NavigationContainer.d.ts.map +0 -1
- package/lib/typescript/module/src/ServerContainer.d.ts +0 -14
- package/lib/typescript/module/src/ServerContainer.d.ts.map +0 -1
- package/lib/typescript/module/src/ServerContext.d.ts +0 -9
- package/lib/typescript/module/src/ServerContext.d.ts.map +0 -1
- package/lib/typescript/module/src/UnhandledLinkingContext.d.ts +0 -6
- package/lib/typescript/module/src/UnhandledLinkingContext.d.ts.map +0 -1
- package/lib/typescript/module/src/__stubs__/createStackNavigator.d.ts +0 -13
- package/lib/typescript/module/src/__stubs__/createStackNavigator.d.ts.map +0 -1
- package/lib/typescript/module/src/__stubs__/window.d.ts +0 -18
- package/lib/typescript/module/src/__stubs__/window.d.ts.map +0 -1
- package/lib/typescript/module/src/createMemoryHistory.d.ts +0 -25
- package/lib/typescript/module/src/createMemoryHistory.d.ts.map +0 -1
- package/lib/typescript/module/src/createStaticNavigation.d.ts +0 -34
- package/lib/typescript/module/src/createStaticNavigation.d.ts.map +0 -1
- package/lib/typescript/module/src/extractPathFromURL.d.ts +0 -2
- package/lib/typescript/module/src/extractPathFromURL.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/theming/DarkTheme.d.ts +0 -3
- package/lib/typescript/module/src/theming/DarkTheme.d.ts.map +0 -1
- package/lib/typescript/module/src/theming/DefaultTheme.d.ts +0 -3
- package/lib/typescript/module/src/theming/DefaultTheme.d.ts.map +0 -1
- package/lib/typescript/module/src/theming/fonts.d.ts +0 -53
- package/lib/typescript/module/src/theming/fonts.d.ts.map +0 -1
- package/lib/typescript/module/src/types.d.ts +0 -159
- package/lib/typescript/module/src/types.d.ts.map +0 -1
- package/lib/typescript/module/src/useBackButton.d.ts +0 -3
- package/lib/typescript/module/src/useBackButton.d.ts.map +0 -1
- package/lib/typescript/module/src/useBackButton.native.d.ts +0 -4
- package/lib/typescript/module/src/useBackButton.native.d.ts.map +0 -1
- package/lib/typescript/module/src/useDocumentTitle.d.ts +0 -8
- package/lib/typescript/module/src/useDocumentTitle.d.ts.map +0 -1
- package/lib/typescript/module/src/useDocumentTitle.native.d.ts +0 -2
- package/lib/typescript/module/src/useDocumentTitle.native.d.ts.map +0 -1
- package/lib/typescript/module/src/useLinkBuilder.d.ts +0 -26
- package/lib/typescript/module/src/useLinkBuilder.d.ts.map +0 -1
- package/lib/typescript/module/src/useLinkProps.d.ts +0 -32
- package/lib/typescript/module/src/useLinkProps.d.ts.map +0 -1
- package/lib/typescript/module/src/useLinkTo.d.ts +0 -7
- package/lib/typescript/module/src/useLinkTo.d.ts.map +0 -1
- package/lib/typescript/module/src/useLinking.d.ts +0 -14
- package/lib/typescript/module/src/useLinking.d.ts.map +0 -1
- package/lib/typescript/module/src/useLinking.native.d.ts +0 -33
- package/lib/typescript/module/src/useLinking.native.d.ts.map +0 -1
- package/lib/typescript/module/src/useLocale.d.ts +0 -7
- package/lib/typescript/module/src/useLocale.d.ts.map +0 -1
- package/lib/typescript/module/src/useRoutePath.d.ts +0 -7
- package/lib/typescript/module/src/useRoutePath.d.ts.map +0 -1
- package/lib/typescript/module/src/useScrollToTop.d.ts +0 -27
- package/lib/typescript/module/src/useScrollToTop.d.ts.map +0 -1
- package/lib/typescript/module/src/useThenable.d.ts +0 -2
- package/lib/typescript/module/src/useThenable.d.ts.map +0 -1
- /package/lib/typescript/{module/package.json → package.json} +0 -0
- /package/lib/typescript/{commonjs/src → src}/Link.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/LinkingContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/LocaleDirContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/NavigationContainer.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/ServerContainer.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/ServerContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/UnhandledLinkingContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/__stubs__/createStackNavigator.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/__stubs__/window.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/createMemoryHistory.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/createStaticNavigation.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/extractPathFromURL.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/index.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/theming/DarkTheme.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/theming/DefaultTheme.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/theming/fonts.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/types.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useBackButton.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useBackButton.native.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useDocumentTitle.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useDocumentTitle.native.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useLinkBuilder.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useLinkProps.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useLinkTo.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useLinking.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useLinking.native.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useLocale.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useRoutePath.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useScrollToTop.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useThenable.d.ts +0 -0
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
export declare const fonts: {
|
|
2
|
-
readonly regular: {
|
|
3
|
-
readonly fontFamily: "system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"";
|
|
4
|
-
readonly fontWeight: "400";
|
|
5
|
-
};
|
|
6
|
-
readonly medium: {
|
|
7
|
-
readonly fontFamily: "system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"";
|
|
8
|
-
readonly fontWeight: "500";
|
|
9
|
-
};
|
|
10
|
-
readonly bold: {
|
|
11
|
-
readonly fontFamily: "system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"";
|
|
12
|
-
readonly fontWeight: "600";
|
|
13
|
-
};
|
|
14
|
-
readonly heavy: {
|
|
15
|
-
readonly fontFamily: "system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"";
|
|
16
|
-
readonly fontWeight: "700";
|
|
17
|
-
};
|
|
18
|
-
} | {
|
|
19
|
-
readonly regular: {
|
|
20
|
-
readonly fontFamily: "System";
|
|
21
|
-
readonly fontWeight: "400";
|
|
22
|
-
};
|
|
23
|
-
readonly medium: {
|
|
24
|
-
readonly fontFamily: "System";
|
|
25
|
-
readonly fontWeight: "500";
|
|
26
|
-
};
|
|
27
|
-
readonly bold: {
|
|
28
|
-
readonly fontFamily: "System";
|
|
29
|
-
readonly fontWeight: "600";
|
|
30
|
-
};
|
|
31
|
-
readonly heavy: {
|
|
32
|
-
readonly fontFamily: "System";
|
|
33
|
-
readonly fontWeight: "700";
|
|
34
|
-
};
|
|
35
|
-
} | {
|
|
36
|
-
readonly regular: {
|
|
37
|
-
readonly fontFamily: "sans-serif";
|
|
38
|
-
readonly fontWeight: "normal";
|
|
39
|
-
};
|
|
40
|
-
readonly medium: {
|
|
41
|
-
readonly fontFamily: "sans-serif-medium";
|
|
42
|
-
readonly fontWeight: "normal";
|
|
43
|
-
};
|
|
44
|
-
readonly bold: {
|
|
45
|
-
readonly fontFamily: "sans-serif";
|
|
46
|
-
readonly fontWeight: "600";
|
|
47
|
-
};
|
|
48
|
-
readonly heavy: {
|
|
49
|
-
readonly fontFamily: "sans-serif";
|
|
50
|
-
readonly fontWeight: "700";
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
//# sourceMappingURL=fonts.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fonts.d.ts","sourceRoot":"","sources":["../../../../../src/theming/fonts.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuDkC,CAAC"}
|
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
import type { getActionFromState as getActionFromStateDefault, getPathFromState as getPathFromStateDefault, getStateFromPath as getStateFromPathDefault, PathConfigMap, Route } from '@react-navigation/core';
|
|
2
|
-
declare global {
|
|
3
|
-
namespace ReactNavigation {
|
|
4
|
-
interface Theme extends NativeTheme {
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
type FontStyle = {
|
|
9
|
-
fontFamily: string;
|
|
10
|
-
fontWeight: 'normal' | 'bold' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
|
|
11
|
-
};
|
|
12
|
-
interface NativeTheme {
|
|
13
|
-
dark: boolean;
|
|
14
|
-
colors: {
|
|
15
|
-
primary: string;
|
|
16
|
-
background: string;
|
|
17
|
-
card: string;
|
|
18
|
-
text: string;
|
|
19
|
-
border: string;
|
|
20
|
-
notification: string;
|
|
21
|
-
};
|
|
22
|
-
fonts: {
|
|
23
|
-
regular: FontStyle;
|
|
24
|
-
medium: FontStyle;
|
|
25
|
-
bold: FontStyle;
|
|
26
|
-
heavy: FontStyle;
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
export type Theme = NativeTheme;
|
|
30
|
-
export type LocaleDirection = 'ltr' | 'rtl';
|
|
31
|
-
export type LinkingOptions<ParamList extends {}> = {
|
|
32
|
-
/**
|
|
33
|
-
* Whether deep link handling should be enabled.
|
|
34
|
-
* Defaults to true.
|
|
35
|
-
*/
|
|
36
|
-
enabled?: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* The prefixes are stripped from the URL before parsing them.
|
|
39
|
-
* Usually they are the `scheme` + `host` (e.g. `myapp://chat?user=jane`)
|
|
40
|
-
*
|
|
41
|
-
* This is not supported on Web.
|
|
42
|
-
*
|
|
43
|
-
* @example
|
|
44
|
-
* ```js
|
|
45
|
-
* {
|
|
46
|
-
* prefixes: [
|
|
47
|
-
* "myapp://", // App-specific scheme
|
|
48
|
-
* "https://example.com", // Prefix for universal links
|
|
49
|
-
* "https://*.example.com" // Prefix which matches any subdomain
|
|
50
|
-
* ]
|
|
51
|
-
* }
|
|
52
|
-
* ```
|
|
53
|
-
*/
|
|
54
|
-
prefixes: string[];
|
|
55
|
-
/**
|
|
56
|
-
* Optional function which takes an incoming URL returns a boolean
|
|
57
|
-
* indicating whether React Navigation should handle it.
|
|
58
|
-
*
|
|
59
|
-
* This can be used to disable deep linking for specific URLs.
|
|
60
|
-
* e.g. URLs used for authentication, and not for deep linking to screens.
|
|
61
|
-
*
|
|
62
|
-
* This is not supported on Web.
|
|
63
|
-
*
|
|
64
|
-
* @example
|
|
65
|
-
* ```js
|
|
66
|
-
* {
|
|
67
|
-
* // Filter out URLs used by expo-auth-session
|
|
68
|
-
* filter: (url) => !url.includes('+expo-auth-session')
|
|
69
|
-
* }
|
|
70
|
-
* ```
|
|
71
|
-
*/
|
|
72
|
-
filter?: (url: string) => boolean;
|
|
73
|
-
/**
|
|
74
|
-
* Config to fine-tune how to parse the path.
|
|
75
|
-
*
|
|
76
|
-
* @example
|
|
77
|
-
* ```js
|
|
78
|
-
* {
|
|
79
|
-
* Chat: {
|
|
80
|
-
* path: 'chat/:author/:id',
|
|
81
|
-
* parse: { id: Number }
|
|
82
|
-
* }
|
|
83
|
-
* }
|
|
84
|
-
* ```
|
|
85
|
-
*/
|
|
86
|
-
config?: {
|
|
87
|
-
/**
|
|
88
|
-
* Path string to match against for the whole navigation tree.
|
|
89
|
-
* It's not possible to specify params here since this doesn't belong to a screen.
|
|
90
|
-
* This is useful when the whole app is under a specific path.
|
|
91
|
-
* e.g. all of the screens are under `/admin` in `https://example.com/admin`
|
|
92
|
-
*/
|
|
93
|
-
path?: string;
|
|
94
|
-
/**
|
|
95
|
-
* Path configuration for child screens.
|
|
96
|
-
*/
|
|
97
|
-
screens: PathConfigMap<ParamList>;
|
|
98
|
-
/**
|
|
99
|
-
* Name of the initial route to use for the root navigator.
|
|
100
|
-
*/
|
|
101
|
-
initialRouteName?: keyof ParamList;
|
|
102
|
-
};
|
|
103
|
-
/**
|
|
104
|
-
* Custom function to get the initial URL used for linking.
|
|
105
|
-
* Uses `Linking.getInitialURL()` by default.
|
|
106
|
-
*
|
|
107
|
-
* This is not supported on Web.
|
|
108
|
-
*
|
|
109
|
-
* @example
|
|
110
|
-
* ```js
|
|
111
|
-
* {
|
|
112
|
-
* getInitialURL () => Linking.getInitialURL(),
|
|
113
|
-
* }
|
|
114
|
-
* ```
|
|
115
|
-
*/
|
|
116
|
-
getInitialURL?: () => string | null | undefined | Promise<string | null | undefined>;
|
|
117
|
-
/**
|
|
118
|
-
* Custom function to get subscribe to URL updates.
|
|
119
|
-
* Uses `Linking.addEventListener('url', callback)` by default.
|
|
120
|
-
*
|
|
121
|
-
* This is not supported on Web.
|
|
122
|
-
*
|
|
123
|
-
* @example
|
|
124
|
-
* ```js
|
|
125
|
-
* {
|
|
126
|
-
* subscribe: (listener) => {
|
|
127
|
-
* const onReceiveURL = ({ url }) => listener(url);
|
|
128
|
-
*
|
|
129
|
-
* Linking.addEventListener('url', onReceiveURL);
|
|
130
|
-
*
|
|
131
|
-
* return () => Linking.removeEventListener('url', onReceiveURL);
|
|
132
|
-
* }
|
|
133
|
-
* }
|
|
134
|
-
* ```
|
|
135
|
-
*/
|
|
136
|
-
subscribe?: (listener: (url: string) => void) => undefined | void | (() => void);
|
|
137
|
-
/**
|
|
138
|
-
* Custom function to parse the URL to a valid navigation state (advanced).
|
|
139
|
-
*/
|
|
140
|
-
getStateFromPath?: typeof getStateFromPathDefault;
|
|
141
|
-
/**
|
|
142
|
-
* Custom function to convert the state object to a valid URL (advanced).
|
|
143
|
-
* Only applicable on Web.
|
|
144
|
-
*/
|
|
145
|
-
getPathFromState?: typeof getPathFromStateDefault;
|
|
146
|
-
/**
|
|
147
|
-
* Custom function to convert the state object to a valid action (advanced).
|
|
148
|
-
*/
|
|
149
|
-
getActionFromState?: typeof getActionFromStateDefault;
|
|
150
|
-
};
|
|
151
|
-
export type DocumentTitleOptions = {
|
|
152
|
-
enabled?: boolean;
|
|
153
|
-
formatter?: (options: Record<string, any> | undefined, route: Route<string> | undefined) => string;
|
|
154
|
-
};
|
|
155
|
-
export type ServerContainerRef = {
|
|
156
|
-
getCurrentOptions(): Record<string, any> | undefined;
|
|
157
|
-
};
|
|
158
|
-
export {};
|
|
159
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/types.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,IAAI,yBAAyB,EAC/C,gBAAgB,IAAI,uBAAuB,EAC3C,gBAAgB,IAAI,uBAAuB,EAC3C,aAAa,EACb,KAAK,EACN,MAAM,wBAAwB,CAAC;AAEhC,OAAO,CAAC,MAAM,CAAC;IAEb,UAAU,eAAe,CAAC;QACxB,UAAU,KAAM,SAAQ,WAAW;SAAG;KACvC;CACF;AAED,KAAK,SAAS,GAAG;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EACN,QAAQ,GACR,MAAM,GACN,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,CAAC;CACX,CAAC;AAEF,UAAU,WAAW;IACnB,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE;QACN,OAAO,EAAE,MAAM,CAAC;QAChB,UAAU,EAAE,MAAM,CAAC;QACnB,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,YAAY,EAAE,MAAM,CAAC;KACtB,CAAC;IACF,KAAK,EAAE;QACL,OAAO,EAAE,SAAS,CAAC;QACnB,MAAM,EAAE,SAAS,CAAC;QAClB,IAAI,EAAE,SAAS,CAAC;QAChB,KAAK,EAAE,SAAS,CAAC;KAClB,CAAC;CACH;AAED,MAAM,MAAM,KAAK,GAAG,WAAW,CAAC;AAEhC,MAAM,MAAM,eAAe,GAAG,KAAK,GAAG,KAAK,CAAC;AAE5C,MAAM,MAAM,cAAc,CAAC,SAAS,SAAS,EAAE,IAAI;IACjD;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;;;;;;;;;;;;;OAgBG;IACH,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;IAClC;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,EAAE;QACP;;;;;WAKG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;QACd;;WAEG;QACH,OAAO,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;QAClC;;WAEG;QACH,gBAAgB,CAAC,EAAE,MAAM,SAAS,CAAC;KACpC,CAAC;IACF;;;;;;;;;;;;OAYG;IACH,aAAa,CAAC,EAAE,MACZ,MAAM,GACN,IAAI,GACJ,SAAS,GACT,OAAO,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC,CAAC;IACvC;;;;;;;;;;;;;;;;;;OAkBG;IACH,SAAS,CAAC,EAAE,CACV,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,KAC5B,SAAS,GAAG,IAAI,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC;IACrC;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,uBAAuB,CAAC;IAClD;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,uBAAuB,CAAC;IAClD;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,yBAAyB,CAAC;CACvD,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,CACV,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,EACxC,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,KAC7B,MAAM,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,iBAAiB,IAAI,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,CAAC;CACtD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useBackButton.d.ts","sourceRoot":"","sources":["../../../../src/useBackButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,aAAa,EACd,MAAM,wBAAwB,CAAC;AAEhC,wBAAgB,aAAa,CAC3B,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,sBAAsB,CAAC,aAAa,CAAC,CAAC,QAI1D"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { NavigationContainerRef, ParamListBase } from '@react-navigation/core';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
export declare function useBackButton(ref: React.RefObject<NavigationContainerRef<ParamListBase>>): void;
|
|
4
|
-
//# sourceMappingURL=useBackButton.native.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useBackButton.native.d.ts","sourceRoot":"","sources":["../../../../src/useBackButton.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,aAAa,EACd,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,wBAAgB,aAAa,CAC3B,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC,sBAAsB,CAAC,aAAa,CAAC,CAAC,QAwB5D"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { NavigationContainerRef, ParamListBase } from '@react-navigation/core';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import type { DocumentTitleOptions } from './types';
|
|
4
|
-
/**
|
|
5
|
-
* Set the document title for the active screen
|
|
6
|
-
*/
|
|
7
|
-
export declare function useDocumentTitle(ref: React.RefObject<NavigationContainerRef<ParamListBase>>, { enabled, formatter, }?: DocumentTitleOptions): void;
|
|
8
|
-
//# sourceMappingURL=useDocumentTitle.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDocumentTitle.d.ts","sourceRoot":"","sources":["../../../../src/useDocumentTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,aAAa,EACd,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEpD;;GAEG;AACH,wBAAgB,gBAAgB,CAC9B,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC,sBAAsB,CAAC,aAAa,CAAC,CAAC,EAC3D,EACE,OAAc,EACd,SAA6D,GAC9D,GAAE,oBAAyB,QAwB7B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDocumentTitle.native.d.ts","sourceRoot":"","sources":["../../../../src/useDocumentTitle.native.tsx"],"names":[],"mappings":"AAAA,wBAAgB,gBAAgB,SAE/B"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { CommonActions } from '@react-navigation/core';
|
|
2
|
-
/**
|
|
3
|
-
* Helpers to build href or action based on the linking options.
|
|
4
|
-
*
|
|
5
|
-
* @returns `buildHref` to build an `href` for screen and `buildAction` to build an action from an `href`.
|
|
6
|
-
*/
|
|
7
|
-
export declare function useLinkBuilder(): {
|
|
8
|
-
buildHref: (name: string, params?: object) => string | undefined;
|
|
9
|
-
buildAction: (href: string) => {
|
|
10
|
-
type: "NAVIGATE";
|
|
11
|
-
payload: {
|
|
12
|
-
name: string;
|
|
13
|
-
params?: import("@react-navigation/core").NavigatorScreenParams<Readonly<{
|
|
14
|
-
key: string;
|
|
15
|
-
index: number;
|
|
16
|
-
routeNames: string[];
|
|
17
|
-
history?: unknown[];
|
|
18
|
-
routes: import("@react-navigation/routers").NavigationRoute<import("@react-navigation/routers").ParamListBase, string>[];
|
|
19
|
-
type: string;
|
|
20
|
-
stale: false;
|
|
21
|
-
}>>;
|
|
22
|
-
path?: string;
|
|
23
|
-
};
|
|
24
|
-
} | CommonActions.Action;
|
|
25
|
-
};
|
|
26
|
-
//# sourceMappingURL=useLinkBuilder.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useLinkBuilder.d.ts","sourceRoot":"","sources":["../../../../src/useLinkBuilder.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAQd,MAAM,wBAAwB,CAAC;AAShC;;;;GAIG;AACH,wBAAgB,cAAc;sBAcnB,MAAM,WAAW,MAAM;wBAmEvB,MAAM;;;;;;;;;;;;;;;;EAsBhB"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { type NavigationAction } from '@react-navigation/core';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { type GestureResponderEvent } from 'react-native';
|
|
4
|
-
export type LinkProps<ParamList extends ReactNavigation.RootParamList, RouteName extends keyof ParamList = keyof ParamList> = ({
|
|
5
|
-
href?: string;
|
|
6
|
-
action?: NavigationAction;
|
|
7
|
-
} & (RouteName extends unknown ? undefined extends ParamList[RouteName] ? {
|
|
8
|
-
screen: RouteName;
|
|
9
|
-
params?: ParamList[RouteName];
|
|
10
|
-
} : {
|
|
11
|
-
screen: RouteName;
|
|
12
|
-
params: ParamList[RouteName];
|
|
13
|
-
} : never)) | {
|
|
14
|
-
href?: string;
|
|
15
|
-
action: NavigationAction;
|
|
16
|
-
screen?: undefined;
|
|
17
|
-
params?: undefined;
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* Hook to get props for an anchor tag so it can work with in page navigation.
|
|
21
|
-
*
|
|
22
|
-
* @param props.screen Name of the screen to navigate to (e.g. `'Feeds'`).
|
|
23
|
-
* @param props.params Params to pass to the screen to navigate to (e.g. `{ sort: 'hot' }`).
|
|
24
|
-
* @param props.href Optional absolute path to use for the href (e.g. `/feeds/hot`).
|
|
25
|
-
* @param props.action Optional action to use for in-page navigation. By default, the path is parsed to an action based on linking config.
|
|
26
|
-
*/
|
|
27
|
-
export declare function useLinkProps<ParamList extends ReactNavigation.RootParamList>({ screen, params, href, action, }: LinkProps<ParamList>): {
|
|
28
|
-
href: string | undefined;
|
|
29
|
-
accessibilityRole: "link";
|
|
30
|
-
onPress: (e?: React.MouseEvent<HTMLAnchorElement, MouseEvent> | GestureResponderEvent) => void;
|
|
31
|
-
};
|
|
32
|
-
//# sourceMappingURL=useLinkProps.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useLinkProps.d.ts","sourceRoot":"","sources":["../../../../src/useLinkProps.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,gBAAgB,EAKtB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,qBAAqB,EAAY,MAAM,cAAc,CAAC;AAIpE,MAAM,MAAM,SAAS,CACnB,SAAS,SAAS,eAAe,CAAC,aAAa,EAC/C,SAAS,SAAS,MAAM,SAAS,GAAG,MAAM,SAAS,IAEjD,CAAC;IACC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,gBAAgB,CAAC;CAC3B,GAAG,CAAC,SAAS,SAAS,OAAO,GAC1B,SAAS,SAAS,SAAS,CAAC,SAAS,CAAC,GACpC;IAAE,MAAM,EAAE,SAAS,CAAC;IAAC,MAAM,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAAE,GACpD;IAAE,MAAM,EAAE,SAAS,CAAC;IAAC,MAAM,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAAE,GACrD,KAAK,CAAC,CAAC,GACX;IACE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,gBAAgB,CAAC;IACzB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB,CAAC;AA+BN;;;;;;;GAOG;AACH,wBAAgB,YAAY,CAAC,SAAS,SAAS,eAAe,CAAC,aAAa,EAAE,EAC5E,MAAM,EACN,MAAM,EACN,IAAI,EACJ,MAAM,GACP,EAAE,SAAS,CAAC,SAAS,CAAC;;;kBAMf,KAAK,CAAC,UAAU,CAAC,iBAAiB,EAAE,UAAU,CAAC,GAAG,qBAAqB;EA0E9E"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useLinkTo.d.ts","sourceRoot":"","sources":["../../../../src/useLinkTo.tsx"],"names":[],"mappings":"AAKA;;;;GAIG;AACH,wBAAgB,SAAS,WAKd,MAAM,UAehB"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { getStateFromPath as getStateFromPathDefault, type NavigationContainerRef, type ParamListBase } from '@react-navigation/core';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import type { LinkingOptions } from './types';
|
|
4
|
-
type ResultState = ReturnType<typeof getStateFromPathDefault>;
|
|
5
|
-
/**
|
|
6
|
-
* Run async function in series as it's called.
|
|
7
|
-
*/
|
|
8
|
-
export declare const series: (cb: () => Promise<void>) => () => void;
|
|
9
|
-
type Options = LinkingOptions<ParamListBase>;
|
|
10
|
-
export declare function useLinking(ref: React.RefObject<NavigationContainerRef<ParamListBase>>, { enabled, config, getStateFromPath, getPathFromState, getActionFromState, }: Options, onUnhandledLinking: (lastUnhandledLining: string | undefined) => void): {
|
|
11
|
-
getInitialState: () => PromiseLike<ResultState | undefined>;
|
|
12
|
-
};
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=useLinking.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useLinking.d.ts","sourceRoot":"","sources":["../../../../src/useLinking.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,gBAAgB,IAAI,uBAAuB,EAC3C,KAAK,sBAAsB,EAE3B,KAAK,aAAa,EAEnB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,KAAK,WAAW,GAAG,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC;AA0C9D;;GAEG;AACH,eAAO,MAAM,MAAM,OAAQ,MAAM,OAAO,CAAC,IAAI,CAAC,eAO7C,CAAC;AAIF,KAAK,OAAO,GAAG,cAAc,CAAC,aAAa,CAAC,CAAC;AAE7C,wBAAgB,UAAU,CACxB,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC,sBAAsB,CAAC,aAAa,CAAC,CAAC,EAC3D,EACE,OAAc,EACd,MAAM,EACN,gBAA0C,EAC1C,gBAA0C,EAC1C,kBAA8C,GAC/C,EAAE,OAAO,EACV,kBAAkB,EAAE,CAAC,mBAAmB,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI;2BAmGhD,WAAW,CAAC,WAAW,GAAG,SAAS,CAAC;EAkQ1D"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { type NavigationContainerRef, type ParamListBase } from '@react-navigation/core';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import type { LinkingOptions } from './types';
|
|
4
|
-
type Options = LinkingOptions<ParamListBase>;
|
|
5
|
-
export declare function useLinking(ref: React.RefObject<NavigationContainerRef<ParamListBase>>, { enabled, prefixes, filter, config, getInitialURL, subscribe, getStateFromPath, getActionFromState, }: Options, onUnhandledLinking: (lastUnhandledLining: string | undefined) => void): {
|
|
6
|
-
getInitialState: () => PromiseLike<(Partial<Omit<Readonly<{
|
|
7
|
-
key: string;
|
|
8
|
-
index: number;
|
|
9
|
-
routeNames: string[];
|
|
10
|
-
history?: unknown[];
|
|
11
|
-
routes: import("@react-navigation/routers").NavigationRoute<ParamListBase, string>[];
|
|
12
|
-
type: string;
|
|
13
|
-
stale: false;
|
|
14
|
-
}>, "stale" | "routes">> & Readonly<{
|
|
15
|
-
stale?: true;
|
|
16
|
-
routes: import("@react-navigation/routers").PartialRoute<import("@react-navigation/routers").Route<string, object | undefined>>[];
|
|
17
|
-
}> & {
|
|
18
|
-
state?: Partial<Omit<Readonly<{
|
|
19
|
-
key: string;
|
|
20
|
-
index: number;
|
|
21
|
-
routeNames: string[];
|
|
22
|
-
history?: unknown[];
|
|
23
|
-
routes: import("@react-navigation/routers").NavigationRoute<ParamListBase, string>[];
|
|
24
|
-
type: string;
|
|
25
|
-
stale: false;
|
|
26
|
-
}>, "stale" | "routes">> & Readonly<{
|
|
27
|
-
stale?: true;
|
|
28
|
-
routes: import("@react-navigation/routers").PartialRoute<import("@react-navigation/routers").Route<string, object | undefined>>[];
|
|
29
|
-
}> & any;
|
|
30
|
-
}) | undefined>;
|
|
31
|
-
};
|
|
32
|
-
export {};
|
|
33
|
-
//# sourceMappingURL=useLinking.native.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useLinking.native.d.ts","sourceRoot":"","sources":["../../../../src/useLinking.native.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,sBAAsB,EAC3B,KAAK,aAAa,EAEnB,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAI9C,KAAK,OAAO,GAAG,cAAc,CAAC,aAAa,CAAC,CAAC;AAI7C,wBAAgB,UAAU,CACxB,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC,sBAAsB,CAAC,aAAa,CAAC,CAAC,EAC3D,EACE,OAAc,EACd,QAAQ,EACR,MAAM,EACN,MAAM,EACN,aAQI,EACJ,SAmBC,EACD,gBAA0C,EAC1C,kBAA8C,GAC/C,EAAE,OAAO,EACV,kBAAkB,EAAE,CAAC,mBAAmB,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;EAkKtE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useLocale.d.ts","sourceRoot":"","sources":["../../../../src/useLocale.tsx"],"names":[],"mappings":"AAIA;;GAEG;AACH,wBAAgB,SAAS;;EAUxB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useRoutePath.d.ts","sourceRoot":"","sources":["../../../../src/useRoutePath.tsx"],"names":[],"mappings":"AAKA;;;;GAIG;AACH,wBAAgB,YAAY,uBAuB3B"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import type { ScrollView } from 'react-native';
|
|
3
|
-
type ScrollOptions = {
|
|
4
|
-
x?: number;
|
|
5
|
-
y?: number;
|
|
6
|
-
animated?: boolean;
|
|
7
|
-
};
|
|
8
|
-
type ScrollableView = {
|
|
9
|
-
scrollToTop(): void;
|
|
10
|
-
} | {
|
|
11
|
-
scrollTo(options: ScrollOptions): void;
|
|
12
|
-
} | {
|
|
13
|
-
scrollToOffset(options: {
|
|
14
|
-
offset: number;
|
|
15
|
-
animated?: boolean;
|
|
16
|
-
}): void;
|
|
17
|
-
} | {
|
|
18
|
-
scrollResponderScrollTo(options: ScrollOptions): void;
|
|
19
|
-
};
|
|
20
|
-
type ScrollableWrapper = {
|
|
21
|
-
getScrollResponder(): React.ReactNode | ScrollView;
|
|
22
|
-
} | {
|
|
23
|
-
getNode(): ScrollableView;
|
|
24
|
-
} | ScrollableView | null;
|
|
25
|
-
export declare function useScrollToTop(ref: React.RefObject<ScrollableWrapper>): void;
|
|
26
|
-
export {};
|
|
27
|
-
//# sourceMappingURL=useScrollToTop.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useScrollToTop.d.ts","sourceRoot":"","sources":["../../../../src/useScrollToTop.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,KAAK,aAAa,GAAG;IAAE,CAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAEpE,KAAK,cAAc,GACf;IAAE,WAAW,IAAI,IAAI,CAAA;CAAE,GACvB;IAAE,QAAQ,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI,CAAA;CAAE,GAC1C;IAAE,cAAc,CAAC,OAAO,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,IAAI,CAAA;CAAE,GACzE;IAAE,uBAAuB,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI,CAAA;CAAE,CAAC;AAE9D,KAAK,iBAAiB,GAClB;IAAE,kBAAkB,IAAI,KAAK,CAAC,SAAS,GAAG,UAAU,CAAA;CAAE,GACtD;IAAE,OAAO,IAAI,cAAc,CAAA;CAAE,GAC7B,cAAc,GACd,IAAI,CAAC;AA8BT,wBAAgB,cAAc,CAAC,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC,QAoErE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useThenable.d.ts","sourceRoot":"","sources":["../../../../src/useThenable.tsx"],"names":[],"mappings":"AAEA,wBAAgB,WAAW,CAAC,CAAC,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC,CAAC,CAAC,4BAuC1D"}
|
|
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
|