Version Packages (next)

This commit is contained in:
github-actions[bot]
2022-06-28 09:27:36 +00:00
parent bc16470768
commit c92deffe39
282 changed files with 4153 additions and 1115 deletions
+34
View File
@@ -1,5 +1,39 @@
# @backstage/plugin-home
## 0.4.23-next.1
### Patch Changes
- 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.9.6-next.1
- @backstage/catalog-model@1.1.0-next.1
- @backstage/plugin-stack-overflow@0.1.3-next.1
- @backstage/theme@0.2.16-next.0
- @backstage/plugin-catalog-react@1.1.2-next.1
## 0.4.23-next.0
### Patch Changes
+9 -9
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/plugin-home",
"description": "A Backstage plugin that helps you build a home page",
"version": "0.4.23-next.0",
"version": "0.4.23-next.1",
"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.0",
"@backstage/catalog-model": "^1.1.0-next.1",
"@backstage/config": "^1.0.1",
"@backstage/core-components": "^0.9.6-next.0",
"@backstage/core-components": "^0.9.6-next.1",
"@backstage/core-plugin-api": "^1.0.3",
"@backstage/plugin-catalog-react": "^1.1.2-next.0",
"@backstage/plugin-stack-overflow": "^0.1.3-next.0",
"@backstage/theme": "^0.2.15",
"@backstage/plugin-catalog-react": "^1.1.2-next.1",
"@backstage/plugin-stack-overflow": "^0.1.3-next.1",
"@backstage/theme": "^0.2.16-next.0",
"@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.17.3-next.0",
"@backstage/cli": "^0.18.0-next.1",
"@backstage/core-app-api": "^1.0.4-next.0",
"@backstage/dev-utils": "^1.0.4-next.0",
"@backstage/test-utils": "^1.1.2-next.0",
"@backstage/dev-utils": "^1.0.4-next.1",
"@backstage/test-utils": "^1.1.2-next.1",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",