@backstage/plugin-search 0.5.4 → 0.6.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 +70 -0
- package/dist/esm/{index-05b04684.esm.js → index-0cc5ccb8.esm.js} +5 -4
- package/dist/esm/index-0cc5ccb8.esm.js.map +1 -0
- package/dist/esm/{index-9ed6d72a.esm.js → index-19c51c5a.esm.js} +301 -193
- package/dist/esm/index-19c51c5a.esm.js.map +1 -0
- package/dist/esm/{index-53fbff6a.esm.js → index-1d0bef15.esm.js} +5 -4
- package/dist/esm/index-1d0bef15.esm.js.map +1 -0
- package/dist/esm/{index-b090f4cf.esm.js → index-792f3072.esm.js} +11 -14
- package/dist/esm/{index-b090f4cf.esm.js.map → index-792f3072.esm.js.map} +1 -1
- package/dist/esm/{index-82c9eaed.esm.js → index-968bef26.esm.js} +8 -7
- package/dist/esm/{index-82c9eaed.esm.js.map → index-968bef26.esm.js.map} +1 -1
- package/dist/esm/{index-da49c2d7.esm.js → index-b4cc532f.esm.js} +5 -4
- package/dist/esm/index-b4cc532f.esm.js.map +1 -0
- package/dist/esm/{index-5842ad6f.esm.js → index-eaf72cdc.esm.js} +5 -4
- package/dist/esm/index-eaf72cdc.esm.js.map +1 -0
- package/dist/index.d.ts +53 -12
- package/dist/index.esm.js +4 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +13 -13
- package/dist/esm/index-05b04684.esm.js.map +0 -1
- package/dist/esm/index-53fbff6a.esm.js.map +0 -1
- package/dist/esm/index-5842ad6f.esm.js.map +0 -1
- package/dist/esm/index-9ed6d72a.esm.js.map +0 -1
- package/dist/esm/index-da49c2d7.esm.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,75 @@
|
|
|
1
1
|
# @backstage/plugin-search
|
|
2
2
|
|
|
3
|
+
## 0.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 2f0d3d3278: Forwarding classes to HomePageSearchBar instead of using className prop. For custom styles of the HomePageSearchBar, use classes prop instead:
|
|
8
|
+
|
|
9
|
+
```diff
|
|
10
|
+
<HomePageSearchBar
|
|
11
|
+
- className={searchBar}
|
|
12
|
+
+ classes={{ root: classes.searchBar }}
|
|
13
|
+
placeholder="Search"
|
|
14
|
+
/>
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
- 1dbe63ec39: The way labels are controlled on both the `<SearchFilter.Checkbox />` and
|
|
18
|
+
`<SearchFilter.Select />` components has changed. Previously, the string passed
|
|
19
|
+
on the `name` prop (which controls the field being filtered on) was also
|
|
20
|
+
rendered as the field label. Now, if you want a label rendered, it must be
|
|
21
|
+
passed on the new `label` prop. If no `label` is provided, no label will be
|
|
22
|
+
rendered.
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- 4aca2a5307: Introduces a `<SearchFilter.Autocomplete />` variant, which can be used as either a single- or multi-select autocomplete filter.
|
|
27
|
+
|
|
28
|
+
This variant, as well as `<SearchFilter.Select />`, now also supports loading allowed values asynchronously by passing a function that resolves the list of values to the `values` prop. (An optional `valuesDebounceMs` prop may also be provided to control the debounce time).
|
|
29
|
+
|
|
30
|
+
Check the [search plugin storybook](https://backstage.io/storybook/?path=/story/plugins-search-searchfilter) to see how to leverage these new additions.
|
|
31
|
+
|
|
32
|
+
- Updated dependencies
|
|
33
|
+
- @backstage/core-components@0.8.6
|
|
34
|
+
- @backstage/search-common@0.2.2
|
|
35
|
+
|
|
36
|
+
## 0.5.6
|
|
37
|
+
|
|
38
|
+
### Patch Changes
|
|
39
|
+
|
|
40
|
+
- 1523926507: Removes the focus from the sidebar and focus the main content after select one search result or navigate to the search result list
|
|
41
|
+
- 51fbedc445: Migrated usage of deprecated `IdentityApi` methods.
|
|
42
|
+
- Updated dependencies
|
|
43
|
+
- @backstage/core-components@0.8.5
|
|
44
|
+
- @backstage/core-plugin-api@0.6.0
|
|
45
|
+
- @backstage/plugin-catalog-react@0.6.12
|
|
46
|
+
- @backstage/config@0.1.13
|
|
47
|
+
- @backstage/catalog-model@0.9.10
|
|
48
|
+
|
|
49
|
+
## 0.5.6-next.0
|
|
50
|
+
|
|
51
|
+
### Patch Changes
|
|
52
|
+
|
|
53
|
+
- 51fbedc445: Migrated usage of deprecated `IdentityApi` methods.
|
|
54
|
+
- Updated dependencies
|
|
55
|
+
- @backstage/core-components@0.8.5-next.0
|
|
56
|
+
- @backstage/core-plugin-api@0.6.0-next.0
|
|
57
|
+
- @backstage/config@0.1.13-next.0
|
|
58
|
+
- @backstage/plugin-catalog-react@0.6.12-next.0
|
|
59
|
+
- @backstage/catalog-model@0.9.10-next.0
|
|
60
|
+
|
|
61
|
+
## 0.5.5
|
|
62
|
+
|
|
63
|
+
### Patch Changes
|
|
64
|
+
|
|
65
|
+
- Updated dependencies
|
|
66
|
+
- @backstage/config@0.1.12
|
|
67
|
+
- @backstage/core-components@0.8.4
|
|
68
|
+
- @backstage/core-plugin-api@0.5.0
|
|
69
|
+
- @backstage/plugin-catalog-react@0.6.11
|
|
70
|
+
- @backstage/errors@0.2.0
|
|
71
|
+
- @backstage/catalog-model@0.9.9
|
|
72
|
+
|
|
3
73
|
## 0.5.4
|
|
4
74
|
|
|
5
75
|
### Patch Changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { S as SearchPage } from './index-19c51c5a.esm.js';
|
|
2
2
|
import '@backstage/core-plugin-api';
|
|
3
3
|
import '@backstage/errors';
|
|
4
4
|
import 'qs';
|
|
@@ -10,19 +10,20 @@ import '@material-ui/icons/Search';
|
|
|
10
10
|
import '@material-ui/icons/Clear';
|
|
11
11
|
import 'react-use/lib/useAsync';
|
|
12
12
|
import 'react-use/lib/usePrevious';
|
|
13
|
+
import '@material-ui/lab';
|
|
14
|
+
import 'react-use/lib/useAsyncFn';
|
|
15
|
+
import '@material-ui/icons/Launch';
|
|
13
16
|
import '@material-ui/core/styles';
|
|
14
17
|
import '@backstage/core-components';
|
|
15
18
|
import '@material-ui/icons/ArrowBackIos';
|
|
16
19
|
import '@material-ui/icons/ArrowForwardIos';
|
|
17
|
-
import '@material-ui/core/utils';
|
|
18
20
|
import 'react-router';
|
|
19
21
|
import '@material-ui/core/InputBase';
|
|
20
22
|
import '@material-ui/core/IconButton';
|
|
21
|
-
import '@material-ui/lab';
|
|
22
23
|
import '@backstage/plugin-catalog-react';
|
|
23
24
|
import '@backstage/catalog-model';
|
|
24
25
|
import 'react-use/lib/useEffectOnce';
|
|
25
26
|
import '@material-ui/icons/ExpandMore';
|
|
26
27
|
import '@material-ui/icons/FontDownload';
|
|
27
28
|
import 'react-router-dom';
|
|
28
|
-
//# sourceMappingURL=index-
|
|
29
|
+
//# sourceMappingURL=index-0cc5ccb8.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-0cc5ccb8.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|