Adds a reusable FillSpace component to dashgui that fills the remaining viewport height between an aboveRef and optional belowRef, with a scrollable middle section. Supports an optional measureElement that is repeated top-to-bottom to fill the leftover space below children (rows are rendered first, units fill height - contentHeight). Includes mock page, docs wiring, and screenshot references.
18 lines
693 B
JavaScript
18 lines
693 B
JavaScript
/**
|
|
* dashgui — reusable custom GUI class components.
|
|
*
|
|
* Source-only package; consumers import via the `exports` map in package.json.
|
|
* Sub-path exports keep the component groups addressable:
|
|
*
|
|
* import { PanelTile, EditablePanelTile } from 'dashgui/panels';
|
|
* import { Tile } from 'dashgui/tiles';
|
|
* import ElevatedPill from 'dashgui/ElevatedPill';
|
|
* import SingleLineTextEdit from 'dashgui/SingleLineTextEdit';
|
|
*/
|
|
export * from './panels';
|
|
export * from './lists';
|
|
export * from './tiles';
|
|
export { default as ElevatedPill } from './ElevatedPill';
|
|
export { default as SingleLineTextEdit } from './SingleLineTextEdit';
|
|
export { default as FillSpace } from './FillSpace';
|