@idealyst/navigation 1.2.12 → 1.2.14

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.12",
3
+ "version": "1.2.14",
4
4
  "description": "Cross-platform navigation library for React and React Native",
5
5
  "readme": "README.md",
6
6
  "main": "src/index.ts",
@@ -44,9 +44,9 @@
44
44
  },
45
45
  "peerDependencies": {
46
46
  "@idealyst/camera": "^1.1.6",
47
- "@idealyst/components": "^1.2.12",
47
+ "@idealyst/components": "^1.2.14",
48
48
  "@idealyst/microphone": "^1.1.7",
49
- "@idealyst/theme": "^1.2.12",
49
+ "@idealyst/theme": "^1.2.14",
50
50
  "@react-navigation/bottom-tabs": ">=7.0.0",
51
51
  "@react-navigation/drawer": ">=7.0.0",
52
52
  "@react-navigation/native": ">=7.0.0",
@@ -71,11 +71,11 @@
71
71
  },
72
72
  "devDependencies": {
73
73
  "@idealyst/camera": "^1.1.6",
74
- "@idealyst/components": "^1.2.12",
74
+ "@idealyst/components": "^1.2.14",
75
75
  "@idealyst/datagrid": "^1.0.93",
76
76
  "@idealyst/datepicker": "^1.0.93",
77
77
  "@idealyst/microphone": "^1.1.7",
78
- "@idealyst/theme": "^1.2.12",
78
+ "@idealyst/theme": "^1.2.14",
79
79
  "@types/react": "^19.1.8",
80
80
  "@types/react-dom": "^19.1.6",
81
81
  "react": "^19.1.0",
@@ -1,4 +1,4 @@
1
- import { NavigatorParam, RouteParam, ScreenOptions, NotFoundComponentProps } from './types'
1
+ import { NavigatorParam, RouteParam, ScreenOptions, NotFoundComponentProps, NOT_FOUND_SCREEN_NAME } from './types'
2
2
 
3
3
  import { TypedNavigator } from "@react-navigation/native";
4
4
  import { createNativeStackNavigator } from "@react-navigation/native-stack";
@@ -8,11 +8,8 @@ import { DrawerContentWrapper } from './DrawerContentWrapper.native';
8
8
  import { HeaderWrapper } from './HeaderWrapper.native';
9
9
  import React from 'react';
10
10
 
11
-
12
- /**
13
- * Internal screen name for 404 pages
14
- */
15
- export const NOT_FOUND_SCREEN_NAME = '__notFound__';
11
+ // Re-export for backwards compatibility
12
+ export { NOT_FOUND_SCREEN_NAME };
16
13
 
17
14
  /**
18
15
  * Creates a NotFound screen component that receives path and params from route params
@@ -1,6 +1,11 @@
1
1
  import React from "react";
2
2
  import type { NavigateParams } from "../context/types";
3
3
 
4
+ /**
5
+ * Special screen name used for not-found/404 routes
6
+ */
7
+ export const NOT_FOUND_SCREEN_NAME = '__notFound__';
8
+
4
9
  /**
5
10
  * Tab bar specific screen options
6
11
  */