@indigina/ui-kit 1.1.42 → 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.
- package/esm2022/lib/components/kit-profile-menu/kit-profile-menu.component.mjs +5 -4
- package/esm2022/lib/components/kit-profile-menu/kit-profile-menu.model.mjs +1 -1
- package/fesm2022/indigina-ui-kit.mjs +3 -2
- package/fesm2022/indigina-ui-kit.mjs.map +1 -1
- package/lib/components/kit-profile-menu/kit-profile-menu.component.d.ts +2 -1
- package/lib/components/kit-profile-menu/kit-profile-menu.model.d.ts +2 -1
- package/package.json +1 -1
|
@@ -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;
|