@backstage/plugin-search 0.4.17 → 0.5.2
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 +74 -0
- package/dist/esm/{index-3b720a86.esm.js → index-0a2fab21.esm.js} +2 -2
- package/dist/esm/index-0a2fab21.esm.js.map +1 -0
- package/dist/esm/{index-12477c15.esm.js → index-18219c65.esm.js} +2 -2
- package/dist/esm/index-18219c65.esm.js.map +1 -0
- package/dist/esm/{index-022e0330.esm.js → index-2a318193.esm.js} +2 -2
- package/dist/esm/index-2a318193.esm.js.map +1 -0
- package/dist/esm/{index-17c9e868.esm.js → index-655809db.esm.js} +184 -144
- package/dist/esm/index-655809db.esm.js.map +1 -0
- package/dist/esm/{index-597d3990.esm.js → index-a71e930d.esm.js} +2 -2
- package/dist/esm/index-a71e930d.esm.js.map +1 -0
- package/dist/esm/{index-226c47ca.esm.js → index-af05ea86.esm.js} +7 -7
- package/dist/esm/index-af05ea86.esm.js.map +1 -0
- package/dist/esm/index-d5ddea91.esm.js +23 -0
- package/dist/esm/index-d5ddea91.esm.js.map +1 -0
- package/dist/index.d.ts +66 -25
- package/dist/index.esm.js +1 -1
- package/package.json +15 -14
- package/dist/esm/index-022e0330.esm.js.map +0 -1
- package/dist/esm/index-12477c15.esm.js.map +0 -1
- package/dist/esm/index-17c9e868.esm.js.map +0 -1
- package/dist/esm/index-226c47ca.esm.js.map +0 -1
- package/dist/esm/index-3b720a86.esm.js.map +0 -1
- package/dist/esm/index-597d3990.esm.js.map +0 -1
- package/dist/esm/index-b3bf028c.esm.js +0 -60
- package/dist/esm/index-b3bf028c.esm.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,79 @@
|
|
|
1
1
|
# @backstage/plugin-search
|
|
2
2
|
|
|
3
|
+
## 0.5.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 3d98955c8a: Add Optional Props to Override Icon for SidebarSearch and SidebarSearchModal Component
|
|
8
|
+
- 49a696d720: Standardizes the component used as a search box in the search modal and in the composable home page.
|
|
9
|
+
|
|
10
|
+
After these changes, all search boxes exported by the search plugin are based on the `<SearchBarBase />` component, and this one is based on the `<InputBase />` component of the Material UI. This means that when you use SearchBarBase or one of its derived components (like `SearchBar` and `HomePageSearchBar`) you can pass all properties accepted by InputBase that have not been replaced by the props type of those components.
|
|
11
|
+
|
|
12
|
+
For example:
|
|
13
|
+
|
|
14
|
+
```jsx
|
|
15
|
+
<SearchInputBase color="secondary" debouceTime={500} />
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
The `color` property is inherited from `InputBaseProps` type and `debouceTime` defined by `SearchBarBaseProps`.
|
|
19
|
+
|
|
20
|
+
- 7a4bd2ceac: Prefer using `Link` from `@backstage/core-components` rather than material-UI.
|
|
21
|
+
- Updated dependencies
|
|
22
|
+
- @backstage/core-plugin-api@0.4.0
|
|
23
|
+
- @backstage/plugin-catalog-react@0.6.8
|
|
24
|
+
- @backstage/core-components@0.8.2
|
|
25
|
+
|
|
26
|
+
## 0.5.1
|
|
27
|
+
|
|
28
|
+
### Patch Changes
|
|
29
|
+
|
|
30
|
+
- cd450844f6: Moved React dependencies to `peerDependencies` and allow both React v16 and v17 to be used.
|
|
31
|
+
- 382e3a94b3: Export SearchApi interface from plugin
|
|
32
|
+
- Updated dependencies
|
|
33
|
+
- @backstage/core-components@0.8.0
|
|
34
|
+
- @backstage/core-plugin-api@0.3.0
|
|
35
|
+
- @backstage/plugin-catalog-react@0.6.5
|
|
36
|
+
|
|
37
|
+
## 0.5.0
|
|
38
|
+
|
|
39
|
+
### Minor Changes
|
|
40
|
+
|
|
41
|
+
- 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.
|
|
42
|
+
|
|
43
|
+
```diff
|
|
44
|
+
export const Root = ({ children }: PropsWithChildren<{}>) => (
|
|
45
|
+
<SidebarPage>
|
|
46
|
+
<Sidebar>
|
|
47
|
+
<SidebarLogo />
|
|
48
|
+
- <SidebarSearchModal />
|
|
49
|
+
+ <SearchContextProvider>
|
|
50
|
+
+ <SidebarSearchModal />
|
|
51
|
+
+ </SearchContextProvider>
|
|
52
|
+
<SidebarDivider />
|
|
53
|
+
...
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### Patch Changes
|
|
57
|
+
|
|
58
|
+
- f06ecd09a7: Add optional icon and secondaryAction properties for DefaultResultListItem component
|
|
59
|
+
- c5941d5c30: Add a new optional clearButton property to the SearchBar component. The default value for this new property is true.
|
|
60
|
+
- Updated dependencies
|
|
61
|
+
- @backstage/core-components@0.7.6
|
|
62
|
+
- @backstage/theme@0.2.14
|
|
63
|
+
- @backstage/core-plugin-api@0.2.2
|
|
64
|
+
|
|
65
|
+
## 0.4.18
|
|
66
|
+
|
|
67
|
+
### Patch Changes
|
|
68
|
+
|
|
69
|
+
- a125278b81: Refactor out the deprecated path and icon from RouteRefs
|
|
70
|
+
- 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.
|
|
71
|
+
- Updated dependencies
|
|
72
|
+
- @backstage/catalog-model@0.9.7
|
|
73
|
+
- @backstage/plugin-catalog-react@0.6.4
|
|
74
|
+
- @backstage/core-components@0.7.4
|
|
75
|
+
- @backstage/core-plugin-api@0.2.0
|
|
76
|
+
|
|
3
77
|
## 0.4.17
|
|
4
78
|
|
|
5
79
|
### Patch Changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { S as SearchPage } from './index-
|
|
1
|
+
export { S as SearchPage } from './index-655809db.esm.js';
|
|
2
2
|
import '@backstage/core-plugin-api';
|
|
3
3
|
import '@backstage/errors';
|
|
4
4
|
import 'qs';
|
|
@@ -20,4 +20,4 @@ import '@material-ui/lab';
|
|
|
20
20
|
import '@backstage/plugin-catalog-react';
|
|
21
21
|
import '@backstage/catalog-model';
|
|
22
22
|
import 'react-router-dom';
|
|
23
|
-
//# sourceMappingURL=index-
|
|
23
|
+
//# sourceMappingURL=index-0a2fab21.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-0a2fab21.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as DefaultResultListItem } from './index-
|
|
1
|
+
export { D as DefaultResultListItem } from './index-655809db.esm.js';
|
|
2
2
|
import '@backstage/core-plugin-api';
|
|
3
3
|
import '@backstage/errors';
|
|
4
4
|
import 'qs';
|
|
@@ -20,4 +20,4 @@ import '@material-ui/lab';
|
|
|
20
20
|
import '@backstage/plugin-catalog-react';
|
|
21
21
|
import '@backstage/catalog-model';
|
|
22
22
|
import 'react-router-dom';
|
|
23
|
-
//# sourceMappingURL=index-
|
|
23
|
+
//# sourceMappingURL=index-18219c65.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-18219c65.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { c as SearchResult } from './index-
|
|
1
|
+
export { c as SearchResult } from './index-655809db.esm.js';
|
|
2
2
|
import '@backstage/core-plugin-api';
|
|
3
3
|
import '@backstage/errors';
|
|
4
4
|
import 'qs';
|
|
@@ -20,4 +20,4 @@ import '@material-ui/lab';
|
|
|
20
20
|
import '@backstage/plugin-catalog-react';
|
|
21
21
|
import '@backstage/catalog-model';
|
|
22
22
|
import 'react-router-dom';
|
|
23
|
-
//# sourceMappingURL=index-
|
|
23
|
+
//# sourceMappingURL=index-2a318193.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-2a318193.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;"}
|