@backstage/plugin-search-react
Advanced tools
Comparing version
# @backstage/plugin-search-react | ||
## 0.0.0-nightly-20220503024657 | ||
## 0.0.0-nightly-20220504024625 | ||
@@ -29,4 +29,30 @@ ### Minor Changes | ||
- Updated dependencies | ||
- @backstage/core-plugin-api@0.0.0-nightly-20220503024657 | ||
- @backstage/core-plugin-api@0.0.0-nightly-20220504024625 | ||
## 0.2.0-next.1 | ||
### Minor Changes | ||
- bdbe620797: **BREAKING**: `SearchContextProviderForStorybook` and `SearchApiProviderForStorybook` has been deleted. New mock implementation of the `SearchApi` introduced. If you need to mock the api we recommend you to do the following: | ||
```tsx | ||
import { | ||
searchApiRef, | ||
MockSearchApi, | ||
SearchContextProvider, | ||
} from '@backstage/plugin-search-react'; | ||
import { TestApiProvider } from '@backstage/test-utils'; | ||
<TestApiProvider apis={[[searchApiRef, new MockSearchApi()]]}> | ||
<SearchContextProvider> | ||
<Component /> | ||
</SearchContextProvider> | ||
</TestApiProvider>; | ||
``` | ||
### Patch Changes | ||
- Updated dependencies | ||
- @backstage/core-plugin-api@1.0.2-next.0 | ||
## 0.1.1-next.0 | ||
@@ -33,0 +59,0 @@ |
{ | ||
"name": "@backstage/plugin-search-react", | ||
"version": "0.0.0-nightly-20220503024657", | ||
"version": "0.0.0-nightly-20220504024625", | ||
"main": "dist/index.esm.js", | ||
@@ -35,3 +35,3 @@ "types": "dist/index.d.ts", | ||
"@backstage/plugin-search-common": "^0.3.3", | ||
"@backstage/core-plugin-api": "^0.0.0-nightly-20220503024657", | ||
"@backstage/core-plugin-api": "^0.0.0-nightly-20220504024625", | ||
"@backstage/version-bridge": "^1.0.1", | ||
@@ -46,4 +46,4 @@ "react-use": "^17.3.2", | ||
"devDependencies": { | ||
"@backstage/core-app-api": "^1.0.1", | ||
"@backstage/test-utils": "^0.0.0-nightly-20220503024657", | ||
"@backstage/core-app-api": "^0.0.0-nightly-20220504024625", | ||
"@backstage/test-utils": "^0.0.0-nightly-20220504024625", | ||
"@testing-library/react": "^12.1.3", | ||
@@ -50,0 +50,0 @@ "@testing-library/react-hooks": "^8.0.0", |
20232
3.82%