- Add ResponsiveLayout component with dynamic row/column splitting based on terminal size - Create terminal utility for detecting terminal dimensions and layout preferences - Add truncate utility for smart text truncation with min/max bounds - Implement comprehensive responsive layout tests with all breakpoints - Update TUI exports to expose new layout and utility components - Enhance README documentation with responsive layout guide and examples
27 lines
477 B
TypeScript
27 lines
477 B
TypeScript
/**
|
|
* @fusion/tui components
|
|
*
|
|
* Reusable UI components for the Fusion TUI.
|
|
*/
|
|
|
|
export {
|
|
ScreenRouter,
|
|
SCREENS,
|
|
getScreenById,
|
|
getScreenIndex,
|
|
type ScreenId,
|
|
type Screen,
|
|
type ScreenRouterProps,
|
|
type ScreenComponentProps,
|
|
} from "./screen-router.js";
|
|
|
|
export {
|
|
ResponsiveHeader,
|
|
ResponsiveTable,
|
|
ResponsiveTaskRow,
|
|
ResponsiveStatusBar,
|
|
type TableColumn,
|
|
type ResponsiveTableProps,
|
|
type ResponsiveTaskRowProps,
|
|
} from "./responsive-layout.js";
|