@backstage/plugin-search 1.4.24-next.0 → 1.4.24-next.2

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,37 @@
1
1
  # @backstage/plugin-search
2
2
 
3
+ ## 1.4.24-next.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/frontend-plugin-api@0.10.0-next.2
9
+ - @backstage/plugin-catalog-react@1.16.0-next.2
10
+ - @backstage/core-compat-api@0.4.0-next.2
11
+ - @backstage/core-components@0.16.5-next.1
12
+ - @backstage/plugin-search-react@1.8.7-next.2
13
+ - @backstage/core-plugin-api@1.10.4
14
+ - @backstage/errors@1.2.7
15
+ - @backstage/types@1.2.1
16
+ - @backstage/version-bridge@1.0.11
17
+ - @backstage/plugin-search-common@1.2.17
18
+
19
+ ## 1.4.24-next.1
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies
24
+ - @backstage/core-components@0.16.5-next.0
25
+ - @backstage/plugin-catalog-react@1.16.0-next.1
26
+ - @backstage/core-compat-api@0.3.7-next.1
27
+ - @backstage/core-plugin-api@1.10.4
28
+ - @backstage/errors@1.2.7
29
+ - @backstage/frontend-plugin-api@0.9.6-next.1
30
+ - @backstage/types@1.2.1
31
+ - @backstage/version-bridge@1.0.11
32
+ - @backstage/plugin-search-common@1.2.17
33
+ - @backstage/plugin-search-react@1.8.7-next.1
34
+
3
35
  ## 1.4.24-next.0
4
36
 
5
37
  ### Patch Changes
package/dist/alpha.d.ts CHANGED
@@ -32,7 +32,7 @@ declare const searchPage: _backstage_frontend_plugin_api.ExtensionDefinition<{
32
32
  }>;
33
33
  inputs: {
34
34
  items: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ConfigurableExtensionDataRef<{
35
- predicate?: _backstage_plugin_search_react_alpha.SearchResultItemExtensionPredicate | undefined;
35
+ predicate?: _backstage_plugin_search_react_alpha.SearchResultItemExtensionPredicate;
36
36
  component: _backstage_plugin_search_react_alpha.SearchResultItemExtensionComponent;
37
37
  }, "search.search-result-list-item.item", {}>, {
38
38
  singleton: false;
@@ -58,7 +58,7 @@ declare const searchPage: _backstage_frontend_plugin_api.ExtensionDefinition<{
58
58
  params: {
59
59
  defaultPath: string;
60
60
  loader: () => Promise<JSX.Element>;
61
- routeRef?: _backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams> | undefined;
61
+ routeRef?: _backstage_frontend_plugin_api.RouteRef;
62
62
  };
63
63
  }>;
64
64
  /** @alpha */
@@ -83,6 +83,17 @@ declare const searchNavItem: _backstage_frontend_plugin_api.ExtensionDefinition<
83
83
  declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
84
84
  root: _backstage_frontend_plugin_api.RouteRef<undefined>;
85
85
  }, {}, {
86
+ "api:search": _backstage_frontend_plugin_api.ExtensionDefinition<{
87
+ kind: "api";
88
+ name: undefined;
89
+ config: {};
90
+ configInput: {};
91
+ output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_core_plugin_api.AnyApiFactory, "core.api.factory", {}>;
92
+ inputs: {};
93
+ params: {
94
+ factory: _backstage_core_plugin_api.AnyApiFactory;
95
+ };
96
+ }>;
86
97
  "nav-item:search": _backstage_frontend_plugin_api.ExtensionDefinition<{
87
98
  kind: "nav-item";
88
99
  name: undefined;
@@ -100,17 +111,6 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
100
111
  routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
101
112
  };
102
113
  }>;
103
- "api:search": _backstage_frontend_plugin_api.ExtensionDefinition<{
104
- kind: "api";
105
- name: undefined;
106
- config: {};
107
- configInput: {};
108
- output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_core_plugin_api.AnyApiFactory, "core.api.factory", {}>;
109
- inputs: {};
110
- params: {
111
- factory: _backstage_core_plugin_api.AnyApiFactory;
112
- };
113
- }>;
114
114
  "page:search": _backstage_frontend_plugin_api.ExtensionDefinition<{
115
115
  config: {
116
116
  noTrack: boolean;
@@ -127,7 +127,7 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
127
127
  }>;
128
128
  inputs: {
129
129
  items: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ConfigurableExtensionDataRef<{
130
- predicate?: _backstage_plugin_search_react_alpha.SearchResultItemExtensionPredicate | undefined;
130
+ predicate?: _backstage_plugin_search_react_alpha.SearchResultItemExtensionPredicate;
131
131
  component: _backstage_plugin_search_react_alpha.SearchResultItemExtensionComponent;
132
132
  }, "search.search-result-list-item.item", {}>, {
133
133
  singleton: false;
@@ -153,7 +153,7 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
153
153
  params: {
154
154
  defaultPath: string;
155
155
  loader: () => Promise<JSX.Element>;
156
- routeRef?: _backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams> | undefined;
156
+ routeRef?: _backstage_frontend_plugin_api.RouteRef;
157
157
  };
158
158
  }>;
159
159
  }>;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,3 @@
1
- /// <reference types="react" />
2
- import * as _backstage_plugin_search_react from '@backstage/plugin-search-react';
3
1
  import { SearchBarBaseProps } from '@backstage/plugin-search-react';
4
2
  import * as React from 'react';
5
3
  import React__default, { ReactNode } from 'react';
@@ -232,6 +230,6 @@ declare const SidebarSearchModal: (props: SidebarSearchModalProps) => JSX.Elemen
232
230
  /**
233
231
  * @public
234
232
  */
235
- declare const HomePageSearchBar: (props: Partial<Omit<_backstage_plugin_search_react.SearchBarBaseProps, "onChange" | "onSubmit">>) => React.JSX.Element;
233
+ declare const HomePageSearchBar: (props: HomePageSearchBarProps) => React.JSX.Element;
236
234
 
237
235
  export { HomePageSearchBar, type HomePageSearchBarProps, SearchPage$1 as Router, SearchModal, type SearchModalChildrenProps, type SearchModalProps, SearchModalProvider, type SearchModalProviderProps, type SearchModalValue, SearchPage, SearchType, type SearchTypeAccordionProps, type SearchTypeProps, type SearchTypeTabsProps, SidebarSearch, SidebarSearchModal, type SidebarSearchModalProps, type SidebarSearchProps, searchPlugin as plugin, searchPlugin, useSearchModal };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-search",
3
- "version": "1.4.24-next.0",
3
+ "version": "1.4.24-next.2",
4
4
  "description": "The Backstage plugin that provides your backstage app with search",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin",
@@ -48,7 +48,7 @@
48
48
  "types": "./dist/index.d.ts",
49
49
  "typesVersions": {
50
50
  "*": {
51
- "index": [
51
+ "*": [
52
52
  "dist/index.d.ts"
53
53
  ],
54
54
  "alpha": [
@@ -70,14 +70,14 @@
70
70
  "test": "backstage-cli package test"
71
71
  },
72
72
  "dependencies": {
73
- "@backstage/core-compat-api": "0.3.7-next.0",
74
- "@backstage/core-components": "0.16.4",
73
+ "@backstage/core-compat-api": "0.4.0-next.2",
74
+ "@backstage/core-components": "0.16.5-next.1",
75
75
  "@backstage/core-plugin-api": "1.10.4",
76
76
  "@backstage/errors": "1.2.7",
77
- "@backstage/frontend-plugin-api": "0.9.6-next.0",
78
- "@backstage/plugin-catalog-react": "1.16.0-next.0",
77
+ "@backstage/frontend-plugin-api": "0.10.0-next.2",
78
+ "@backstage/plugin-catalog-react": "1.16.0-next.2",
79
79
  "@backstage/plugin-search-common": "1.2.17",
80
- "@backstage/plugin-search-react": "1.8.7-next.0",
80
+ "@backstage/plugin-search-react": "1.8.7-next.2",
81
81
  "@backstage/types": "1.2.1",
82
82
  "@backstage/version-bridge": "1.0.11",
83
83
  "@material-ui/core": "^4.12.2",
@@ -86,10 +86,10 @@
86
86
  "react-use": "^17.2.4"
87
87
  },
88
88
  "devDependencies": {
89
- "@backstage/cli": "0.30.0",
90
- "@backstage/core-app-api": "1.15.5",
91
- "@backstage/dev-utils": "1.1.8-next.0",
92
- "@backstage/test-utils": "1.7.5",
89
+ "@backstage/cli": "0.31.0-next.1",
90
+ "@backstage/core-app-api": "1.16.0-next.0",
91
+ "@backstage/dev-utils": "1.1.8-next.2",
92
+ "@backstage/test-utils": "1.7.6-next.0",
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",