@backstage/plugin-techdocs 1.16.3-next.1 → 1.16.3-next.2

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,25 @@
1
1
  # @backstage/plugin-techdocs
2
2
 
3
+ ## 1.16.3-next.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 7feb83b: Adjusted to use the new `@backstage/filter-predicates` types for predicate expressions.
8
+ - 491a06c: Add the ability to show icons for the tabs on the entity page (new frontend)
9
+ - a7e0d50: Prepare for React Router v7 migration by updating to v6.30.2 across all NFS packages and enabling v7 future flags. Convert routes from splat paths to parent/child structure with Outlet components.
10
+ - Updated dependencies
11
+ - @backstage/integration@1.20.0-next.2
12
+ - @backstage/plugin-catalog-react@2.0.0-next.2
13
+ - @backstage/catalog-client@1.12.2-next.0
14
+ - @backstage/frontend-plugin-api@0.14.0-next.2
15
+ - @backstage/integration-react@1.2.15-next.2
16
+ - @backstage/core-components@0.18.7-next.2
17
+ - @backstage/core-plugin-api@1.12.3-next.1
18
+ - @backstage/plugin-techdocs-react@1.3.8-next.1
19
+ - @backstage/plugin-search-react@1.10.3-next.2
20
+ - @backstage/plugin-auth-react@0.1.24-next.1
21
+ - @backstage/theme@0.7.2-next.1
22
+
3
23
  ## 1.16.3-next.1
4
24
 
5
25
  ### Patch Changes
package/dist/alpha.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import * as _backstage_core_components from '@backstage/core-components';
2
- import * as _backstage_catalog_model from '@backstage/catalog-model';
3
2
  import * as _backstage_plugin_catalog_react_alpha from '@backstage/plugin-catalog-react/alpha';
3
+ import * as _backstage_catalog_model from '@backstage/catalog-model';
4
+ import * as _backstage_filter_predicates from '@backstage/filter-predicates';
4
5
  import * as _backstage_plugin_techdocs_react from '@backstage/plugin-techdocs-react';
5
6
  import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
6
7
  import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
@@ -97,14 +98,16 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
97
98
  config: {
98
99
  path: string | undefined;
99
100
  title: string | undefined;
100
- filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
101
+ filter: _backstage_filter_predicates.FilterPredicate | undefined;
101
102
  group: string | false | undefined;
103
+ icon: string | undefined;
102
104
  };
103
105
  configInput: {
104
- filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
106
+ filter?: _backstage_filter_predicates.FilterPredicate | undefined;
105
107
  title?: string | undefined;
106
108
  path?: string | undefined;
107
109
  group?: string | false | undefined;
110
+ icon?: string | undefined;
108
111
  };
109
112
  output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
110
113
  optional: true;
@@ -114,6 +117,8 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
114
117
  optional: true;
115
118
  }> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
116
119
  optional: true;
120
+ }> | _backstage_frontend_plugin_api.ExtensionDataRef<string | react.ReactElement<any, string | react.JSXElementConstructor<any>>, "catalog.entity-content-icon", {
121
+ optional: true;
117
122
  }>;
118
123
  inputs: {
119
124
  addons: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_plugin_techdocs_react.TechDocsAddonOptions, "techdocs.addon", {}>, {
@@ -138,9 +143,10 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
138
143
  title: string;
139
144
  defaultGroup?: [Error: `Use the 'group' param instead`];
140
145
  group?: keyof typeof _backstage_plugin_catalog_react_alpha.defaultEntityContentGroups | (string & {});
146
+ icon?: string | react.ReactElement;
141
147
  loader: () => Promise<JSX.Element>;
142
148
  routeRef?: _backstage_frontend_plugin_api.RouteRef;
143
- filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean);
149
+ filter?: string | _backstage_filter_predicates.FilterPredicate | ((entity: _backstage_catalog_model.Entity) => boolean);
144
150
  };
145
151
  }>;
146
152
  "entity-icon-link:techdocs/read-docs": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
@@ -149,10 +155,10 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
149
155
  config: {
150
156
  label: string | undefined;
151
157
  title: string | undefined;
152
- filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
158
+ filter: _backstage_filter_predicates.FilterPredicate | undefined;
153
159
  };
154
160
  configInput: {
155
- filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
161
+ filter?: _backstage_filter_predicates.FilterPredicate | undefined;
156
162
  label?: string | undefined;
157
163
  title?: string | undefined;
158
164
  };
@@ -164,7 +170,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
164
170
  inputs: {};
165
171
  params: {
166
172
  useProps: () => Omit<_backstage_core_components.IconLinkVerticalProps, "color">;
167
- filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean);
173
+ filter?: _backstage_filter_predicates.FilterPredicate | ((entity: _backstage_catalog_model.Entity) => boolean);
168
174
  };
169
175
  }>;
170
176
  "nav-item:techdocs": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
@@ -1,5 +1,5 @@
1
1
  var name = "@backstage/plugin-techdocs";
2
- var version = "1.16.3-next.1";
2
+ var version = "1.16.3-next.2";
3
3
  var description = "The Backstage plugin that renders technical documentation for your components";
4
4
  var backstage = {
5
5
  role: "frontend-plugin",
@@ -100,13 +100,13 @@ var devDependencies = {
100
100
  "@types/react": "^18.0.0",
101
101
  react: "^18.0.2",
102
102
  "react-dom": "^18.0.2",
103
- "react-router-dom": "^6.3.0"
103
+ "react-router-dom": "^6.30.2"
104
104
  };
105
105
  var peerDependencies = {
106
106
  "@types/react": "^17.0.0 || ^18.0.0",
107
107
  react: "^17.0.0 || ^18.0.0",
108
108
  "react-dom": "^17.0.0 || ^18.0.0",
109
- "react-router-dom": "^6.3.0"
109
+ "react-router-dom": "^6.30.2"
110
110
  };
111
111
  var peerDependenciesMeta = {
112
112
  "@types/react": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-techdocs",
3
- "version": "1.16.3-next.1",
3
+ "version": "1.16.3-next.2",
4
4
  "description": "The Backstage plugin that renders technical documentation for your components",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin",
@@ -71,22 +71,22 @@
71
71
  "test": "backstage-cli package test"
72
72
  },
73
73
  "dependencies": {
74
- "@backstage/catalog-client": "1.12.1",
74
+ "@backstage/catalog-client": "1.12.2-next.0",
75
75
  "@backstage/catalog-model": "1.7.6",
76
76
  "@backstage/config": "1.3.6",
77
- "@backstage/core-components": "0.18.7-next.1",
78
- "@backstage/core-plugin-api": "1.12.3-next.0",
77
+ "@backstage/core-components": "0.18.7-next.2",
78
+ "@backstage/core-plugin-api": "1.12.3-next.1",
79
79
  "@backstage/errors": "1.2.7",
80
- "@backstage/frontend-plugin-api": "0.14.0-next.1",
81
- "@backstage/integration": "1.20.0-next.1",
82
- "@backstage/integration-react": "1.2.15-next.1",
83
- "@backstage/plugin-auth-react": "0.1.24-next.0",
84
- "@backstage/plugin-catalog-react": "1.22.0-next.1",
80
+ "@backstage/frontend-plugin-api": "0.14.0-next.2",
81
+ "@backstage/integration": "1.20.0-next.2",
82
+ "@backstage/integration-react": "1.2.15-next.2",
83
+ "@backstage/plugin-auth-react": "0.1.24-next.1",
84
+ "@backstage/plugin-catalog-react": "2.0.0-next.2",
85
85
  "@backstage/plugin-search-common": "1.2.22-next.0",
86
- "@backstage/plugin-search-react": "1.10.3-next.1",
86
+ "@backstage/plugin-search-react": "1.10.3-next.2",
87
87
  "@backstage/plugin-techdocs-common": "0.1.1",
88
- "@backstage/plugin-techdocs-react": "1.3.8-next.0",
89
- "@backstage/theme": "0.7.2-next.0",
88
+ "@backstage/plugin-techdocs-react": "1.3.8-next.1",
89
+ "@backstage/theme": "0.7.2-next.1",
90
90
  "@material-ui/core": "^4.12.2",
91
91
  "@material-ui/icons": "^4.9.1",
92
92
  "@material-ui/lab": "4.0.0-alpha.61",
@@ -99,12 +99,12 @@
99
99
  "react-use": "^17.2.4"
100
100
  },
101
101
  "devDependencies": {
102
- "@backstage/cli": "0.35.4-next.1",
103
- "@backstage/core-app-api": "1.19.5-next.0",
104
- "@backstage/dev-utils": "1.1.20-next.1",
105
- "@backstage/plugin-catalog": "1.33.0-next.1",
106
- "@backstage/plugin-techdocs-module-addons-contrib": "1.1.33-next.1",
107
- "@backstage/test-utils": "1.7.15-next.1",
102
+ "@backstage/cli": "0.35.4-next.2",
103
+ "@backstage/core-app-api": "1.19.5-next.1",
104
+ "@backstage/dev-utils": "1.1.20-next.2",
105
+ "@backstage/plugin-catalog": "1.33.0-next.2",
106
+ "@backstage/plugin-techdocs-module-addons-contrib": "1.1.33-next.2",
107
+ "@backstage/test-utils": "1.7.15-next.2",
108
108
  "@testing-library/dom": "^10.0.0",
109
109
  "@testing-library/jest-dom": "^6.0.0",
110
110
  "@testing-library/react": "^16.0.0",
@@ -113,13 +113,13 @@
113
113
  "@types/react": "^18.0.0",
114
114
  "react": "^18.0.2",
115
115
  "react-dom": "^18.0.2",
116
- "react-router-dom": "^6.3.0"
116
+ "react-router-dom": "^6.30.2"
117
117
  },
118
118
  "peerDependencies": {
119
119
  "@types/react": "^17.0.0 || ^18.0.0",
120
120
  "react": "^17.0.0 || ^18.0.0",
121
121
  "react-dom": "^17.0.0 || ^18.0.0",
122
- "react-router-dom": "^6.3.0"
122
+ "react-router-dom": "^6.30.2"
123
123
  },
124
124
  "peerDependenciesMeta": {
125
125
  "@types/react": {