@backstage/plugin-search 0.4.16 → 0.5.1
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.
- package/CHANGELOG.md +75 -0
- package/dist/esm/{index-6f14e751.esm.js → index-04d32ed0.esm.js} +6 -5
- package/dist/esm/index-04d32ed0.esm.js.map +1 -0
- package/dist/esm/{index-4ef7a5c8.esm.js → index-3cbe4558.esm.js} +6 -5
- package/dist/esm/index-3cbe4558.esm.js.map +1 -0
- package/dist/esm/{index-9c0d67e6.esm.js → index-893ec2f5.esm.js} +393 -245
- package/dist/esm/index-893ec2f5.esm.js.map +1 -0
- package/dist/esm/{index-3eebaa65.esm.js → index-bc274d46.esm.js} +13 -12
- package/dist/esm/{index-3eebaa65.esm.js.map → index-bc274d46.esm.js.map} +1 -1
- package/dist/esm/index-bfe6f2c6.esm.js +23 -0
- package/dist/esm/index-bfe6f2c6.esm.js.map +1 -0
- package/dist/esm/index-ca07a7cd.esm.js +38 -0
- package/dist/esm/index-ca07a7cd.esm.js.map +1 -0
- package/dist/esm/index-e9bf7392.esm.js +23 -0
- package/dist/esm/index-e9bf7392.esm.js.map +1 -0
- package/dist/index.d.ts +29 -13
- package/dist/index.esm.js +6 -5
- package/dist/index.esm.js.map +1 -1
- package/package.json +15 -14
- package/dist/esm/index-4ef7a5c8.esm.js.map +0 -1
- package/dist/esm/index-6f14e751.esm.js.map +0 -1
- package/dist/esm/index-92a9e2ec.esm.js +0 -18
- package/dist/esm/index-92a9e2ec.esm.js.map +0 -1
- package/dist/esm/index-9c0d67e6.esm.js.map +0 -1
- package/dist/esm/index-ee8d2563.esm.js +0 -46
- package/dist/esm/index-ee8d2563.esm.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,80 @@
|
|
|
1
1
|
# @backstage/plugin-search
|
|
2
2
|
|
|
3
|
+
## 0.5.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- cd450844f6: Moved React dependencies to `peerDependencies` and allow both React v16 and v17 to be used.
|
|
8
|
+
- 382e3a94b3: Export SearchApi interface from plugin
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
- @backstage/core-components@0.8.0
|
|
11
|
+
- @backstage/core-plugin-api@0.3.0
|
|
12
|
+
- @backstage/plugin-catalog-react@0.6.5
|
|
13
|
+
|
|
14
|
+
## 0.5.0
|
|
15
|
+
|
|
16
|
+
### Minor Changes
|
|
17
|
+
|
|
18
|
+
- 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.
|
|
19
|
+
|
|
20
|
+
```diff
|
|
21
|
+
export const Root = ({ children }: PropsWithChildren<{}>) => (
|
|
22
|
+
<SidebarPage>
|
|
23
|
+
<Sidebar>
|
|
24
|
+
<SidebarLogo />
|
|
25
|
+
- <SidebarSearchModal />
|
|
26
|
+
+ <SearchContextProvider>
|
|
27
|
+
+ <SidebarSearchModal />
|
|
28
|
+
+ </SearchContextProvider>
|
|
29
|
+
<SidebarDivider />
|
|
30
|
+
...
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Patch Changes
|
|
34
|
+
|
|
35
|
+
- f06ecd09a7: Add optional icon and secondaryAction properties for DefaultResultListItem component
|
|
36
|
+
- c5941d5c30: Add a new optional clearButton property to the SearchBar component. The default value for this new property is true.
|
|
37
|
+
- Updated dependencies
|
|
38
|
+
- @backstage/core-components@0.7.6
|
|
39
|
+
- @backstage/theme@0.2.14
|
|
40
|
+
- @backstage/core-plugin-api@0.2.2
|
|
41
|
+
|
|
42
|
+
## 0.4.18
|
|
43
|
+
|
|
44
|
+
### Patch Changes
|
|
45
|
+
|
|
46
|
+
- a125278b81: Refactor out the deprecated path and icon from RouteRefs
|
|
47
|
+
- 704b267e1c: Smaller UX improvements to search components such as optional autoFocus prop to SearchBar components, decreased debounce value and closing modal on link click of SearchModal, terminology updates of SearchResultPager.
|
|
48
|
+
- Updated dependencies
|
|
49
|
+
- @backstage/catalog-model@0.9.7
|
|
50
|
+
- @backstage/plugin-catalog-react@0.6.4
|
|
51
|
+
- @backstage/core-components@0.7.4
|
|
52
|
+
- @backstage/core-plugin-api@0.2.0
|
|
53
|
+
|
|
54
|
+
## 0.4.17
|
|
55
|
+
|
|
56
|
+
### Patch Changes
|
|
57
|
+
|
|
58
|
+
- 5dcea2586c: Added `SearchModal` component.
|
|
59
|
+
|
|
60
|
+
Now you can import `SearchModal` in your apps:
|
|
61
|
+
|
|
62
|
+
```js
|
|
63
|
+
import { SearchModal } from '@backstage/plugin-search';
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
You can also use the `SidebarSearchModal` component to integrate it into the sidebar of your sample apps:
|
|
67
|
+
|
|
68
|
+
```js
|
|
69
|
+
import { SidebarSearchModal } from '@backstage/plugin-search';
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
- Updated dependencies
|
|
73
|
+
- @backstage/core-components@0.7.3
|
|
74
|
+
- @backstage/theme@0.2.13
|
|
75
|
+
- @backstage/core-plugin-api@0.1.13
|
|
76
|
+
- @backstage/plugin-catalog-react@0.6.3
|
|
77
|
+
|
|
3
78
|
## 0.4.16
|
|
4
79
|
|
|
5
80
|
### Patch Changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { S as SearchPage } from './index-893ec2f5.esm.js';
|
|
2
2
|
import '@backstage/core-plugin-api';
|
|
3
3
|
import '@backstage/errors';
|
|
4
4
|
import 'qs';
|
|
@@ -9,14 +9,15 @@ import '@material-ui/icons/FilterList';
|
|
|
9
9
|
import 'react-use';
|
|
10
10
|
import '@material-ui/icons/Search';
|
|
11
11
|
import '@material-ui/icons/Clear';
|
|
12
|
-
import 'react-router';
|
|
13
12
|
import '@material-ui/core/styles';
|
|
13
|
+
import '@material-ui/icons/ArrowBackIos';
|
|
14
|
+
import '@material-ui/icons/ArrowForwardIos';
|
|
15
|
+
import '@material-ui/core/utils';
|
|
16
|
+
import 'react-router';
|
|
14
17
|
import '@material-ui/core/InputBase';
|
|
15
18
|
import '@material-ui/core/IconButton';
|
|
16
19
|
import '@material-ui/lab';
|
|
17
20
|
import '@backstage/plugin-catalog-react';
|
|
18
21
|
import '@backstage/catalog-model';
|
|
19
|
-
import '@material-ui/icons/ArrowBackIos';
|
|
20
|
-
import '@material-ui/icons/ArrowForwardIos';
|
|
21
22
|
import 'react-router-dom';
|
|
22
|
-
//# sourceMappingURL=index-
|
|
23
|
+
//# sourceMappingURL=index-04d32ed0.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-04d32ed0.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { c as SearchResult } from './index-893ec2f5.esm.js';
|
|
2
2
|
import '@backstage/core-plugin-api';
|
|
3
3
|
import '@backstage/errors';
|
|
4
4
|
import 'qs';
|
|
@@ -9,14 +9,15 @@ import '@material-ui/icons/FilterList';
|
|
|
9
9
|
import 'react-use';
|
|
10
10
|
import '@material-ui/icons/Search';
|
|
11
11
|
import '@material-ui/icons/Clear';
|
|
12
|
-
import 'react-router';
|
|
13
12
|
import '@material-ui/core/styles';
|
|
13
|
+
import '@material-ui/icons/ArrowBackIos';
|
|
14
|
+
import '@material-ui/icons/ArrowForwardIos';
|
|
15
|
+
import '@material-ui/core/utils';
|
|
16
|
+
import 'react-router';
|
|
14
17
|
import '@material-ui/core/InputBase';
|
|
15
18
|
import '@material-ui/core/IconButton';
|
|
16
19
|
import '@material-ui/lab';
|
|
17
20
|
import '@backstage/plugin-catalog-react';
|
|
18
21
|
import '@backstage/catalog-model';
|
|
19
|
-
import '@material-ui/icons/ArrowBackIos';
|
|
20
|
-
import '@material-ui/icons/ArrowForwardIos';
|
|
21
22
|
import 'react-router-dom';
|
|
22
|
-
//# sourceMappingURL=index-
|
|
23
|
+
//# sourceMappingURL=index-3cbe4558.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-3cbe4558.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;"}
|