@tilde-nlp/ngx-menu 6.1.52 → 6.1.54

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.
@@ -5,6 +5,7 @@ import { NavBaseComponent } from '../nav-base/nav-base.component';
5
5
  import { SideNavSettings } from './models/side-nav-settings.model';
6
6
  import { MenuItemsService } from '../../services/menu-items.service';
7
7
  import { UserMenuOptionLink } from './models/user-menu-option-link.model';
8
+ import { CustomIcons } from './models/custom-icons.model';
8
9
  import * as i0 from "@angular/core";
9
10
  export declare class SideNavMenuComponent extends NavBaseComponent implements OnInit, OnDestroy {
10
11
  #private;
@@ -20,6 +21,7 @@ export declare class SideNavMenuComponent extends NavBaseComponent implements On
20
21
  changeLanguageEvent: EventEmitter<string>;
21
22
  userInitials: string;
22
23
  collapsed: boolean;
24
+ customIcons: CustomIcons;
23
25
  readonly COLLAPSED_LOCAL_STORAGE_KEY = "TLD_MENU_SIDE_NAV_COLLAPSED";
24
26
  private readonly COLLAPSE_PLAUSIBLE_EVENT_ID;
25
27
  private readonly COLLAPSE_PLAUSIBLE_ACTION_KEY;
@@ -38,6 +40,7 @@ export declare class SideNavMenuComponent extends NavBaseComponent implements On
38
40
  changeLanguage(lang: string): void;
39
41
  private getColapsedFromLocalStorage;
40
42
  private setColapsedFromLocalStorage;
43
+ private setIcons;
41
44
  static ɵfac: i0.ɵɵFactoryDeclaration<SideNavMenuComponent, never>;
42
45
  static ɵcmp: i0.ɵɵComponentDeclaration<SideNavMenuComponent, "lib-side-nav-menu", never, { "username": { "alias": "username"; "required": false; }; "menuSettings": { "alias": "menuSettings"; "required": false; }; "productName": { "alias": "productName"; "required": false; }; "supportedLanguages": { "alias": "supportedLanguages"; "required": false; }; "useDefaultLanguageSwitcher": { "alias": "useDefaultLanguageSwitcher"; "required": false; }; }, { "changeLanguageEvent": "changeLanguageEvent"; }, never, ["*"], false, never>;
43
46
  }
@@ -19,4 +19,6 @@ export interface MenuItemGroupBase {
19
19
  isItemGroupActive?: () => boolean;
20
20
  /** Set to true if icon is registered as svg through icon service */
21
21
  isCustomItemGroupIcon?: boolean;
22
+ /** Provide if menu should display description block. Description block uses title and description params. */
23
+ description?: string;
22
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tilde-nlp/ngx-menu",
3
- "version": "6.1.52",
3
+ "version": "6.1.54",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.0.0",
6
6
  "@angular/core": "^18.0.0",