@backstage/plugin-catalog 1.31.5-next.0 → 1.32.0-next.1
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-catalog
|
|
2
2
|
|
|
3
|
+
## 1.32.0-next.1
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- a521911: Add support for customizable icons in `SearchResultListItemBlueprint` and related components
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
- @backstage/plugin-search-react@1.10.0-next.1
|
|
13
|
+
- @backstage/plugin-catalog-react@1.21.3-next.1
|
|
14
|
+
- @backstage/core-components@0.18.3-next.1
|
|
15
|
+
- @backstage/core-plugin-api@1.11.2-next.1
|
|
16
|
+
- @backstage/frontend-plugin-api@0.12.2-next.1
|
|
17
|
+
- @backstage/core-compat-api@0.5.4-next.0
|
|
18
|
+
|
|
3
19
|
## 1.31.5-next.0
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
1
2
|
import { SearchResultListItemBlueprint } from '@backstage/plugin-search-react/alpha';
|
|
3
|
+
import { CatalogIcon } from '@backstage/core-components';
|
|
2
4
|
|
|
3
5
|
const catalogSearchResultListItem = SearchResultListItemBlueprint.make({
|
|
4
6
|
params: {
|
|
7
|
+
icon: /* @__PURE__ */ jsx(CatalogIcon, {}),
|
|
5
8
|
predicate: (result) => result.type === "software-catalog",
|
|
6
9
|
component: () => import('../components/CatalogSearchResultListItem/index.esm.js').then(
|
|
7
10
|
(m) => m.CatalogSearchResultListItem
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"searchResultItems.esm.js","sources":["../../src/alpha/searchResultItems.tsx"],"sourcesContent":["/*\n * Copyright 2025 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 { SearchResultListItemBlueprint } from '@backstage/plugin-search-react/alpha';\n\nexport const catalogSearchResultListItem = SearchResultListItemBlueprint.make({\n params: {\n predicate: result => result.type === 'software-catalog',\n component: () =>\n import('../components/CatalogSearchResultListItem').then(\n m => m.CatalogSearchResultListItem,\n ),\n },\n});\n\nexport default [catalogSearchResultListItem];\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"searchResultItems.esm.js","sources":["../../src/alpha/searchResultItems.tsx"],"sourcesContent":["/*\n * Copyright 2025 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 { SearchResultListItemBlueprint } from '@backstage/plugin-search-react/alpha';\nimport { CatalogIcon } from '@backstage/core-components';\n\nexport const catalogSearchResultListItem = SearchResultListItemBlueprint.make({\n params: {\n icon: <CatalogIcon />,\n predicate: result => result.type === 'software-catalog',\n component: () =>\n import('../components/CatalogSearchResultListItem').then(\n m => m.CatalogSearchResultListItem,\n ),\n },\n});\n\nexport default [catalogSearchResultListItem];\n"],"names":[],"mappings":";;;;AAmBO,MAAM,2BAAA,GAA8B,8BAA8B,IAAA,CAAK;AAAA,EAC5E,MAAA,EAAQ;AAAA,IACN,IAAA,sBAAO,WAAA,EAAA,EAAY,CAAA;AAAA,IACnB,SAAA,EAAW,CAAA,MAAA,KAAU,MAAA,CAAO,IAAA,KAAS,kBAAA;AAAA,IACrC,SAAA,EAAW,MACT,OAAO,wDAA2C,CAAA,CAAE,IAAA;AAAA,MAClD,OAAK,CAAA,CAAE;AAAA;AACT;AAEN,CAAC;AAED,wBAAe,CAAC,2BAA2B,CAAA;;;;"}
|
package/dist/alpha.d.ts
CHANGED
|
@@ -65,8 +65,8 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
65
65
|
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}>;
|
|
66
66
|
inputs: {
|
|
67
67
|
[x: string]: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ExtensionDataRef, {
|
|
68
|
-
optional: boolean;
|
|
69
68
|
singleton: boolean;
|
|
69
|
+
optional: boolean;
|
|
70
70
|
}>;
|
|
71
71
|
};
|
|
72
72
|
kind: "catalog-filter";
|
|
@@ -96,8 +96,8 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
96
96
|
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}>;
|
|
97
97
|
inputs: {
|
|
98
98
|
[x: string]: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ExtensionDataRef, {
|
|
99
|
-
optional: boolean;
|
|
100
99
|
singleton: boolean;
|
|
100
|
+
optional: boolean;
|
|
101
101
|
}>;
|
|
102
102
|
};
|
|
103
103
|
kind: "catalog-filter";
|
|
@@ -116,8 +116,8 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
116
116
|
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}>;
|
|
117
117
|
inputs: {
|
|
118
118
|
[x: string]: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ExtensionDataRef, {
|
|
119
|
-
optional: boolean;
|
|
120
119
|
singleton: boolean;
|
|
120
|
+
optional: boolean;
|
|
121
121
|
}>;
|
|
122
122
|
};
|
|
123
123
|
kind: "catalog-filter";
|
|
@@ -675,6 +675,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
675
675
|
output: _backstage_frontend_plugin_api.ExtensionDataRef<{
|
|
676
676
|
predicate?: _backstage_plugin_search_react_alpha.SearchResultItemExtensionPredicate;
|
|
677
677
|
component: _backstage_plugin_search_react_alpha.SearchResultItemExtensionComponent;
|
|
678
|
+
icon?: react.JSX.Element;
|
|
678
679
|
}, "search.search-result-list-item.item", {}>;
|
|
679
680
|
inputs: {};
|
|
680
681
|
params: _backstage_plugin_search_react_alpha.SearchResultListItemBlueprintParams;
|
package/dist/package.json.esm.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-catalog",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.32.0-next.1",
|
|
4
4
|
"description": "The Backstage plugin for browsing the Backstage catalog",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "frontend-plugin",
|
|
@@ -73,17 +73,17 @@
|
|
|
73
73
|
"@backstage/catalog-client": "1.12.1-next.0",
|
|
74
74
|
"@backstage/catalog-model": "1.7.6-next.0",
|
|
75
75
|
"@backstage/core-compat-api": "0.5.4-next.0",
|
|
76
|
-
"@backstage/core-components": "0.18.3-next.
|
|
77
|
-
"@backstage/core-plugin-api": "1.11.2-next.
|
|
76
|
+
"@backstage/core-components": "0.18.3-next.1",
|
|
77
|
+
"@backstage/core-plugin-api": "1.11.2-next.1",
|
|
78
78
|
"@backstage/errors": "1.2.7",
|
|
79
|
-
"@backstage/frontend-plugin-api": "0.12.2-next.
|
|
79
|
+
"@backstage/frontend-plugin-api": "0.12.2-next.1",
|
|
80
80
|
"@backstage/integration-react": "1.2.12-next.0",
|
|
81
81
|
"@backstage/plugin-catalog-common": "1.1.7-next.0",
|
|
82
|
-
"@backstage/plugin-catalog-react": "1.21.3-next.
|
|
82
|
+
"@backstage/plugin-catalog-react": "1.21.3-next.1",
|
|
83
83
|
"@backstage/plugin-permission-react": "0.4.38-next.0",
|
|
84
84
|
"@backstage/plugin-scaffolder-common": "1.7.3-next.0",
|
|
85
85
|
"@backstage/plugin-search-common": "1.2.21-next.0",
|
|
86
|
-
"@backstage/plugin-search-react": "1.
|
|
86
|
+
"@backstage/plugin-search-react": "1.10.0-next.1",
|
|
87
87
|
"@backstage/plugin-techdocs-common": "0.1.1",
|
|
88
88
|
"@backstage/plugin-techdocs-react": "1.3.5-next.0",
|
|
89
89
|
"@backstage/types": "1.2.2",
|
|
@@ -102,11 +102,11 @@
|
|
|
102
102
|
"zen-observable": "^0.10.0"
|
|
103
103
|
},
|
|
104
104
|
"devDependencies": {
|
|
105
|
-
"@backstage/cli": "0.34.5-next.
|
|
106
|
-
"@backstage/core-app-api": "1.19.2-next.
|
|
107
|
-
"@backstage/dev-utils": "1.1.17-next.
|
|
105
|
+
"@backstage/cli": "0.34.5-next.1",
|
|
106
|
+
"@backstage/core-app-api": "1.19.2-next.1",
|
|
107
|
+
"@backstage/dev-utils": "1.1.17-next.1",
|
|
108
108
|
"@backstage/frontend-test-utils": "0.4.1-next.0",
|
|
109
|
-
"@backstage/plugin-permission-common": "0.9.3-next.
|
|
109
|
+
"@backstage/plugin-permission-common": "0.9.3-next.1",
|
|
110
110
|
"@backstage/test-utils": "1.7.13-next.0",
|
|
111
111
|
"@testing-library/dom": "^10.0.0",
|
|
112
112
|
"@testing-library/jest-dom": "^6.0.0",
|