Merge pull request #33082 from backstage/bui-migrate-catalog-entity-cards

feat(catalog,org): migrate entity cards from MUI/InfoCard to BUI
This commit is contained in:
Patrik Oldsberg
2026-03-04 11:50:41 +01:00
committed by GitHub
33 changed files with 528 additions and 373 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-react': minor
---
Added `EntityInfoCard` component to `@backstage/plugin-catalog-react` as a BUI-based card wrapper for entity page cards.
+22
View File
@@ -0,0 +1,22 @@
---
'@backstage/plugin-catalog': major
'@backstage/plugin-org': minor
---
Migrated `EntityAboutCard`, `EntityLinksCard`, `EntityLabelsCard`, `GroupProfileCard`, and `UserProfileCard` from MUI/InfoCard to use the new BUI card layout and BUI components where possible.
**BREAKING**: Removed `variant` prop from EntityAboutCard, EntityUserProfileCard, EntityGroupProfileCard, EntityLabelsCard, EntityLinksCard. Removed `gridSizes` prop from `AboutField`.
**Migration:**
Simply delete the obsolete `variant` and `gridSizes` props, e.g:
```diff
- <EntityAboutCard variant="gridItem" />
+ <EntityAboutCard />
```
```diff
- <AboutField label="Owner" gridSizes={{ xs: 12, sm: 6, lg: 4 }} />
+ <AboutField label="Owner" />
```