@impartner/design-components 1.0.5 → 1.1.1

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.
Files changed (31) hide show
  1. package/esm2020/lib/alert/alert.component.mjs +48 -6
  2. package/esm2020/lib/alert/alert.module.mjs +6 -5
  3. package/esm2020/lib/avatar/avatar.component.mjs +4 -3
  4. package/esm2020/lib/avatar/avatar.module.mjs +6 -5
  5. package/esm2020/lib/badge/badge.component.mjs +4 -3
  6. package/esm2020/lib/badge/badge.module.mjs +6 -5
  7. package/esm2020/lib/data-card/data-card.component.mjs +4 -3
  8. package/esm2020/lib/data-card/data-card.module.mjs +6 -5
  9. package/esm2020/lib/file-upload/file-upload.component.mjs +6 -5
  10. package/esm2020/lib/file-upload/file-upload.module.mjs +7 -6
  11. package/esm2020/lib/form-field/controls/select/option/select-option.component.mjs +4 -3
  12. package/esm2020/lib/form-field/controls/select/select.module.mjs +15 -5
  13. package/esm2020/lib/icon/icon.component.mjs +6 -4
  14. package/esm2020/lib/pagination/pagination.component.mjs +6 -5
  15. package/esm2020/lib/pagination/pagination.module.mjs +20 -5
  16. package/esm2020/lib/scrollable/scrollable.component.mjs +3 -3
  17. package/esm2020/lib/select-icon/select-icon.component.mjs +7 -6
  18. package/fesm2015/impartner-design-components.mjs +118 -52
  19. package/fesm2015/impartner-design-components.mjs.map +1 -1
  20. package/fesm2020/impartner-design-components.mjs +118 -52
  21. package/fesm2020/impartner-design-components.mjs.map +1 -1
  22. package/lib/alert/alert.component.d.ts +20 -3
  23. package/lib/alert/alert.module.d.ts +2 -1
  24. package/lib/avatar/avatar.module.d.ts +2 -1
  25. package/lib/badge/badge.module.d.ts +2 -1
  26. package/lib/data-card/data-card.module.d.ts +2 -1
  27. package/lib/file-upload/file-upload.module.d.ts +2 -1
  28. package/lib/form-field/controls/select/select.module.d.ts +2 -1
  29. package/lib/icon/icon.component.d.ts +3 -1
  30. package/lib/pagination/pagination.module.d.ts +2 -1
  31. package/package.json +1 -1
@@ -15,15 +15,32 @@ export declare class AlertComponent {
15
15
  */
16
16
  show: boolean;
17
17
  /**
18
- * The heading text of the Alert.
18
+ * The heading text of the Alert. Content can also be projected in the heading area using a `heading` directive.
19
19
  */
20
20
  headingText: string;
21
+ /**
22
+ * The body text of the Alert. Content can also be projected into the body area using default projection.
23
+ */
24
+ bodyText: string;
25
+ /**
26
+ * By default, an Alert is a "floating" notification. When set to "inline", these "floating" styles are replaced.
27
+ */
28
+ inline: boolean;
29
+ /**
30
+ * Removes the Alert icon provided by the theme or projected into the icon area using the `icon` directive.
31
+ */
32
+ hideIcon: boolean;
33
+ /**
34
+ * Allows the Alert to be dismissed.
35
+ */
36
+ dismissible: boolean;
21
37
  /**
22
38
  * Event emitted when the Alert is dismissed.
23
39
  */
24
40
  dismiss: EventEmitter<void>;
25
- get alertColor(): string;
41
+ get componentClasses(): string;
42
+ get themeIconName(): string;
26
43
  closeAlert(): void;
27
44
  static ɵfac: i0.ɵɵFactoryDeclaration<AlertComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "impdc-alert, [impdc-alert]", never, { "theme": "theme"; "show": "show"; "headingText": "headingText"; }, { "dismiss": "dismiss"; }, never, ["[heading]", "*"], false>;
45
+ static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "impdc-alert, [impdc-alert]", never, { "theme": "theme"; "show": "show"; "headingText": "headingText"; "bodyText": "bodyText"; "inline": "inline"; "hideIcon": "hideIcon"; "dismissible": "dismissible"; }, { "dismiss": "dismiss"; }, never, ["[icon]", "[heading]", "*", "[action]"], false>;
29
46
  }
@@ -1,8 +1,9 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./alert.component";
3
3
  import * as i2 from "@angular/common";
4
+ import * as i3 from "../icon/icon.module";
4
5
  export declare class AlertModule {
5
6
  static ɵfac: i0.ɵɵFactoryDeclaration<AlertModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<AlertModule, [typeof i1.AlertComponent], [typeof i2.CommonModule], [typeof i1.AlertComponent]>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AlertModule, [typeof i1.AlertComponent], [typeof i2.CommonModule, typeof i3.IconModule], [typeof i3.IconModule, typeof i1.AlertComponent]>;
7
8
  static ɵinj: i0.ɵɵInjectorDeclaration<AlertModule>;
8
9
  }
@@ -1,8 +1,9 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./avatar.component";
3
3
  import * as i2 from "@angular/common";
4
+ import * as i3 from "../icon/icon.module";
4
5
  export declare class AvatarModule {
5
6
  static ɵfac: i0.ɵɵFactoryDeclaration<AvatarModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<AvatarModule, [typeof i1.AvatarComponent], [typeof i2.CommonModule], [typeof i1.AvatarComponent]>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AvatarModule, [typeof i1.AvatarComponent], [typeof i2.CommonModule, typeof i3.IconModule], [typeof i3.IconModule, typeof i1.AvatarComponent]>;
7
8
  static ɵinj: i0.ɵɵInjectorDeclaration<AvatarModule>;
8
9
  }
@@ -1,9 +1,10 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./badge.component";
3
3
  import * as i2 from "@angular/common";
4
+ import * as i3 from "../icon/icon.module";
4
5
  export declare class BadgeModule {
5
6
  constructor();
6
7
  static ɵfac: i0.ɵɵFactoryDeclaration<BadgeModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<BadgeModule, [typeof i1.BadgeComponent], [typeof i2.CommonModule], [typeof i1.BadgeComponent]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<BadgeModule, [typeof i1.BadgeComponent], [typeof i2.CommonModule, typeof i3.IconModule], [typeof i3.IconModule, typeof i1.BadgeComponent]>;
8
9
  static ɵinj: i0.ɵɵInjectorDeclaration<BadgeModule>;
9
10
  }
@@ -1,9 +1,10 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./data-card.component";
3
3
  import * as i2 from "@angular/common";
4
+ import * as i3 from "../icon/icon.module";
4
5
  export declare class DataCardModule {
5
6
  constructor();
6
7
  static ɵfac: i0.ɵɵFactoryDeclaration<DataCardModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<DataCardModule, [typeof i1.DataCardComponent], [typeof i2.CommonModule], [typeof i1.DataCardComponent]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DataCardModule, [typeof i1.DataCardComponent], [typeof i2.CommonModule, typeof i3.IconModule], [typeof i3.IconModule, typeof i1.DataCardComponent]>;
8
9
  static ɵinj: i0.ɵɵInjectorDeclaration<DataCardModule>;
9
10
  }
@@ -5,9 +5,10 @@ import * as i3 from "./pipes/human-readable-byte-size.pipe";
5
5
  import * as i4 from "@angular/common";
6
6
  import * as i5 from "@angular/forms";
7
7
  import * as i6 from "../button/button.module";
8
+ import * as i7 from "../icon/icon.module";
8
9
  export declare class FileUploadModule {
9
10
  constructor();
10
11
  static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<FileUploadModule, [typeof i1.FileDropDirective, typeof i2.FileUploadComponent, typeof i3.HumanReadableByteSizePipe], [typeof i4.CommonModule, typeof i5.FormsModule, typeof i6.ButtonModule], [typeof i1.FileDropDirective, typeof i2.FileUploadComponent]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FileUploadModule, [typeof i1.FileDropDirective, typeof i2.FileUploadComponent, typeof i3.HumanReadableByteSizePipe], [typeof i4.CommonModule, typeof i5.FormsModule, typeof i6.ButtonModule, typeof i7.IconModule], [typeof i7.IconModule, typeof i1.FileDropDirective, typeof i2.FileUploadComponent]>;
12
13
  static ɵinj: i0.ɵɵInjectorDeclaration<FileUploadModule>;
13
14
  }
@@ -3,8 +3,9 @@ import * as i1 from "./option/select-option.component";
3
3
  import * as i2 from "./select.component";
4
4
  import * as i3 from "@angular/common";
5
5
  import * as i4 from "@ng-bootstrap/ng-bootstrap";
6
+ import * as i5 from "../../../icon/icon.module";
6
7
  export declare class SelectModule {
7
8
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<SelectModule, [typeof i1.SelectOptionComponent, typeof i2.SelectComponent], [typeof i3.CommonModule, typeof i4.NgbDropdownModule], [typeof i1.SelectOptionComponent, typeof i2.SelectComponent, typeof i4.NgbDropdownModule]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SelectModule, [typeof i1.SelectOptionComponent, typeof i2.SelectComponent], [typeof i3.CommonModule, typeof i4.NgbDropdownModule, typeof i5.IconModule], [typeof i4.NgbDropdownModule, typeof i5.IconModule, typeof i1.SelectOptionComponent, typeof i2.SelectComponent]>;
9
10
  static ɵinj: i0.ɵɵInjectorDeclaration<SelectModule>;
10
11
  }
@@ -1,4 +1,4 @@
1
- import { AfterContentChecked, ElementRef } from '@angular/core';
1
+ import { AfterContentChecked, ChangeDetectorRef, ElementRef } from '@angular/core';
2
2
  import { FontAwesomeIcon, FontAwesomeIconTheme } from '../../constants';
3
3
  import * as i0 from "@angular/core";
4
4
  /**
@@ -6,6 +6,7 @@ import * as i0 from "@angular/core";
6
6
  * To use, import `IconModule` or another module that imports and exports that module from `@impartner/design-components`.
7
7
  */
8
8
  export declare class IconComponent implements AfterContentChecked {
9
+ private _changeDetectorRef;
9
10
  private _loading;
10
11
  private _licensed;
11
12
  /**
@@ -24,6 +25,7 @@ export declare class IconComponent implements AfterContentChecked {
24
25
  */
25
26
  size: string | number;
26
27
  iconRef: ElementRef;
28
+ constructor(_changeDetectorRef: ChangeDetectorRef);
27
29
  get typeClass(): string;
28
30
  get computedSize(): string;
29
31
  ngAfterContentChecked(): void;
@@ -4,9 +4,10 @@ import * as i2 from "@angular/common";
4
4
  import * as i3 from "../button/button.module";
5
5
  import * as i4 from "@angular/forms";
6
6
  import * as i5 from "../form-field/impdc-forms.module";
7
+ import * as i6 from "../icon/icon.module";
7
8
  export declare class PaginationModule {
8
9
  constructor();
9
10
  static ɵfac: i0.ɵɵFactoryDeclaration<PaginationModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<PaginationModule, [typeof i1.PaginationComponent], [typeof i2.CommonModule, typeof i3.ButtonModule, typeof i4.FormsModule, typeof i5.ImpdcFormsModule], [typeof i3.ButtonModule, typeof i5.ImpdcFormsModule, typeof i1.PaginationComponent]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PaginationModule, [typeof i1.PaginationComponent], [typeof i2.CommonModule, typeof i3.ButtonModule, typeof i4.FormsModule, typeof i5.ImpdcFormsModule, typeof i6.IconModule], [typeof i3.ButtonModule, typeof i5.ImpdcFormsModule, typeof i6.IconModule, typeof i1.PaginationComponent]>;
11
12
  static ɵinj: i0.ɵɵInjectorDeclaration<PaginationModule>;
12
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@impartner/design-components",
3
- "version": "1.0.5",
3
+ "version": "1.1.1",
4
4
  "author": "Impartner",
5
5
  "license": "BSD-3-Clause",
6
6
  "private": false,