ud-components 0.8.10 → 0.8.11

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.
@@ -30,9 +30,12 @@ export declare class SidenavComponent implements AfterViewInit {
30
30
  static ɵcmp: i0.ɵɵComponentDeclaration<SidenavComponent, "ud-sidenav", never, { "groups": { "alias": "groups"; "required": true; "isSignal": true; }; "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; "brandRoute": { "alias": "brandRoute"; "required": false; "isSignal": true; }; "logo": { "alias": "logo"; "required": false; "isSignal": true; }; "logoCollapsed": { "alias": "logoCollapsed"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
31
31
  }
32
32
  /**
33
- * The nav route to highlight for `url`. An exact match wins; otherwise the
34
- * item in the same top-level section, so detail and add pages (`/users/123`,
35
- * `/users/add-user`) keep their section lit. When a section has several items
36
- * (`/document-compliance/send` and `/list`), its list page wins.
33
+ * The nav route to highlight for `url`. An exact match wins; then the nav
34
+ * route the URL sits under, the longest one, so a section's own pages keep
35
+ * it lit (`/finance/reports/aging` lights `/finance/reports`, not the first
36
+ * `/finance` item). Otherwise the item in the same top-level section, so
37
+ * detail and add pages (`/users/123`, `/users/add-user`) keep their section
38
+ * lit. When a section has several items (`/document-compliance/send` and
39
+ * `/list`), its list page wins.
37
40
  */
38
41
  export declare function activeNavRoute(url: string, routes: string[]): string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ud-components",
3
- "version": "0.8.10",
3
+ "version": "0.8.11",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": ">=19",
6
6
  "@angular/common": ">=19",