//! UI Components

mod barchart;
mod box_component;
mod list;
mod message;
mod newline;
mod progress;
mod scrollable;
mod scrollbar;
mod spacer;
mod sparkline;
mod spinner;
mod static_output;
mod table;
mod tabs;
pub mod text;
mod text_input;
mod transform;

pub use barchart::{Bar, BarChart, BarChartOrientation};
pub use box_component::Box;
pub use list::{List, ListItem, ListState};
pub use message::{Message, MessageRole, ThinkingBlock, ToolCall};
pub use newline::Newline;
pub use progress::{Gauge, Progress, ProgressSymbols};
pub use scrollable::{ScrollableBox, fixed_bottom_layout, virtual_scroll_view};
pub use scrollbar::{Scrollbar, ScrollbarOrientation, ScrollbarSymbols};
pub use spacer::Spacer;
pub use sparkline::Sparkline;
pub use spinner::{Spinner, SpinnerBuilder};
pub use static_output::{Static, static_output};
pub use table::{Cell, Constraint, Row, Table, TableState};
pub use tabs::{Tab, Tabs};
pub use text::{Line, Span, Text};
pub use text_input::{TextInputHandle, TextInputOptions, TextInputState, use_text_input};
pub use transform::Transform;
