@backstage/plugin-search-react 1.5.0-next.1 → 1.5.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # @backstage/plugin-search-react
2
2
 
3
+ ## 1.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 0eaa579f89: - Create the search results extensions, for more details see the documentation [here](https://backstage.io/docs/features/search/how-to-guides#how-to-render-search-results-using-extensions);
8
+ - Update the `SearchResult`, `SearchResultList` and `SearchResultGroup` components to use extensions and default their props to optionally accept a query, when the query is not passed, the component tries to get it from the search context.
9
+
10
+ ### Patch Changes
11
+
12
+ - 66e2aab4c4: `ListItem` wrapper component moved to `SearchResultListItemExtension` for all `*SearchResultListItems` that are exported as extensions. This is to make sure the list only contains list elements.
13
+
14
+ Note: If you have implemented a custom result list item, we recommend you to remove the list item wrapper to avoid nested `<li>` elements.
15
+
16
+ - Updated dependencies
17
+ - @backstage/core-components@0.12.4
18
+ - @backstage/theme@0.2.17
19
+ - @backstage/core-plugin-api@1.4.0
20
+ - @backstage/types@1.0.2
21
+ - @backstage/version-bridge@1.0.3
22
+ - @backstage/plugin-search-common@1.2.1
23
+
3
24
  ## 1.5.0-next.1
4
25
 
5
26
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-search-react",
3
- "version": "1.5.0-next.1",
3
+ "version": "1.5.0",
4
4
  "main": "dist/index.esm.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "license": "Apache-2.0",
@@ -31,10 +31,10 @@
31
31
  "start": "backstage-cli package start"
32
32
  },
33
33
  "dependencies": {
34
- "@backstage/core-components": "^0.12.4-next.1",
35
- "@backstage/core-plugin-api": "^1.3.0",
34
+ "@backstage/core-components": "^0.12.4",
35
+ "@backstage/core-plugin-api": "^1.4.0",
36
36
  "@backstage/plugin-search-common": "^1.2.1",
37
- "@backstage/theme": "^0.2.16",
37
+ "@backstage/theme": "^0.2.17",
38
38
  "@backstage/types": "^1.0.2",
39
39
  "@backstage/version-bridge": "^1.0.3",
40
40
  "@material-ui/core": "^4.12.2",
@@ -50,9 +50,9 @@
50
50
  "react-router-dom": "6.0.0-beta.0 || ^6.3.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@backstage/cli": "^0.22.2-next.1",
54
- "@backstage/core-app-api": "^1.4.1-next.0",
55
- "@backstage/test-utils": "^1.2.5-next.0",
53
+ "@backstage/cli": "^0.22.2",
54
+ "@backstage/core-app-api": "^1.5.0",
55
+ "@backstage/test-utils": "^1.2.5",
56
56
  "@testing-library/jest-dom": "^5.10.1",
57
57
  "@testing-library/react": "^12.1.3",
58
58
  "@testing-library/react-hooks": "^8.0.0",