@indigina/ui-kit 1.1.41 → 1.1.43

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.
@@ -15,12 +15,17 @@ export declare class KitNavigationMenuComponent extends KitNavigationMenuBaseCom
15
15
  * Defines whether the component will have an animation when collapsing/expanding the menu
16
16
  */
17
17
  animate: boolean;
18
+ /**
19
+ * Defines whether the component can have more than one item expanded at the same time
20
+ */
21
+ multiple: boolean;
18
22
  readonly KitSvgIconType: typeof KitSvgIconType;
19
23
  constructor(router: Router, changeDetectorRef: ChangeDetectorRef);
20
24
  ngOnInit(): void;
21
25
  ngOnChanges(changes: SimpleChanges): void;
26
+ handleClick(item: KitNavigationMenuItem): void;
22
27
  private setExpandedStateOnRouterChange;
23
28
  private setExpandedState;
24
29
  static ɵfac: i0.ɵɵFactoryDeclaration<KitNavigationMenuComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<KitNavigationMenuComponent, "kit-navigation-menu", never, { "items": { "alias": "items"; "required": false; }; "animate": { "alias": "animate"; "required": false; }; }, {}, never, never, false, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<KitNavigationMenuComponent, "kit-navigation-menu", never, { "items": { "alias": "items"; "required": false; }; "animate": { "alias": "animate"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; }, {}, never, never, false, never>;
26
31
  }
@@ -1,5 +1,5 @@
1
1
  import { KitAvatarSize } from '../kit-avatar/kit-avatar.const';
2
- import { KitSvgIcon } from '../kit-svg-icon/kit-svg-icon.const';
2
+ import { KitSvgIcon, KitSvgIconType } from '../kit-svg-icon/kit-svg-icon.const';
3
3
  import { KitProfileMenuItem } from '../kit-profile-menu/kit-profile-menu.model';
4
4
  import { KitPopupComponent } from '../kit-popup/kit-popup.component';
5
5
  import { KitPopupAlignHorizontal } from '../kit-popup/kit-popup.model';
@@ -25,6 +25,7 @@ export declare class KitProfileMenuComponent {
25
25
  readonly KitAvatarSize: typeof KitAvatarSize;
26
26
  readonly KitSvgIcon: typeof KitSvgIcon;
27
27
  readonly KitPopupAlignHorizontal: typeof KitPopupAlignHorizontal;
28
+ readonly KitSvgIconType: typeof KitSvgIconType;
28
29
  onClick(item: KitProfileMenuItem): void;
29
30
  static ɵfac: i0.ɵɵFactoryDeclaration<KitProfileMenuComponent, never>;
30
31
  static ɵcmp: i0.ɵɵComponentDeclaration<KitProfileMenuComponent, "kit-profile-menu", never, { "menuItems": { "alias": "menuItems"; "required": false; }; "userName": { "alias": "userName"; "required": false; }; "companyName": { "alias": "companyName"; "required": false; }; "avatarImageSrc": { "alias": "avatarImageSrc"; "required": false; }; }, {}, never, never, false, never>;
@@ -1,7 +1,8 @@
1
- import { KitSvgIcon } from '../kit-svg-icon/kit-svg-icon.const';
1
+ import { KitSvgIcon, KitSvgIconType } from '../kit-svg-icon/kit-svg-icon.const';
2
2
  export interface KitProfileMenuItem {
3
3
  title: string;
4
4
  icon?: KitSvgIcon;
5
+ iconType?: KitSvgIconType;
5
6
  link?: string;
6
7
  cssClass?: string;
7
8
  action?(): void;
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "components",
8
8
  "shared"
9
9
  ],
10
- "version": "1.1.41",
10
+ "version": "1.1.43",
11
11
  "peerDependencies": {
12
12
  "@angular/common": "^17.0.7",
13
13
  "@angular/core": "^17.0.7"