@backstage/plugin-search 1.4.32-next.0 → 1.5.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,38 @@
1
1
  # @backstage/plugin-search
2
2
 
3
+ ## 1.5.0
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/frontend-plugin-api@0.13.0
13
+ - @backstage/core-compat-api@0.5.4
14
+ - @backstage/plugin-search-react@1.10.0
15
+ - @backstage/plugin-catalog-react@1.21.3
16
+ - @backstage/core-components@0.18.3
17
+ - @backstage/core-plugin-api@1.12.0
18
+ - @backstage/plugin-search-common@1.2.21
19
+
20
+ ## 1.5.0-next.1
21
+
22
+ ### Minor Changes
23
+
24
+ - a521911: Add support for customizable icons in `SearchResultListItemBlueprint` and related components
25
+
26
+ ### Patch Changes
27
+
28
+ - Updated dependencies
29
+ - @backstage/plugin-search-react@1.10.0-next.1
30
+ - @backstage/plugin-catalog-react@1.21.3-next.1
31
+ - @backstage/core-components@0.18.3-next.1
32
+ - @backstage/core-plugin-api@1.11.2-next.1
33
+ - @backstage/frontend-plugin-api@0.12.2-next.1
34
+ - @backstage/core-compat-api@0.5.4-next.0
35
+
3
36
  ## 1.4.32-next.0
4
37
 
5
38
  ### Patch Changes
package/dist/alpha.d.ts CHANGED
@@ -18,7 +18,7 @@ declare const searchTranslationRef: _backstage_core_plugin_api_alpha.Translation
18
18
  }>;
19
19
 
20
20
  /** @alpha */
21
- declare const searchApi: _backstage_frontend_plugin_api.ExtensionDefinition<{
21
+ declare const searchApi: _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
22
22
  kind: "api";
23
23
  name: undefined;
24
24
  config: {};
@@ -28,7 +28,7 @@ declare const searchApi: _backstage_frontend_plugin_api.ExtensionDefinition<{
28
28
  params: <TApi, TImpl extends TApi, TDeps extends { [name in string]: unknown; }>(params: _backstage_core_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_core_plugin_api.AnyApiFactory>;
29
29
  }>;
30
30
  /** @alpha */
31
- declare const searchPage: _backstage_frontend_plugin_api.ExtensionDefinition<{
31
+ declare const searchPage: _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
32
32
  config: {
33
33
  noTrack: boolean;
34
34
  } & {
@@ -46,6 +46,7 @@ declare const searchPage: _backstage_frontend_plugin_api.ExtensionDefinition<{
46
46
  items: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ConfigurableExtensionDataRef<{
47
47
  predicate?: _backstage_plugin_search_react_alpha.SearchResultItemExtensionPredicate;
48
48
  component: _backstage_plugin_search_react_alpha.SearchResultItemExtensionComponent;
49
+ icon?: react.JSX.Element;
49
50
  }, "search.search-result-list-item.item", {}>, {
50
51
  singleton: false;
51
52
  optional: false;
@@ -53,7 +54,7 @@ declare const searchPage: _backstage_frontend_plugin_api.ExtensionDefinition<{
53
54
  resultTypes: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ConfigurableExtensionDataRef<{
54
55
  value: string;
55
56
  name: string;
56
- icon: JSX.Element;
57
+ icon: react.JSX.Element;
57
58
  }, "search.filters.result-types.type", {}>, {
58
59
  singleton: false;
59
60
  optional: false;
@@ -75,7 +76,7 @@ declare const searchPage: _backstage_frontend_plugin_api.ExtensionDefinition<{
75
76
  };
76
77
  }>;
77
78
  /** @alpha */
78
- declare const searchNavItem: _backstage_frontend_plugin_api.ExtensionDefinition<{
79
+ declare const searchNavItem: _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
79
80
  kind: "nav-item";
80
81
  name: undefined;
81
82
  config: {};
@@ -96,7 +97,7 @@ declare const searchNavItem: _backstage_frontend_plugin_api.ExtensionDefinition<
96
97
  declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin<{
97
98
  root: _backstage_frontend_plugin_api.RouteRef<undefined>;
98
99
  }, {}, {
99
- "api:search": _backstage_frontend_plugin_api.ExtensionDefinition<{
100
+ "api:search": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
100
101
  kind: "api";
101
102
  name: undefined;
102
103
  config: {};
@@ -105,7 +106,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
105
106
  inputs: {};
106
107
  params: <TApi, TImpl extends TApi, TDeps extends { [name in string]: unknown; }>(params: _backstage_core_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_core_plugin_api.AnyApiFactory>;
107
108
  }>;
108
- "nav-item:search": _backstage_frontend_plugin_api.ExtensionDefinition<{
109
+ "nav-item:search": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
109
110
  kind: "nav-item";
110
111
  name: undefined;
111
112
  config: {};
@@ -122,7 +123,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
122
123
  routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
123
124
  };
124
125
  }>;
125
- "page:search": _backstage_frontend_plugin_api.ExtensionDefinition<{
126
+ "page:search": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
126
127
  config: {
127
128
  noTrack: boolean;
128
129
  } & {
@@ -140,6 +141,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
140
141
  items: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ConfigurableExtensionDataRef<{
141
142
  predicate?: _backstage_plugin_search_react_alpha.SearchResultItemExtensionPredicate;
142
143
  component: _backstage_plugin_search_react_alpha.SearchResultItemExtensionComponent;
144
+ icon?: react.JSX.Element;
143
145
  }, "search.search-result-list-item.item", {}>, {
144
146
  singleton: false;
145
147
  optional: false;
@@ -147,7 +149,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
147
149
  resultTypes: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ConfigurableExtensionDataRef<{
148
150
  value: string;
149
151
  name: string;
150
- icon: JSX.Element;
152
+ icon: react.JSX.Element;
151
153
  }, "search.filters.result-types.type", {}>, {
152
154
  singleton: false;
153
155
  optional: false;
@@ -1,5 +1,5 @@
1
1
  var name = "@backstage/plugin-search";
2
- var version = "1.4.32-next.0";
2
+ var version = "1.5.0";
3
3
  var description = "The Backstage plugin that provides your backstage app with search";
4
4
  var backstage = {
5
5
  role: "frontend-plugin",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-search",
3
- "version": "1.4.32-next.0",
3
+ "version": "1.5.0",
4
4
  "description": "The Backstage plugin that provides your backstage app with search",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin",
@@ -70,26 +70,26 @@
70
70
  "test": "backstage-cli package test"
71
71
  },
72
72
  "dependencies": {
73
- "@backstage/core-compat-api": "0.5.4-next.0",
74
- "@backstage/core-components": "0.18.3-next.0",
75
- "@backstage/core-plugin-api": "1.11.2-next.0",
76
- "@backstage/errors": "1.2.7",
77
- "@backstage/frontend-plugin-api": "0.12.2-next.0",
78
- "@backstage/plugin-catalog-react": "1.21.3-next.0",
79
- "@backstage/plugin-search-common": "1.2.21-next.0",
80
- "@backstage/plugin-search-react": "1.9.6-next.0",
81
- "@backstage/types": "1.2.2",
82
- "@backstage/version-bridge": "1.0.11",
73
+ "@backstage/core-compat-api": "^0.5.4",
74
+ "@backstage/core-components": "^0.18.3",
75
+ "@backstage/core-plugin-api": "^1.12.0",
76
+ "@backstage/errors": "^1.2.7",
77
+ "@backstage/frontend-plugin-api": "^0.13.0",
78
+ "@backstage/plugin-catalog-react": "^1.21.3",
79
+ "@backstage/plugin-search-common": "^1.2.21",
80
+ "@backstage/plugin-search-react": "^1.10.0",
81
+ "@backstage/types": "^1.2.2",
82
+ "@backstage/version-bridge": "^1.0.11",
83
83
  "@material-ui/core": "^4.12.2",
84
84
  "@material-ui/icons": "^4.9.1",
85
85
  "qs": "^6.9.4",
86
86
  "react-use": "^17.2.4"
87
87
  },
88
88
  "devDependencies": {
89
- "@backstage/cli": "0.34.5-next.0",
90
- "@backstage/core-app-api": "1.19.2-next.0",
91
- "@backstage/dev-utils": "1.1.17-next.0",
92
- "@backstage/test-utils": "1.7.13-next.0",
89
+ "@backstage/cli": "^0.34.5",
90
+ "@backstage/core-app-api": "^1.19.2",
91
+ "@backstage/dev-utils": "^1.1.17",
92
+ "@backstage/test-utils": "^1.7.13",
93
93
  "@testing-library/dom": "^10.0.0",
94
94
  "@testing-library/jest-dom": "^6.0.0",
95
95
  "@testing-library/react": "^16.0.0",