@backstage/plugin-search 1.4.15 → 1.4.16-next.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,22 @@
1
1
  # @backstage/plugin-search
2
2
 
3
+ ## 1.4.16-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - fec8b57: Updated exports to use the new type parameters for extensions and extension blueprints.
8
+ - Updated dependencies
9
+ - @backstage/frontend-plugin-api@0.8.0-next.0
10
+ - @backstage/core-compat-api@0.2.9-next.0
11
+ - @backstage/plugin-catalog-react@1.12.4-next.0
12
+ - @backstage/plugin-search-react@1.8.0-next.0
13
+ - @backstage/core-components@0.14.10
14
+ - @backstage/core-plugin-api@1.9.3
15
+ - @backstage/errors@1.2.4
16
+ - @backstage/types@1.1.1
17
+ - @backstage/version-bridge@1.0.8
18
+ - @backstage/plugin-search-common@1.2.14
19
+
3
20
  ## 1.4.15
4
21
 
5
22
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-search__alpha",
3
- "version": "1.4.15",
3
+ "version": "1.4.16-next.0",
4
4
  "main": "../dist/alpha.esm.js",
5
5
  "module": "../dist/alpha.esm.js",
6
6
  "types": "../dist/alpha.d.ts"
package/dist/alpha.d.ts CHANGED
@@ -4,82 +4,106 @@ import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
4
4
  import React__default from 'react';
5
5
 
6
6
  /** @alpha */
7
- declare const searchApi: _backstage_frontend_plugin_api.ExtensionDefinition<{}, {}, _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_core_plugin_api.AnyApiFactory, "core.api.factory", {}>, {}, {
7
+ declare const searchApi: _backstage_frontend_plugin_api.ExtensionDefinition<{
8
8
  kind: "api";
9
9
  namespace: undefined;
10
10
  name: undefined;
11
+ config: {};
12
+ configInput: {};
13
+ output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_core_plugin_api.AnyApiFactory, "core.api.factory", {}>;
14
+ inputs: {};
11
15
  }>;
12
16
  /** @alpha */
13
17
  declare const searchPage: _backstage_frontend_plugin_api.ExtensionDefinition<{
14
- noTrack: boolean;
15
- } & {
16
- path: string | undefined;
17
- }, {
18
- noTrack?: boolean | undefined;
19
- } & {
20
- path?: string | undefined;
21
- }, _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<React__default.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
22
- optional: true;
23
- }>, {
24
- items: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ConfigurableExtensionDataRef<{
25
- predicate?: _backstage_plugin_search_react_alpha.SearchResultItemExtensionPredicate | undefined;
26
- component: _backstage_plugin_search_react_alpha.SearchResultItemExtensionComponent;
27
- }, "search.search-result-list-item.item", {}>, {
28
- singleton: false;
29
- optional: false;
18
+ config: {
19
+ noTrack: boolean;
20
+ } & {
21
+ path: string | undefined;
22
+ };
23
+ configInput: {
24
+ noTrack?: boolean | undefined;
25
+ } & {
26
+ path?: string | undefined;
27
+ };
28
+ output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<React__default.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
29
+ optional: true;
30
30
  }>;
31
- }, {
31
+ inputs: {
32
+ items: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ConfigurableExtensionDataRef<{
33
+ predicate?: _backstage_plugin_search_react_alpha.SearchResultItemExtensionPredicate | undefined;
34
+ component: _backstage_plugin_search_react_alpha.SearchResultItemExtensionComponent;
35
+ }, "search.search-result-list-item.item", {}>, {
36
+ singleton: false;
37
+ optional: false;
38
+ }>;
39
+ };
32
40
  kind: "page";
33
41
  namespace: undefined;
34
42
  name: undefined;
35
43
  }>;
36
44
  /** @alpha */
37
- declare const searchNavItem: _backstage_frontend_plugin_api.ExtensionDefinition<{}, {}, _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<{
38
- title: string;
39
- icon: _backstage_core_plugin_api.IconComponent;
40
- routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
41
- }, "core.nav-item.target", {}>, {}, {
45
+ declare const searchNavItem: _backstage_frontend_plugin_api.ExtensionDefinition<{
42
46
  kind: "nav-item";
43
47
  namespace: undefined;
44
48
  name: undefined;
49
+ config: {};
50
+ configInput: {};
51
+ output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<{
52
+ title: string;
53
+ icon: _backstage_core_plugin_api.IconComponent;
54
+ routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
55
+ }, "core.nav-item.target", {}>;
56
+ inputs: {};
45
57
  }>;
46
58
  /** @alpha */
47
59
  declare const _default: _backstage_frontend_plugin_api.BackstagePlugin<{
48
60
  root: _backstage_frontend_plugin_api.RouteRef<undefined>;
49
61
  }, {}, {
50
- "api:search": _backstage_frontend_plugin_api.ExtensionDefinition<{}, {}, _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_core_plugin_api.AnyApiFactory, "core.api.factory", {}>, {}, {
62
+ "api:search": _backstage_frontend_plugin_api.ExtensionDefinition<{
51
63
  kind: "api";
52
64
  namespace: undefined;
53
65
  name: undefined;
66
+ config: {};
67
+ configInput: {};
68
+ output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_core_plugin_api.AnyApiFactory, "core.api.factory", {}>;
69
+ inputs: {};
54
70
  }>;
55
- "nav-item:search": _backstage_frontend_plugin_api.ExtensionDefinition<{}, {}, _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<{
56
- title: string;
57
- icon: _backstage_core_plugin_api.IconComponent;
58
- routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
59
- }, "core.nav-item.target", {}>, {}, {
71
+ "nav-item:search": _backstage_frontend_plugin_api.ExtensionDefinition<{
60
72
  kind: "nav-item";
61
73
  namespace: undefined;
62
74
  name: undefined;
75
+ config: {};
76
+ configInput: {};
77
+ output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<{
78
+ title: string;
79
+ icon: _backstage_core_plugin_api.IconComponent;
80
+ routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
81
+ }, "core.nav-item.target", {}>;
82
+ inputs: {};
63
83
  }>;
64
84
  "page:search": _backstage_frontend_plugin_api.ExtensionDefinition<{
65
- noTrack: boolean;
66
- } & {
67
- path: string | undefined;
68
- }, {
69
- noTrack?: boolean | undefined;
70
- } & {
71
- path?: string | undefined;
72
- }, _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<React__default.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
73
- optional: true;
74
- }>, {
75
- items: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ConfigurableExtensionDataRef<{
76
- predicate?: _backstage_plugin_search_react_alpha.SearchResultItemExtensionPredicate | undefined;
77
- component: _backstage_plugin_search_react_alpha.SearchResultItemExtensionComponent;
78
- }, "search.search-result-list-item.item", {}>, {
79
- singleton: false;
80
- optional: false;
85
+ config: {
86
+ noTrack: boolean;
87
+ } & {
88
+ path: string | undefined;
89
+ };
90
+ configInput: {
91
+ noTrack?: boolean | undefined;
92
+ } & {
93
+ path?: string | undefined;
94
+ };
95
+ output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<React__default.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
96
+ optional: true;
81
97
  }>;
82
- }, {
98
+ inputs: {
99
+ items: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ConfigurableExtensionDataRef<{
100
+ predicate?: _backstage_plugin_search_react_alpha.SearchResultItemExtensionPredicate | undefined;
101
+ component: _backstage_plugin_search_react_alpha.SearchResultItemExtensionComponent;
102
+ }, "search.search-result-list-item.item", {}>, {
103
+ singleton: false;
104
+ optional: false;
105
+ }>;
106
+ };
83
107
  kind: "page";
84
108
  namespace: undefined;
85
109
  name: undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-search",
3
- "version": "1.4.15",
3
+ "version": "1.4.16-next.0",
4
4
  "description": "The Backstage plugin that provides your backstage app with search",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin",
@@ -57,14 +57,14 @@
57
57
  "test": "backstage-cli package test"
58
58
  },
59
59
  "dependencies": {
60
- "@backstage/core-compat-api": "^0.2.8",
60
+ "@backstage/core-compat-api": "^0.2.9-next.0",
61
61
  "@backstage/core-components": "^0.14.10",
62
62
  "@backstage/core-plugin-api": "^1.9.3",
63
63
  "@backstage/errors": "^1.2.4",
64
- "@backstage/frontend-plugin-api": "^0.7.0",
65
- "@backstage/plugin-catalog-react": "^1.12.3",
64
+ "@backstage/frontend-plugin-api": "^0.8.0-next.0",
65
+ "@backstage/plugin-catalog-react": "^1.12.4-next.0",
66
66
  "@backstage/plugin-search-common": "^1.2.14",
67
- "@backstage/plugin-search-react": "^1.7.14",
67
+ "@backstage/plugin-search-react": "^1.8.0-next.0",
68
68
  "@backstage/types": "^1.1.1",
69
69
  "@backstage/version-bridge": "^1.0.8",
70
70
  "@material-ui/core": "^4.12.2",
@@ -74,10 +74,10 @@
74
74
  "react-use": "^17.2.4"
75
75
  },
76
76
  "devDependencies": {
77
- "@backstage/cli": "^0.27.0",
77
+ "@backstage/cli": "^0.27.1-next.0",
78
78
  "@backstage/core-app-api": "^1.14.2",
79
- "@backstage/dev-utils": "^1.0.37",
80
- "@backstage/test-utils": "^1.5.10",
79
+ "@backstage/dev-utils": "^1.0.38-next.0",
80
+ "@backstage/test-utils": "^1.6.0-next.0",
81
81
  "@testing-library/dom": "^10.0.0",
82
82
  "@testing-library/jest-dom": "^6.0.0",
83
83
  "@testing-library/react": "^15.0.0",