Merge branch 'master' into techdocs/remove-warnings
Signed-off-by: Morgan Bentell <morgan.bentell@gmail.com>
This commit is contained in:
@@ -1,5 +1,41 @@
|
||||
# @backstage/plugin-techdocs-react
|
||||
|
||||
## 1.1.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 65454876fb2: Minor API report tweaks
|
||||
- 928a12a9b3e: Internal refactor of `/alpha` exports.
|
||||
- 8adfda60ae1: Updated dependency `jss` to `~10.10.0`.
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.12.5
|
||||
- @backstage/core-plugin-api@1.5.0
|
||||
- @backstage/catalog-model@1.2.1
|
||||
- @backstage/config@1.0.7
|
||||
- @backstage/version-bridge@1.0.3
|
||||
|
||||
## 1.1.4-next.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 65454876fb2: Minor API report tweaks
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.12.5-next.2
|
||||
- @backstage/core-plugin-api@1.5.0-next.2
|
||||
- @backstage/config@1.0.7-next.0
|
||||
|
||||
## 1.1.4-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 8adfda60ae1: Updated dependency `jss` to `~10.10.0`.
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.12.5-next.1
|
||||
- @backstage/core-plugin-api@1.4.1-next.1
|
||||
- @backstage/config@1.0.7-next.0
|
||||
- @backstage/catalog-model@1.2.1-next.1
|
||||
- @backstage/version-bridge@1.0.3
|
||||
|
||||
## 1.1.4-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -91,7 +91,7 @@ export type TechDocsMetadata = {
|
||||
|
||||
// @public
|
||||
export const TechDocsReaderPageProvider: React_2.MemoExoticComponent<
|
||||
({ entityRef, children }: TechDocsReaderPageProviderProps) => JSX.Element
|
||||
(props: TechDocsReaderPageProviderProps) => JSX.Element
|
||||
>;
|
||||
|
||||
// @public
|
||||
@@ -120,11 +120,7 @@ export type TechDocsReaderPageValue = {
|
||||
};
|
||||
|
||||
// @public
|
||||
export const TechDocsShadowDom: ({
|
||||
element,
|
||||
onAppend,
|
||||
children,
|
||||
}: TechDocsShadowDomProps) => JSX.Element;
|
||||
export const TechDocsShadowDom: (props: TechDocsShadowDomProps) => JSX.Element;
|
||||
|
||||
// @public
|
||||
export type TechDocsShadowDomProps = PropsWithChildren<{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/plugin-techdocs-react",
|
||||
"description": "Shared frontend utilities for TechDocs and Addons",
|
||||
"version": "1.1.4-next.0",
|
||||
"version": "1.1.4",
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
"main": "dist/index.esm.js",
|
||||
|
||||
@@ -204,11 +204,9 @@ export type TechDocsShadowDomProps = PropsWithChildren<{
|
||||
* @param props - see {@link TechDocsShadowDomProps}.
|
||||
* @public
|
||||
*/
|
||||
export const TechDocsShadowDom = ({
|
||||
element,
|
||||
onAppend,
|
||||
children,
|
||||
}: TechDocsShadowDomProps) => {
|
||||
export const TechDocsShadowDom = (props: TechDocsShadowDomProps) => {
|
||||
const { element, onAppend, children } = props;
|
||||
|
||||
const [jss, setJss] = useState(
|
||||
create({
|
||||
...jssPreset(),
|
||||
|
||||
@@ -111,7 +111,9 @@ export type TechDocsReaderPageProviderProps = {
|
||||
* @public
|
||||
*/
|
||||
export const TechDocsReaderPageProvider = memo(
|
||||
({ entityRef, children }: TechDocsReaderPageProviderProps) => {
|
||||
(props: TechDocsReaderPageProviderProps) => {
|
||||
const { entityRef, children } = props;
|
||||
|
||||
const techdocsApi = useApi(techdocsApiRef);
|
||||
const config = useApi(configApiRef);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user