Merge pull request #9982 from backstage/jhaals/remove-aboutcard

catalog: Remove AboutCard
This commit is contained in:
Johan Haals
2022-03-04 13:20:23 +01:00
committed by GitHub
4 changed files with 13 additions and 7 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
*/
@@ -81,8 +81,7 @@ export interface AboutCardProps {
}
/**
* @public
* @deprecated Please use EntityAboutCard instead
* Exported publicly via the EntityAboutCard
*/
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';