@backstage/plugin-search 1.4.25-next.1 → 1.4.25
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 +42 -0
- package/README.md +1 -1
- package/dist/alpha.d.ts +3 -3
- package/dist/alpha.esm.js +103 -80
- package/dist/alpha.esm.js.map +1 -1
- package/dist/components/HomePageComponent/HomePageSearchBar.esm.js +3 -2
- package/dist/components/HomePageComponent/HomePageSearchBar.esm.js.map +1 -1
- package/dist/components/SearchModal/SearchModal.esm.js +59 -47
- package/dist/components/SearchModal/SearchModal.esm.js.map +1 -1
- package/dist/components/SearchModal/useSearchModal.esm.js +3 -2
- package/dist/components/SearchModal/useSearchModal.esm.js.map +1 -1
- package/dist/components/SearchPage/SearchPage.esm.js +6 -2
- package/dist/components/SearchPage/SearchPage.esm.js.map +1 -1
- package/dist/components/SearchType/SearchType.Accordion.esm.js +60 -49
- package/dist/components/SearchType/SearchType.Accordion.esm.js.map +1 -1
- package/dist/components/SearchType/SearchType.Tabs.esm.js +14 -13
- package/dist/components/SearchType/SearchType.Tabs.esm.js.map +1 -1
- package/dist/components/SearchType/SearchType.esm.js +30 -25
- package/dist/components/SearchType/SearchType.esm.js.map +1 -1
- package/dist/components/SidebarSearch/SidebarSearch.esm.js +3 -2
- package/dist/components/SidebarSearch/SidebarSearch.esm.js.map +1 -1
- package/dist/components/SidebarSearchModal/SidebarSearchModal.esm.js +22 -19
- package/dist/components/SidebarSearchModal/SidebarSearchModal.esm.js.map +1 -1
- package/dist/index.d.ts +11 -11
- package/package.json +18 -18
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SearchBarBaseProps } from '@backstage/plugin-search-react';
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
4
|
import { SearchResultSet } from '@backstage/plugin-search-common';
|
|
5
5
|
import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
|
|
6
6
|
import { IconComponent } from '@backstage/core-plugin-api';
|
|
@@ -58,7 +58,7 @@ interface SearchModalProps {
|
|
|
58
58
|
/**
|
|
59
59
|
* @public
|
|
60
60
|
*/
|
|
61
|
-
declare const SearchModal: (props: SearchModalProps) =>
|
|
61
|
+
declare const SearchModal: (props: SearchModalProps) => react_jsx_runtime.JSX.Element;
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
64
|
* The state of the search modal, as well as functions for changing the modal's
|
|
@@ -117,7 +117,7 @@ type SearchModalProviderProps = {
|
|
|
117
117
|
*
|
|
118
118
|
* @public
|
|
119
119
|
*/
|
|
120
|
-
declare const SearchModalProvider: (props: SearchModalProviderProps) =>
|
|
120
|
+
declare const SearchModalProvider: (props: SearchModalProviderProps) => react_jsx_runtime.JSX.Element;
|
|
121
121
|
/**
|
|
122
122
|
* Use this hook to manage the state of {@link SearchModal}
|
|
123
123
|
* and change its visibility. Monitors route changes setting the hidden state
|
|
@@ -134,7 +134,7 @@ declare function useSearchModal(initialState?: boolean): SearchModalValue;
|
|
|
134
134
|
/**
|
|
135
135
|
* @public
|
|
136
136
|
*/
|
|
137
|
-
declare const SearchPage$1: () =>
|
|
137
|
+
declare const SearchPage$1: () => react_jsx_runtime.JSX.Element;
|
|
138
138
|
|
|
139
139
|
/**
|
|
140
140
|
* @public
|
|
@@ -176,19 +176,19 @@ type SearchTypeProps = {
|
|
|
176
176
|
* @public
|
|
177
177
|
*/
|
|
178
178
|
declare const SearchType: {
|
|
179
|
-
(props: SearchTypeProps):
|
|
179
|
+
(props: SearchTypeProps): react_jsx_runtime.JSX.Element;
|
|
180
180
|
/**
|
|
181
181
|
* A control surface for the search query's "types" property, displayed as a
|
|
182
182
|
* single-select collapsible accordion suitable for use in faceted search UIs.
|
|
183
183
|
* @public
|
|
184
184
|
*/
|
|
185
|
-
Accordion(props: SearchTypeAccordionProps):
|
|
185
|
+
Accordion(props: SearchTypeAccordionProps): react_jsx_runtime.JSX.Element;
|
|
186
186
|
/**
|
|
187
187
|
* A control surface for the search query's "types" property, displayed as a
|
|
188
188
|
* tabs suitable for use in faceted search UIs.
|
|
189
189
|
* @public
|
|
190
190
|
*/
|
|
191
|
-
Tabs(props: SearchTypeTabsProps):
|
|
191
|
+
Tabs(props: SearchTypeTabsProps): react_jsx_runtime.JSX.Element;
|
|
192
192
|
};
|
|
193
193
|
|
|
194
194
|
/**
|
|
@@ -202,7 +202,7 @@ type SidebarSearchProps = {
|
|
|
202
202
|
/**
|
|
203
203
|
* @public
|
|
204
204
|
*/
|
|
205
|
-
declare const SidebarSearch: (props: SidebarSearchProps) =>
|
|
205
|
+
declare const SidebarSearch: (props: SidebarSearchProps) => react_jsx_runtime.JSX.Element;
|
|
206
206
|
|
|
207
207
|
/**
|
|
208
208
|
* Props for {@link SidebarSearchModal}.
|
|
@@ -222,7 +222,7 @@ declare const searchPlugin: _backstage_core_plugin_api.BackstagePlugin<{
|
|
|
222
222
|
/**
|
|
223
223
|
* @public
|
|
224
224
|
*/
|
|
225
|
-
declare const SearchPage: () =>
|
|
225
|
+
declare const SearchPage: () => react_jsx_runtime.JSX.Element;
|
|
226
226
|
/**
|
|
227
227
|
* @public
|
|
228
228
|
*/
|
|
@@ -230,6 +230,6 @@ declare const SidebarSearchModal: (props: SidebarSearchModalProps) => JSX.Elemen
|
|
|
230
230
|
/**
|
|
231
231
|
* @public
|
|
232
232
|
*/
|
|
233
|
-
declare const HomePageSearchBar: (props: HomePageSearchBarProps) =>
|
|
233
|
+
declare const HomePageSearchBar: (props: HomePageSearchBarProps) => react_jsx_runtime.JSX.Element;
|
|
234
234
|
|
|
235
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.25
|
|
3
|
+
"version": "1.4.25",
|
|
4
4
|
"description": "The Backstage plugin that provides your backstage app with search",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "frontend-plugin",
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
"types": "./dist/index.d.ts",
|
|
49
49
|
"typesVersions": {
|
|
50
50
|
"*": {
|
|
51
|
-
"*": [
|
|
52
|
-
"dist/index.d.ts"
|
|
53
|
-
],
|
|
54
51
|
"alpha": [
|
|
55
52
|
"dist/alpha.d.ts"
|
|
53
|
+
],
|
|
54
|
+
"package.json": [
|
|
55
|
+
"package.json"
|
|
56
56
|
]
|
|
57
57
|
}
|
|
58
58
|
},
|
|
@@ -70,26 +70,26 @@
|
|
|
70
70
|
"test": "backstage-cli package test"
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@backstage/core-compat-api": "0.4.1
|
|
74
|
-
"@backstage/core-components": "0.17.1
|
|
75
|
-
"@backstage/core-plugin-api": "1.10.
|
|
76
|
-
"@backstage/errors": "1.2.7",
|
|
77
|
-
"@backstage/frontend-plugin-api": "0.10.1
|
|
78
|
-
"@backstage/plugin-catalog-react": "1.
|
|
79
|
-
"@backstage/plugin-search-common": "1.2.17",
|
|
80
|
-
"@backstage/plugin-search-react": "1.8.8
|
|
81
|
-
"@backstage/types": "1.2.1",
|
|
82
|
-
"@backstage/version-bridge": "1.0.11",
|
|
73
|
+
"@backstage/core-compat-api": "^0.4.1",
|
|
74
|
+
"@backstage/core-components": "^0.17.1",
|
|
75
|
+
"@backstage/core-plugin-api": "^1.10.6",
|
|
76
|
+
"@backstage/errors": "^1.2.7",
|
|
77
|
+
"@backstage/frontend-plugin-api": "^0.10.1",
|
|
78
|
+
"@backstage/plugin-catalog-react": "^1.17.0",
|
|
79
|
+
"@backstage/plugin-search-common": "^1.2.17",
|
|
80
|
+
"@backstage/plugin-search-react": "^1.8.8",
|
|
81
|
+
"@backstage/types": "^1.2.1",
|
|
82
|
+
"@backstage/version-bridge": "^1.0.11",
|
|
83
83
|
"@material-ui/core": "^4.12.2",
|
|
84
84
|
"@material-ui/icons": "^4.9.1",
|
|
85
85
|
"qs": "^6.9.4",
|
|
86
86
|
"react-use": "^17.2.4"
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
|
89
|
-
"@backstage/cli": "0.32.0
|
|
90
|
-
"@backstage/core-app-api": "1.16.
|
|
91
|
-
"@backstage/dev-utils": "1.1.9
|
|
92
|
-
"@backstage/test-utils": "1.7.
|
|
89
|
+
"@backstage/cli": "^0.32.0",
|
|
90
|
+
"@backstage/core-app-api": "^1.16.1",
|
|
91
|
+
"@backstage/dev-utils": "^1.1.9",
|
|
92
|
+
"@backstage/test-utils": "^1.7.7",
|
|
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",
|