@idealyst/navigation 1.2.82 → 1.2.85
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@idealyst/navigation",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.85",
|
|
4
4
|
"description": "Cross-platform navigation library for React and React Native",
|
|
5
5
|
"readme": "README.md",
|
|
6
6
|
"main": "src/index.ts",
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"@idealyst/camera": "^1.2.30",
|
|
48
|
-
"@idealyst/components": "^1.2.
|
|
48
|
+
"@idealyst/components": "^1.2.85",
|
|
49
49
|
"@idealyst/microphone": "^1.2.30",
|
|
50
|
-
"@idealyst/theme": "^1.2.
|
|
50
|
+
"@idealyst/theme": "^1.2.85",
|
|
51
51
|
"@react-navigation/bottom-tabs": ">=7.0.0",
|
|
52
52
|
"@react-navigation/drawer": ">=7.0.0",
|
|
53
53
|
"@react-navigation/native": ">=7.0.0",
|
|
@@ -75,13 +75,13 @@
|
|
|
75
75
|
"@idealyst/audio-playback": "^1.2.46",
|
|
76
76
|
"@idealyst/blur": "^1.2.40",
|
|
77
77
|
"@idealyst/camera": "^1.2.30",
|
|
78
|
-
"@idealyst/components": "^1.2.
|
|
78
|
+
"@idealyst/components": "^1.2.85",
|
|
79
79
|
"@idealyst/datagrid": "^1.2.30",
|
|
80
80
|
"@idealyst/datepicker": "^1.2.30",
|
|
81
81
|
"@idealyst/lottie": "^1.2.38",
|
|
82
|
-
"@idealyst/markdown": "^1.2.
|
|
82
|
+
"@idealyst/markdown": "^1.2.85",
|
|
83
83
|
"@idealyst/microphone": "^1.2.30",
|
|
84
|
-
"@idealyst/theme": "^1.2.
|
|
84
|
+
"@idealyst/theme": "^1.2.85",
|
|
85
85
|
"@types/react": "^19.1.8",
|
|
86
86
|
"@types/react-dom": "^19.1.6",
|
|
87
87
|
"react": "^19.1.0",
|
|
@@ -64,9 +64,8 @@ function buildValidPatterns(route: NavigatorParam, prefix = ''): string[] {
|
|
|
64
64
|
if (!route.routes) return patterns;
|
|
65
65
|
|
|
66
66
|
for (const childRoute of route.routes) {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
: `${prefix}/${childRoute.path}`.replace(/\/+/g, '/');
|
|
67
|
+
// Always join with prefix - strip leading slash from child path to avoid treating it as absolute
|
|
68
|
+
const childPath = `${prefix}/${childRoute.path.replace(/^\//, '')}`.replace(/\/+/g, '/');
|
|
70
69
|
|
|
71
70
|
// Add the pattern (keeping :param placeholders)
|
|
72
71
|
if (childPath) {
|