@backstage/plugin-techdocs 0.0.0-nightly-20250305023316 → 0.0.0-nightly-20250307023524

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,6 +1,6 @@
1
1
  # @backstage/plugin-techdocs
2
2
 
3
- ## 0.0.0-nightly-20250305023316
3
+ ## 0.0.0-nightly-20250307023524
4
4
 
5
5
  ### Patch Changes
6
6
 
@@ -10,12 +10,12 @@
10
10
  - ed1cb3e: Adds the page name of techdoc to the document's title.
11
11
  - fe4abb8: Updates logic to check for SVG sources when inlining svgs.
12
12
  - Updated dependencies
13
- - @backstage/core-components@0.0.0-nightly-20250305023316
14
- - @backstage/plugin-search-react@0.0.0-nightly-20250305023316
15
- - @backstage/plugin-catalog-react@0.0.0-nightly-20250305023316
16
- - @backstage/core-compat-api@0.0.0-nightly-20250305023316
17
- - @backstage/plugin-techdocs-react@0.0.0-nightly-20250305023316
18
- - @backstage/frontend-plugin-api@0.0.0-nightly-20250305023316
13
+ - @backstage/core-components@0.0.0-nightly-20250307023524
14
+ - @backstage/plugin-search-react@0.0.0-nightly-20250307023524
15
+ - @backstage/frontend-plugin-api@0.0.0-nightly-20250307023524
16
+ - @backstage/plugin-catalog-react@0.0.0-nightly-20250307023524
17
+ - @backstage/core-compat-api@0.0.0-nightly-20250307023524
18
+ - @backstage/plugin-techdocs-react@0.0.0-nightly-20250307023524
19
19
  - @backstage/catalog-client@1.9.1
20
20
  - @backstage/catalog-model@1.7.3
21
21
  - @backstage/config@1.3.2
@@ -24,7 +24,7 @@
24
24
  - @backstage/integration@1.16.1
25
25
  - @backstage/integration-react@1.2.4
26
26
  - @backstage/theme@0.6.4
27
- - @backstage/plugin-auth-react@0.0.0-nightly-20250305023316
27
+ - @backstage/plugin-auth-react@0.0.0-nightly-20250307023524
28
28
  - @backstage/plugin-search-common@1.2.17
29
29
  - @backstage/plugin-techdocs-common@0.1.0
30
30
 
package/dist/alpha.d.ts CHANGED
@@ -1,6 +1,7 @@
1
- import * as _backstage_catalog_model from '@backstage/catalog-model';
2
- import * as _backstage_plugin_techdocs_react from '@backstage/plugin-techdocs-react';
3
1
  import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
2
+ import * as _backstage_plugin_techdocs_react from '@backstage/plugin-techdocs-react';
3
+ import * as _backstage_catalog_model from '@backstage/catalog-model';
4
+ import * as _backstage_plugin_catalog_react_alpha from '@backstage/plugin-catalog-react/alpha';
4
5
  import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
5
6
  import * as _backstage_plugin_search_react_alpha from '@backstage/plugin-search-react/alpha';
6
7
  import React__default from 'react';
@@ -47,23 +48,6 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
47
48
  }>;
48
49
  entityContent: _backstage_frontend_plugin_api.RouteRef<undefined>;
49
50
  }, {}, {
50
- "nav-item:techdocs": _backstage_frontend_plugin_api.ExtensionDefinition<{
51
- kind: "nav-item";
52
- name: undefined;
53
- config: {};
54
- configInput: {};
55
- output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<{
56
- title: string;
57
- icon: _backstage_core_plugin_api.IconComponent;
58
- routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
59
- }, "core.nav-item.target", {}>;
60
- inputs: {};
61
- params: {
62
- title: string;
63
- icon: _backstage_core_plugin_api.IconComponent;
64
- routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
65
- };
66
- }>;
67
51
  "api:techdocs": _backstage_frontend_plugin_api.ExtensionDefinition<{
68
52
  kind: "api";
69
53
  name: undefined;
@@ -86,89 +70,31 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
86
70
  factory: _backstage_frontend_plugin_api.AnyApiFactory;
87
71
  };
88
72
  }>;
89
- "page:techdocs": _backstage_frontend_plugin_api.ExtensionDefinition<{
90
- kind: "page";
91
- name: undefined;
92
- config: {
93
- path: string | undefined;
94
- };
95
- configInput: {
96
- path?: string | undefined;
97
- };
98
- output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<React__default.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
73
+ "empty-state:techdocs/entity-content": _backstage_frontend_plugin_api.ExtensionDefinition<{
74
+ config: {};
75
+ configInput: {};
76
+ output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<React__default.JSX.Element, "core.reactElement", {
99
77
  optional: true;
100
78
  }>;
101
- inputs: {};
102
- params: {
103
- defaultPath: string;
104
- loader: () => Promise<JSX.Element>;
105
- routeRef?: _backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams> | undefined;
106
- };
107
- }>;
108
- "search-result-list-item:techdocs": _backstage_frontend_plugin_api.ExtensionDefinition<{
109
- config: {
110
- title: string | undefined;
111
- lineClamp: number;
112
- asLink: boolean;
113
- asListItem: boolean;
114
- } & {
115
- noTrack: boolean;
116
- };
117
- configInput: {
118
- title?: string | undefined;
119
- lineClamp?: number | undefined;
120
- asListItem?: boolean | undefined;
121
- asLink?: boolean | undefined;
122
- } & {
123
- noTrack?: boolean | undefined;
124
- };
125
- output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<{
126
- predicate?: _backstage_plugin_search_react_alpha.SearchResultItemExtensionPredicate | undefined;
127
- component: _backstage_plugin_search_react_alpha.SearchResultItemExtensionComponent;
128
- }, "search.search-result-list-item.item", {}>;
129
79
  inputs: {
130
80
  [x: string]: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.AnyExtensionDataRef, {
131
81
  optional: boolean;
132
82
  singleton: boolean;
133
83
  }>;
134
84
  };
135
- kind: "search-result-list-item";
136
- name: undefined;
137
- params: _backstage_plugin_search_react_alpha.SearchResultListItemBlueprintParams;
138
- }>;
139
- "page:techdocs/reader": _backstage_frontend_plugin_api.ExtensionDefinition<{
140
- config: {
141
- path: string | undefined;
142
- };
143
- configInput: {
144
- path?: string | undefined;
145
- };
146
- output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<React__default.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
147
- optional: true;
148
- }>;
149
- inputs: {
150
- addons: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_plugin_techdocs_react.TechDocsAddonOptions, "techdocs.addon", {}>, {
151
- singleton: false;
152
- optional: false;
153
- }>;
154
- };
155
- kind: "page";
156
- name: "reader";
157
- params: {
158
- defaultPath: string;
159
- loader: () => Promise<JSX.Element>;
160
- routeRef?: _backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams> | undefined;
161
- };
85
+ params: never;
86
+ kind: "empty-state";
87
+ name: "entity-content";
162
88
  }>;
163
89
  "entity-content:techdocs": _backstage_frontend_plugin_api.ExtensionDefinition<{
164
90
  config: {
165
91
  path: string | undefined;
166
92
  title: string | undefined;
167
- filter: string | undefined;
93
+ filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
168
94
  group: string | false | undefined;
169
95
  };
170
96
  configInput: {
171
- filter?: string | undefined;
97
+ filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
172
98
  title?: string | undefined;
173
99
  path?: string | undefined;
174
100
  group?: string | false | undefined;
@@ -202,24 +128,99 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
202
128
  defaultTitle: string;
203
129
  defaultGroup?: (string & {}) | "documentation" | "development" | "deployment" | "observability" | undefined;
204
130
  routeRef?: _backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams> | undefined;
205
- filter?: string | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
131
+ filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
206
132
  };
207
133
  }>;
208
- "empty-state:techdocs/entity-content": _backstage_frontend_plugin_api.ExtensionDefinition<{
134
+ "nav-item:techdocs": _backstage_frontend_plugin_api.ExtensionDefinition<{
135
+ kind: "nav-item";
136
+ name: undefined;
209
137
  config: {};
210
138
  configInput: {};
211
- output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<React__default.JSX.Element, "core.reactElement", {
139
+ output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<{
140
+ title: string;
141
+ icon: _backstage_core_plugin_api.IconComponent;
142
+ routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
143
+ }, "core.nav-item.target", {}>;
144
+ inputs: {};
145
+ params: {
146
+ title: string;
147
+ icon: _backstage_core_plugin_api.IconComponent;
148
+ routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
149
+ };
150
+ }>;
151
+ "page:techdocs": _backstage_frontend_plugin_api.ExtensionDefinition<{
152
+ kind: "page";
153
+ name: undefined;
154
+ config: {
155
+ path: string | undefined;
156
+ };
157
+ configInput: {
158
+ path?: string | undefined;
159
+ };
160
+ output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<React__default.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
212
161
  optional: true;
213
162
  }>;
163
+ inputs: {};
164
+ params: {
165
+ defaultPath: string;
166
+ loader: () => Promise<JSX.Element>;
167
+ routeRef?: _backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams> | undefined;
168
+ };
169
+ }>;
170
+ "page:techdocs/reader": _backstage_frontend_plugin_api.ExtensionDefinition<{
171
+ config: {
172
+ path: string | undefined;
173
+ };
174
+ configInput: {
175
+ path?: string | undefined;
176
+ };
177
+ output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<React__default.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
178
+ optional: true;
179
+ }>;
180
+ inputs: {
181
+ addons: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_plugin_techdocs_react.TechDocsAddonOptions, "techdocs.addon", {}>, {
182
+ singleton: false;
183
+ optional: false;
184
+ }>;
185
+ };
186
+ kind: "page";
187
+ name: "reader";
188
+ params: {
189
+ defaultPath: string;
190
+ loader: () => Promise<JSX.Element>;
191
+ routeRef?: _backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams> | undefined;
192
+ };
193
+ }>;
194
+ "search-result-list-item:techdocs": _backstage_frontend_plugin_api.ExtensionDefinition<{
195
+ config: {
196
+ title: string | undefined;
197
+ lineClamp: number;
198
+ asLink: boolean;
199
+ asListItem: boolean;
200
+ } & {
201
+ noTrack: boolean;
202
+ };
203
+ configInput: {
204
+ title?: string | undefined;
205
+ lineClamp?: number | undefined;
206
+ asListItem?: boolean | undefined;
207
+ asLink?: boolean | undefined;
208
+ } & {
209
+ noTrack?: boolean | undefined;
210
+ };
211
+ output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<{
212
+ predicate?: _backstage_plugin_search_react_alpha.SearchResultItemExtensionPredicate | undefined;
213
+ component: _backstage_plugin_search_react_alpha.SearchResultItemExtensionComponent;
214
+ }, "search.search-result-list-item.item", {}>;
214
215
  inputs: {
215
216
  [x: string]: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.AnyExtensionDataRef, {
216
217
  optional: boolean;
217
218
  singleton: boolean;
218
219
  }>;
219
220
  };
220
- params: never;
221
- kind: "empty-state";
222
- name: "entity-content";
221
+ kind: "search-result-list-item";
222
+ name: undefined;
223
+ params: _backstage_plugin_search_react_alpha.SearchResultListItemBlueprintParams;
223
224
  }>;
224
225
  }>;
225
226
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-techdocs",
3
- "version": "0.0.0-nightly-20250305023316",
3
+ "version": "0.0.0-nightly-20250307023524",
4
4
  "description": "The Backstage plugin that renders technical documentation for your components",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin",
@@ -74,19 +74,19 @@
74
74
  "@backstage/catalog-client": "1.9.1",
75
75
  "@backstage/catalog-model": "1.7.3",
76
76
  "@backstage/config": "1.3.2",
77
- "@backstage/core-compat-api": "0.0.0-nightly-20250305023316",
78
- "@backstage/core-components": "0.0.0-nightly-20250305023316",
77
+ "@backstage/core-compat-api": "0.0.0-nightly-20250307023524",
78
+ "@backstage/core-components": "0.0.0-nightly-20250307023524",
79
79
  "@backstage/core-plugin-api": "1.10.4",
80
80
  "@backstage/errors": "1.2.7",
81
- "@backstage/frontend-plugin-api": "0.0.0-nightly-20250305023316",
81
+ "@backstage/frontend-plugin-api": "0.0.0-nightly-20250307023524",
82
82
  "@backstage/integration": "1.16.1",
83
83
  "@backstage/integration-react": "1.2.4",
84
- "@backstage/plugin-auth-react": "0.0.0-nightly-20250305023316",
85
- "@backstage/plugin-catalog-react": "0.0.0-nightly-20250305023316",
84
+ "@backstage/plugin-auth-react": "0.0.0-nightly-20250307023524",
85
+ "@backstage/plugin-catalog-react": "0.0.0-nightly-20250307023524",
86
86
  "@backstage/plugin-search-common": "1.2.17",
87
- "@backstage/plugin-search-react": "0.0.0-nightly-20250305023316",
87
+ "@backstage/plugin-search-react": "0.0.0-nightly-20250307023524",
88
88
  "@backstage/plugin-techdocs-common": "0.1.0",
89
- "@backstage/plugin-techdocs-react": "0.0.0-nightly-20250305023316",
89
+ "@backstage/plugin-techdocs-react": "0.0.0-nightly-20250307023524",
90
90
  "@backstage/theme": "0.6.4",
91
91
  "@material-ui/core": "^4.12.2",
92
92
  "@material-ui/icons": "^4.9.1",
@@ -101,11 +101,11 @@
101
101
  "react-use": "^17.2.4"
102
102
  },
103
103
  "devDependencies": {
104
- "@backstage/cli": "0.0.0-nightly-20250305023316",
104
+ "@backstage/cli": "0.0.0-nightly-20250307023524",
105
105
  "@backstage/core-app-api": "1.15.5",
106
- "@backstage/dev-utils": "0.0.0-nightly-20250305023316",
107
- "@backstage/plugin-catalog": "0.0.0-nightly-20250305023316",
108
- "@backstage/plugin-techdocs-module-addons-contrib": "0.0.0-nightly-20250305023316",
106
+ "@backstage/dev-utils": "0.0.0-nightly-20250307023524",
107
+ "@backstage/plugin-catalog": "0.0.0-nightly-20250307023524",
108
+ "@backstage/plugin-techdocs-module-addons-contrib": "0.0.0-nightly-20250307023524",
109
109
  "@backstage/test-utils": "1.7.5",
110
110
  "@testing-library/dom": "^10.0.0",
111
111
  "@testing-library/jest-dom": "^6.0.0",