@fuentis/phoenix-ui 0.0.9-alpha.642 → 0.0.9-alpha.643
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
|
@@ -644,6 +644,13 @@ interface TableConfiguration {
|
|
|
644
644
|
* order is meaningful (config-driven tables that pre-order their own data).
|
|
645
645
|
*/
|
|
646
646
|
disableSort?: boolean;
|
|
647
|
+
/**
|
|
648
|
+
* Fit-to-content height: the table grows to its rows (no fixed viewport height,
|
|
649
|
+
* no virtual scroll) and only starts scrolling once it exceeds `scrollHeight`,
|
|
650
|
+
* which acts as a max-height. Best for short config lists that shouldn't leave
|
|
651
|
+
* a large empty area below the rows.
|
|
652
|
+
*/
|
|
653
|
+
autoHeight?: boolean;
|
|
647
654
|
/**
|
|
648
655
|
* Optional per-row inline style, e.g. a danger background for rows that fail a
|
|
649
656
|
* check. Returns a style object (or null) for each row.
|