""" Dashboard UI Components Package This package contains reusable UI components for the Crypto Trading Bot Dashboard. Components are designed to be modular and can be composed to create complex layouts. """ from pathlib import Path # Package metadata __version__ = "0.1.0" __package_name__ = "components" # Make components directory available COMPONENTS_DIR = Path(__file__).parent # Component registry for future component discovery AVAILABLE_COMPONENTS = [ "dashboard", # Main dashboard layout components "charts", # Chart and visualization components ] def get_component_path(component_name: str) -> Path: """Get the file path for a specific component.""" return COMPONENTS_DIR / f"{component_name}.py" def list_components() -> list: """List all available components.""" return AVAILABLE_COMPONENTS.copy()