@backstage/plugin-techdocs-react 1.3.6-next.0 → 1.3.7-next.0

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 CHANGED
@@ -1,5 +1,21 @@
1
1
  # @backstage/plugin-techdocs-react
2
2
 
3
+ ## 1.3.7-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/core-components@0.18.5-next.0
9
+
10
+ ## 1.3.6
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+ - @backstage/frontend-plugin-api@0.13.2
16
+ - @backstage/core-components@0.18.4
17
+ - @backstage/core-plugin-api@1.12.1
18
+
3
19
  ## 1.3.6-next.0
4
20
 
5
21
  ### Patch Changes
package/dist/alpha.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
2
2
  import { ComponentType } from 'react';
3
- import { a as TechDocsAddonOptions } from './types/types.d-DXgF2CAr.js';
4
- export { T as TechDocsAddonLocations } from './types/types.d-DXgF2CAr.js';
3
+ import { a as TechDocsAddonOptions } from './types/types.d-BlEjzAuE.js';
4
+ export { T as TechDocsAddonLocations } from './types/types.d-BlEjzAuE.js';
5
5
  import '@backstage/catalog-model';
6
6
 
7
7
  /** @alpha */
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as react from 'react';
2
2
  import { ComponentType, PropsWithChildren, Dispatch, SetStateAction, ReactNode } from 'react';
3
- import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
4
3
  import { Extension, RouteFunc } from '@backstage/core-plugin-api';
5
- import { T as TechDocsAddonLocations, a as TechDocsAddonOptions, b as TechDocsMetadata, c as TechDocsEntityMetadata } from './types/types.d-DXgF2CAr.js';
4
+ import { T as TechDocsAddonLocations, a as TechDocsAddonOptions, b as TechDocsMetadata, c as TechDocsEntityMetadata } from './types/types.d-BlEjzAuE.js';
5
+ import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
6
6
  import { CompoundEntityRef, Entity } from '@backstage/catalog-model';
7
7
  import * as react_jsx_runtime from 'react/jsx-runtime';
8
8
  import { AsyncState } from 'react-use/esm/useAsync';
@@ -60,7 +60,7 @@ interface TechDocsApi {
60
60
  *
61
61
  * @public
62
62
  */
63
- declare const techdocsApiRef: _backstage_core_plugin_api.ApiRef<TechDocsApi>;
63
+ declare const techdocsApiRef: _backstage_frontend_plugin_api.ApiRef<TechDocsApi>;
64
64
  /**
65
65
  * The outcome of a docs sync operation.
66
66
  *
@@ -85,7 +85,7 @@ interface TechDocsStorageApi {
85
85
  *
86
86
  * @public
87
87
  */
88
- declare const techdocsStorageApiRef: _backstage_core_plugin_api.ApiRef<TechDocsStorageApi>;
88
+ declare const techdocsStorageApiRef: _backstage_frontend_plugin_api.ApiRef<TechDocsStorageApi>;
89
89
 
90
90
  /**
91
91
  * @public type for the value of the TechDocsReaderPageContext
@@ -286,4 +286,5 @@ declare const buildTechDocsURL: (entity: Entity, routeFunc: RouteFunc<{
286
286
  name: string;
287
287
  }> | undefined) => string | undefined;
288
288
 
289
- export { SHADOW_DOM_STYLE_LOAD_EVENT, type SyncResult, TECHDOCS_ADDONS_KEY, TECHDOCS_ADDONS_WRAPPER_KEY, TechDocsAddonLocations, TechDocsAddonOptions, TechDocsAddons, type TechDocsApi, TechDocsEntityMetadata, TechDocsMetadata, TechDocsReaderPageProvider, type TechDocsReaderPageProviderProps, type TechDocsReaderPageProviderRenderFunction, type TechDocsReaderPageValue, TechDocsShadowDom, type TechDocsShadowDomProps, type TechDocsStorageApi, buildTechDocsURL, createTechDocsAddonExtension, getEntityRootTechDocsPath, techdocsApiRef, techdocsStorageApiRef, toLowercaseEntityRefMaybe, useShadowDomStylesLoading, useShadowRoot, useShadowRootElements, useShadowRootSelection, useTechDocsAddons, useTechDocsReaderPage };
289
+ export { SHADOW_DOM_STYLE_LOAD_EVENT, TECHDOCS_ADDONS_KEY, TECHDOCS_ADDONS_WRAPPER_KEY, TechDocsAddonLocations, TechDocsAddonOptions, TechDocsAddons, TechDocsEntityMetadata, TechDocsMetadata, TechDocsReaderPageProvider, TechDocsShadowDom, buildTechDocsURL, createTechDocsAddonExtension, getEntityRootTechDocsPath, techdocsApiRef, techdocsStorageApiRef, toLowercaseEntityRefMaybe, useShadowDomStylesLoading, useShadowRoot, useShadowRootElements, useShadowRootSelection, useTechDocsAddons, useTechDocsReaderPage };
290
+ export type { SyncResult, TechDocsApi, TechDocsReaderPageProviderProps, TechDocsReaderPageProviderRenderFunction, TechDocsReaderPageValue, TechDocsShadowDomProps, TechDocsStorageApi };
@@ -65,4 +65,5 @@ type TechDocsAddonOptions<TAddonProps = {}> = {
65
65
  component: ComponentType<TAddonProps>;
66
66
  };
67
67
 
68
- export { TechDocsAddonLocations as T, type TechDocsAddonOptions as a, type TechDocsMetadata as b, type TechDocsEntityMetadata as c };
68
+ export { TechDocsAddonLocations as T };
69
+ export type { TechDocsAddonOptions as a, TechDocsMetadata as b, TechDocsEntityMetadata as c };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-techdocs-react",
3
- "version": "1.3.6-next.0",
3
+ "version": "1.3.7-next.0",
4
4
  "description": "Shared frontend utilities for TechDocs and Addons",
5
5
  "backstage": {
6
6
  "role": "web-library",
@@ -68,9 +68,9 @@
68
68
  "dependencies": {
69
69
  "@backstage/catalog-model": "1.7.6",
70
70
  "@backstage/config": "1.3.6",
71
- "@backstage/core-components": "0.18.4-next.0",
72
- "@backstage/core-plugin-api": "1.12.1-next.0",
73
- "@backstage/frontend-plugin-api": "0.13.2-next.0",
71
+ "@backstage/core-components": "0.18.5-next.0",
72
+ "@backstage/core-plugin-api": "1.12.1",
73
+ "@backstage/frontend-plugin-api": "0.13.2",
74
74
  "@backstage/plugin-techdocs-common": "0.1.1",
75
75
  "@backstage/version-bridge": "1.0.11",
76
76
  "@material-ui/core": "^4.12.2",
@@ -81,9 +81,9 @@
81
81
  "react-use": "^17.2.4"
82
82
  },
83
83
  "devDependencies": {
84
- "@backstage/cli": "0.34.6-next.0",
85
- "@backstage/test-utils": "1.7.14-next.0",
86
- "@backstage/theme": "0.7.1-next.0",
84
+ "@backstage/cli": "0.35.2-next.1",
85
+ "@backstage/test-utils": "1.7.14",
86
+ "@backstage/theme": "0.7.1",
87
87
  "@testing-library/jest-dom": "^6.0.0",
88
88
  "@testing-library/react": "^16.0.0",
89
89
  "@types/react": "^18.0.0",