@backstage/plugin-search 1.4.17 → 1.4.18-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,12 +1,37 @@
1
1
  # @backstage/plugin-search
2
2
 
3
- ## 1.4.17
3
+ ## 1.4.18-next.1
4
4
 
5
5
  ### Patch Changes
6
6
 
7
+ - e969dc7: Move `@types/react` to a peer dependency.
7
8
  - Updated dependencies
8
- - @backstage/plugin-catalog-react@1.13.1
9
- - @backstage/core-compat-api@0.3.0
9
+ - @backstage/core-components@0.15.1-next.1
10
+ - @backstage/frontend-plugin-api@0.9.0-next.1
11
+ - @backstage/core-compat-api@0.3.1-next.1
12
+ - @backstage/core-plugin-api@1.10.0-next.1
13
+ - @backstage/version-bridge@1.0.10-next.0
14
+ - @backstage/plugin-catalog-react@1.14.0-next.1
15
+ - @backstage/plugin-search-react@1.8.1-next.1
16
+ - @backstage/errors@1.2.4
17
+ - @backstage/types@1.1.1
18
+ - @backstage/plugin-search-common@1.2.14
19
+
20
+ ## 1.4.17-next.0
21
+
22
+ ### Patch Changes
23
+
24
+ - Updated dependencies
25
+ - @backstage/frontend-plugin-api@0.9.0-next.0
26
+ - @backstage/core-compat-api@0.3.1-next.0
27
+ - @backstage/core-components@0.15.1-next.0
28
+ - @backstage/core-plugin-api@1.10.0-next.0
29
+ - @backstage/plugin-catalog-react@1.13.1-next.0
30
+ - @backstage/plugin-search-react@1.8.1-next.0
31
+ - @backstage/errors@1.2.4
32
+ - @backstage/types@1.1.1
33
+ - @backstage/version-bridge@1.0.9
34
+ - @backstage/plugin-search-common@1.2.14
10
35
 
11
36
  ## 1.4.16
12
37
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-search__alpha",
3
- "version": "1.4.17",
3
+ "version": "1.4.18-next.1",
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
@@ -6,12 +6,14 @@ import React__default from 'react';
6
6
  /** @alpha */
7
7
  declare const searchApi: _backstage_frontend_plugin_api.ExtensionDefinition<{
8
8
  kind: "api";
9
- namespace: undefined;
10
9
  name: undefined;
11
10
  config: {};
12
11
  configInput: {};
13
12
  output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_core_plugin_api.AnyApiFactory, "core.api.factory", {}>;
14
13
  inputs: {};
14
+ params: {
15
+ factory: _backstage_core_plugin_api.AnyApiFactory;
16
+ };
15
17
  }>;
16
18
  /** @alpha */
17
19
  declare const searchPage: _backstage_frontend_plugin_api.ExtensionDefinition<{
@@ -38,13 +40,16 @@ declare const searchPage: _backstage_frontend_plugin_api.ExtensionDefinition<{
38
40
  }>;
39
41
  };
40
42
  kind: "page";
41
- namespace: undefined;
42
43
  name: undefined;
44
+ params: {
45
+ defaultPath: string;
46
+ loader: () => Promise<JSX.Element>;
47
+ routeRef?: _backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams> | undefined;
48
+ };
43
49
  }>;
44
50
  /** @alpha */
45
51
  declare const searchNavItem: _backstage_frontend_plugin_api.ExtensionDefinition<{
46
52
  kind: "nav-item";
47
- namespace: undefined;
48
53
  name: undefined;
49
54
  config: {};
50
55
  configInput: {};
@@ -54,6 +59,11 @@ declare const searchNavItem: _backstage_frontend_plugin_api.ExtensionDefinition<
54
59
  routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
55
60
  }, "core.nav-item.target", {}>;
56
61
  inputs: {};
62
+ params: {
63
+ title: string;
64
+ icon: _backstage_core_plugin_api.IconComponent;
65
+ routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
66
+ };
57
67
  }>;
58
68
  /** @alpha */
59
69
  declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
@@ -61,16 +71,17 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
61
71
  }, {}, {
62
72
  "api:search": _backstage_frontend_plugin_api.ExtensionDefinition<{
63
73
  kind: "api";
64
- namespace: undefined;
65
74
  name: undefined;
66
75
  config: {};
67
76
  configInput: {};
68
77
  output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_core_plugin_api.AnyApiFactory, "core.api.factory", {}>;
69
78
  inputs: {};
79
+ params: {
80
+ factory: _backstage_core_plugin_api.AnyApiFactory;
81
+ };
70
82
  }>;
71
83
  "nav-item:search": _backstage_frontend_plugin_api.ExtensionDefinition<{
72
84
  kind: "nav-item";
73
- namespace: undefined;
74
85
  name: undefined;
75
86
  config: {};
76
87
  configInput: {};
@@ -80,6 +91,11 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
80
91
  routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
81
92
  }, "core.nav-item.target", {}>;
82
93
  inputs: {};
94
+ params: {
95
+ title: string;
96
+ icon: _backstage_core_plugin_api.IconComponent;
97
+ routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
98
+ };
83
99
  }>;
84
100
  "page:search": _backstage_frontend_plugin_api.ExtensionDefinition<{
85
101
  config: {
@@ -105,8 +121,12 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
105
121
  }>;
106
122
  };
107
123
  kind: "page";
108
- namespace: undefined;
109
124
  name: undefined;
125
+ params: {
126
+ defaultPath: string;
127
+ loader: () => Promise<JSX.Element>;
128
+ routeRef?: _backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams> | undefined;
129
+ };
110
130
  }>;
111
131
  }>;
112
132
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-search",
3
- "version": "1.4.17",
3
+ "version": "1.4.18-next.1",
4
4
  "description": "The Backstage plugin that provides your backstage app with search",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin",
@@ -34,6 +34,7 @@
34
34
  "default": "./dist/index.esm.js"
35
35
  },
36
36
  "./alpha": {
37
+ "backstage": "@backstage/FrontendPlugin",
37
38
  "import": "./dist/alpha.esm.js",
38
39
  "types": "./dist/alpha.d.ts",
39
40
  "default": "./dist/alpha.esm.js"
@@ -57,38 +58,47 @@
57
58
  "test": "backstage-cli package test"
58
59
  },
59
60
  "dependencies": {
60
- "@backstage/core-compat-api": "^0.3.0",
61
- "@backstage/core-components": "^0.15.0",
62
- "@backstage/core-plugin-api": "^1.9.4",
63
- "@backstage/errors": "^1.2.4",
64
- "@backstage/frontend-plugin-api": "^0.8.0",
65
- "@backstage/plugin-catalog-react": "^1.13.1",
66
- "@backstage/plugin-search-common": "^1.2.14",
67
- "@backstage/plugin-search-react": "^1.8.0",
68
- "@backstage/types": "^1.1.1",
69
- "@backstage/version-bridge": "^1.0.9",
61
+ "@backstage/core-compat-api": "0.3.1-next.1",
62
+ "@backstage/core-components": "0.15.1-next.1",
63
+ "@backstage/core-plugin-api": "1.10.0-next.1",
64
+ "@backstage/errors": "1.2.4",
65
+ "@backstage/frontend-plugin-api": "0.9.0-next.1",
66
+ "@backstage/plugin-catalog-react": "1.14.0-next.1",
67
+ "@backstage/plugin-search-common": "1.2.14",
68
+ "@backstage/plugin-search-react": "1.8.1-next.1",
69
+ "@backstage/types": "1.1.1",
70
+ "@backstage/version-bridge": "1.0.10-next.0",
70
71
  "@material-ui/core": "^4.12.2",
71
72
  "@material-ui/icons": "^4.9.1",
72
- "@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0",
73
73
  "qs": "^6.9.4",
74
74
  "react-use": "^17.2.4"
75
75
  },
76
76
  "devDependencies": {
77
- "@backstage/cli": "^0.27.1",
78
- "@backstage/core-app-api": "^1.15.0",
79
- "@backstage/dev-utils": "^1.1.1",
80
- "@backstage/test-utils": "^1.6.0",
77
+ "@backstage/cli": "0.28.0-next.1",
78
+ "@backstage/core-app-api": "1.15.1-next.1",
79
+ "@backstage/dev-utils": "1.1.2-next.1",
80
+ "@backstage/test-utils": "1.6.1-next.1",
81
81
  "@testing-library/dom": "^10.0.0",
82
82
  "@testing-library/jest-dom": "^6.0.0",
83
83
  "@testing-library/react": "^16.0.0",
84
84
  "@testing-library/user-event": "^14.0.0",
85
- "history": "^5.0.0"
85
+ "@types/react": "^18.0.0",
86
+ "history": "^5.0.0",
87
+ "react": "^18.0.2",
88
+ "react-dom": "^18.0.2",
89
+ "react-router-dom": "^6.3.0"
86
90
  },
87
91
  "peerDependencies": {
92
+ "@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0",
88
93
  "react": "^16.13.1 || ^17.0.0 || ^18.0.0",
89
94
  "react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0",
90
95
  "react-router-dom": "6.0.0-beta.0 || ^6.3.0"
91
96
  },
97
+ "peerDependenciesMeta": {
98
+ "@types/react": {
99
+ "optional": true
100
+ }
101
+ },
92
102
  "configSchema": "config.d.ts",
93
103
  "module": "./dist/index.esm.js"
94
104
  }