@backstage/plugin-techdocs-react 0.0.0-nightly-20240617021823 → 0.0.0-nightly-20240622021615
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -3
- package/dist/context.esm.js +7 -0
- package/dist/context.esm.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,25 @@
|
|
|
1
1
|
# @backstage/plugin-techdocs-react
|
|
2
2
|
|
|
3
|
-
## 0.0.0-nightly-
|
|
3
|
+
## 0.0.0-nightly-20240622021615
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 8ac9ce5: Fixed a bug with the TechDocsReaderPageProvider not re-rendering when setShadowDom is called, meaning that the useShadowDom hooks were inconsistent. This issue caused the TextSize addon changes not to reapply during navigation.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @backstage/catalog-model@1.5.0
|
|
10
|
+
- @backstage/config@1.2.0
|
|
11
|
+
- @backstage/core-components@0.14.8
|
|
12
|
+
- @backstage/core-plugin-api@1.9.3
|
|
13
|
+
- @backstage/version-bridge@1.0.8
|
|
14
|
+
|
|
15
|
+
## 1.2.5
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
6
18
|
|
|
7
19
|
- d44a20a: Added additional plugin metadata to `package.json`.
|
|
8
20
|
- Updated dependencies
|
|
9
|
-
- @backstage/core-components@0.
|
|
10
|
-
- @backstage/core-plugin-api@
|
|
21
|
+
- @backstage/core-components@0.14.8
|
|
22
|
+
- @backstage/core-plugin-api@1.9.3
|
|
11
23
|
- @backstage/catalog-model@1.5.0
|
|
12
24
|
- @backstage/config@1.2.0
|
|
13
25
|
- @backstage/version-bridge@1.0.8
|
package/dist/context.esm.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React, { memo, useState, useEffect, useContext } from 'react';
|
|
2
2
|
import useAsync from 'react-use/esm/useAsync';
|
|
3
3
|
import useAsyncRetry from 'react-use/esm/useAsyncRetry';
|
|
4
|
+
import useCounter from 'react-use/esm/useCounter';
|
|
4
5
|
import { stringifyEntityRef } from '@backstage/catalog-model';
|
|
5
6
|
import { createVersionedContext, createVersionedValueMap } from '@backstage/version-bridge';
|
|
6
7
|
import { useApi, configApiRef, AnalyticsContext } from '@backstage/core-plugin-api';
|
|
@@ -19,6 +20,9 @@ const defaultTechDocsReaderPageValue = {
|
|
|
19
20
|
},
|
|
20
21
|
setShadowRoot: () => {
|
|
21
22
|
},
|
|
23
|
+
shadowRootVersion: 0,
|
|
24
|
+
incShadowRootVersion: () => {
|
|
25
|
+
},
|
|
22
26
|
metadata: { loading: true },
|
|
23
27
|
entityMetadata: { loading: true },
|
|
24
28
|
entityRef: { kind: "", name: "", namespace: "" }
|
|
@@ -42,6 +46,7 @@ const TechDocsReaderPageProvider = memo(
|
|
|
42
46
|
const [shadowRoot, setShadowRoot] = useState(
|
|
43
47
|
defaultTechDocsReaderPageValue.shadowRoot
|
|
44
48
|
);
|
|
49
|
+
const [shadowRootVersion, { inc: incShadowRootVersion }] = useCounter(0);
|
|
45
50
|
useEffect(() => {
|
|
46
51
|
if (shadowRoot && !metadata.value && !metadata.loading) {
|
|
47
52
|
metadata.retry();
|
|
@@ -59,6 +64,8 @@ const TechDocsReaderPageProvider = memo(
|
|
|
59
64
|
entityMetadata,
|
|
60
65
|
shadowRoot,
|
|
61
66
|
setShadowRoot,
|
|
67
|
+
shadowRootVersion,
|
|
68
|
+
incShadowRootVersion,
|
|
62
69
|
title,
|
|
63
70
|
setTitle,
|
|
64
71
|
subtitle,
|
package/dist/context.esm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.esm.js","sources":["../src/context.tsx"],"sourcesContent":["/*\n * Copyright 2022 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, {\n Dispatch,\n SetStateAction,\n useContext,\n useState,\n memo,\n ReactNode,\n useEffect,\n} from 'react';\nimport useAsync, { AsyncState } from 'react-use/esm/useAsync';\nimport useAsyncRetry from 'react-use/esm/useAsyncRetry';\n\nimport {\n CompoundEntityRef,\n stringifyEntityRef,\n} from '@backstage/catalog-model';\nimport {\n createVersionedContext,\n createVersionedValueMap,\n} from '@backstage/version-bridge';\n\nimport {\n AnalyticsContext,\n configApiRef,\n useApi,\n} from '@backstage/core-plugin-api';\n\nimport { techdocsApiRef } from './api';\nimport { TechDocsEntityMetadata, TechDocsMetadata } from './types';\n\nimport { toLowercaseEntityRefMaybe } from './helpers';\n\nconst areEntityRefsEqual = (\n prevEntityRef: CompoundEntityRef,\n nextEntityRef: CompoundEntityRef,\n) => {\n return (\n stringifyEntityRef(prevEntityRef) === stringifyEntityRef(nextEntityRef)\n );\n};\n\n/**\n * @public type for the value of the TechDocsReaderPageContext\n */\nexport type TechDocsReaderPageValue = {\n metadata: AsyncState<TechDocsMetadata>;\n entityRef: CompoundEntityRef;\n entityMetadata: AsyncState<TechDocsEntityMetadata>;\n shadowRoot?: ShadowRoot;\n setShadowRoot: Dispatch<SetStateAction<ShadowRoot | undefined>>;\n title: string;\n setTitle: Dispatch<SetStateAction<string>>;\n subtitle: string;\n setSubtitle: Dispatch<SetStateAction<string>>;\n /**\n * @deprecated property can be passed down directly to the `TechDocsReaderPageContent` instead.\n */\n onReady?: () => void;\n};\n\nconst defaultTechDocsReaderPageValue: TechDocsReaderPageValue = {\n title: '',\n subtitle: '',\n setTitle: () => {},\n setSubtitle: () => {},\n setShadowRoot: () => {},\n metadata: { loading: true },\n entityMetadata: { loading: true },\n entityRef: { kind: '', name: '', namespace: '' },\n};\n\nconst TechDocsReaderPageContext = createVersionedContext<{\n 1: TechDocsReaderPageValue;\n}>('techdocs-reader-page-context');\n\n/**\n * render function for {@link TechDocsReaderPageProvider}\n *\n * @public\n */\nexport type TechDocsReaderPageProviderRenderFunction = (\n value: TechDocsReaderPageValue,\n) => JSX.Element;\n\n/**\n * Props for {@link TechDocsReaderPageProvider}\n *\n * @public\n */\nexport type TechDocsReaderPageProviderProps = {\n entityRef: CompoundEntityRef;\n children: TechDocsReaderPageProviderRenderFunction | ReactNode;\n};\n\n/**\n * A context to store the reader page state\n * @public\n */\nexport const TechDocsReaderPageProvider = memo(\n (props: TechDocsReaderPageProviderProps) => {\n const { entityRef, children } = props;\n\n const techdocsApi = useApi(techdocsApiRef);\n const config = useApi(configApiRef);\n\n const entityMetadata = useAsync(async () => {\n return techdocsApi.getEntityMetadata(entityRef);\n }, [entityRef]);\n\n const metadata = useAsyncRetry(async () => {\n return techdocsApi.getTechDocsMetadata(entityRef);\n }, [entityRef]);\n\n const [title, setTitle] = useState(defaultTechDocsReaderPageValue.title);\n const [subtitle, setSubtitle] = useState(\n defaultTechDocsReaderPageValue.subtitle,\n );\n const [shadowRoot, setShadowRoot] = useState<ShadowRoot | undefined>(\n defaultTechDocsReaderPageValue.shadowRoot,\n );\n\n useEffect(() => {\n if (shadowRoot && !metadata.value && !metadata.loading) {\n metadata.retry();\n }\n }, [\n metadata.value,\n metadata.loading,\n shadowRoot,\n metadata.retry,\n metadata,\n ]);\n\n const value: TechDocsReaderPageValue = {\n metadata,\n entityRef: toLowercaseEntityRefMaybe(entityRef, config),\n entityMetadata,\n shadowRoot,\n setShadowRoot,\n title,\n setTitle,\n subtitle,\n setSubtitle,\n };\n const versionedValue = createVersionedValueMap({ 1: value });\n\n return (\n <AnalyticsContext\n attributes={{ entityRef: stringifyEntityRef(entityRef) }}\n >\n <TechDocsReaderPageContext.Provider value={versionedValue}>\n {children instanceof Function ? children(value) : children}\n </TechDocsReaderPageContext.Provider>\n </AnalyticsContext>\n );\n },\n (prevProps, nextProps) => {\n return areEntityRefsEqual(prevProps.entityRef, nextProps.entityRef);\n },\n);\n\n/**\n * Hook used to get access to shared state between reader page components.\n * @public\n */\nexport const useTechDocsReaderPage = () => {\n const versionedContext = useContext(TechDocsReaderPageContext);\n\n if (versionedContext === undefined) {\n return defaultTechDocsReaderPageValue;\n }\n\n const context = versionedContext.atVersion(1);\n if (context === undefined) {\n throw new Error('No context found for version 1.');\n }\n
|
|
1
|
+
{"version":3,"file":"context.esm.js","sources":["../src/context.tsx"],"sourcesContent":["/*\n * Copyright 2022 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, {\n Dispatch,\n SetStateAction,\n useContext,\n useState,\n memo,\n ReactNode,\n useEffect,\n} from 'react';\nimport useAsync, { AsyncState } from 'react-use/esm/useAsync';\nimport useAsyncRetry from 'react-use/esm/useAsyncRetry';\nimport useCounter from 'react-use/esm/useCounter';\n\nimport {\n CompoundEntityRef,\n stringifyEntityRef,\n} from '@backstage/catalog-model';\nimport {\n createVersionedContext,\n createVersionedValueMap,\n} from '@backstage/version-bridge';\n\nimport {\n AnalyticsContext,\n configApiRef,\n useApi,\n} from '@backstage/core-plugin-api';\n\nimport { techdocsApiRef } from './api';\nimport { TechDocsEntityMetadata, TechDocsMetadata } from './types';\n\nimport { toLowercaseEntityRefMaybe } from './helpers';\n\nconst areEntityRefsEqual = (\n prevEntityRef: CompoundEntityRef,\n nextEntityRef: CompoundEntityRef,\n) => {\n return (\n stringifyEntityRef(prevEntityRef) === stringifyEntityRef(nextEntityRef)\n );\n};\n\n/**\n * @public type for the value of the TechDocsReaderPageContext\n */\nexport type TechDocsReaderPageValue = {\n metadata: AsyncState<TechDocsMetadata>;\n entityRef: CompoundEntityRef;\n entityMetadata: AsyncState<TechDocsEntityMetadata>;\n shadowRoot?: ShadowRoot;\n setShadowRoot: Dispatch<SetStateAction<ShadowRoot | undefined>>;\n shadowRootVersion: number;\n incShadowRootVersion: () => void;\n title: string;\n setTitle: Dispatch<SetStateAction<string>>;\n subtitle: string;\n setSubtitle: Dispatch<SetStateAction<string>>;\n /**\n * @deprecated property can be passed down directly to the `TechDocsReaderPageContent` instead.\n */\n onReady?: () => void;\n};\n\nconst defaultTechDocsReaderPageValue: TechDocsReaderPageValue = {\n title: '',\n subtitle: '',\n setTitle: () => {},\n setSubtitle: () => {},\n setShadowRoot: () => {},\n shadowRootVersion: 0,\n incShadowRootVersion: () => {},\n metadata: { loading: true },\n entityMetadata: { loading: true },\n entityRef: { kind: '', name: '', namespace: '' },\n};\n\nconst TechDocsReaderPageContext = createVersionedContext<{\n 1: TechDocsReaderPageValue;\n}>('techdocs-reader-page-context');\n\n/**\n * render function for {@link TechDocsReaderPageProvider}\n *\n * @public\n */\nexport type TechDocsReaderPageProviderRenderFunction = (\n value: TechDocsReaderPageValue,\n) => JSX.Element;\n\n/**\n * Props for {@link TechDocsReaderPageProvider}\n *\n * @public\n */\nexport type TechDocsReaderPageProviderProps = {\n entityRef: CompoundEntityRef;\n children: TechDocsReaderPageProviderRenderFunction | ReactNode;\n};\n\n/**\n * A context to store the reader page state\n * @public\n */\nexport const TechDocsReaderPageProvider = memo(\n (props: TechDocsReaderPageProviderProps) => {\n const { entityRef, children } = props;\n\n const techdocsApi = useApi(techdocsApiRef);\n const config = useApi(configApiRef);\n\n const entityMetadata = useAsync(async () => {\n return techdocsApi.getEntityMetadata(entityRef);\n }, [entityRef]);\n\n const metadata = useAsyncRetry(async () => {\n return techdocsApi.getTechDocsMetadata(entityRef);\n }, [entityRef]);\n\n const [title, setTitle] = useState(defaultTechDocsReaderPageValue.title);\n const [subtitle, setSubtitle] = useState(\n defaultTechDocsReaderPageValue.subtitle,\n );\n const [shadowRoot, setShadowRoot] = useState<ShadowRoot | undefined>(\n defaultTechDocsReaderPageValue.shadowRoot,\n );\n const [shadowRootVersion, { inc: incShadowRootVersion }] = useCounter(0);\n\n useEffect(() => {\n if (shadowRoot && !metadata.value && !metadata.loading) {\n metadata.retry();\n }\n }, [\n metadata.value,\n metadata.loading,\n shadowRoot,\n metadata.retry,\n metadata,\n ]);\n\n const value: TechDocsReaderPageValue = {\n metadata,\n entityRef: toLowercaseEntityRefMaybe(entityRef, config),\n entityMetadata,\n shadowRoot,\n setShadowRoot,\n shadowRootVersion,\n incShadowRootVersion,\n title,\n setTitle,\n subtitle,\n setSubtitle,\n };\n const versionedValue = createVersionedValueMap({ 1: value });\n\n return (\n <AnalyticsContext\n attributes={{ entityRef: stringifyEntityRef(entityRef) }}\n >\n <TechDocsReaderPageContext.Provider value={versionedValue}>\n {children instanceof Function ? children(value) : children}\n </TechDocsReaderPageContext.Provider>\n </AnalyticsContext>\n );\n },\n (prevProps, nextProps) => {\n return areEntityRefsEqual(prevProps.entityRef, nextProps.entityRef);\n },\n);\n\n/**\n * Hook used to get access to shared state between reader page components.\n * @public\n */\nexport const useTechDocsReaderPage = () => {\n const versionedContext = useContext(TechDocsReaderPageContext);\n\n if (versionedContext === undefined) {\n return defaultTechDocsReaderPageValue;\n }\n\n const context = versionedContext.atVersion(1);\n if (context === undefined) {\n throw new Error('No context found for version 1.');\n }\n return context;\n};\n"],"names":[],"mappings":";;;;;;;;;;AAiDA,MAAM,kBAAA,GAAqB,CACzB,aAAA,EACA,aACG,KAAA;AACH,EAAA,OACE,kBAAmB,CAAA,aAAa,CAAM,KAAA,kBAAA,CAAmB,aAAa,CAAA,CAAA;AAE1E,CAAA,CAAA;AAuBA,MAAM,8BAA0D,GAAA;AAAA,EAC9D,KAAO,EAAA,EAAA;AAAA,EACP,QAAU,EAA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W,SAAc,KAAA;AACxB,IAAA,OAAO,kBAAmB,CAAA,SAAA,CAAU,SAAW,EAAA,SAAA,CAAU,SAAS,CAAA,CAAA;AAAA,GACpE;AACF,EAAA;AAMO,MAAM,wBAAwB,MAAM;AACzC,EAAM,MAAA,gBAAA,GAAmB,WAAW,yBAAyB,CAAA,CAAA;AAE7D,EAAA,IAAI,qBAAqB,KAAW,CAAA,EAAA;AAClC,IAAO,OAAA,8BAAA,CAAA;AAAA,GACT;AAEA,EAAM,MAAA,OAAA,GAAU,gBAAiB,CAAA,SAAA,CAAU,CAAC,CAAA,CAAA;AAC5C,EAAA,IAAI,YAAY,KAAW,CAAA,EAAA;AACzB,IAAM,MAAA,IAAI,MAAM,iCAAiC,CAAA,CAAA;AAAA,GACnD;AACA,EAAO,OAAA,OAAA,CAAA;AACT;;;;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -157,6 +157,8 @@ type TechDocsReaderPageValue = {
|
|
|
157
157
|
entityMetadata: AsyncState<TechDocsEntityMetadata>;
|
|
158
158
|
shadowRoot?: ShadowRoot;
|
|
159
159
|
setShadowRoot: Dispatch<SetStateAction<ShadowRoot | undefined>>;
|
|
160
|
+
shadowRootVersion: number;
|
|
161
|
+
incShadowRootVersion: () => void;
|
|
160
162
|
title: string;
|
|
161
163
|
setTitle: Dispatch<SetStateAction<string>>;
|
|
162
164
|
subtitle: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-techdocs-react",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20240622021615",
|
|
4
4
|
"description": "Shared frontend utilities for TechDocs and Addons",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "web-library",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@backstage/catalog-model": "^1.5.0",
|
|
48
48
|
"@backstage/config": "^1.2.0",
|
|
49
|
-
"@backstage/core-components": "^0.
|
|
50
|
-
"@backstage/core-plugin-api": "^
|
|
49
|
+
"@backstage/core-components": "^0.14.8",
|
|
50
|
+
"@backstage/core-plugin-api": "^1.9.3",
|
|
51
51
|
"@backstage/version-bridge": "^1.0.8",
|
|
52
52
|
"@material-ui/core": "^4.12.2",
|
|
53
53
|
"@material-ui/styles": "^4.11.0",
|
|
@@ -58,9 +58,9 @@
|
|
|
58
58
|
"react-use": "^17.2.4"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@backstage/cli": "^0.0.0-nightly-
|
|
62
|
-
"@backstage/test-utils": "^
|
|
63
|
-
"@backstage/theme": "^0.
|
|
61
|
+
"@backstage/cli": "^0.0.0-nightly-20240622021615",
|
|
62
|
+
"@backstage/test-utils": "^1.5.6",
|
|
63
|
+
"@backstage/theme": "^0.5.6",
|
|
64
64
|
"@testing-library/jest-dom": "^6.0.0",
|
|
65
65
|
"@testing-library/react": "^15.0.0"
|
|
66
66
|
},
|