Merge pull request #9977 from backstage/jhaals/remove-CatalogResultListItem

catalog: Remove CatalogResultListItem
This commit is contained in:
Johan Haals
2022-03-04 13:21:16 +01:00
committed by GitHub
4 changed files with 7 additions and 26 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog': minor
---
**BREAKING**: Removed `CatalogResultListItemProps` and `CatalogResultListItem`, replaced by `CatalogSearchResultListItemProps` and `CatalogSearchResultListItem`.
-6
View File
@@ -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,
@@ -73,15 +73,3 @@ export function CatalogSearchResultListItem(
</Link>
);
}
/**
* @public
* @deprecated use {@link CatalogSearchResultListItemProps} instead
*/
export type CatalogResultListItemProps = CatalogSearchResultListItemProps;
/**
* @public
* @deprecated use {@link CatalogSearchResultListItem} instead
*/
export const CatalogResultListItem = CatalogSearchResultListItem;
@@ -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';