Add changesets.

Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
Eric Peterson
2022-04-15 16:54:37 +02:00
parent ee60ad9ea4
commit 3ba256c389
3 changed files with 15 additions and 10 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-techdocs': patch
---
Fixed a bug preventing custom TechDocs reader page implementations from rendering without being double-wrapped in the `<TechDocsReaderPage />` component.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-techdocs': patch
---
Fixed a bug that caused addons in the `Subheader` location to break the default TechDocs reader page layout.
+5 -10
View File
@@ -18,7 +18,6 @@ import { PropsWithChildren } from 'react';
import { default as React_2 } from 'react';
import { ReactNode } from 'react';
import { RouteRef } from '@backstage/core-plugin-api';
import { StyledComponentProps } from '@material-ui/core';
import { TableColumn } from '@backstage/core-components';
import { TableProps } from '@backstage/core-components';
import { TechDocsEntityMetadata as TechDocsEntityMetadata_2 } from '@backstage/plugin-techdocs-react';
@@ -351,15 +350,11 @@ export type TechDocsReaderPageRenderFunction = ({
}) => JSX.Element;
// @public
export const TechDocsReaderPageSubheader: React_2.ComponentType<
Pick<
{
toolbarProps?: ToolbarProps<'div', {}> | undefined;
},
'toolbarProps'
> &
StyledComponentProps<'root'>
>;
export const TechDocsReaderPageSubheader: ({
toolbarProps,
}: {
toolbarProps?: ToolbarProps<'div', {}> | undefined;
}) => JSX.Element | null;
// @public
export const TechDocsReaderProvider: ({