@idealyst/navigation 1.2.73 → 1.2.75
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.75",
|
|
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.75",
|
|
49
49
|
"@idealyst/microphone": "^1.2.30",
|
|
50
|
-
"@idealyst/theme": "^1.2.
|
|
50
|
+
"@idealyst/theme": "^1.2.75",
|
|
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.75",
|
|
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.75",
|
|
83
83
|
"@idealyst/microphone": "^1.2.30",
|
|
84
|
-
"@idealyst/theme": "^1.2.
|
|
84
|
+
"@idealyst/theme": "^1.2.75",
|
|
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
|
|
207
|
+
const UnwrappedNavigatorProvider = ({ route }: NavigatorProviderProps) => {
|
|
208
208
|
|
|
209
209
|
const navigation = useNavigation();
|
|
210
210
|
|
|
@@ -331,19 +331,18 @@ const UnwrappedNavigatorProvider = ({ route, floatingComponent }: NavigatorProvi
|
|
|
331
331
|
goBack,
|
|
332
332
|
}}>
|
|
333
333
|
<RouteComponent />
|
|
334
|
-
{floatingComponent}
|
|
335
334
|
</NavigatorContext.Provider>
|
|
336
335
|
)
|
|
337
336
|
};
|
|
338
337
|
|
|
339
|
-
const NavigatorProvider = ({ route
|
|
338
|
+
const NavigatorProvider = ({ route }: NavigatorProviderProps) => {
|
|
340
339
|
const {rt} = useUnistyles()
|
|
341
340
|
|
|
342
341
|
const isDarkMode = rt.themeName === 'dark';
|
|
343
342
|
|
|
344
343
|
return (
|
|
345
344
|
<NavigationContainer theme={isDarkMode ? DarkTheme : DefaultTheme}>
|
|
346
|
-
<UnwrappedNavigatorProvider route={route}
|
|
345
|
+
<UnwrappedNavigatorProvider route={route} />
|
|
347
346
|
</NavigationContainer>
|
|
348
347
|
)
|
|
349
348
|
};
|