@indigina/ui-kit 1.1.55 → 1.1.57

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.
@@ -1,16 +1,20 @@
1
1
  import { KitSvgIcon, KitSvgIconType } from '../kit-svg-icon/kit-svg-icon.const';
2
+ export type KitCardLink = (string | number)[] | string | null;
2
3
  export interface KitCard {
3
4
  title: string;
4
5
  titleIcon: KitSvgIcon;
5
6
  label: string;
6
7
  count: number;
7
8
  buttonLabel: string;
8
- items: KitCardItem[];
9
+ link?: KitCardLink;
10
+ items?: KitCardItem[];
9
11
  titleIconType?: KitSvgIconType;
10
12
  }
11
13
  export interface KitCardItem {
12
14
  label: string;
13
- count: number;
14
- link: string | null | (string | number)[];
15
+ link: KitCardLink;
16
+ count?: number;
17
+ icon?: KitSvgIcon;
18
+ iconType?: KitSvgIconType;
15
19
  tooltip?: string;
16
20
  }
@@ -1,10 +1,13 @@
1
+ import { EventEmitter } from '@angular/core';
1
2
  import { KitNavigationMenuItem } from '../kit-navigation-menu.model';
2
3
  import { KitSvgIcon } from '../../kit-svg-icon/kit-svg-icon.const';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class KitNavigationMenuSubmenuComponent {
5
6
  item: KitNavigationMenuItem | null;
7
+ logoClicked: EventEmitter<void>;
6
8
  readonly KitSvgIcon: typeof KitSvgIcon;
9
+ readonly rootPath: string;
7
10
  handleClick(item: KitNavigationMenuItem): void;
8
11
  static ɵfac: i0.ɵɵFactoryDeclaration<KitNavigationMenuSubmenuComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<KitNavigationMenuSubmenuComponent, "kit-navigation-menu-submenu", never, { "item": { "alias": "item"; "required": false; }; }, {}, never, never, false, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<KitNavigationMenuSubmenuComponent, "kit-navigation-menu-submenu", never, { "item": { "alias": "item"; "required": false; }; }, { "logoClicked": "logoClicked"; }, never, never, false, never>;
10
13
  }
@@ -24,6 +24,7 @@ export declare class KitNavigationMenuComponent implements OnInit {
24
24
  constructor(router: Router);
25
25
  ngOnInit(): void;
26
26
  handleClick(item: KitNavigationMenuItem): void;
27
+ handleLogoClick(): void;
27
28
  private setExpandedStateOnRouterChange;
28
29
  private updateNavigationState;
29
30
  private collapseAllItems;
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "components",
8
8
  "shared"
9
9
  ],
10
- "version": "1.1.55",
10
+ "version": "1.1.57",
11
11
  "peerDependencies": {
12
12
  "@angular/common": "^17.0.7",
13
13
  "@angular/core": "^17.0.7"
package/public-api.d.ts CHANGED
@@ -116,7 +116,7 @@ export { KitTabsSelectEvent } from './lib/components/kit-tabs/kit-tabs.model';
116
116
  export { KitTabComponent } from './lib/components/kit-tabs/kit-tab/kit-tab.component';
117
117
  export { KitCardModule } from './lib/components/kit-card/kit-card.module';
118
118
  export { KitCardComponent } from './lib/components/kit-card/kit-card.component';
119
- export { KitCard, KitCardItem } from './lib/components/kit-card/kit-card.model';
119
+ export { KitCard, KitCardItem, KitCardLink } from './lib/components/kit-card/kit-card.model';
120
120
  export { KitCardTheme } from './lib/components/kit-card/kit-card.const';
121
121
  export { KitBreadcrumbsModule } from './lib/components/kit-breadcrumbs/kit-breadcrumbs.module';
122
122
  export { KitBreadcrumbsComponent } from './lib/components/kit-breadcrumbs/kit-breadcrumbs.component';