@backstage/plugin-home 0.4.33-next.1 → 0.4.33-next.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 +12 -0
- package/dist/index.d.ts +7 -7
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @backstage/plugin-home
|
|
2
2
|
|
|
3
|
+
## 0.4.33-next.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @backstage/core-components@0.12.6-next.2
|
|
9
|
+
- @backstage/plugin-catalog-react@1.4.1-next.2
|
|
10
|
+
- @backstage/core-plugin-api@1.5.1-next.1
|
|
11
|
+
- @backstage/catalog-model@1.2.1
|
|
12
|
+
- @backstage/config@1.0.7
|
|
13
|
+
- @backstage/theme@0.2.19-next.0
|
|
14
|
+
|
|
3
15
|
## 0.4.33-next.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import React__default from 'react';
|
|
|
4
4
|
import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
|
|
5
5
|
|
|
6
6
|
/** @public */
|
|
7
|
-
|
|
7
|
+
type Tool = {
|
|
8
8
|
label: string;
|
|
9
9
|
url: string;
|
|
10
10
|
icon: React__default.ReactNode;
|
|
@@ -15,12 +15,12 @@ declare type Tool = {
|
|
|
15
15
|
*
|
|
16
16
|
* @public
|
|
17
17
|
*/
|
|
18
|
-
|
|
18
|
+
type ToolkitContentProps = {
|
|
19
19
|
tools: Tool[];
|
|
20
20
|
};
|
|
21
21
|
|
|
22
22
|
/** @public */
|
|
23
|
-
|
|
23
|
+
type ClockConfig = {
|
|
24
24
|
label: string;
|
|
25
25
|
timeZone: string;
|
|
26
26
|
};
|
|
@@ -28,13 +28,13 @@ declare type ClockConfig = {
|
|
|
28
28
|
/**
|
|
29
29
|
* @public
|
|
30
30
|
*/
|
|
31
|
-
|
|
31
|
+
type ComponentRenderer = {
|
|
32
32
|
Renderer?: (props: RendererProps) => JSX.Element;
|
|
33
33
|
};
|
|
34
34
|
/**
|
|
35
35
|
* @public
|
|
36
36
|
*/
|
|
37
|
-
|
|
37
|
+
type ComponentParts = {
|
|
38
38
|
Content: (props?: any) => JSX.Element;
|
|
39
39
|
Actions?: () => JSX.Element;
|
|
40
40
|
Settings?: () => JSX.Element;
|
|
@@ -43,13 +43,13 @@ declare type ComponentParts = {
|
|
|
43
43
|
/**
|
|
44
44
|
* @public
|
|
45
45
|
*/
|
|
46
|
-
|
|
46
|
+
type RendererProps = {
|
|
47
47
|
title: string;
|
|
48
48
|
} & ComponentParts;
|
|
49
49
|
/**
|
|
50
50
|
* @public
|
|
51
51
|
*/
|
|
52
|
-
|
|
52
|
+
type CardExtensionProps<T> = ComponentRenderer & {
|
|
53
53
|
title?: string;
|
|
54
54
|
} & T;
|
|
55
55
|
/**
|
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.33-next.
|
|
4
|
+
"version": "0.4.33-next.2",
|
|
5
5
|
"main": "dist/index.esm.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@backstage/catalog-model": "^1.2.1",
|
|
37
37
|
"@backstage/config": "^1.0.7",
|
|
38
|
-
"@backstage/core-components": "^0.12.6-next.
|
|
39
|
-
"@backstage/core-plugin-api": "^1.5.1-next.
|
|
40
|
-
"@backstage/plugin-catalog-react": "^1.4.1-next.
|
|
38
|
+
"@backstage/core-components": "^0.12.6-next.2",
|
|
39
|
+
"@backstage/core-plugin-api": "^1.5.1-next.1",
|
|
40
|
+
"@backstage/plugin-catalog-react": "^1.4.1-next.2",
|
|
41
41
|
"@backstage/theme": "^0.2.19-next.0",
|
|
42
42
|
"@material-ui/core": "^4.12.2",
|
|
43
43
|
"@material-ui/icons": "^4.9.1",
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
"react-router-dom": "6.0.0-beta.0 || ^6.3.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@backstage/cli": "^0.22.6-next.
|
|
56
|
-
"@backstage/core-app-api": "^1.7.0-next.
|
|
57
|
-
"@backstage/dev-utils": "^1.0.14-next.
|
|
58
|
-
"@backstage/test-utils": "^1.3.0-next.
|
|
55
|
+
"@backstage/cli": "^0.22.6-next.2",
|
|
56
|
+
"@backstage/core-app-api": "^1.7.0-next.2",
|
|
57
|
+
"@backstage/dev-utils": "^1.0.14-next.2",
|
|
58
|
+
"@backstage/test-utils": "^1.3.0-next.2",
|
|
59
59
|
"@testing-library/dom": "^8.0.0",
|
|
60
60
|
"@testing-library/jest-dom": "^5.10.1",
|
|
61
61
|
"@testing-library/react": "^12.1.3",
|