diff --git a/.changeset/fifty-brooms-whisper.md b/.changeset/fifty-brooms-whisper.md new file mode 100644 index 0000000000..b4c45555a3 --- /dev/null +++ b/.changeset/fifty-brooms-whisper.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-catalog': minor +--- + +**BREAKING**: Removed `CatalogResultListItemProps` and `CatalogResultListItem`, replaced by `CatalogSearchResultListItemProps` and `CatalogSearchResultListItem`. diff --git a/plugins/catalog/api-report.md b/plugins/catalog/api-report.md index 7cfa8a581f..2a358a74c0 100644 --- a/plugins/catalog/api-report.md +++ b/plugins/catalog/api-report.md @@ -101,12 +101,6 @@ export const catalogPlugin: BackstagePlugin< } >; -// @public @deprecated (undocumented) -export const CatalogResultListItem: typeof CatalogSearchResultListItem; - -// @public @deprecated (undocumented) -export type CatalogResultListItemProps = CatalogSearchResultListItemProps; - // @public (undocumented) export function CatalogSearchResultListItem( props: CatalogSearchResultListItemProps, diff --git a/plugins/catalog/src/components/CatalogSearchResultListItem/CatalogSearchResultListItem.tsx b/plugins/catalog/src/components/CatalogSearchResultListItem/CatalogSearchResultListItem.tsx index 54cfe43364..9762eb3da9 100644 --- a/plugins/catalog/src/components/CatalogSearchResultListItem/CatalogSearchResultListItem.tsx +++ b/plugins/catalog/src/components/CatalogSearchResultListItem/CatalogSearchResultListItem.tsx @@ -73,15 +73,3 @@ export function CatalogSearchResultListItem( ); } - -/** - * @public - * @deprecated use {@link CatalogSearchResultListItemProps} instead - */ -export type CatalogResultListItemProps = CatalogSearchResultListItemProps; - -/** - * @public - * @deprecated use {@link CatalogSearchResultListItem} instead - */ -export const CatalogResultListItem = CatalogSearchResultListItem; diff --git a/plugins/catalog/src/components/CatalogSearchResultListItem/index.ts b/plugins/catalog/src/components/CatalogSearchResultListItem/index.ts index 0396117825..ba0e6d29be 100644 --- a/plugins/catalog/src/components/CatalogSearchResultListItem/index.ts +++ b/plugins/catalog/src/components/CatalogSearchResultListItem/index.ts @@ -14,11 +14,5 @@ * limitations under the License. */ -export { - CatalogSearchResultListItem, - CatalogResultListItem, -} from './CatalogSearchResultListItem'; -export type { - CatalogSearchResultListItemProps, - CatalogResultListItemProps, -} from './CatalogSearchResultListItem'; +export { CatalogSearchResultListItem } from './CatalogSearchResultListItem'; +export type { CatalogSearchResultListItemProps } from './CatalogSearchResultListItem';