@energycap/components 0.25.1 → 0.26.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.
@@ -126,6 +126,10 @@ export declare class SearchableTableComponent implements OnInit, OnDestroy {
126
126
  * Max size of a page.
127
127
  */
128
128
  pageSize?: number;
129
+ /**
130
+ * Maximum number of page tabs to show
131
+ */
132
+ maxTabs?: number;
129
133
  /**
130
134
  * Makes the searchbox readonly if true.
131
135
  */
@@ -27,9 +27,13 @@ export declare class TablePaginationComponent implements OnChanges {
27
27
  pageSize: number;
28
28
  /**
29
29
  * Number of the current page.
30
- * Initial value is 1, can be overriden to change the starting page number.
30
+ * Initial value is 1, can be overridden to change the starting page number.
31
31
  */
32
32
  pageNumber: number;
33
+ /**
34
+ * Maximum number of page tabs to show
35
+ */
36
+ maxTabs?: number;
33
37
  /**
34
38
  * Emits when the page changes.
35
39
  *
@@ -6,6 +6,7 @@ export declare class ToastComponent implements OnChanges, OnInit, OnDestroy {
6
6
  toastItem?: ToastItem;
7
7
  id?: string;
8
8
  open: boolean;
9
+ TOAST_ANIMATION_DURATION: number;
9
10
  closed: EventEmitter<ToastItem>;
10
11
  private readonly TIMED_TOAST_DURATION;
11
12
  private destroyed;
@@ -6,7 +6,7 @@ export declare class ToasterComponent implements OnInit, OnDestroy {
6
6
  currentTimedToast?: ToastItem;
7
7
  currentDismissibleToast?: ToastItem;
8
8
  dismissibleToastBottom: number;
9
- timedToastEl?: ElementRef;
9
+ timedToastEl?: ElementRef<HTMLElement>;
10
10
  private pendingToasts;
11
11
  private destroyed;
12
12
  constructor(toastService: ToastService);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@energycap/components",
3
- "version": "0.25.1",
3
+ "version": "0.26.0",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },
@@ -81,4 +81,5 @@ $ec-z-indexes: (
81
81
  navbar: 40,
82
82
  popup: 50,
83
83
  dialog: 60,
84
+ toast: 70
84
85
  );