@idealyst/navigation 1.2.74 → 1.2.76

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.74",
3
+ "version": "1.2.76",
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.74",
48
+ "@idealyst/components": "^1.2.76",
49
49
  "@idealyst/microphone": "^1.2.30",
50
- "@idealyst/theme": "^1.2.74",
50
+ "@idealyst/theme": "^1.2.76",
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.74",
78
+ "@idealyst/components": "^1.2.76",
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.74",
82
+ "@idealyst/markdown": "^1.2.76",
83
83
  "@idealyst/microphone": "^1.2.30",
84
- "@idealyst/theme": "^1.2.74",
84
+ "@idealyst/theme": "^1.2.76",
85
85
  "@types/react": "^19.1.8",
86
86
  "@types/react-dom": "^19.1.6",
87
87
  "react": "^19.1.0",
@@ -204,7 +204,7 @@ const parseParameterizedPath = (path: string, rootRoute: any): { routeName: stri
204
204
  return null;
205
205
  };
206
206
 
207
- const UnwrappedNavigatorProvider = ({ route, floatingComponent }: NavigatorProviderProps) => {
207
+ const UnwrappedNavigatorProvider = ({ route }: NavigatorProviderProps) => {
208
208
 
209
209
  const navigation = useNavigation();
210
210
 
@@ -331,7 +331,6 @@ const UnwrappedNavigatorProvider = ({ route, floatingComponent }: NavigatorProvi
331
331
  goBack,
332
332
  }}>
333
333
  <RouteComponent />
334
- {floatingComponent}
335
334
  </NavigatorContext.Provider>
336
335
  )
337
336
  };
@@ -343,7 +342,8 @@ const NavigatorProvider = ({ route, floatingComponent }: NavigatorProviderProps)
343
342
 
344
343
  return (
345
344
  <NavigationContainer theme={isDarkMode ? DarkTheme : DefaultTheme}>
346
- <UnwrappedNavigatorProvider route={route} floatingComponent={floatingComponent} />
345
+ <UnwrappedNavigatorProvider route={route} />
346
+ {floatingComponent}
347
347
  </NavigationContainer>
348
348
  )
349
349
  };