@idealyst/navigation 1.2.119 → 11.2.121

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.119",
3
+ "version": "11.2.121",
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.119",
48
+ "@idealyst/components": "^11.2.121",
49
49
  "@idealyst/microphone": "^1.2.30",
50
- "@idealyst/theme": "^1.2.119",
50
+ "@idealyst/theme": "^11.2.121",
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",
@@ -74,13 +74,13 @@
74
74
  "@idealyst/animate": "^1.2.38",
75
75
  "@idealyst/blur": "^1.2.40",
76
76
  "@idealyst/camera": "^1.2.30",
77
- "@idealyst/components": "^1.2.119",
77
+ "@idealyst/components": "^11.2.121",
78
78
  "@idealyst/datagrid": "^1.2.30",
79
79
  "@idealyst/datepicker": "^1.2.30",
80
80
  "@idealyst/lottie": "^1.2.38",
81
- "@idealyst/markdown": "^1.2.119",
81
+ "@idealyst/markdown": "^11.2.121",
82
82
  "@idealyst/microphone": "^1.2.30",
83
- "@idealyst/theme": "^1.2.119",
83
+ "@idealyst/theme": "^11.2.121",
84
84
  "@types/react": "^19.1.8",
85
85
  "@types/react-dom": "^19.1.6",
86
86
  "react": "^19.1.0",
@@ -145,7 +145,9 @@ const parseParameterizedPath = (path: string, rootRoute: any): { routeName: stri
145
145
  const routeSegments = route.path.split('/').filter(Boolean);
146
146
  // Clean up path joining to avoid double slashes
147
147
  const cleanPath = route.path.startsWith('/') ? route.path.slice(1) : route.path;
148
- const fullRoutePath = pathPrefix ? `${pathPrefix}/${cleanPath}` : route.path;
148
+ const joinedPath = pathPrefix ? `${pathPrefix}/${cleanPath}` : route.path;
149
+ // Normalize any double slashes (e.g. when pathPrefix is "/")
150
+ const fullRoutePath = joinedPath.replace(/\/\/+/g, '/');
149
151
 
150
152
  // Check if route segments match the path segments at current position
151
153
  const remainingSegments = segments.length - startIndex;