@backstage/plugin-catalog-react 4.0.0-next.2 → 4.0.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,30 @@
|
|
|
1
1
|
# @backstage/plugin-catalog-react
|
|
2
2
|
|
|
3
|
+
## 4.0.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- d4f458e: Added support for translated entity content titles through `EntityContentBlueprint`.
|
|
8
|
+
- 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).
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
- @backstage/frontend-plugin-api@1.0.0
|
|
14
|
+
- @backstage/core-plugin-api@1.13.0
|
|
15
|
+
- @backstage/catalog-client@1.16.4
|
|
16
|
+
- @backstage/core-components@0.18.16
|
|
17
|
+
- @backstage/errors@1.4.0
|
|
18
|
+
- @backstage/frontend-test-utils@1.0.0
|
|
19
|
+
- @backstage/core-compat-api@0.6.0
|
|
20
|
+
- @backstage/ui@0.20.0
|
|
21
|
+
- @backstage/integration-react@1.3.0
|
|
22
|
+
- @backstage/plugin-permission-react@0.5.7
|
|
23
|
+
- @backstage/version-bridge@1.1.0
|
|
24
|
+
- @backstage/catalog-model@1.10.3
|
|
25
|
+
- @backstage/filter-predicates@0.2.1
|
|
26
|
+
- @backstage/plugin-permission-common@0.9.13
|
|
27
|
+
|
|
3
28
|
## 4.0.0-next.2
|
|
4
29
|
|
|
5
30
|
### Patch Changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createExtensionBlueprint, coreExtensionData, ExtensionBoundary } from '@backstage/frontend-plugin-api';
|
|
1
|
+
import { createExtensionBlueprint, coreExtensionData, translationApiRef, ExtensionBoundary } from '@backstage/frontend-plugin-api';
|
|
2
2
|
import { entityContentIconDataRef, entityContentGroupDataRef, entityFilterExpressionDataRef, entityFilterFunctionDataRef, entityContentTitleDataRef } from './extensionData.esm.js';
|
|
3
3
|
import { createZodV4FilterPredicateSchema } from '@backstage/filter-predicates';
|
|
4
4
|
import { resolveEntityFilterData } from './resolveEntityFilterData.esm.js';
|
|
@@ -11,6 +11,7 @@ const EntityContentBlueprint = createExtensionBlueprint({
|
|
|
11
11
|
coreExtensionData.reactElement,
|
|
12
12
|
coreExtensionData.routePath,
|
|
13
13
|
entityContentTitleDataRef,
|
|
14
|
+
coreExtensionData.titleTranslation.optional(),
|
|
14
15
|
coreExtensionData.routeRef.optional(),
|
|
15
16
|
entityFilterFunctionDataRef.optional(),
|
|
16
17
|
entityFilterExpressionDataRef.optional(),
|
|
@@ -19,6 +20,7 @@ const EntityContentBlueprint = createExtensionBlueprint({
|
|
|
19
20
|
],
|
|
20
21
|
dataRefs: {
|
|
21
22
|
title: entityContentTitleDataRef,
|
|
23
|
+
titleTranslation: coreExtensionData.titleTranslation,
|
|
22
24
|
filterFunction: entityFilterFunctionDataRef,
|
|
23
25
|
filterExpression: entityFilterExpressionDataRef,
|
|
24
26
|
group: entityContentGroupDataRef,
|
|
@@ -31,9 +33,16 @@ const EntityContentBlueprint = createExtensionBlueprint({
|
|
|
31
33
|
group: z.literal(false).or(z.string()).optional(),
|
|
32
34
|
icon: z.string().optional()
|
|
33
35
|
},
|
|
34
|
-
*factory(params, { node, config }) {
|
|
36
|
+
*factory(params, { node, config, apis }) {
|
|
35
37
|
const path = config.path ?? params.path ?? params.defaultPath;
|
|
36
|
-
const
|
|
38
|
+
const translation = typeof params.title === "object" ? params.title : void 0;
|
|
39
|
+
const translationApi = translation && config.title === void 0 ? apis.get(translationApiRef) : void 0;
|
|
40
|
+
if (translation && config.title === void 0 && !translationApi) {
|
|
41
|
+
throw new Error(
|
|
42
|
+
`Translation API (core.translation) is required to resolve title '${translation.ref.id}:${translation.key}'`
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
const title = config.title ?? (typeof params.title === "object" ? translationApi.getTranslation(params.title.ref).t(params.title.key) : params.title ?? params.defaultTitle);
|
|
37
46
|
const icon = config.icon ?? params.icon;
|
|
38
47
|
const group = config.group ?? params.group ?? params.defaultGroup;
|
|
39
48
|
yield coreExtensionData.reactElement(
|
|
@@ -41,6 +50,9 @@ const EntityContentBlueprint = createExtensionBlueprint({
|
|
|
41
50
|
);
|
|
42
51
|
yield coreExtensionData.routePath(path);
|
|
43
52
|
yield entityContentTitleDataRef(title);
|
|
53
|
+
if (translation) {
|
|
54
|
+
yield coreExtensionData.titleTranslation(translation);
|
|
55
|
+
}
|
|
44
56
|
if (params.routeRef) {
|
|
45
57
|
yield coreExtensionData.routeRef(params.routeRef);
|
|
46
58
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EntityContentBlueprint.esm.js","sources":["../../../src/alpha/blueprints/EntityContentBlueprint.ts"],"sourcesContent":["/*\n * Copyright 2024 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 {\n coreExtensionData,\n createExtensionBlueprint,\n ExtensionBoundary,\n RouteRef,\n} from '@backstage/frontend-plugin-api';\nimport {\n entityContentTitleDataRef,\n entityFilterFunctionDataRef,\n entityFilterExpressionDataRef,\n entityContentGroupDataRef,\n defaultEntityContentGroups,\n entityContentIconDataRef,\n} from './extensionData';\nimport {\n FilterPredicate,\n createZodV4FilterPredicateSchema,\n} from '@backstage/filter-predicates';\nimport { resolveEntityFilterData } from './resolveEntityFilterData';\nimport { Entity } from '@backstage/catalog-model';\nimport { ReactElement } from 'react';\nimport { z } from 'zod/v4';\n\n/**\n * @alpha\n * Creates an EntityContent extension.\n */\nexport const EntityContentBlueprint = createExtensionBlueprint({\n kind: 'entity-content',\n attachTo: { id: 'page:catalog/entity', input: 'contents' },\n output: [\n coreExtensionData.reactElement,\n coreExtensionData.routePath,\n entityContentTitleDataRef,\n coreExtensionData.routeRef.optional(),\n entityFilterFunctionDataRef.optional(),\n entityFilterExpressionDataRef.optional(),\n entityContentGroupDataRef.optional(),\n entityContentIconDataRef.optional(),\n ],\n dataRefs: {\n title: entityContentTitleDataRef,\n filterFunction: entityFilterFunctionDataRef,\n filterExpression: entityFilterExpressionDataRef,\n group: entityContentGroupDataRef,\n icon: entityContentIconDataRef,\n },\n configSchema: {\n path: z.string().optional(),\n title: z.string().optional(),\n filter: z\n .union([z.string(), createZodV4FilterPredicateSchema()])\n .optional(),\n group: z.literal(false).or(z.string()).optional(),\n icon: z.string().optional(),\n },\n *factory(\n params: {\n /**\n * @deprecated Use the `path` param instead.\n */\n defaultPath?: [Error: `Use the 'path' param instead`];\n path: string;\n /**\n * @deprecated Use the `path` param instead.\n */\n defaultTitle?: [Error: `Use the 'title' param instead`];\n title: string
|
|
1
|
+
{"version":3,"file":"EntityContentBlueprint.esm.js","sources":["../../../src/alpha/blueprints/EntityContentBlueprint.ts"],"sourcesContent":["/*\n * Copyright 2024 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 {\n coreExtensionData,\n createExtensionBlueprint,\n ExtensionBoundary,\n RouteRef,\n TranslationRefTuple,\n translationApiRef,\n} from '@backstage/frontend-plugin-api';\nimport {\n entityContentTitleDataRef,\n entityFilterFunctionDataRef,\n entityFilterExpressionDataRef,\n entityContentGroupDataRef,\n defaultEntityContentGroups,\n entityContentIconDataRef,\n} from './extensionData';\nimport {\n FilterPredicate,\n createZodV4FilterPredicateSchema,\n} from '@backstage/filter-predicates';\nimport { resolveEntityFilterData } from './resolveEntityFilterData';\nimport { Entity } from '@backstage/catalog-model';\nimport { ReactElement } from 'react';\nimport { z } from 'zod/v4';\n\n/**\n * @alpha\n * Creates an EntityContent extension.\n */\nexport const EntityContentBlueprint = createExtensionBlueprint({\n kind: 'entity-content',\n attachTo: { id: 'page:catalog/entity', input: 'contents' },\n output: [\n coreExtensionData.reactElement,\n coreExtensionData.routePath,\n entityContentTitleDataRef,\n coreExtensionData.titleTranslation.optional(),\n coreExtensionData.routeRef.optional(),\n entityFilterFunctionDataRef.optional(),\n entityFilterExpressionDataRef.optional(),\n entityContentGroupDataRef.optional(),\n entityContentIconDataRef.optional(),\n ],\n dataRefs: {\n title: entityContentTitleDataRef,\n titleTranslation: coreExtensionData.titleTranslation,\n filterFunction: entityFilterFunctionDataRef,\n filterExpression: entityFilterExpressionDataRef,\n group: entityContentGroupDataRef,\n icon: entityContentIconDataRef,\n },\n configSchema: {\n path: z.string().optional(),\n title: z.string().optional(),\n filter: z\n .union([z.string(), createZodV4FilterPredicateSchema()])\n .optional(),\n group: z.literal(false).or(z.string()).optional(),\n icon: z.string().optional(),\n },\n *factory(\n params: {\n /**\n * @deprecated Use the `path` param instead.\n */\n defaultPath?: [Error: `Use the 'path' param instead`];\n path: string;\n /**\n * @deprecated Use the `path` param instead.\n */\n defaultTitle?: [Error: `Use the 'title' param instead`];\n /** A plain title or a message reference resolved using the translation API. */\n title: string | TranslationRefTuple<undefined>;\n /**\n * @deprecated Use the `path` param instead.\n */\n defaultGroup?: [Error: `Use the 'group' param instead`];\n group?: keyof typeof defaultEntityContentGroups | (string & {});\n icon?: string | ReactElement;\n loader: () => Promise<JSX.Element>;\n routeRef?: RouteRef;\n filter?: string | FilterPredicate | ((entity: Entity) => boolean);\n },\n { node, config, apis },\n ) {\n // TODO(blam): Remove support for all the `default*` props in the future, this breaks backwards compatibility without it\n // As this is marked as BREAKING ALPHA, it doesn't affect the public API so it falls in range and gets picked\n // up by packages that depend on `catalog-react`.\n const path = config.path ?? params.path ?? params.defaultPath;\n const translation =\n typeof params.title === 'object' ? params.title : undefined;\n const translationApi =\n translation && config.title === undefined\n ? apis.get(translationApiRef)\n : undefined;\n if (translation && config.title === undefined && !translationApi) {\n throw new Error(\n `Translation API (core.translation) is required to resolve title '${translation.ref.id}:${translation.key}'`,\n );\n }\n const title =\n config.title ??\n (typeof params.title === 'object'\n ? translationApi!\n .getTranslation<Record<string, string>>(params.title.ref)\n .t(params.title.key)\n : params.title ?? params.defaultTitle);\n const icon = config.icon ?? params.icon;\n const group = config.group ?? params.group ?? params.defaultGroup;\n\n yield coreExtensionData.reactElement(\n ExtensionBoundary.lazy(node, params.loader),\n );\n\n yield coreExtensionData.routePath(path);\n\n yield entityContentTitleDataRef(title);\n if (translation) {\n yield coreExtensionData.titleTranslation(translation);\n }\n\n if (params.routeRef) {\n yield coreExtensionData.routeRef(params.routeRef);\n }\n\n yield* resolveEntityFilterData(params.filter, config, node);\n\n if (group && typeof group === 'string') {\n yield entityContentGroupDataRef(group);\n }\n if (icon) {\n yield entityContentIconDataRef(icon);\n }\n },\n});\n"],"names":[],"mappings":";;;;;;AA6CO,MAAM,yBAAyB,wBAAA,CAAyB;AAAA,EAC7D,IAAA,EAAM,gBAAA;AAAA,EACN,QAAA,EAAU,EAAE,EAAA,EAAI,qBAAA,EAAuB,OAAO,UAAA,EAAW;AAAA,EACzD,MAAA,EAAQ;AAAA,IACN,iBAAA,CAAkB,YAAA;AAAA,IAClB,iBAAA,CAAkB,SAAA;AAAA,IAClB,yBAAA;AAAA,IACA,iBAAA,CAAkB,iBAAiB,QAAA,EA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AAU;AACtC,MAAA,MAAM,0BAA0B,KAAK,CAAA;AAAA,IACvC;AACA,IAAA,IAAI,IAAA,EAAM;AACR,MAAA,MAAM,yBAAyB,IAAI,CAAA;AAAA,IACrC;AAAA,EACF;AACF,CAAC;;"}
|
package/dist/alpha.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
|
|
2
|
-
import { IconElement, RouteRef, ExtensionDefinition } from '@backstage/frontend-plugin-api';
|
|
2
|
+
import { IconElement, TranslationRefTuple, RouteRef, ExtensionDefinition } from '@backstage/frontend-plugin-api';
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import { ReactElement, ReactNode, JSX as JSX$1, ComponentType } from 'react';
|
|
5
5
|
import { FilterPredicate } from '@backstage/filter-predicates';
|
|
@@ -134,7 +134,8 @@ declare const EntityContentBlueprint: _backstage_frontend_plugin_api.ExtensionBl
|
|
|
134
134
|
* @deprecated Use the `path` param instead.
|
|
135
135
|
*/
|
|
136
136
|
defaultTitle?: [Error: `Use the 'title' param instead`];
|
|
137
|
-
title
|
|
137
|
+
/** A plain title or a message reference resolved using the translation API. */
|
|
138
|
+
title: string | TranslationRefTuple<undefined>;
|
|
138
139
|
/**
|
|
139
140
|
* @deprecated Use the `path` param instead.
|
|
140
141
|
*/
|
|
@@ -147,7 +148,9 @@ declare const EntityContentBlueprint: _backstage_frontend_plugin_api.ExtensionBl
|
|
|
147
148
|
};
|
|
148
149
|
output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
149
150
|
optional: true;
|
|
150
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<
|
|
151
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<TranslationRefTuple<undefined>, "core.titleTranslation", {
|
|
152
|
+
optional: true;
|
|
153
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
151
154
|
optional: true;
|
|
152
155
|
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
153
156
|
optional: true;
|
|
@@ -173,6 +176,7 @@ declare const EntityContentBlueprint: _backstage_frontend_plugin_api.ExtensionBl
|
|
|
173
176
|
};
|
|
174
177
|
dataRefs: {
|
|
175
178
|
title: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-content-title", {}>;
|
|
179
|
+
titleTranslation: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<TranslationRefTuple<undefined>, "core.titleTranslation", {}>;
|
|
176
180
|
filterFunction: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {}>;
|
|
177
181
|
filterExpression: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-filter-expression", {}>;
|
|
178
182
|
group: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-content-group", {}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-catalog-react",
|
|
3
|
-
"version": "4.0.0
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "A frontend library that helps other Backstage plugins interact with the catalog",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "web-library",
|
|
@@ -73,20 +73,20 @@
|
|
|
73
73
|
"test": "backstage-cli package test"
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
|
-
"@backstage/catalog-client": "1.16.4
|
|
77
|
-
"@backstage/catalog-model": "1.10.3
|
|
78
|
-
"@backstage/core-compat-api": "0.6.0
|
|
79
|
-
"@backstage/core-components": "0.18.16
|
|
80
|
-
"@backstage/core-plugin-api": "1.
|
|
81
|
-
"@backstage/errors": "1.4.0
|
|
82
|
-
"@backstage/filter-predicates": "0.2.1
|
|
83
|
-
"@backstage/frontend-plugin-api": "0.
|
|
84
|
-
"@backstage/integration-react": "1.
|
|
85
|
-
"@backstage/plugin-permission-common": "0.9.13
|
|
86
|
-
"@backstage/plugin-permission-react": "0.5.7
|
|
87
|
-
"@backstage/types": "1.2.2",
|
|
88
|
-
"@backstage/ui": "0.20.0
|
|
89
|
-
"@backstage/version-bridge": "1.0
|
|
76
|
+
"@backstage/catalog-client": "^1.16.4",
|
|
77
|
+
"@backstage/catalog-model": "^1.10.3",
|
|
78
|
+
"@backstage/core-compat-api": "^0.6.0",
|
|
79
|
+
"@backstage/core-components": "^0.18.16",
|
|
80
|
+
"@backstage/core-plugin-api": "^1.13.0",
|
|
81
|
+
"@backstage/errors": "^1.4.0",
|
|
82
|
+
"@backstage/filter-predicates": "^0.2.1",
|
|
83
|
+
"@backstage/frontend-plugin-api": "^1.0.0",
|
|
84
|
+
"@backstage/integration-react": "^1.3.0",
|
|
85
|
+
"@backstage/plugin-permission-common": "^0.9.13",
|
|
86
|
+
"@backstage/plugin-permission-react": "^0.5.7",
|
|
87
|
+
"@backstage/types": "^1.2.2",
|
|
88
|
+
"@backstage/ui": "^0.20.0",
|
|
89
|
+
"@backstage/version-bridge": "^1.1.0",
|
|
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",
|
|
@@ -104,12 +104,12 @@
|
|
|
104
104
|
"zod": "^4.0.0"
|
|
105
105
|
},
|
|
106
106
|
"devDependencies": {
|
|
107
|
-
"@backstage/cli": "0.36.8
|
|
108
|
-
"@backstage/core-app-api": "1.20.7
|
|
109
|
-
"@backstage/frontend-test-utils": "0.
|
|
110
|
-
"@backstage/plugin-catalog-common": "1.2.2
|
|
111
|
-
"@backstage/plugin-scaffolder-common": "2.4.0
|
|
112
|
-
"@backstage/test-utils": "1.
|
|
107
|
+
"@backstage/cli": "^0.36.8",
|
|
108
|
+
"@backstage/core-app-api": "^1.20.7",
|
|
109
|
+
"@backstage/frontend-test-utils": "^1.0.0",
|
|
110
|
+
"@backstage/plugin-catalog-common": "^1.2.2",
|
|
111
|
+
"@backstage/plugin-scaffolder-common": "^2.4.0",
|
|
112
|
+
"@backstage/test-utils": "^1.8.0",
|
|
113
113
|
"@testing-library/dom": "^10.0.0",
|
|
114
114
|
"@testing-library/jest-dom": "^6.0.0",
|
|
115
115
|
"@testing-library/react": "^16.0.0",
|
|
@@ -123,10 +123,10 @@
|
|
|
123
123
|
"react-test-renderer": "^16.13.1"
|
|
124
124
|
},
|
|
125
125
|
"peerDependencies": {
|
|
126
|
-
"@backstage/frontend-test-utils": "0.
|
|
127
|
-
"@types/react": "^
|
|
128
|
-
"react": "^
|
|
129
|
-
"react-dom": "^
|
|
126
|
+
"@backstage/frontend-test-utils": "^1.0.0",
|
|
127
|
+
"@types/react": "^18.0.0",
|
|
128
|
+
"react": "^18.0.0",
|
|
129
|
+
"react-dom": "^18.0.0",
|
|
130
130
|
"react-router-dom": "^6.30.2"
|
|
131
131
|
},
|
|
132
132
|
"peerDependenciesMeta": {
|