init
This commit is contained in:
@@ -15,26 +15,27 @@ mean recreating the effect from screenshots.
|
||||
|
||||
## Matrix
|
||||
|
||||
| Design source | Current target | Status | Migration notes |
|
||||
| ----------------------- | --------------------------------------------------------- | ----------- | -------------------------------------------------------- |
|
||||
| `foundations`, `shared` | `style/tokens`, `style/themes`, shared UI contract | Migrated | Semantic color and overridable geometry contracts |
|
||||
| `button` | `ui/button` | Migrated | Preserved three-slice states; exposed density and width |
|
||||
| `input` | `ui/input`, `ui/number-field` | Migrated | Removed forced inline width; normalized text metrics |
|
||||
| `form-controls` | `ui/checkbox`, `ui/radio-group`, `ui/switch`, `ui/rating` | Migrated | Tokenized state colors and aligned label/control anatomy |
|
||||
| `select` | `ui/select` | Migrated | Preserved popup anatomy and Reka keyboard behavior |
|
||||
| `tabs` | `ui/tabs` | Migrated | Preserved list-owned animated marker |
|
||||
| `slider` | `ui/slider` | Migrated | Preserved the Reka coordinate system |
|
||||
| `data-table` | `ui/data-table` | Migrated | Ported hover, selected and density behavior |
|
||||
| `dialog` | `ui/dialog` | Migrated | Preserved the focused title effect and focus management |
|
||||
| `menu` | `ui/dropdown-menu` | Migrated | Ported source menu spacing and state tokens |
|
||||
| `rarity` | `ui/item-slot` | Migrated | Retained rarity presentation as data-semantic tokens |
|
||||
| `autocomplete` | `ui/autocomplete` | Migrated | Reka Combobox composition with source popup anatomy |
|
||||
| `navigation` | `ui/navigation` | Migrated | Selectable navigation primitive with source assets |
|
||||
| `scrollbar` | `ui/scroll-area` | Migrated | Reusable Reka viewport/scrollbar composition |
|
||||
| `data-section` | `ui/data-section` | Migrated | Collapsible section and vertically centered data rows |
|
||||
| `shop-item-row` | `ui/shop-item-row` | Migrated | Ported source row structure and selectable states |
|
||||
| `complex-dialog` | `ui/dialog` + migrated primitives | Composition | Kept domain-independent by composing existing primitives |
|
||||
| `settings` | `ui/settings` | Migrated | Responsive settings group, section and row primitives |
|
||||
| Design source | Current target | Status | Migration notes |
|
||||
| ----------------------- | --------------------------------------------------------- | ----------- | ----------------------------------------------------------------------------------------------------------- |
|
||||
| `foundations`, `shared` | `style/tokens`, `style/themes`, shared UI contract | Migrated | Semantic color and overridable geometry contracts |
|
||||
| `button` | `ui/button` | Migrated | Preserved three-slice states; exposed density and width |
|
||||
| `input` | `ui/input`, `ui/number-field` | Migrated | Removed forced inline width; normalized text metrics |
|
||||
| `form-controls` | `ui/checkbox`, `ui/radio-group`, `ui/switch`, `ui/rating` | Migrated | Tokenized state colors and aligned label/control anatomy |
|
||||
| `select` | `ui/select`, `ui/tree-select`, `ui/cascader` | Migrated | Flat, hierarchical and two-level responsive selection; TreeSelect preserves parent-toggle and rarity states |
|
||||
| `tabs` | `ui/tabs`, `ui/pagination` | Migrated | Animated list marker and compact result navigation |
|
||||
| `slider` | `ui/slider` | Migrated | Preserved the Reka coordinate system |
|
||||
| `data-table` | `ui/data-table` | Migrated | Ported hover, selected and density behavior |
|
||||
| `dialog` | `ui/dialog` | Migrated | Preserved the focused title effect and focus management |
|
||||
| `menu` | `ui/dropdown-menu` | Migrated | Ported source menu spacing and state tokens |
|
||||
| `rarity` | `ui/item-slot` | Migrated | Retained rarity presentation as data-semantic tokens |
|
||||
| `autocomplete` | `ui/autocomplete` | Partial | Combobox is migrated; domain SearchTree remains deferred |
|
||||
| `navigation` | `ui/navigation` | Migrated | Selectable navigation primitive with source assets |
|
||||
| `scrollbar` | `ui/scroll-area` | Migrated | Reusable Reka viewport/scrollbar composition |
|
||||
| shared overlay help | `ui/popover`, rich `ui/tooltip` | Migrated | Portal z-index, collision and responsive width contract |
|
||||
| `data-section` | `ui/data-section` | Migrated | Collapsible section and vertically centered data rows |
|
||||
| `shop-item-row` | `ui/shop-item-row` | Migrated | Ported source row structure and selectable states |
|
||||
| `complex-dialog` | `ui/dialog` + migrated primitives | Composition | Kept domain-independent by composing existing primitives |
|
||||
| `settings` | `ui/settings` | Migrated | Responsive settings group, section and row primitives |
|
||||
|
||||
## Legacy replacement order
|
||||
|
||||
@@ -45,3 +46,12 @@ Deferred: this component-library pass does not change business call sites.
|
||||
3. Equipment dictionary filters, tree, cascader and pagination.
|
||||
4. Skill tree, skill detail and VP controls.
|
||||
5. Result tables and remaining domain-specific components.
|
||||
|
||||
## Remaining gaps
|
||||
|
||||
- SearchTree/CommandInput still requires a domain-neutral data and filtering contract before it can
|
||||
join `src/components/ui`.
|
||||
- Complex product dialogs are compositions, not a claim that every business dialog has reached
|
||||
source-level visual parity.
|
||||
- Existing `frontend` business call sites remain on their current components until each behavior
|
||||
slice is migrated and browser-verified.
|
||||
|
||||
Reference in New Issue
Block a user