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