@singularsystems/neo-core 1.5.0 → 1.5.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Neo core changelog
2
2
 
3
+ ## Version 1.5.1 (28 May 2026)
4
+
5
+ - Moved `exact` from `IRoute` to `IMenuRoute`.
6
+
3
7
  ## Version 1.5.0 (20 May 2026)
4
8
 
5
9
  - Better offline support (see wiki "PWA Offline" guide for more details).
@@ -15,4 +15,9 @@ export interface IMenuRoute extends IRoute {
15
15
  children?: IMenuRoute[];
16
16
  /** Icon to show on the menu. */
17
17
  icon?: any;
18
+ /**
19
+ * Should this menu item appear active only on an exact path match (instead of a startsWith match)?
20
+ * Set this to true if this is a parent menu item which has sub menu items.
21
+ */
22
+ exact?: boolean;
18
23
  }
@@ -10,8 +10,6 @@ export interface IRoute {
10
10
  role?: string;
11
11
  /** User must have 1 of these roles to view this route. */
12
12
  anyRoles?: string[];
13
- /** Match on exact path? Set this to true if this is a parent route which has sub routes. */
14
- exact?: boolean;
15
13
  /**
16
14
  * Path which will be used for links on a menu component.
17
15
  * If you specify parameters here, you must also specify `basePath`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@singularsystems/neo-core",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "Core functionality for the Neo client library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",