@backstage/plugin-search 0.5.1 → 0.5.5
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 +60 -0
- package/dist/esm/{index-bfe6f2c6.esm.js → index-0938232c.esm.js} +11 -6
- package/dist/esm/index-0938232c.esm.js.map +1 -0
- package/dist/esm/{index-3cbe4558.esm.js → index-6640d668.esm.js} +11 -6
- package/dist/esm/index-6640d668.esm.js.map +1 -0
- package/dist/esm/{index-893ec2f5.esm.js → index-8bb5f525.esm.js} +409 -245
- package/dist/esm/index-8bb5f525.esm.js.map +1 -0
- package/dist/esm/{index-e9bf7392.esm.js → index-a1aff68f.esm.js} +11 -6
- package/dist/esm/index-a1aff68f.esm.js.map +1 -0
- package/dist/esm/{index-ca07a7cd.esm.js → index-c5ac9263.esm.js} +16 -10
- package/dist/esm/index-c5ac9263.esm.js.map +1 -0
- package/dist/esm/{index-04d32ed0.esm.js → index-c93144ea.esm.js} +11 -6
- package/dist/esm/index-c93144ea.esm.js.map +1 -0
- package/dist/esm/{index-bc274d46.esm.js → index-e8d39ffc.esm.js} +24 -15
- package/dist/esm/index-e8d39ffc.esm.js.map +1 -0
- package/dist/index.d.ts +92 -19
- package/dist/index.esm.js +12 -7
- package/dist/index.esm.js.map +1 -1
- package/package.json +12 -12
- package/dist/esm/index-04d32ed0.esm.js.map +0 -1
- package/dist/esm/index-3cbe4558.esm.js.map +0 -1
- package/dist/esm/index-893ec2f5.esm.js.map +0 -1
- package/dist/esm/index-bc274d46.esm.js.map +0 -1
- package/dist/esm/index-bfe6f2c6.esm.js.map +0 -1
- package/dist/esm/index-ca07a7cd.esm.js.map +0 -1
- package/dist/esm/index-e9bf7392.esm.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,65 @@
|
|
|
1
1
|
# @backstage/plugin-search
|
|
2
2
|
|
|
3
|
+
## 0.5.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @backstage/config@0.1.12
|
|
9
|
+
- @backstage/core-components@0.8.4
|
|
10
|
+
- @backstage/core-plugin-api@0.5.0
|
|
11
|
+
- @backstage/plugin-catalog-react@0.6.11
|
|
12
|
+
- @backstage/errors@0.2.0
|
|
13
|
+
- @backstage/catalog-model@0.9.9
|
|
14
|
+
|
|
15
|
+
## 0.5.4
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- e05b9115aa: Fix missing search context issue with `HomePageSearchBar`
|
|
20
|
+
- 4ce51ab0f1: Internal refactor of the `react-use` imports to use `react-use/lib/*` instead.
|
|
21
|
+
- 54ef743aa4: Introduce a `<SearchType.Tabs />` variant to display tabs for selecting search result types.
|
|
22
|
+
- Updated dependencies
|
|
23
|
+
- @backstage/core-plugin-api@0.4.1
|
|
24
|
+
- @backstage/plugin-catalog-react@0.6.10
|
|
25
|
+
- @backstage/core-components@0.8.3
|
|
26
|
+
|
|
27
|
+
## 0.5.3
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- 6d8e3a9651: Internal cleanup of the exports structure
|
|
32
|
+
- 8b532a6c02: Introduces a `<SearchType.Accordion />` variant, which operates on the same part of a search query as the existing `<SearchType />`, but in a more opinionated way (as a single-select control surface suitable for faceted search UIs).
|
|
33
|
+
|
|
34
|
+
Check the [search plugin storybook](https://backstage.io/storybook/?path=/story/plugins-search-searchtype--accordion) to see how it can be used.
|
|
35
|
+
|
|
36
|
+
- af4980fb5d: Captures the search term entered in the SearchBarBase as a `search` event.
|
|
37
|
+
- Updated dependencies
|
|
38
|
+
- @backstage/plugin-catalog-react@0.6.9
|
|
39
|
+
|
|
40
|
+
## 0.5.2
|
|
41
|
+
|
|
42
|
+
### Patch Changes
|
|
43
|
+
|
|
44
|
+
- 3d98955c8a: Add Optional Props to Override Icon for SidebarSearch and SidebarSearchModal Component
|
|
45
|
+
- 49a696d720: Standardizes the component used as a search box in the search modal and in the composable home page.
|
|
46
|
+
|
|
47
|
+
After these changes, all search boxes exported by the search plugin are based on the `<SearchBarBase />` component, and this one is based on the `<InputBase />` component of the Material UI. This means that when you use SearchBarBase or one of its derived components (like `SearchBar` and `HomePageSearchBar`) you can pass all properties accepted by InputBase that have not been replaced by the props type of those components.
|
|
48
|
+
|
|
49
|
+
For example:
|
|
50
|
+
|
|
51
|
+
```jsx
|
|
52
|
+
<SearchInputBase color="secondary" debouceTime={500} />
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
The `color` property is inherited from `InputBaseProps` type and `debouceTime` defined by `SearchBarBaseProps`.
|
|
56
|
+
|
|
57
|
+
- 7a4bd2ceac: Prefer using `Link` from `@backstage/core-components` rather than material-UI.
|
|
58
|
+
- Updated dependencies
|
|
59
|
+
- @backstage/core-plugin-api@0.4.0
|
|
60
|
+
- @backstage/plugin-catalog-react@0.6.8
|
|
61
|
+
- @backstage/core-components@0.8.2
|
|
62
|
+
|
|
3
63
|
## 0.5.1
|
|
4
64
|
|
|
5
65
|
### Patch Changes
|
|
@@ -1,23 +1,28 @@
|
|
|
1
|
-
export { a as SearchBar, b as SearchBarBase } from './index-
|
|
1
|
+
export { a as SearchBar, b as SearchBarBase } from './index-8bb5f525.esm.js';
|
|
2
2
|
import '@backstage/core-plugin-api';
|
|
3
3
|
import '@backstage/errors';
|
|
4
4
|
import 'qs';
|
|
5
5
|
import 'react';
|
|
6
|
-
import '@material-ui/core';
|
|
7
|
-
import '@backstage/core-components';
|
|
8
6
|
import '@material-ui/icons/FilterList';
|
|
9
|
-
import '
|
|
7
|
+
import '@material-ui/core';
|
|
8
|
+
import 'react-use/lib/useDebounce';
|
|
10
9
|
import '@material-ui/icons/Search';
|
|
11
10
|
import '@material-ui/icons/Clear';
|
|
11
|
+
import 'react-use/lib/useAsync';
|
|
12
|
+
import 'react-use/lib/usePrevious';
|
|
13
|
+
import '@material-ui/icons/Launch';
|
|
12
14
|
import '@material-ui/core/styles';
|
|
15
|
+
import '@backstage/core-components';
|
|
13
16
|
import '@material-ui/icons/ArrowBackIos';
|
|
14
17
|
import '@material-ui/icons/ArrowForwardIos';
|
|
15
|
-
import '@material-ui/core/utils';
|
|
16
18
|
import 'react-router';
|
|
17
19
|
import '@material-ui/core/InputBase';
|
|
18
20
|
import '@material-ui/core/IconButton';
|
|
19
21
|
import '@material-ui/lab';
|
|
20
22
|
import '@backstage/plugin-catalog-react';
|
|
21
23
|
import '@backstage/catalog-model';
|
|
24
|
+
import 'react-use/lib/useEffectOnce';
|
|
25
|
+
import '@material-ui/icons/ExpandMore';
|
|
26
|
+
import '@material-ui/icons/FontDownload';
|
|
22
27
|
import 'react-router-dom';
|
|
23
|
-
//# sourceMappingURL=index-
|
|
28
|
+
//# sourceMappingURL=index-0938232c.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-0938232c.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,23 +1,28 @@
|
|
|
1
|
-
export { c as SearchResult } from './index-
|
|
1
|
+
export { c as SearchResult } from './index-8bb5f525.esm.js';
|
|
2
2
|
import '@backstage/core-plugin-api';
|
|
3
3
|
import '@backstage/errors';
|
|
4
4
|
import 'qs';
|
|
5
5
|
import 'react';
|
|
6
|
-
import '@material-ui/core';
|
|
7
|
-
import '@backstage/core-components';
|
|
8
6
|
import '@material-ui/icons/FilterList';
|
|
9
|
-
import '
|
|
7
|
+
import '@material-ui/core';
|
|
8
|
+
import 'react-use/lib/useDebounce';
|
|
10
9
|
import '@material-ui/icons/Search';
|
|
11
10
|
import '@material-ui/icons/Clear';
|
|
11
|
+
import 'react-use/lib/useAsync';
|
|
12
|
+
import 'react-use/lib/usePrevious';
|
|
13
|
+
import '@material-ui/icons/Launch';
|
|
12
14
|
import '@material-ui/core/styles';
|
|
15
|
+
import '@backstage/core-components';
|
|
13
16
|
import '@material-ui/icons/ArrowBackIos';
|
|
14
17
|
import '@material-ui/icons/ArrowForwardIos';
|
|
15
|
-
import '@material-ui/core/utils';
|
|
16
18
|
import 'react-router';
|
|
17
19
|
import '@material-ui/core/InputBase';
|
|
18
20
|
import '@material-ui/core/IconButton';
|
|
19
21
|
import '@material-ui/lab';
|
|
20
22
|
import '@backstage/plugin-catalog-react';
|
|
21
23
|
import '@backstage/catalog-model';
|
|
24
|
+
import 'react-use/lib/useEffectOnce';
|
|
25
|
+
import '@material-ui/icons/ExpandMore';
|
|
26
|
+
import '@material-ui/icons/FontDownload';
|
|
22
27
|
import 'react-router-dom';
|
|
23
|
-
//# sourceMappingURL=index-
|
|
28
|
+
//# sourceMappingURL=index-6640d668.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-6640d668.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
|