feat(admin): add RoleBadge component and integrate it in user management views

- add new RoleBadge shared component for consistent role display
- export RoleBadge from shared components index
- replace inline Badge usage with RoleBadge in UsersPage role column
- use RoleBadge via renderTag prop in UserEditModal role TagInput
- simplify TagInput Pill to a generic unstyled pill, removing color logic
This commit is contained in:
2026-04-24 15:31:28 -04:00
parent f413c4fa0f
commit 25f93526a5
5 changed files with 68 additions and 44 deletions
+1
View File
@@ -1,5 +1,6 @@
// Template components exports
export { default as Badge, StatusBadge, TypeBadge } from './Badge';
export { default as RoleBadge } from './RoleBadge';
export { default as Button } from './Button';
export { default as Card } from './Card';
export { default as Input } from './Input';