@coolon/angular-ui-powerups 16.1.0-alpha.312 → 16.1.0-alpha.314

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.
@@ -40,7 +40,12 @@ export declare class TableBodyComponent<Row extends object> extends ResizeAwareC
40
40
  * themed with a shorter header scrolls correctly; 48 when the variable can't be read.
41
41
  */
42
42
  protected readonly headerHeight$: MutableValueModel<number>;
43
- protected rowHeight$: MutableValueModel<number>;
43
+ /**
44
+ * A row's height, which the virtual scroller gives every row. Taken from --aup-table-row-height at init
45
+ * (table.scss sets 44px), so a table themed with taller rows scrolls correctly; 44 when the variable
46
+ * can't be read.
47
+ */
48
+ protected readonly rowHeight$: MutableValueModel<number>;
44
49
  baseCssClass: string;
45
50
  get animationsDisabledClass(): boolean;
46
51
  protected readonly virtualScrollDataSource: TableVirtualScrollDataSource<Row>;
@@ -61,9 +66,12 @@ export declare class TableBodyComponent<Row extends object> extends ResizeAwareC
61
66
  isFirstVisibleColumn(columnId: string): boolean;
62
67
  isLastVisibleColumn(columnId: string): boolean;
63
68
  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. */
69
+ /**
70
+ * Sets [headerHeight$] from --aup-table-header-row-height and [rowHeight$] from --aup-table-row-height,
71
+ * keeping a current value when its variable can't be read.
72
+ */
73
+ protected takeHeightsFromTheme(): void;
74
+ /** A length custom property as resolved on an element, in px; undefined when unset or not a length. */
67
75
  private readCssPixels;
68
76
  private scheduleTableHeightCheck;
69
77
  private notifyScrolled;
@@ -21,7 +21,8 @@ import * as i0 from "@angular/core";
21
21
  *
22
22
  * The rail collapses to an icon strip from the Menu row, and expands over the content when the
23
23
  * pointer rests on it. A touch has no hover, so on touch a tap on a collapsed group expands the rail
24
- * over the content instead of navigating, with that group open; tapping a page, the backdrop, the
24
+ * over the content instead of navigating, showing that group's children alone, whatever
25
+ * {@link groupsStartOpen} says, so they open beside the finger; tapping a page, the backdrop, the
25
26
  * Menu row or Esc closes it again. The pinned state is kept in localStorage under {@link persistKey}.
26
27
  *
27
28
  * {@link currentPath$} names where the user is the way the rail does, for a breadcrumb.
@@ -111,6 +112,8 @@ export declare class SidePlaceNavigationComponent extends AbstractPlaceNavigatio
111
112
  * stays until the user goes somewhere or dismisses it: a touch never leaves, as a pointer does.
112
113
  */
113
114
  readonly tapOpen$: MutableValueModel<boolean>;
115
+ /** The one group a tap expansion shows, if any. Kept apart from the groups the user has opened. */
116
+ private readonly tappedGroup$;
114
117
  /** Labels and children are shown: pinned expanded, or expanded over the content. */
115
118
  readonly open$: BooleanValueModelChain;
116
119
  /** Expanded over the content, by hover or a tap, as opposed to pinned expanded beside it. */
@@ -148,8 +151,8 @@ export declare class SidePlaceNavigationComponent extends AbstractPlaceNavigatio
148
151
  private resetHandle;
149
152
  constructor(router: PlaceRouter);
150
153
  /**
151
- * A group header toggles while the rail is open, and a touch on a collapsed one opens the rail
152
- * with it; anything else navigates.
154
+ * A group header toggles while the rail is open, one group at a time while a tap expanded it, and
155
+ * a touch on a collapsed one opens the rail with it; anything else navigates.
153
156
  */
154
157
  activate(item: SidePlaceNavigationComponent.Item): void;
155
158
  navigateTo(place: PlaceDefinition): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "16.1.0-alpha.312",
3
+ "version": "16.1.0-alpha.314",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^16.2.9",
6
6
  "@angular/common": "^16.2.9",