@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.
- package/esm2022/lib/components/kit-card/kit-card.component.mjs +3 -3
- package/esm2022/lib/components/kit-card/kit-card.model.mjs +1 -1
- package/esm2022/lib/components/kit-navigation-menu/kit-navigation-menu-submenu/kit-navigation-menu-submenu.component.mjs +8 -4
- package/esm2022/lib/components/kit-navigation-menu/kit-navigation-menu.component.mjs +8 -3
- package/esm2022/lib/components/kit-toggle/kit-toggle.component.mjs +2 -2
- package/esm2022/public-api.mjs +1 -1
- package/fesm2022/indigina-ui-kit.mjs +17 -8
- package/fesm2022/indigina-ui-kit.mjs.map +1 -1
- package/lib/components/kit-card/kit-card.model.d.ts +7 -3
- package/lib/components/kit-navigation-menu/kit-navigation-menu-submenu/kit-navigation-menu-submenu.component.d.ts +4 -1
- package/lib/components/kit-navigation-menu/kit-navigation-menu.component.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -1
|
@@ -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
|
-
|
|
9
|
+
link?: KitCardLink;
|
|
10
|
+
items?: KitCardItem[];
|
|
9
11
|
titleIconType?: KitSvgIconType;
|
|
10
12
|
}
|
|
11
13
|
export interface KitCardItem {
|
|
12
14
|
label: string;
|
|
13
|
-
|
|
14
|
-
|
|
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
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';
|