Version Packages

This commit is contained in:
github-actions[bot]
2022-01-27 11:07:27 +00:00
parent c46a99b045
commit 406848efee
195 changed files with 987 additions and 865 deletions
+33
View File
@@ -1,5 +1,38 @@
# @backstage/plugin-search
## 0.6.0
### Minor Changes
- 2f0d3d3278: Forwarding classes to HomePageSearchBar instead of using className prop. For custom styles of the HomePageSearchBar, use classes prop instead:
```diff
<HomePageSearchBar
- className={searchBar}
+ classes={{ root: classes.searchBar }}
placeholder="Search"
/>
```
- 1dbe63ec39: The way labels are controlled on both the `<SearchFilter.Checkbox />` and
`<SearchFilter.Select />` components has changed. Previously, the string passed
on the `name` prop (which controls the field being filtered on) was also
rendered as the field label. Now, if you want a label rendered, it must be
passed on the new `label` prop. If no `label` is provided, no label will be
rendered.
### Patch Changes
- 4aca2a5307: Introduces a `<SearchFilter.Autocomplete />` variant, which can be used as either a single- or multi-select autocomplete filter.
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).
Check the [search plugin storybook](https://backstage.io/storybook/?path=/story/plugins-search-searchfilter) to see how to leverage these new additions.
- Updated dependencies
- @backstage/core-components@0.8.6
- @backstage/search-common@0.2.2
## 0.5.6
### Patch Changes
+6 -6
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/plugin-search",
"description": "The Backstage plugin that provides your backstage app with search",
"version": "0.5.6",
"version": "0.6.0",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -32,11 +32,11 @@
"dependencies": {
"@backstage/catalog-model": "^0.9.10",
"@backstage/config": "^0.1.13",
"@backstage/core-components": "^0.8.5",
"@backstage/core-components": "^0.8.6",
"@backstage/core-plugin-api": "^0.6.0",
"@backstage/errors": "^0.2.0",
"@backstage/plugin-catalog-react": "^0.6.12",
"@backstage/search-common": "^0.2.1",
"@backstage/search-common": "^0.2.2",
"@backstage/theme": "^0.2.14",
"@backstage/types": "^0.1.1",
"@material-ui/core": "^4.12.2",
@@ -52,9 +52,9 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
"@backstage/cli": "^0.12.0",
"@backstage/core-app-api": "^0.5.0",
"@backstage/dev-utils": "^0.2.18",
"@backstage/cli": "^0.13.0",
"@backstage/core-app-api": "^0.5.1",
"@backstage/dev-utils": "^0.2.19",
"@backstage/test-utils": "^0.2.3",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^11.2.5",