@backstage/plugin-home 0.4.23-next.3 → 0.4.23
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 +37 -0
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,42 @@
|
|
|
1
1
|
# @backstage/plugin-home
|
|
2
2
|
|
|
3
|
+
## 0.4.23
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- a70869e775: Updated dependency `msw` to `^0.43.0`.
|
|
8
|
+
- 8006d0f9bf: Updated dependency `msw` to `^0.44.0`.
|
|
9
|
+
- a46e317a75: Added support for customizing the time format used in the `HeaderWorldClock` component
|
|
10
|
+
|
|
11
|
+
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:
|
|
12
|
+
|
|
13
|
+
```diff
|
|
14
|
+
+const timeFormat: Intl.DateTimeFormatOptions = {
|
|
15
|
+
+ hour: '2-digit',
|
|
16
|
+
+ minute: '2-digit',
|
|
17
|
+
+ hour12: false,
|
|
18
|
+
+};
|
|
19
|
+
|
|
20
|
+
export const homePage = (
|
|
21
|
+
<Page themeId="home">
|
|
22
|
+
<Header title={<WelcomeTitle />} pageTitleOverride="Home">
|
|
23
|
+
+ <HeaderWorldClock clockConfigs={clockConfigs} customTimeFormat={timeFormat} />
|
|
24
|
+
</Header>
|
|
25
|
+
<Content>
|
|
26
|
+
<Grid container spacing={3}>
|
|
27
|
+
<Grid item xs={12}>
|
|
28
|
+
<HomePageSearchBar />
|
|
29
|
+
</Grid>
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
- Updated dependencies
|
|
33
|
+
- @backstage/core-components@0.10.0
|
|
34
|
+
- @backstage/catalog-model@1.1.0
|
|
35
|
+
- @backstage/core-plugin-api@1.0.4
|
|
36
|
+
- @backstage/plugin-stack-overflow@0.1.3
|
|
37
|
+
- @backstage/plugin-catalog-react@1.1.2
|
|
38
|
+
- @backstage/theme@0.2.16
|
|
39
|
+
|
|
3
40
|
## 0.4.23-next.3
|
|
4
41
|
|
|
5
42
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-home",
|
|
3
3
|
"description": "A Backstage plugin that helps you build a home page",
|
|
4
|
-
"version": "0.4.23
|
|
4
|
+
"version": "0.4.23",
|
|
5
5
|
"main": "dist/index.esm.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
"clean": "backstage-cli package clean"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@backstage/catalog-model": "^1.1.0
|
|
37
|
+
"@backstage/catalog-model": "^1.1.0",
|
|
38
38
|
"@backstage/config": "^1.0.1",
|
|
39
|
-
"@backstage/core-components": "^0.10.0
|
|
40
|
-
"@backstage/core-plugin-api": "^1.0.4
|
|
41
|
-
"@backstage/plugin-catalog-react": "^1.1.2
|
|
42
|
-
"@backstage/plugin-stack-overflow": "^0.1.3
|
|
43
|
-
"@backstage/theme": "^0.2.16
|
|
39
|
+
"@backstage/core-components": "^0.10.0",
|
|
40
|
+
"@backstage/core-plugin-api": "^1.0.4",
|
|
41
|
+
"@backstage/plugin-catalog-react": "^1.1.2",
|
|
42
|
+
"@backstage/plugin-stack-overflow": "^0.1.3",
|
|
43
|
+
"@backstage/theme": "^0.2.16",
|
|
44
44
|
"@material-ui/core": "^4.12.2",
|
|
45
45
|
"@material-ui/icons": "^4.9.1",
|
|
46
46
|
"@material-ui/lab": "4.0.0-alpha.57",
|
|
@@ -53,20 +53,20 @@
|
|
|
53
53
|
"react": "^16.13.1 || ^17.0.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@backstage/cli": "^0.18.0
|
|
57
|
-
"@backstage/core-app-api": "^1.0.4
|
|
58
|
-
"@backstage/dev-utils": "^1.0.4
|
|
59
|
-
"@backstage/test-utils": "^1.1.2
|
|
56
|
+
"@backstage/cli": "^0.18.0",
|
|
57
|
+
"@backstage/core-app-api": "^1.0.4",
|
|
58
|
+
"@backstage/dev-utils": "^1.0.4",
|
|
59
|
+
"@backstage/test-utils": "^1.1.2",
|
|
60
60
|
"@testing-library/jest-dom": "^5.10.1",
|
|
61
61
|
"@testing-library/react": "^12.1.3",
|
|
62
62
|
"@testing-library/user-event": "^14.0.0",
|
|
63
63
|
"@types/jest": "^26.0.7",
|
|
64
64
|
"@types/node": "^16.11.26",
|
|
65
65
|
"cross-fetch": "^3.1.5",
|
|
66
|
-
"msw": "^0.
|
|
66
|
+
"msw": "^0.44.0"
|
|
67
67
|
},
|
|
68
68
|
"files": [
|
|
69
69
|
"dist"
|
|
70
70
|
],
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "999878d8f1ae30f6a15925816af2016cb9d717a1"
|
|
72
72
|
}
|