refactor(ui): replace RoleBadge with generic Badge component

- add `dot` and `onRemove` props to Badge for colored dot and removable tag support
- delete RoleBadge component in favor of Badge with dot prop
- update UserCreateModal, UserEditModal, and UsersPage to use Badge instead of RoleBadge
- remove RoleBadge export from shared components index
This commit is contained in:
2026-04-25 17:05:32 -04:00
parent e78f5321e6
commit cd6064b98f
7 changed files with 28 additions and 59 deletions
-1
View File
@@ -1,6 +1,5 @@
// 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';