catalog: Remove AboutCard

Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
Johan Haals
2022-03-04 11:41:27 +01:00
parent 968ee8d4fc
commit 51856359bf
4 changed files with 12 additions and 6 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog': minor
---
**BREAKING**: Removed the `AboutCard` component which has been replaced by `EntityAboutCard`.
-3
View File
@@ -26,9 +26,6 @@ import { TableProps } from '@backstage/core-components';
import { TabProps } from '@material-ui/core';
import { UserListFilterKind } from '@backstage/plugin-catalog-react';
// @public @deprecated (undocumented)
export function AboutCard(props: AboutCardProps): JSX.Element;
// @public
export interface AboutCardProps {
// (undocumented)
@@ -72,7 +72,7 @@ const useStyles = makeStyles({
});
/**
* Props for {@link AboutCard}.
* Props for {@link EntityAboutCard}.
*
* @public
*/
@@ -82,7 +82,6 @@ export interface AboutCardProps {
/**
* @public
* @deprecated Please use EntityAboutCard instead
*/
export function AboutCard(props: AboutCardProps) {
const { variant } = props;
+6 -1
View File
@@ -22,7 +22,12 @@
export * from './apis';
export * from './components/AboutCard';
export type {
AboutCardProps,
AboutContentProps,
AboutFieldProps,
} from './components/AboutCard';
export { AboutContent, AboutField } from './components/AboutCard';
export * from './components/CatalogKindHeader';
export * from './components/CatalogSearchResultListItem';
export * from './components/CatalogTable';