From 1c6c2d50f07418198c82e519456057ca0363f609 Mon Sep 17 00:00:00 2001 From: Heather Lee Date: Fri, 4 Jun 2021 13:43:28 -0700 Subject: [PATCH 1/2] Export AboutContent and other helpful functions Signed-off-by: Heather Lee --- plugins/catalog/src/components/AboutCard/index.ts | 3 +++ plugins/catalog/src/index.ts | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/catalog/src/components/AboutCard/index.ts b/plugins/catalog/src/components/AboutCard/index.ts index 93765ff942..262f0bedd3 100644 --- a/plugins/catalog/src/components/AboutCard/index.ts +++ b/plugins/catalog/src/components/AboutCard/index.ts @@ -15,3 +15,6 @@ */ export { AboutCard } from './AboutCard'; +export { AboutContent } from './AboutContent'; +export { AboutField } from './AboutField'; +export { ScmIntegrationIcon } from './ScmIntegrationIcon'; diff --git a/plugins/catalog/src/index.ts b/plugins/catalog/src/index.ts index 052f055dc0..0eb646de41 100644 --- a/plugins/catalog/src/index.ts +++ b/plugins/catalog/src/index.ts @@ -21,6 +21,8 @@ export { EntityPageLayout } from './components/EntityPageLayout'; export { CatalogTable } from './components/CatalogTable'; export * from './components/EntitySwitch'; export { Router } from './components/Router'; +export * from './components/EntityOrphanWarning'; +export * from './components/AboutCard'; export { CatalogEntityPage, CatalogIndexPage, @@ -36,4 +38,4 @@ export { EntityLinksCard, EntitySystemDiagramCard, } from './plugin'; -export * from './components/EntityOrphanWarning'; +export * from './utils'; From d5ad47bbb0d34209af900eacacc13d804d96e7e2 Mon Sep 17 00:00:00 2001 From: Heather Lee Date: Fri, 4 Jun 2021 13:57:59 -0700 Subject: [PATCH 2/2] Added changeset Signed-off-by: Heather Lee --- .changeset/warm-bikes-warn.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/warm-bikes-warn.md diff --git a/.changeset/warm-bikes-warn.md b/.changeset/warm-bikes-warn.md new file mode 100644 index 0000000000..a0f6fa73af --- /dev/null +++ b/.changeset/warm-bikes-warn.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-catalog': patch +--- + +Exported AboutCard contents and utility functions