initial commit
This commit is contained in:
20
docs/front-end-spec/component-library-design-system.md
Normal file
20
docs/front-end-spec/component-library-design-system.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# Component Library / Design System
|
||||
|
||||
**Design System:** shadcn/ui (composants copiés, personnalisables)
|
||||
|
||||
## Core Components
|
||||
|
||||
| Component | Purpose | Variants | States |
|
||||
|-----------|---------|----------|--------|
|
||||
| **DataTable** | Listes avec tri, filtres, pagination | default, selectable, compact | loading, empty, error, filtered |
|
||||
| **FilterSidebar** | Panel de filtres multicritères | default, collapsible, modal | default, active, loading |
|
||||
| **StatCard** | Widget Dashboard KPI | default, progress, compact | loading, default, hover |
|
||||
| **EntityCard** | Header fiches détail | character, account, team | default, editing |
|
||||
| **ProgressionCheckbox** | Toggle fait/pas fait | default, with-date, bulk | unchecked, checked, loading, disabled |
|
||||
| **BulkActionBar** | Actions sur sélection multiple | floating, inline | hidden, visible, processing |
|
||||
| **Modal** | Dialogues création/édition/confirmation | form, confirm, selector | default, loading, error |
|
||||
| **Toast** | Notifications feedback | success, error, warning, info | entering, visible, exiting |
|
||||
| **Tabs** | Navigation sous-sections | default, pills, underline | default, active, disabled |
|
||||
| **EmptyState** | Affichage liste vide | no-data, no-results, error | — |
|
||||
|
||||
---
|
||||
Reference in New Issue
Block a user