@indigina/ui-kit 1.1.18 → 1.1.19

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.
@@ -0,0 +1,21 @@
1
+ import { KitAvatarSize } from './kit-avatar.const';
2
+ import { KitSvgIcon } from '../kit-svg-icon/kit-svg-icon.const';
3
+ import * as i0 from "@angular/core";
4
+ export declare class KitAvatarComponent {
5
+ /**
6
+ * Defines the name that is going to be used to set initials to the avatar
7
+ */
8
+ name?: string;
9
+ /**
10
+ * Defines the image source of the avatar
11
+ */
12
+ imageSrc?: string;
13
+ /**
14
+ * Defines the size of the avatar
15
+ */
16
+ size: KitAvatarSize;
17
+ readonly userIcon: KitSvgIcon;
18
+ getInitialsByName(name: string): string;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<KitAvatarComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<KitAvatarComponent, "kit-avatar", never, { "name": { "alias": "name"; "required": false; }; "imageSrc": { "alias": "imageSrc"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, false, never>;
21
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum KitAvatarSize {
2
+ LARGE = "large",
3
+ DEFAULT = "default",
4
+ SMALL = "small"
5
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./kit-avatar.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../kit-svg-icon/kit-svg-icon.module";
5
+ export declare class KitAvatarModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<KitAvatarModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KitAvatarModule, [typeof i1.KitAvatarComponent], [typeof i2.CommonModule, typeof i3.KitSvgIconModule], [typeof i1.KitAvatarComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<KitAvatarModule>;
9
+ }
@@ -77,5 +77,7 @@ export declare enum KitSvgIcon {
77
77
  MESSAGE = "message",
78
78
  RELOAD = "reload",
79
79
  WINDOW_RESTORE = "window-restore",
80
- BACK_ARROW = "back-arrow"
80
+ BACK_ARROW = "back-arrow",
81
+ USER = "user",
82
+ CARET_DOWN = "caret-down"
81
83
  }
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "components",
8
8
  "shared"
9
9
  ],
10
- "version": "1.1.18",
10
+ "version": "1.1.19",
11
11
  "peerDependencies": {
12
12
  "@angular/common": "^17.0.7",
13
13
  "@angular/core": "^17.0.7"
@@ -36,8 +36,9 @@
36
36
  "@progress/kendo-licensing": "1.3.5",
37
37
  "@progress/kendo-svg-icons": "2.1.0",
38
38
  "@progress/kendo-theme-default": "6.7.0",
39
- "tslib": "2.6.2",
40
- "ngx-toastr": "18.0.0"
39
+ "initials": "3.1.2",
40
+ "ngx-toastr": "18.0.0",
41
+ "tslib": "2.6.2"
41
42
  },
42
43
  "module": "fesm2022/indigina-ui-kit.mjs",
43
44
  "typings": "index.d.ts",
package/public-api.d.ts CHANGED
@@ -89,3 +89,6 @@ export { KitNavigationMenuItem } from './lib/components/kit-navigation-menu/kit-
89
89
  export { KitBadgeModule } from './lib/directives/kit-badge/kit-badge.module';
90
90
  export { KitBadgeDirective } from './lib/directives/kit-badge/kit-badge.directive';
91
91
  export { KitBadgeTheme } from './lib/directives/kit-badge/kit-badge.const';
92
+ export { KitAvatarModule } from './lib/components/kit-avatar/kit-avatar.module';
93
+ export { KitAvatarComponent } from './lib/components/kit-avatar/kit-avatar.component';
94
+ export { KitAvatarSize } from './lib/components/kit-avatar/kit-avatar.const';