Version Packages
This commit is contained in:
@@ -1,5 +1,42 @@
|
||||
# @backstage/plugin-home
|
||||
|
||||
## 0.4.23
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- a70869e775: Updated dependency `msw` to `^0.43.0`.
|
||||
- 8006d0f9bf: Updated dependency `msw` to `^0.44.0`.
|
||||
- a46e317a75: Added support for customizing the time format used in the `HeaderWorldClock` component
|
||||
|
||||
Here's an example of how this can be used in the `HomePage.tsx` found in `\packages\app\src\components\home` to change the clock to be in the 24hr time format:
|
||||
|
||||
```diff
|
||||
+const timeFormat: Intl.DateTimeFormatOptions = {
|
||||
+ hour: '2-digit',
|
||||
+ minute: '2-digit',
|
||||
+ hour12: false,
|
||||
+};
|
||||
|
||||
export const homePage = (
|
||||
<Page themeId="home">
|
||||
<Header title={<WelcomeTitle />} pageTitleOverride="Home">
|
||||
+ <HeaderWorldClock clockConfigs={clockConfigs} customTimeFormat={timeFormat} />
|
||||
</Header>
|
||||
<Content>
|
||||
<Grid container spacing={3}>
|
||||
<Grid item xs={12}>
|
||||
<HomePageSearchBar />
|
||||
</Grid>
|
||||
```
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.10.0
|
||||
- @backstage/catalog-model@1.1.0
|
||||
- @backstage/core-plugin-api@1.0.4
|
||||
- @backstage/plugin-stack-overflow@0.1.3
|
||||
- @backstage/plugin-catalog-react@1.1.2
|
||||
- @backstage/theme@0.2.16
|
||||
|
||||
## 0.4.23-next.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
+11
-11
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/plugin-home",
|
||||
"description": "A Backstage plugin that helps you build a home page",
|
||||
"version": "0.4.23-next.3",
|
||||
"version": "0.4.23",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
@@ -34,13 +34,13 @@
|
||||
"clean": "backstage-cli package clean"
|
||||
},
|
||||
"dependencies": {
|
||||
"@backstage/catalog-model": "^1.1.0-next.3",
|
||||
"@backstage/catalog-model": "^1.1.0",
|
||||
"@backstage/config": "^1.0.1",
|
||||
"@backstage/core-components": "^0.10.0-next.3",
|
||||
"@backstage/core-plugin-api": "^1.0.4-next.0",
|
||||
"@backstage/plugin-catalog-react": "^1.1.2-next.3",
|
||||
"@backstage/plugin-stack-overflow": "^0.1.3-next.3",
|
||||
"@backstage/theme": "^0.2.16-next.1",
|
||||
"@backstage/core-components": "^0.10.0",
|
||||
"@backstage/core-plugin-api": "^1.0.4",
|
||||
"@backstage/plugin-catalog-react": "^1.1.2",
|
||||
"@backstage/plugin-stack-overflow": "^0.1.3",
|
||||
"@backstage/theme": "^0.2.16",
|
||||
"@material-ui/core": "^4.12.2",
|
||||
"@material-ui/icons": "^4.9.1",
|
||||
"@material-ui/lab": "4.0.0-alpha.57",
|
||||
@@ -53,10 +53,10 @@
|
||||
"react": "^16.13.1 || ^17.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/cli": "^0.18.0-next.3",
|
||||
"@backstage/core-app-api": "^1.0.4-next.1",
|
||||
"@backstage/dev-utils": "^1.0.4-next.3",
|
||||
"@backstage/test-utils": "^1.1.2-next.2",
|
||||
"@backstage/cli": "^0.18.0",
|
||||
"@backstage/core-app-api": "^1.0.4",
|
||||
"@backstage/dev-utils": "^1.0.4",
|
||||
"@backstage/test-utils": "^1.1.2",
|
||||
"@testing-library/jest-dom": "^5.10.1",
|
||||
"@testing-library/react": "^12.1.3",
|
||||
"@testing-library/user-event": "^14.0.0",
|
||||
|
||||
Reference in New Issue
Block a user