Version Packages

This commit is contained in:
github-actions[bot]
2022-05-17 09:26:29 +00:00
parent 6a1f67ba49
commit 64a03bd946
449 changed files with 5696 additions and 2960 deletions
+30
View File
@@ -1,5 +1,35 @@
# @backstage/plugin-search-react
## 0.2.0
### 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
- 11a46863de: Export `useSearchContextCheck` hook to check if the search context is available
- a307a14be0: Removed dependency on `@backstage/core-app-api`.
- 3a74e203a8: Updated search result components to support rendering content with highlighted matched terms
- Updated dependencies
- @backstage/core-plugin-api@1.0.2
- @backstage/plugin-search-common@0.3.4
## 0.2.0-next.2
### Patch Changes
+5 -5
View File
@@ -1,6 +1,6 @@
{
"name": "@backstage/plugin-search-react",
"version": "0.2.0-next.2",
"version": "0.2.0",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -31,8 +31,8 @@
"start": "backstage-cli package start"
},
"dependencies": {
"@backstage/plugin-search-common": "^0.3.4-next.0",
"@backstage/core-plugin-api": "^1.0.2-next.1",
"@backstage/plugin-search-common": "^0.3.4",
"@backstage/core-plugin-api": "^1.0.2",
"@backstage/version-bridge": "^1.0.1",
"react-use": "^17.3.2",
"@backstage/types": "^1.0.0",
@@ -43,8 +43,8 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
"@backstage/core-app-api": "^1.0.2-next.1",
"@backstage/test-utils": "^1.1.0-next.2",
"@backstage/core-app-api": "^1.0.2",
"@backstage/test-utils": "^1.1.0",
"@testing-library/react": "^12.1.3",
"@testing-library/react-hooks": "^8.0.0",
"@testing-library/jest-dom": "^5.10.1"