@impartner/design-components 1.0.4 → 1.1.0

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.
@@ -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
  }
@@ -32,10 +32,12 @@ export declare class PaginationComponent {
32
32
  get totalPages(): number;
33
33
  get firstPageResult(): number;
34
34
  get lastPageResult(): number;
35
+ private _getPageClamped;
35
36
  goToPreviousPage(): void;
36
37
  goToNextPage(): void;
37
38
  goToExactPageFromEvent({ target }: FocusEvent): void;
38
39
  goToExactPage(page: number | string): void;
40
+ preventDefaultAndBlur(event: Event): void;
39
41
  static ɵfac: i0.ɵɵFactoryDeclaration<PaginationComponent, never>;
40
42
  static ɵcmp: i0.ɵɵComponentDeclaration<PaginationComponent, "impdc-pagination, div[impdc-pagination]", never, { "page": "page"; "perPage": "perPage"; "total": "total"; "summary": "summary"; }, { "goToPage": "goToPage"; }, never, never, false>;
41
43
  }
@@ -2,10 +2,11 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./pagination.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "../button/button.module";
5
- import * as i4 from "../form-field/impdc-forms.module";
5
+ import * as i4 from "@angular/forms";
6
+ import * as i5 from "../form-field/impdc-forms.module";
6
7
  export declare class PaginationModule {
7
8
  constructor();
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<PaginationModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<PaginationModule, [typeof i1.PaginationComponent], [typeof i2.CommonModule, typeof i3.ButtonModule, typeof i4.ImpdcFormsModule], [typeof i3.ButtonModule, typeof i4.ImpdcFormsModule, typeof i1.PaginationComponent]>;
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]>;
10
11
  static ɵinj: i0.ɵɵInjectorDeclaration<PaginationModule>;
11
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@impartner/design-components",
3
- "version": "1.0.4",
3
+ "version": "1.1.0",
4
4
  "author": "Impartner",
5
5
  "license": "BSD-3-Clause",
6
6
  "private": false,