Version Packages
This commit is contained in:
@@ -1,5 +1,43 @@
|
||||
# @backstage/plugin-home
|
||||
|
||||
## 0.4.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- bcf312fa52: The homepage `<Header />` is now part of the composable canvas (allowing you to add the <HomepageTimer />, for example).
|
||||
|
||||
You will need to wrap your existing composed `<HomePage />` component in `<Page />`, `<Header />`, and `<Content />` components, like this:
|
||||
|
||||
```diff
|
||||
// app/src/components/home/HomePage.tsx
|
||||
|
||||
+ import { Content, Header, Page, HomePageTimer } from '@backstage/core-components';
|
||||
|
||||
export const HomePage = () => (
|
||||
+ <Page themeId="home">
|
||||
+ <Header title="Home">
|
||||
+ <HomepageTimer />
|
||||
+ </Header>
|
||||
+ <Content>
|
||||
<Grid container spacing={3}>
|
||||
<Grid item xs={12}>
|
||||
<HomePageSearchBar />
|
||||
</Grid>
|
||||
// ...
|
||||
+ </Content>
|
||||
+ </Page>
|
||||
);
|
||||
```
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 9f1362dcc1: Upgrade `@material-ui/lab` to `4.0.0-alpha.57`.
|
||||
- 1da51fec2b: Adjust dependencies to `@types/react` and `react-router` to follow the pattern
|
||||
used by all other Backstage packages.
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.4.2
|
||||
- @backstage/core-plugin-api@0.1.8
|
||||
|
||||
## 0.3.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/plugin-home",
|
||||
"description": "A Backstage plugin that helps you build a home page",
|
||||
"version": "0.3.0",
|
||||
"version": "0.4.0",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
@@ -21,8 +21,8 @@
|
||||
"clean": "backstage-cli clean"
|
||||
},
|
||||
"dependencies": {
|
||||
"@backstage/core-components": "^0.4.1",
|
||||
"@backstage/core-plugin-api": "^0.1.7",
|
||||
"@backstage/core-components": "^0.4.2",
|
||||
"@backstage/core-plugin-api": "^0.1.8",
|
||||
"@backstage/theme": "^0.2.10",
|
||||
"@material-ui/core": "^4.12.2",
|
||||
"@material-ui/icons": "^4.9.1",
|
||||
@@ -34,8 +34,8 @@
|
||||
"react-use": "^17.2.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/cli": "^0.7.11",
|
||||
"@backstage/core-app-api": "^0.1.12",
|
||||
"@backstage/cli": "^0.7.12",
|
||||
"@backstage/core-app-api": "^0.1.13",
|
||||
"@backstage/dev-utils": "^0.2.9",
|
||||
"@backstage/test-utils": "^0.1.17",
|
||||
"@testing-library/jest-dom": "^5.10.1",
|
||||
|
||||
Reference in New Issue
Block a user