@backstage/plugin-catalog 1.31.4 → 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,45 @@
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
+
19
+ ## 1.31.5-next.0
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies
24
+ - @backstage/plugin-permission-react@0.4.38-next.0
25
+ - @backstage/plugin-search-react@1.9.6-next.0
26
+ - @backstage/plugin-catalog-react@1.21.3-next.0
27
+ - @backstage/core-plugin-api@1.11.2-next.0
28
+ - @backstage/core-components@0.18.3-next.0
29
+ - @backstage/catalog-model@1.7.6-next.0
30
+ - @backstage/frontend-plugin-api@0.12.2-next.0
31
+ - @backstage/catalog-client@1.12.1-next.0
32
+ - @backstage/core-compat-api@0.5.4-next.0
33
+ - @backstage/errors@1.2.7
34
+ - @backstage/integration-react@1.2.12-next.0
35
+ - @backstage/types@1.2.2
36
+ - @backstage/version-bridge@1.0.11
37
+ - @backstage/plugin-catalog-common@1.1.7-next.0
38
+ - @backstage/plugin-scaffolder-common@1.7.3-next.0
39
+ - @backstage/plugin-search-common@1.2.21-next.0
40
+ - @backstage/plugin-techdocs-common@0.1.1
41
+ - @backstage/plugin-techdocs-react@1.3.5-next.0
42
+
3
43
  ## 1.31.4
4
44
 
5
45
  ### 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":";;AAkBO,MAAM,2BAAA,GAA8B,8BAA8B,IAAA,CAAK;AAAA,EAC5E,MAAA,EAAQ;AAAA,IACN,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;;;;"}
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;
@@ -1,5 +1,5 @@
1
1
  var name = "@backstage/plugin-catalog";
2
- var version = "1.31.4";
2
+ var version = "1.32.0-next.1";
3
3
  var description = "The Backstage plugin for browsing the Backstage catalog";
4
4
  var backstage = {
5
5
  role: "frontend-plugin",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog",
3
- "version": "1.31.4",
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",
@@ -70,24 +70,24 @@
70
70
  "test": "backstage-cli package test"
71
71
  },
72
72
  "dependencies": {
73
- "@backstage/catalog-client": "^1.12.0",
74
- "@backstage/catalog-model": "^1.7.5",
75
- "@backstage/core-compat-api": "^0.5.3",
76
- "@backstage/core-components": "^0.18.2",
77
- "@backstage/core-plugin-api": "^1.11.1",
78
- "@backstage/errors": "^1.2.7",
79
- "@backstage/frontend-plugin-api": "^0.12.1",
80
- "@backstage/integration-react": "^1.2.11",
81
- "@backstage/plugin-catalog-common": "^1.1.6",
82
- "@backstage/plugin-catalog-react": "^1.21.2",
83
- "@backstage/plugin-permission-react": "^0.4.37",
84
- "@backstage/plugin-scaffolder-common": "^1.7.2",
85
- "@backstage/plugin-search-common": "^1.2.20",
86
- "@backstage/plugin-search-react": "^1.9.5",
87
- "@backstage/plugin-techdocs-common": "^0.1.1",
88
- "@backstage/plugin-techdocs-react": "^1.3.4",
89
- "@backstage/types": "^1.2.2",
90
- "@backstage/version-bridge": "^1.0.11",
73
+ "@backstage/catalog-client": "1.12.1-next.0",
74
+ "@backstage/catalog-model": "1.7.6-next.0",
75
+ "@backstage/core-compat-api": "0.5.4-next.0",
76
+ "@backstage/core-components": "0.18.3-next.1",
77
+ "@backstage/core-plugin-api": "1.11.2-next.1",
78
+ "@backstage/errors": "1.2.7",
79
+ "@backstage/frontend-plugin-api": "0.12.2-next.1",
80
+ "@backstage/integration-react": "1.2.12-next.0",
81
+ "@backstage/plugin-catalog-common": "1.1.7-next.0",
82
+ "@backstage/plugin-catalog-react": "1.21.3-next.1",
83
+ "@backstage/plugin-permission-react": "0.4.38-next.0",
84
+ "@backstage/plugin-scaffolder-common": "1.7.3-next.0",
85
+ "@backstage/plugin-search-common": "1.2.21-next.0",
86
+ "@backstage/plugin-search-react": "1.10.0-next.1",
87
+ "@backstage/plugin-techdocs-common": "0.1.1",
88
+ "@backstage/plugin-techdocs-react": "1.3.5-next.0",
89
+ "@backstage/types": "1.2.2",
90
+ "@backstage/version-bridge": "1.0.11",
91
91
  "@material-ui/core": "^4.12.2",
92
92
  "@material-ui/icons": "^4.9.1",
93
93
  "@material-ui/lab": "4.0.0-alpha.61",
@@ -102,12 +102,12 @@
102
102
  "zen-observable": "^0.10.0"
103
103
  },
104
104
  "devDependencies": {
105
- "@backstage/cli": "^0.34.4",
106
- "@backstage/core-app-api": "^1.19.1",
107
- "@backstage/dev-utils": "^1.1.15",
108
- "@backstage/frontend-test-utils": "^0.4.0",
109
- "@backstage/plugin-permission-common": "^0.9.2",
110
- "@backstage/test-utils": "^1.7.12",
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
+ "@backstage/frontend-test-utils": "0.4.1-next.0",
109
+ "@backstage/plugin-permission-common": "0.9.3-next.1",
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",
113
113
  "@testing-library/react": "^16.0.0",