Spaces:
Sleeping
Sleeping
| """ | |
| UI modules for D'n'D Campaign Manager | |
| This package now uses a modular architecture with the following structure: | |
| - app.py: Main application orchestrator | |
| - tabs/: Individual tab modules | |
| - components/: Reusable UI components | |
| - utils/: UI utility functions | |
| For backward compatibility, the old CharacterCreatorUI class is still available | |
| from character_creator_ui.py, but the new modular structure is recommended. | |
| """ | |
| # Import from new modular structure (recommended) | |
| from .app import DnDCampaignManagerApp, launch_ui | |
| # Import old monolithic class for backward compatibility | |
| from .character_creator_ui import CharacterCreatorUI, launch_ui as launch_ui_legacy | |
| # Export both for backward compatibility | |
| __all__ = [ | |
| # New modular structure (recommended) | |
| "DnDCampaignManagerApp", | |
| "launch_ui", | |
| # Old monolithic structure (deprecated, for backward compatibility) | |
| "CharacterCreatorUI", | |
| "launch_ui_legacy", | |
| ] | |