@fuentis/phoenix-ui 0.0.9-alpha.650 → 0.0.9-alpha.652

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.
package/index.d.ts CHANGED
@@ -651,12 +651,28 @@ interface TableConfiguration {
651
651
  * a large empty area below the rows.
652
652
  */
653
653
  autoHeight?: boolean;
654
+ /**
655
+ * Override virtual scrolling. By default the table virtualises whenever it is
656
+ * NOT `autoHeight` (fixed/fill height). Set `false` to keep a fixed, scrollable
657
+ * body WITHOUT virtualisation — required for tables with expandable rows, since
658
+ * virtual scroll assumes a fixed row height and a variable-height expanded row
659
+ * breaks its scroll math (scrolling snaps back to the top). Leave undefined for
660
+ * the default behaviour.
661
+ */
662
+ virtualScroll?: boolean;
654
663
  /**
655
664
  * Enables drag-to-reorder rows via a handle column; the table emits
656
665
  * `rowReorder` with the new order. Pair with `autoHeight` (reorder does not
657
666
  * work with virtual scroll) and `disableSort`.
658
667
  */
659
668
  reorderable?: boolean;
669
+ /**
670
+ * Fill the available flex height: the table expands to fill its (flex) parent
671
+ * and the body scrolls internally only when the rows exceed that space — the
672
+ * page never grows a scrollbar. Needs an unbroken flex-height parent chain.
673
+ * Mutually exclusive with `autoHeight`; `scrollHeight` is ignored.
674
+ */
675
+ fillHeight?: boolean;
660
676
  /**
661
677
  * Row density. Defaults to compact (`small`). Set `false` for taller,
662
678
  * roomier rows (better for lists with wrapping text).
@@ -843,6 +859,8 @@ declare class TableComponent implements OnChanges, OnDestroy {
843
859
  * column is shown and each row can expand to render this template.
844
860
  */
845
861
  rowExpansionTpl?: TemplateRef<any>;
862
+ /** Host class so `:host(.fill)` can make the table fill its flex parent. */
863
+ get fillHost(): boolean;
846
864
  private sortWorker;
847
865
  /**
848
866
  * reqId counters ensure we can ignore outdated results
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fuentis/phoenix-ui",
3
- "version": "0.0.9-alpha.650",
3
+ "version": "0.0.9-alpha.652",
4
4
  "description": "Phoenix UI Angular component library",
5
5
  "license": "MIT",
6
6
  "peerDependencies": {