Merge pull request #9982 from backstage/jhaals/remove-aboutcard
catalog: Remove AboutCard
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-catalog': minor
|
||||
---
|
||||
|
||||
**BREAKING**: Removed the `AboutCard` component which has been replaced by `EntityAboutCard`.
|
||||
@@ -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;
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user