mirror of
https://github.com/phranck/TUIkit.git
synced 2026-05-21 09:50:35 +00:00
9b8548bdbc
- ItemListHandler: Shared navigation/selection logic for List and Table - Keyboard navigation (Up/Down/Home/End/PageUp/PageDown) - Single and multi-selection modes via Binding - Scroll offset management with auto-scroll - Focus lifecycle hooks (onFocusLost/onFocusReceived) - List: SwiftUI-compatible scrollable list component - Single selection: List(selection: Binding<ID?>) - Multi-selection: List(selection: Binding<Set<ID>>) - ForEach content via ListRowExtractor protocol - Multi-line row support - Visual states (focused/selected with pulsing accent) - Scroll indicators when content overflows - Empty state placeholder - .disabled() modifier support - ListPage: Example with single and multi-selection demos - 32 new tests (24 handler + 8 list rendering)