feat(admin-ui): consolidate UI primitives into src/components/ui/#702
Open
Mikearaya wants to merge 2 commits into
Open
feat(admin-ui): consolidate UI primitives into src/components/ui/#702Mikearaya wants to merge 2 commits into
Mikearaya wants to merge 2 commits into
Conversation
Move 54 components from modules/common/components/ and modules/forms/components/ into a canonical src/components/ui/ surface with barrel exports and an @/ path alias. - Replace classnames (49 imports) with clsx; remove classnames dep - Add tsconfig @/ path alias (src/*) - Move primitives to ui/ and form/ with git mv (history preserved) - Create index.ts and form/index.ts barrel exports - Delete DeleteButton, HeaderDeleteButton, EditIcon (71 lines); replace all 22 call sites with <Button> variants - Add icons.ts central heroicons re-export - Add ESLint no-restricted-imports guard on old paths - Update /styleguide to import from new paths; add new sections - Add ui/README.md and ui/CONTRIBUTING.md No logic changes. Minor visual deltas at the 22 deleted-component call sites (border, height, hover color); all other changes are structural only.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Move 54 components from modules/common/components/ and modules/forms/components/ into a canonical src/components/ui/ surface with barrel exports and an @/ path alias.
No logic changes. Minor visual deltas at the 22 deleted-component call sites (border, height, hover color); all other changes are structural only.
#700