@mapples/navigation 1.1.1
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/README.md +46 -0
- package/dist/MapplesNavigation.d.ts +10 -0
- package/dist/MapplesNavigation.d.ts.map +1 -0
- package/dist/MapplesNavigation.js +30 -0
- package/dist/MapplesNavigation.js.map +1 -0
- package/dist/NavigationActionHandler.d.ts +14 -0
- package/dist/NavigationActionHandler.d.ts.map +1 -0
- package/dist/NavigationActionHandler.js +50 -0
- package/dist/NavigationActionHandler.js.map +1 -0
- package/dist/actionCommands.d.ts +11 -0
- package/dist/actionCommands.d.ts.map +1 -0
- package/dist/actionCommands.js +45 -0
- package/dist/actionCommands.js.map +1 -0
- package/dist/buildNavigator.d.ts +14 -0
- package/dist/buildNavigator.d.ts.map +1 -0
- package/dist/buildNavigator.js +87 -0
- package/dist/buildNavigator.js.map +1 -0
- package/dist/constants.d.ts +19 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +18 -0
- package/dist/constants.js.map +1 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +17 -0
- package/dist/index.js.map +1 -0
- package/dist/mappers/drawerOptions.d.ts +5 -0
- package/dist/mappers/drawerOptions.d.ts.map +1 -0
- package/dist/mappers/drawerOptions.js +26 -0
- package/dist/mappers/drawerOptions.js.map +1 -0
- package/dist/mappers/headerOptions.d.ts +10 -0
- package/dist/mappers/headerOptions.d.ts.map +1 -0
- package/dist/mappers/headerOptions.js +42 -0
- package/dist/mappers/headerOptions.js.map +1 -0
- package/dist/mappers/index.d.ts +5 -0
- package/dist/mappers/index.d.ts.map +1 -0
- package/dist/mappers/index.js +5 -0
- package/dist/mappers/index.js.map +1 -0
- package/dist/mappers/screenOptions.d.ts +13 -0
- package/dist/mappers/screenOptions.d.ts.map +1 -0
- package/dist/mappers/screenOptions.js +37 -0
- package/dist/mappers/screenOptions.js.map +1 -0
- package/dist/mappers/tabBarOptions.d.ts +5 -0
- package/dist/mappers/tabBarOptions.d.ts.map +1 -0
- package/dist/mappers/tabBarOptions.js +37 -0
- package/dist/mappers/tabBarOptions.js.map +1 -0
- package/dist/model.d.ts +90 -0
- package/dist/model.d.ts.map +1 -0
- package/dist/model.js +189 -0
- package/dist/model.js.map +1 -0
- package/dist/refs.d.ts +15 -0
- package/dist/refs.d.ts.map +1 -0
- package/dist/refs.js +21 -0
- package/dist/refs.js.map +1 -0
- package/dist/types.d.ts +126 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +1 -0
- package/dist/types.js.map +1 -0
- package/dist/useRefResolvers.d.ts +10 -0
- package/dist/useRefResolvers.d.ts.map +1 -0
- package/dist/useRefResolvers.js +64 -0
- package/dist/useRefResolvers.js.map +1 -0
- package/dist/vendor.d.ts +29 -0
- package/dist/vendor.d.ts.map +1 -0
- package/dist/vendor.js +29 -0
- package/dist/vendor.js.map +1 -0
- package/package.json +46 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRefResolvers.js","sourceRoot":"","sources":["../src/useRefResolvers.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAY,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,KAAK,EAAuB,MAAM,cAAc,CAAC;AAE1D,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAGlC,6EAA6E;AAC7E,MAAM,WAAW,GAAG,CAAC,GAAa,EAAE,IAAY,EAAsB,EAAE;IACtE,IAAI,OAAO,GAAiC,GAAG,CAAC;IAChD,KAAK,MAAM,GAAG,IAAI,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC;QAClC,IAAI,OAAO,IAAI,IAAI,IAAI,OAAO,OAAO,KAAK,QAAQ;YAAE,OAAO,SAAS,CA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C,IAAI,CAAC,8CAA8C,KAAK,EAAE,CAAC,CAAC;YACpE,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,MAAM,MAAM,GACV,OAAO,KAAK,KAAK,QAAQ;YACvB,CAAC,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE;YAChB,CAAC,CAAE,KAA6B,CAAC;QAErC,uEAAuE;QACvE,0CAA0C;QAC1C,8CAA8C;QAC9C,OAAO,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAClB,aAAa,CAAC,KAAK,EAAE;YACnB,MAAM;YACN,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,IAAI,EAAE,EAAE,MAAM,EAAE,IAAI,IAAI,EAAE,EAAE;SACjD,CAAC,CAAC;IACP,CAAC,CAAC;IAEF,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC;AACvC,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
package/dist/vendor.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Single chokepoint for React Navigation, consumed through expo-router's
|
|
3
|
+
* vendored copy.
|
|
4
|
+
*
|
|
5
|
+
* Expo SDK 56 blocks external `@react-navigation/*` packages inside expo-router
|
|
6
|
+
* apps, so this package must import React Navigation from expo-router instead.
|
|
7
|
+
* See https://docs.expo.dev/router/migrate/sdk-55-to-56/.
|
|
8
|
+
*
|
|
9
|
+
* Two import surfaces are used:
|
|
10
|
+
*
|
|
11
|
+
* 1. The container/core symbols come from the **public** `expo-router/
|
|
12
|
+
* react-navigation` entry (it is `module.exports = require('./build/
|
|
13
|
+
* react-navigation')`, so it is a stable alias of the build index that
|
|
14
|
+
* re-exports `native → core → routers`).
|
|
15
|
+
* 2. The per-navigator factories and their option types are **not** surfaced by
|
|
16
|
+
* that entry, so they are imported from the internal
|
|
17
|
+
* `expo-router/build/react-navigation/*` subpaths. This file is the only
|
|
18
|
+
* place in the package allowed to touch those internal paths — a minor
|
|
19
|
+
* expo-router release can move them, so `vendor.test.ts` imports this module
|
|
20
|
+
* to fail fast if a path disappears, and the `expo-router` peer range is
|
|
21
|
+
* pinned to the verified majors.
|
|
22
|
+
*
|
|
23
|
+
* All other modules in this package import React Navigation from `./vendor`.
|
|
24
|
+
*/
|
|
25
|
+
export { NavigationContainer, NavigationIndependentTree, createNavigationContainerRef, DrawerActions, } from 'expo-router/react-navigation';
|
|
26
|
+
export { createBottomTabNavigator, type BottomTabNavigationOptions, } from 'expo-router/build/react-navigation/bottom-tabs';
|
|
27
|
+
export { createDrawerNavigator, type DrawerNavigationOptions, } from 'expo-router/build/react-navigation/drawer';
|
|
28
|
+
export { createNativeStackNavigator } from 'expo-router/build/react-navigation/native-stack';
|
|
29
|
+
//# sourceMappingURL=vendor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vendor.d.ts","sourceRoot":"","sources":["../src/vendor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,OAAO,EACL,mBAAmB,EACnB,yBAAyB,EACzB,4BAA4B,EAC5B,aAAa,GACd,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EACL,wBAAwB,EACxB,KAAK,0BAA0B,GAChC,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,qBAAqB,EACrB,KAAK,uBAAuB,GAC7B,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,0BAA0B,EAAE,MAAM,iDAAiD,CAAC"}
|
package/dist/vendor.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Single chokepoint for React Navigation, consumed through expo-router's
|
|
3
|
+
* vendored copy.
|
|
4
|
+
*
|
|
5
|
+
* Expo SDK 56 blocks external `@react-navigation/*` packages inside expo-router
|
|
6
|
+
* apps, so this package must import React Navigation from expo-router instead.
|
|
7
|
+
* See https://docs.expo.dev/router/migrate/sdk-55-to-56/.
|
|
8
|
+
*
|
|
9
|
+
* Two import surfaces are used:
|
|
10
|
+
*
|
|
11
|
+
* 1. The container/core symbols come from the **public** `expo-router/
|
|
12
|
+
* react-navigation` entry (it is `module.exports = require('./build/
|
|
13
|
+
* react-navigation')`, so it is a stable alias of the build index that
|
|
14
|
+
* re-exports `native → core → routers`).
|
|
15
|
+
* 2. The per-navigator factories and their option types are **not** surfaced by
|
|
16
|
+
* that entry, so they are imported from the internal
|
|
17
|
+
* `expo-router/build/react-navigation/*` subpaths. This file is the only
|
|
18
|
+
* place in the package allowed to touch those internal paths — a minor
|
|
19
|
+
* expo-router release can move them, so `vendor.test.ts` imports this module
|
|
20
|
+
* to fail fast if a path disappears, and the `expo-router` peer range is
|
|
21
|
+
* pinned to the verified majors.
|
|
22
|
+
*
|
|
23
|
+
* All other modules in this package import React Navigation from `./vendor`.
|
|
24
|
+
*/
|
|
25
|
+
export { NavigationContainer, NavigationIndependentTree, createNavigationContainerRef, DrawerActions, } from 'expo-router/react-navigation';
|
|
26
|
+
export { createBottomTabNavigator, } from 'expo-router/build/react-navigation/bottom-tabs';
|
|
27
|
+
export { createDrawerNavigator, } from 'expo-router/build/react-navigation/drawer';
|
|
28
|
+
export { createNativeStackNavigator } from 'expo-router/build/react-navigation/native-stack';
|
|
29
|
+
//# sourceMappingURL=vendor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vendor.js","sourceRoot":"","sources":["../src/vendor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,OAAO,EACL,mBAAmB,EACnB,yBAAyB,EACzB,4BAA4B,EAC5B,aAAa,GACd,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EACL,wBAAwB,GAEzB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,qBAAqB,GAEtB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,0BAA0B,EAAE,MAAM,iDAAiD,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@mapples/navigation",
|
|
3
|
+
"version": "1.1.1",
|
|
4
|
+
"main": "dist/index.js",
|
|
5
|
+
"types": "dist/index.d.ts",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"build": "tsc -b tsconfig.build.json",
|
|
8
|
+
"lint": "eslint .",
|
|
9
|
+
"type-check": "tsc --noEmit",
|
|
10
|
+
"test": "jest",
|
|
11
|
+
"clean": "rm -rf dist"
|
|
12
|
+
},
|
|
13
|
+
"author": {
|
|
14
|
+
"name": "Oleksandr Soloviov",
|
|
15
|
+
"url": "https://mapples.org/people/olek_soloviov"
|
|
16
|
+
},
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "https://github.com/mapplesorg/mapples-open-kit.git",
|
|
21
|
+
"directory": "packages/@mapples/navigation"
|
|
22
|
+
},
|
|
23
|
+
"peerDependencies": {
|
|
24
|
+
"@mapples/action": "*",
|
|
25
|
+
"@mapples/render": "*",
|
|
26
|
+
"@mapples/style": "*",
|
|
27
|
+
"@mapples/types": "*",
|
|
28
|
+
"expo-router": ">=56.0.0 <57",
|
|
29
|
+
"react": ">=18.0.0 <20.0.0",
|
|
30
|
+
"react-native": ">=0.71.0",
|
|
31
|
+
"react-native-gesture-handler": ">=2.0.0",
|
|
32
|
+
"react-native-reanimated": ">=3.0.0",
|
|
33
|
+
"react-native-safe-area-context": ">=4.0.0",
|
|
34
|
+
"react-native-screens": ">=3.0.0",
|
|
35
|
+
"rxjs": "^7.0.0"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@types/react": ">=18.0.0 <20.0.0",
|
|
39
|
+
"typescript": "~6.0.3"
|
|
40
|
+
},
|
|
41
|
+
"files": [
|
|
42
|
+
"dist",
|
|
43
|
+
"README.md",
|
|
44
|
+
"package.json"
|
|
45
|
+
]
|
|
46
|
+
}
|