Merge pull request #8247 from backstage/changeset-release/master
Version Packages
This commit is contained in:
@@ -1,5 +1,33 @@
|
||||
# @backstage/plugin-search
|
||||
|
||||
## 0.5.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- c5b6045f36: Search Modal now relies on the Search Context to access state and state setter. If you use the SidebarSearchModal as described in the [getting started documentation](https://backstage.io/docs/features/search/getting-started#using-the-search-modal), make sure to update your code with the SearchContextProvider.
|
||||
|
||||
```diff
|
||||
export const Root = ({ children }: PropsWithChildren<{}>) => (
|
||||
<SidebarPage>
|
||||
<Sidebar>
|
||||
<SidebarLogo />
|
||||
- <SidebarSearchModal />
|
||||
+ <SearchContextProvider>
|
||||
+ <SidebarSearchModal />
|
||||
+ </SearchContextProvider>
|
||||
<SidebarDivider />
|
||||
...
|
||||
```
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- f06ecd09a7: Add optional icon and secondaryAction properties for DefaultResultListItem component
|
||||
- c5941d5c30: Add a new optional clearButton property to the SearchBar component. The default value for this new property is true.
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.7.6
|
||||
- @backstage/theme@0.2.14
|
||||
- @backstage/core-plugin-api@0.2.2
|
||||
|
||||
## 0.4.18
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/plugin-search",
|
||||
"description": "The Backstage plugin that provides your backstage app with search",
|
||||
"version": "0.4.18",
|
||||
"version": "0.5.0",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
@@ -32,12 +32,12 @@
|
||||
"dependencies": {
|
||||
"@backstage/catalog-model": "^0.9.7",
|
||||
"@backstage/config": "^0.1.11",
|
||||
"@backstage/core-components": "^0.7.5",
|
||||
"@backstage/core-plugin-api": "^0.2.1",
|
||||
"@backstage/core-components": "^0.7.6",
|
||||
"@backstage/core-plugin-api": "^0.2.2",
|
||||
"@backstage/errors": "^0.1.4",
|
||||
"@backstage/plugin-catalog-react": "^0.6.4",
|
||||
"@backstage/search-common": "^0.2.1",
|
||||
"@backstage/theme": "^0.2.13",
|
||||
"@backstage/theme": "^0.2.14",
|
||||
"@backstage/types": "^0.1.1",
|
||||
"@material-ui/core": "^4.12.2",
|
||||
"@material-ui/icons": "^4.9.1",
|
||||
@@ -51,8 +51,8 @@
|
||||
"react-use": "^17.2.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/cli": "^0.9.1",
|
||||
"@backstage/core-app-api": "^0.1.23",
|
||||
"@backstage/cli": "^0.10.0",
|
||||
"@backstage/core-app-api": "^0.1.24",
|
||||
"@backstage/dev-utils": "^0.2.13",
|
||||
"@backstage/test-utils": "^0.1.23",
|
||||
"@testing-library/jest-dom": "^5.10.1",
|
||||
|
||||
Reference in New Issue
Block a user