diff --git a/plugins/techdocs/report.api.md b/plugins/techdocs/report.api.md index 073d843872..9fb7c151b7 100644 --- a/plugins/techdocs/report.api.md +++ b/plugins/techdocs/report.api.md @@ -18,12 +18,14 @@ import { EntityOwnerPickerProps } from '@backstage/plugin-catalog-react'; import { FetchApi } from '@backstage/core-plugin-api'; import { IdentityApi } from '@backstage/core-plugin-api'; import { JSX as JSX_2 } from 'react'; +import { Overrides } from '@material-ui/core/styles/overrides'; import { PropsWithChildren } from 'react'; import { default as React_2 } from 'react'; import { ReactNode } from 'react'; import { ResultHighlight } from '@backstage/plugin-search-common'; import { RouteRef } from '@backstage/core-plugin-api'; import { SearchResultListItemExtensionProps } from '@backstage/plugin-search-react'; +import { StyleRules } from '@material-ui/core/styles/withStyles'; import { SyncResult as SyncResult_2 } from '@backstage/plugin-techdocs-react'; import { TableColumn } from '@backstage/core-components'; import { TableOptions } from '@backstage/core-components'; @@ -36,6 +38,18 @@ import { ThemeOptions } from '@material-ui/core/styles'; import { ToolbarProps } from '@material-ui/core/Toolbar'; import { UserListFilterKind } from '@backstage/plugin-catalog-react'; +// @public (undocumented) +export type BackstageOverrides = Overrides & { + [Name in keyof CatalogReactComponentsNameToClassKey]?: Partial< + StyleRules + >; +}; + +// @public (undocumented) +export type CatalogReactComponentsNameToClassKey = { + BackstageInfoCardGrid: InfoCardGridClassKey; +}; + // @public export type ContentStateTypes = /** There is nothing to display but a loading indicator */ @@ -243,6 +257,8 @@ export interface PanelConfig { // @public export interface PanelProps { + // (undocumented) + CustomHeader?: React_2.FC; // (undocumented) linkContent?: string | JSX.Element; // (undocumented) @@ -250,9 +266,7 @@ export interface PanelProps { // (undocumented) options?: TableOptions; // (undocumented) - showHeader?: boolean; - // (undocumented) - showSupport?: boolean; + PageWrapper?: React_2.FC; } // @public @@ -342,9 +356,7 @@ export const TechDocsCustomHome: ( export type TechDocsCustomHomeProps = { tabsConfig: TabsConfig; filter?: EntityFilterQuery; - title?: string; - subtitle?: string; - showSubtitle?: boolean; + CustomPageWrapper?: React_2.FC; }; // @public @deprecated (undocumented) @@ -361,12 +373,10 @@ export type TechDocsIndexPageProps = { columns?: TableColumn[]; actions?: TableProps['actions']; ownerPickerMode?: EntityOwnerPickerProps['mode']; - showHeader?: boolean; - showSupport?: boolean; - options?: TableOptions; - title?: string; - subtitle?: string; pagination?: EntityListPagination; + options?: TableOptions; + PageWrapper?: React_2.FC; + CustomHeader?: React_2.FC; }; // @public @deprecated (undocumented) @@ -383,9 +393,9 @@ export const TechDocsPageWrapper: ( // @public export type TechDocsPageWrapperProps = { children?: React_2.ReactNode; - title?: string; - subtitle?: string; - showSubtitle?: boolean; + CustomPageWrapper?: React_2.FC<{ + children?: React_2.ReactNode; + }>; }; // @public