feat(FN-1472): add responsive terminal layout for TUI

- 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
This commit is contained in:
gsxdsm
2026-04-09 21:32:19 -07:00
parent 7db308b118
commit 8891ff7bed
8 changed files with 1270 additions and 30 deletions

View File

@@ -14,3 +14,13 @@ export {
type ScreenRouterProps,
type ScreenComponentProps,
} from "./screen-router.js";
export {
ResponsiveHeader,
ResponsiveTable,
ResponsiveTaskRow,
ResponsiveStatusBar,
type TableColumn,
type ResponsiveTableProps,
type ResponsiveTaskRowProps,
} from "./responsive-layout.js";