"""Widgets for Ghostty Settings TUI."""

from .option_row import OptionRow, OptionChanged
from .option_toggle import OptionToggle, parse_bool
from .option_input import OptionInput, IntegerValidator, FloatValidator, ColorValidator
from .option_select import OptionSelect
from .sidebar import CategoryListView, CategorySelected
from .option_panel import (
    BackToCategories,
    DiscardRequested,
    OptionPanel,
    SaveAndExitRequested,
    SaveRequested,
)

__all__ = [
    # Option Row
    "OptionRow",
    "OptionChanged",
    # Toggle
    "OptionToggle",
    "parse_bool",
    # Input
    "OptionInput",
    "IntegerValidator",
    "FloatValidator",
    "ColorValidator",
    # Select
    "OptionSelect",
    # Sidebar
    "CategoryListView",
    "CategorySelected",
    # Panel
    "BackToCategories",
    "DiscardRequested",
    "OptionPanel",
    "SaveAndExitRequested",
    "SaveRequested",
]
