@backstage/plugin-techdocs 1.19.1-next.2 → 1.20.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 +29 -0
- package/dist/alpha.d.ts +20 -10
- package/dist/plugins/techdocs/package.json.esm.js +4 -4
- package/package.json +28 -28
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# @backstage/plugin-techdocs
|
|
2
2
|
|
|
3
|
+
## 1.20.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 4bbc7a9: Removed explicit support for React 17: the peer dependency range for `react`, `react-dom` and `@types/react` is now `^18.0.0`. React 17 is no longer tested or guaranteed to work, although it may continue to work in some cases. See the [migration guide](https://backstage.io/docs/frontend-system/architecture/migrations#157).
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 9a1d5cf: Fixed the TechDocs table of contents drifting to the right on wide screens. It now stays aligned with the right edge of the documentation content.
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
- @backstage/frontend-plugin-api@1.0.0
|
|
14
|
+
- @backstage/core-plugin-api@1.13.0
|
|
15
|
+
- @backstage/integration@2.2.0
|
|
16
|
+
- @backstage/catalog-client@1.16.4
|
|
17
|
+
- @backstage/core-components@0.18.16
|
|
18
|
+
- @backstage/errors@1.4.0
|
|
19
|
+
- @backstage/plugin-catalog-react@4.0.0
|
|
20
|
+
- @backstage/ui@0.20.0
|
|
21
|
+
- @backstage/integration-react@1.3.0
|
|
22
|
+
- @backstage/plugin-auth-react@0.1.33
|
|
23
|
+
- @backstage/plugin-search-react@1.12.0
|
|
24
|
+
- @backstage/plugin-techdocs-react@1.5.0
|
|
25
|
+
- @backstage/theme@0.7.4
|
|
26
|
+
- @backstage/catalog-model@1.10.3
|
|
27
|
+
- @backstage/config@1.3.11
|
|
28
|
+
- @backstage/filter-predicates@0.2.1
|
|
29
|
+
- @backstage/plugin-search-common@1.2.27
|
|
30
|
+
- @backstage/plugin-techdocs-common@0.1.3
|
|
31
|
+
|
|
3
32
|
## 1.19.1-next.2
|
|
4
33
|
|
|
5
34
|
### Patch Changes
|
package/dist/alpha.d.ts
CHANGED
|
@@ -91,14 +91,14 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
91
91
|
name: undefined;
|
|
92
92
|
config: {};
|
|
93
93
|
configInput: {};
|
|
94
|
-
output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.
|
|
94
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.ApiFactory, "core.api.factory", {}>;
|
|
95
95
|
inputs: {};
|
|
96
|
-
params: <TApi, TImpl extends TApi, TDeps extends { [name in string]: unknown; }>(params: _backstage_frontend_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_frontend_plugin_api.
|
|
96
|
+
params: <TApi, TImpl extends TApi, TDeps extends { [name in string]: unknown; }>(params: _backstage_frontend_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_frontend_plugin_api.ApiFactory>;
|
|
97
97
|
}>;
|
|
98
98
|
"api:techdocs/addons": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
99
99
|
config: {};
|
|
100
100
|
configInput: {};
|
|
101
|
-
output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.
|
|
101
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.ApiFactory, "core.api.factory", {}>;
|
|
102
102
|
inputs: {
|
|
103
103
|
addons: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_plugin_techdocs_react.TechDocsAddonOptions, "techdocs.addon", {}>, {
|
|
104
104
|
singleton: false;
|
|
@@ -108,16 +108,16 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
108
108
|
};
|
|
109
109
|
kind: "api";
|
|
110
110
|
name: "addons";
|
|
111
|
-
params: <TApi, TImpl extends TApi, TDeps extends { [name in string]: unknown; }>(params: _backstage_frontend_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_frontend_plugin_api.
|
|
111
|
+
params: <TApi, TImpl extends TApi, TDeps extends { [name in string]: unknown; }>(params: _backstage_frontend_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_frontend_plugin_api.ApiFactory>;
|
|
112
112
|
}>;
|
|
113
113
|
"api:techdocs/storage": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
114
114
|
kind: "api";
|
|
115
115
|
name: "storage";
|
|
116
116
|
config: {};
|
|
117
117
|
configInput: {};
|
|
118
|
-
output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.
|
|
118
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.ApiFactory, "core.api.factory", {}>;
|
|
119
119
|
inputs: {};
|
|
120
|
-
params: <TApi, TImpl extends TApi, TDeps extends { [name in string]: unknown; }>(params: _backstage_frontend_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_frontend_plugin_api.
|
|
120
|
+
params: <TApi, TImpl extends TApi, TDeps extends { [name in string]: unknown; }>(params: _backstage_frontend_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_frontend_plugin_api.ApiFactory>;
|
|
121
121
|
}>;
|
|
122
122
|
"empty-state:techdocs/entity-content": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
123
123
|
config: {};
|
|
@@ -155,7 +155,9 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
155
155
|
};
|
|
156
156
|
output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
157
157
|
optional: true;
|
|
158
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<
|
|
158
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.TranslationRefTuple<undefined>, "core.titleTranslation", {
|
|
159
|
+
optional: true;
|
|
160
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
|
|
159
161
|
optional: true;
|
|
160
162
|
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
161
163
|
optional: true;
|
|
@@ -184,7 +186,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
184
186
|
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
185
187
|
path: string;
|
|
186
188
|
defaultTitle?: [Error: `Use the 'title' param instead`];
|
|
187
|
-
title: string
|
|
189
|
+
title: string | _backstage_frontend_plugin_api.TranslationRefTuple<undefined>;
|
|
188
190
|
defaultGroup?: [Error: `Use the 'group' param instead`];
|
|
189
191
|
group?: keyof typeof _backstage_plugin_catalog_react_alpha.defaultEntityContentGroups | (string & {});
|
|
190
192
|
icon?: string | react.ReactElement;
|
|
@@ -232,6 +234,8 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
232
234
|
optional: true;
|
|
233
235
|
}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.title", {
|
|
234
236
|
optional: true;
|
|
237
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.TranslationRefTuple<undefined>, "core.titleTranslation", {
|
|
238
|
+
optional: true;
|
|
235
239
|
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.IconElement, "core.icon", {
|
|
236
240
|
optional: true;
|
|
237
241
|
}>;
|
|
@@ -240,6 +244,8 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
240
244
|
optional: true;
|
|
241
245
|
}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.title", {
|
|
242
246
|
optional: true;
|
|
247
|
+
}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.TranslationRefTuple<undefined>, "core.titleTranslation", {
|
|
248
|
+
optional: true;
|
|
243
249
|
}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.IconElement, "core.icon", {
|
|
244
250
|
optional: true;
|
|
245
251
|
}>, {
|
|
@@ -252,7 +258,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
252
258
|
name: undefined;
|
|
253
259
|
params: {
|
|
254
260
|
path: string;
|
|
255
|
-
title?: string
|
|
261
|
+
title?: string | _backstage_frontend_plugin_api.TranslationRefTuple<undefined>;
|
|
256
262
|
icon?: _backstage_frontend_plugin_api.IconElement;
|
|
257
263
|
loader?: () => Promise<react.JSX.Element>;
|
|
258
264
|
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
@@ -278,6 +284,8 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
278
284
|
optional: true;
|
|
279
285
|
}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.title", {
|
|
280
286
|
optional: true;
|
|
287
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.TranslationRefTuple<undefined>, "core.titleTranslation", {
|
|
288
|
+
optional: true;
|
|
281
289
|
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.IconElement, "core.icon", {
|
|
282
290
|
optional: true;
|
|
283
291
|
}>;
|
|
@@ -286,6 +294,8 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
286
294
|
optional: true;
|
|
287
295
|
}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.title", {
|
|
288
296
|
optional: true;
|
|
297
|
+
}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.TranslationRefTuple<undefined>, "core.titleTranslation", {
|
|
298
|
+
optional: true;
|
|
289
299
|
}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.IconElement, "core.icon", {
|
|
290
300
|
optional: true;
|
|
291
301
|
}>, {
|
|
@@ -303,7 +313,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
303
313
|
name: "reader";
|
|
304
314
|
params: {
|
|
305
315
|
path: string;
|
|
306
|
-
title?: string
|
|
316
|
+
title?: string | _backstage_frontend_plugin_api.TranslationRefTuple<undefined>;
|
|
307
317
|
icon?: _backstage_frontend_plugin_api.IconElement;
|
|
308
318
|
loader?: () => Promise<react.JSX.Element>;
|
|
309
319
|
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var name = "@backstage/plugin-techdocs";
|
|
2
|
-
var version = "1.
|
|
2
|
+
var version = "1.20.0";
|
|
3
3
|
var description = "The Backstage plugin that renders technical documentation for your components";
|
|
4
4
|
var backstage = {
|
|
5
5
|
role: "frontend-plugin",
|
|
@@ -107,9 +107,9 @@ var devDependencies = {
|
|
|
107
107
|
"react-router-dom": "^6.30.2"
|
|
108
108
|
};
|
|
109
109
|
var peerDependencies = {
|
|
110
|
-
"@types/react": "^
|
|
111
|
-
react: "^
|
|
112
|
-
"react-dom": "^
|
|
110
|
+
"@types/react": "^18.0.0",
|
|
111
|
+
react: "^18.0.0",
|
|
112
|
+
"react-dom": "^18.0.0",
|
|
113
113
|
"react-router-dom": "^6.30.2"
|
|
114
114
|
};
|
|
115
115
|
var peerDependenciesMeta = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-techdocs",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.20.0",
|
|
4
4
|
"description": "The Backstage plugin that renders technical documentation for your components",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "frontend-plugin",
|
|
@@ -71,24 +71,24 @@
|
|
|
71
71
|
"test": "backstage-cli package test"
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
|
-
"@backstage/catalog-client": "1.16.4
|
|
75
|
-
"@backstage/catalog-model": "1.10.3
|
|
76
|
-
"@backstage/config": "1.3.11
|
|
77
|
-
"@backstage/core-components": "0.18.16
|
|
78
|
-
"@backstage/core-plugin-api": "1.
|
|
79
|
-
"@backstage/errors": "1.4.0
|
|
80
|
-
"@backstage/filter-predicates": "0.2.1
|
|
81
|
-
"@backstage/frontend-plugin-api": "0.
|
|
82
|
-
"@backstage/integration": "2.
|
|
83
|
-
"@backstage/integration-react": "1.
|
|
84
|
-
"@backstage/plugin-auth-react": "0.1.33
|
|
85
|
-
"@backstage/plugin-catalog-react": "4.0.0
|
|
86
|
-
"@backstage/plugin-search-common": "1.2.27
|
|
87
|
-
"@backstage/plugin-search-react": "1.
|
|
88
|
-
"@backstage/plugin-techdocs-common": "0.1.3
|
|
89
|
-
"@backstage/plugin-techdocs-react": "1.
|
|
90
|
-
"@backstage/theme": "0.7.
|
|
91
|
-
"@backstage/ui": "0.20.0
|
|
74
|
+
"@backstage/catalog-client": "^1.16.4",
|
|
75
|
+
"@backstage/catalog-model": "^1.10.3",
|
|
76
|
+
"@backstage/config": "^1.3.11",
|
|
77
|
+
"@backstage/core-components": "^0.18.16",
|
|
78
|
+
"@backstage/core-plugin-api": "^1.13.0",
|
|
79
|
+
"@backstage/errors": "^1.4.0",
|
|
80
|
+
"@backstage/filter-predicates": "^0.2.1",
|
|
81
|
+
"@backstage/frontend-plugin-api": "^1.0.0",
|
|
82
|
+
"@backstage/integration": "^2.2.0",
|
|
83
|
+
"@backstage/integration-react": "^1.3.0",
|
|
84
|
+
"@backstage/plugin-auth-react": "^0.1.33",
|
|
85
|
+
"@backstage/plugin-catalog-react": "^4.0.0",
|
|
86
|
+
"@backstage/plugin-search-common": "^1.2.27",
|
|
87
|
+
"@backstage/plugin-search-react": "^1.12.0",
|
|
88
|
+
"@backstage/plugin-techdocs-common": "^0.1.3",
|
|
89
|
+
"@backstage/plugin-techdocs-react": "^1.5.0",
|
|
90
|
+
"@backstage/theme": "^0.7.4",
|
|
91
|
+
"@backstage/ui": "^0.20.0",
|
|
92
92
|
"@material-ui/core": "^4.12.2",
|
|
93
93
|
"@material-ui/icons": "^4.9.1",
|
|
94
94
|
"@material-ui/lab": "4.0.0-alpha.61",
|
|
@@ -103,12 +103,12 @@
|
|
|
103
103
|
"zod": "^4.0.0"
|
|
104
104
|
},
|
|
105
105
|
"devDependencies": {
|
|
106
|
-
"@backstage/cli": "0.36.8
|
|
107
|
-
"@backstage/core-app-api": "1.20.7
|
|
108
|
-
"@backstage/dev-utils": "1.
|
|
109
|
-
"@backstage/plugin-catalog": "2.0
|
|
110
|
-
"@backstage/plugin-techdocs-module-addons-contrib": "1.
|
|
111
|
-
"@backstage/test-utils": "1.
|
|
106
|
+
"@backstage/cli": "^0.36.8",
|
|
107
|
+
"@backstage/core-app-api": "^1.20.7",
|
|
108
|
+
"@backstage/dev-utils": "^1.2.0",
|
|
109
|
+
"@backstage/plugin-catalog": "^2.1.0",
|
|
110
|
+
"@backstage/plugin-techdocs-module-addons-contrib": "^1.2.0",
|
|
111
|
+
"@backstage/test-utils": "^1.8.0",
|
|
112
112
|
"@testing-library/dom": "^10.0.0",
|
|
113
113
|
"@testing-library/jest-dom": "^6.0.0",
|
|
114
114
|
"@testing-library/react": "^16.0.0",
|
|
@@ -120,9 +120,9 @@
|
|
|
120
120
|
"react-router-dom": "^6.30.2"
|
|
121
121
|
},
|
|
122
122
|
"peerDependencies": {
|
|
123
|
-
"@types/react": "^
|
|
124
|
-
"react": "^
|
|
125
|
-
"react-dom": "^
|
|
123
|
+
"@types/react": "^18.0.0",
|
|
124
|
+
"react": "^18.0.0",
|
|
125
|
+
"react-dom": "^18.0.0",
|
|
126
126
|
"react-router-dom": "^6.30.2"
|
|
127
127
|
},
|
|
128
128
|
"peerDependenciesMeta": {
|