@backstage/plugin-search 1.3.6-next.0 → 1.3.6
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 +22 -5
- package/dist/index.d.ts +11 -12
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,21 +1,38 @@
|
|
|
1
1
|
# @backstage/plugin-search
|
|
2
2
|
|
|
3
|
-
## 1.3.6
|
|
3
|
+
## 1.3.6
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
7
|
- Updated dependencies
|
|
8
|
-
- @backstage/
|
|
9
|
-
- @backstage/core-components@0.13.5-next.0
|
|
8
|
+
- @backstage/plugin-catalog-react@1.8.3
|
|
10
9
|
- @backstage/catalog-model@1.4.1
|
|
11
10
|
- @backstage/config@1.0.8
|
|
11
|
+
- @backstage/core-components@0.13.4
|
|
12
|
+
- @backstage/core-plugin-api@1.5.3
|
|
13
|
+
- @backstage/errors@1.2.1
|
|
14
|
+
- @backstage/theme@0.4.1
|
|
15
|
+
- @backstage/types@1.1.0
|
|
16
|
+
- @backstage/version-bridge@1.0.4
|
|
17
|
+
- @backstage/plugin-search-common@1.2.5
|
|
18
|
+
- @backstage/plugin-search-react@1.6.4
|
|
19
|
+
|
|
20
|
+
## 1.3.5
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- Updated dependencies
|
|
25
|
+
- @backstage/plugin-catalog-react@1.8.2
|
|
26
|
+
- @backstage/catalog-model@1.4.1
|
|
27
|
+
- @backstage/config@1.0.8
|
|
28
|
+
- @backstage/core-components@0.13.4
|
|
29
|
+
- @backstage/core-plugin-api@1.5.3
|
|
12
30
|
- @backstage/errors@1.2.1
|
|
13
31
|
- @backstage/theme@0.4.1
|
|
14
32
|
- @backstage/types@1.1.0
|
|
15
33
|
- @backstage/version-bridge@1.0.4
|
|
16
|
-
- @backstage/plugin-catalog-react@1.8.3-next.0
|
|
17
34
|
- @backstage/plugin-search-common@1.2.5
|
|
18
|
-
- @backstage/plugin-search-react@1.6.
|
|
35
|
+
- @backstage/plugin-search-react@1.6.4
|
|
19
36
|
|
|
20
37
|
## 1.3.4
|
|
21
38
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import * as _backstage_plugin_search_react from '@backstage/plugin-search-react';
|
|
3
3
|
import { SearchBarBaseProps } from '@backstage/plugin-search-react';
|
|
4
|
-
import
|
|
5
|
-
import React__default, { ReactNode } from 'react';
|
|
4
|
+
import { ReactNode } from 'react';
|
|
6
5
|
import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
|
|
7
6
|
import { IconComponent } from '@backstage/core-plugin-api';
|
|
8
7
|
|
|
@@ -51,7 +50,7 @@ interface SearchModalProps {
|
|
|
51
50
|
/**
|
|
52
51
|
* @public
|
|
53
52
|
*/
|
|
54
|
-
declare const SearchModal: (props: SearchModalProps) =>
|
|
53
|
+
declare const SearchModal: (props: SearchModalProps) => JSX.Element;
|
|
55
54
|
|
|
56
55
|
/**
|
|
57
56
|
* The state of the search modal, as well as functions for changing the modal's
|
|
@@ -110,7 +109,7 @@ type SearchModalProviderProps = {
|
|
|
110
109
|
*
|
|
111
110
|
* @public
|
|
112
111
|
*/
|
|
113
|
-
declare const SearchModalProvider: (props: SearchModalProviderProps) =>
|
|
112
|
+
declare const SearchModalProvider: (props: SearchModalProviderProps) => JSX.Element;
|
|
114
113
|
/**
|
|
115
114
|
* Use this hook to manage the state of {@link SearchModal}
|
|
116
115
|
* and change its visibility. Monitors route changes setting the hidden state
|
|
@@ -127,7 +126,7 @@ declare function useSearchModal(initialState?: boolean): SearchModalValue;
|
|
|
127
126
|
/**
|
|
128
127
|
* @public
|
|
129
128
|
*/
|
|
130
|
-
declare const SearchPage$1: () =>
|
|
129
|
+
declare const SearchPage$1: () => JSX.Element;
|
|
131
130
|
|
|
132
131
|
/**
|
|
133
132
|
* @public
|
|
@@ -169,19 +168,19 @@ type SearchTypeProps = {
|
|
|
169
168
|
* @public
|
|
170
169
|
*/
|
|
171
170
|
declare const SearchType: {
|
|
172
|
-
(props: SearchTypeProps):
|
|
171
|
+
(props: SearchTypeProps): JSX.Element;
|
|
173
172
|
/**
|
|
174
173
|
* A control surface for the search query's "types" property, displayed as a
|
|
175
174
|
* single-select collapsible accordion suitable for use in faceted search UIs.
|
|
176
175
|
* @public
|
|
177
176
|
*/
|
|
178
|
-
Accordion(props: SearchTypeAccordionProps):
|
|
177
|
+
Accordion(props: SearchTypeAccordionProps): JSX.Element;
|
|
179
178
|
/**
|
|
180
179
|
* A control surface for the search query's "types" property, displayed as a
|
|
181
180
|
* tabs suitable for use in faceted search UIs.
|
|
182
181
|
* @public
|
|
183
182
|
*/
|
|
184
|
-
Tabs(props: SearchTypeTabsProps):
|
|
183
|
+
Tabs(props: SearchTypeTabsProps): JSX.Element;
|
|
185
184
|
};
|
|
186
185
|
|
|
187
186
|
/**
|
|
@@ -195,7 +194,7 @@ type SidebarSearchProps = {
|
|
|
195
194
|
/**
|
|
196
195
|
* @public
|
|
197
196
|
*/
|
|
198
|
-
declare const SidebarSearch: (props: SidebarSearchProps) =>
|
|
197
|
+
declare const SidebarSearch: (props: SidebarSearchProps) => JSX.Element;
|
|
199
198
|
|
|
200
199
|
/**
|
|
201
200
|
* Props for {@link SidebarSearchModal}.
|
|
@@ -216,14 +215,14 @@ declare const searchPlugin: _backstage_core_plugin_api.BackstagePlugin<{
|
|
|
216
215
|
/**
|
|
217
216
|
* @public
|
|
218
217
|
*/
|
|
219
|
-
declare const SearchPage: () =>
|
|
218
|
+
declare const SearchPage: () => JSX.Element;
|
|
220
219
|
/**
|
|
221
220
|
* @public
|
|
222
221
|
*/
|
|
223
|
-
declare const SidebarSearchModal: (props: SidebarSearchModalProps) =>
|
|
222
|
+
declare const SidebarSearchModal: (props: SidebarSearchModalProps) => JSX.Element;
|
|
224
223
|
/**
|
|
225
224
|
* @public
|
|
226
225
|
*/
|
|
227
|
-
declare const HomePageSearchBar: (props: Partial<Omit<_backstage_plugin_search_react.SearchBarBaseProps, "onChange" | "onSubmit">>) =>
|
|
226
|
+
declare const HomePageSearchBar: (props: Partial<Omit<_backstage_plugin_search_react.SearchBarBaseProps, "onChange" | "onSubmit">>) => JSX.Element;
|
|
228
227
|
|
|
229
228
|
export { HomePageSearchBar, HomePageSearchBarProps, SearchPage$1 as Router, SearchModal, SearchModalChildrenProps, SearchModalProps, SearchModalProvider, SearchModalProviderProps, SearchModalValue, SearchPage, SearchType, SearchTypeAccordionProps, SearchTypeProps, SearchTypeTabsProps, SidebarSearch, SidebarSearchModal, SidebarSearchModalProps, SidebarSearchProps, searchPlugin as plugin, searchPlugin, useSearchModal };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-search",
|
|
3
3
|
"description": "The Backstage plugin that provides your backstage app with search",
|
|
4
|
-
"version": "1.3.6
|
|
4
|
+
"version": "1.3.6",
|
|
5
5
|
"main": "dist/index.esm.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -34,12 +34,12 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@backstage/catalog-model": "^1.4.1",
|
|
36
36
|
"@backstage/config": "^1.0.8",
|
|
37
|
-
"@backstage/core-components": "^0.13.
|
|
38
|
-
"@backstage/core-plugin-api": "^1.
|
|
37
|
+
"@backstage/core-components": "^0.13.4",
|
|
38
|
+
"@backstage/core-plugin-api": "^1.5.3",
|
|
39
39
|
"@backstage/errors": "^1.2.1",
|
|
40
|
-
"@backstage/plugin-catalog-react": "^1.8.3
|
|
40
|
+
"@backstage/plugin-catalog-react": "^1.8.3",
|
|
41
41
|
"@backstage/plugin-search-common": "^1.2.5",
|
|
42
|
-
"@backstage/plugin-search-react": "^1.6.
|
|
42
|
+
"@backstage/plugin-search-react": "^1.6.4",
|
|
43
43
|
"@backstage/theme": "^0.4.1",
|
|
44
44
|
"@backstage/types": "^1.1.0",
|
|
45
45
|
"@backstage/version-bridge": "^1.0.4",
|
|
@@ -56,10 +56,10 @@
|
|
|
56
56
|
"react-router-dom": "6.0.0-beta.0 || ^6.3.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@backstage/cli": "^0.22.12
|
|
60
|
-
"@backstage/core-app-api": "^1.
|
|
61
|
-
"@backstage/dev-utils": "^1.0.20
|
|
62
|
-
"@backstage/test-utils": "^1.4.
|
|
59
|
+
"@backstage/cli": "^0.22.12",
|
|
60
|
+
"@backstage/core-app-api": "^1.9.1",
|
|
61
|
+
"@backstage/dev-utils": "^1.0.20",
|
|
62
|
+
"@backstage/test-utils": "^1.4.2",
|
|
63
63
|
"@testing-library/dom": "^8.0.0",
|
|
64
64
|
"@testing-library/jest-dom": "^5.10.1",
|
|
65
65
|
"@testing-library/react": "^12.1.3",
|