From 5fc35bbe9be16e28728ac9d561baa395cbde2528 Mon Sep 17 00:00:00 2001 From: Johan Persson Date: Thu, 26 Feb 2026 17:18:36 +0100 Subject: [PATCH] chore: add changeset and update API reports for BUI card migration Signed-off-by: Johan Persson --- .changeset/thirty-kiwis-trade.md | 9 +++++++++ plugins/catalog/report.api.md | 6 +++--- plugins/org/package.json | 1 + plugins/org/report.api.md | 8 ++++---- yarn.lock | 1 + 5 files changed, 18 insertions(+), 7 deletions(-) create mode 100644 .changeset/thirty-kiwis-trade.md diff --git a/.changeset/thirty-kiwis-trade.md b/.changeset/thirty-kiwis-trade.md new file mode 100644 index 0000000000..e84fafd525 --- /dev/null +++ b/.changeset/thirty-kiwis-trade.md @@ -0,0 +1,9 @@ +--- +'@backstage/plugin-catalog-react': minor +'@backstage/plugin-catalog': patch +'@backstage/plugin-org': patch +--- + +Added `EntityInfoCard` component to `@backstage/plugin-catalog-react` as a BUI-based card wrapper for entity page cards. Migrated `EntityAboutCard`, `EntityLinksCard`, `EntityLabelsCard`, `GroupProfileCard`, and `UserProfileCard` from MUI/InfoCard to use the new BUI card layout. + +**Affected components:** EntityInfoCard, EntityAboutCard, EntityLinksCard, EntityLabelsCard, GroupProfileCard, UserProfileCard diff --git a/plugins/catalog/report.api.md b/plugins/catalog/report.api.md index 52b13e1c43..f0696387fb 100644 --- a/plugins/catalog/report.api.md +++ b/plugins/catalog/report.api.md @@ -42,7 +42,7 @@ import { UserListFilterKind } from '@backstage/plugin-catalog-react'; // @public export type AboutCardProps = { - variant?: InfoCardVariants; + variant?: string; }; // @public (undocumented) @@ -385,7 +385,7 @@ export interface EntityLabelsCardProps { // (undocumented) title?: string; // (undocumented) - variant?: InfoCardVariants; + variant?: string; } // @public (undocumented) @@ -436,7 +436,7 @@ export interface EntityLinksCardProps { // (undocumented) cols?: ColumnBreakpoints | number; // (undocumented) - variant?: InfoCardVariants; + variant?: string; } // @public (undocumented) diff --git a/plugins/org/package.json b/plugins/org/package.json index 62a4c9fd1b..6955b1a0d0 100644 --- a/plugins/org/package.json +++ b/plugins/org/package.json @@ -57,6 +57,7 @@ "@backstage/frontend-plugin-api": "workspace:^", "@backstage/plugin-catalog-common": "workspace:^", "@backstage/plugin-catalog-react": "workspace:^", + "@backstage/ui": "workspace:^", "@material-ui/core": "^4.12.2", "@material-ui/icons": "^4.9.1", "@material-ui/lab": "4.0.0-alpha.61", diff --git a/plugins/org/report.api.md b/plugins/org/report.api.md index 13143d0e4c..776affbb9f 100644 --- a/plugins/org/report.api.md +++ b/plugins/org/report.api.md @@ -18,7 +18,7 @@ export type ComponentsGridClassKey = // @public (undocumented) export const EntityGroupProfileCard: (props: { - variant?: InfoCardVariants; + variant?: string; showLinks?: boolean; }) => JSX_2.Element; @@ -48,7 +48,7 @@ export type EntityRelationAggregation = 'direct' | 'aggregated'; // @public (undocumented) export const EntityUserProfileCard: (props: { - variant?: InfoCardVariants; + variant?: string; showLinks?: boolean; maxRelations?: number; hideIcons?: boolean; @@ -56,7 +56,7 @@ export const EntityUserProfileCard: (props: { // @public (undocumented) export const GroupProfileCard: (props: { - variant?: InfoCardVariants; + variant?: string; showLinks?: boolean; }) => JSX_2.Element; @@ -116,7 +116,7 @@ export type OwnershipCardClassKey = // @public (undocumented) export const UserProfileCard: (props: { - variant?: InfoCardVariants; + variant?: string; showLinks?: boolean; maxRelations?: number; hideIcons?: boolean; diff --git a/yarn.lock b/yarn.lock index 634d7ade79..5d2d15c94c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6525,6 +6525,7 @@ __metadata: "@backstage/plugin-permission-react": "workspace:^" "@backstage/test-utils": "workspace:^" "@backstage/types": "workspace:^" + "@backstage/ui": "workspace:^" "@material-ui/core": "npm:^4.12.2" "@material-ui/icons": "npm:^4.9.1" "@material-ui/lab": "npm:4.0.0-alpha.61"