@coolon/angular-ui-powerups 16.1.0-alpha.302 → 16.1.0-alpha.304

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.
@@ -34,6 +34,11 @@ export declare class TableBodyComponent<Row extends object> extends ResizeAwareC
34
34
  columnIds$: ListModelChain<string>;
35
35
  footerRowDefs$: ValueModel<ResolvedFooterRow[]>;
36
36
  private columnsById$;
37
+ /**
38
+ * The header row's height, which the virtual scroller offsets its rows by and which pins the header
39
+ * cells in virtual mode. Taken from --aup-table-header-row-height (table.scss sets 48px), so a table
40
+ * themed with a shorter header scrolls correctly; 48 when the variable can't be read.
41
+ */
37
42
  protected readonly headerHeight$: MutableValueModel<number>;
38
43
  protected rowHeight$: MutableValueModel<number>;
39
44
  baseCssClass: string;
@@ -56,6 +61,10 @@ export declare class TableBodyComponent<Row extends object> extends ResizeAwareC
56
61
  isFirstVisibleColumn(columnId: string): boolean;
57
62
  isLastVisibleColumn(columnId: string): boolean;
58
63
  getColumnClasses(columnId: string): string[];
64
+ /** Sets [headerHeight$] from --aup-table-header-row-height, keeping the current value when it can't be read. */
65
+ protected takeHeaderHeightFromTheme(): void;
66
+ /** A length custom property as resolved on this element, in px; undefined when unset or not a length. */
67
+ private readCssPixels;
59
68
  private scheduleTableHeightCheck;
60
69
  private notifyScrolled;
61
70
  private notifyScrollEnded;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "16.1.0-alpha.302",
3
+ "version": "16.1.0-alpha.304",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^16.2.9",
6
6
  "@angular/common": "^16.2.9",
@@ -12,7 +12,7 @@
12
12
  "@angular/platform-browser-dynamic": "^16.2.9",
13
13
  "@angular/material-moment-adapter": "^16.2.10",
14
14
  "@angular/router": "^16.2.9",
15
- "@coolon/pectin": "^5.0.0-alpha.144",
15
+ "@coolon/pectin": "^5.0.0-alpha.145",
16
16
  "fast-typescript-memoize": "^1.1.1",
17
17
  "lodash-es": "^4.17.21",
18
18
  "marked": "4.0.10",