@backstage/plugin-catalog-graph 0.5.6 → 0.5.7-next.1
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
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @backstage/plugin-catalog-graph
|
|
2
2
|
|
|
3
|
+
## 0.5.7-next.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 8dd27c4: Fix large icon rendering in catalog graph nodes
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @backstage/plugin-catalog-react@1.22.0-next.1
|
|
10
|
+
- @backstage/frontend-plugin-api@0.14.0-next.1
|
|
11
|
+
- @backstage/core-components@0.18.7-next.1
|
|
12
|
+
|
|
13
|
+
## 0.5.7-next.0
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
- @backstage/plugin-catalog-react@1.21.6-next.0
|
|
19
|
+
- @backstage/core-components@0.18.6-next.0
|
|
20
|
+
- @backstage/frontend-plugin-api@0.14.0-next.0
|
|
21
|
+
- @backstage/core-plugin-api@1.12.2-next.0
|
|
22
|
+
- @backstage/catalog-client@1.12.1
|
|
23
|
+
- @backstage/catalog-model@1.7.6
|
|
24
|
+
- @backstage/types@1.2.2
|
|
25
|
+
|
|
3
26
|
## 0.5.6
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
package/dist/alpha.d.ts
CHANGED
|
@@ -61,7 +61,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
61
61
|
title: string | undefined;
|
|
62
62
|
height: number | undefined;
|
|
63
63
|
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
64
|
-
type: "content" | "
|
|
64
|
+
type: "content" | "info" | undefined;
|
|
65
65
|
};
|
|
66
66
|
configInput: {
|
|
67
67
|
height?: number | undefined;
|
|
@@ -76,7 +76,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
76
76
|
relationPairs?: [string, string][] | undefined;
|
|
77
77
|
unidirectional?: boolean | undefined;
|
|
78
78
|
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
79
|
-
type?: "content" | "
|
|
79
|
+
type?: "content" | "info" | undefined;
|
|
80
80
|
};
|
|
81
81
|
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
|
|
82
82
|
optional: true;
|
|
@@ -3,10 +3,20 @@ import SvgIcon from '@material-ui/core/SvgIcon';
|
|
|
3
3
|
|
|
4
4
|
function EntityIcon({
|
|
5
5
|
icon,
|
|
6
|
+
width,
|
|
7
|
+
height,
|
|
6
8
|
...props
|
|
7
9
|
}) {
|
|
8
10
|
const Icon = icon ?? SvgIcon;
|
|
9
|
-
return /* @__PURE__ */ jsx(
|
|
11
|
+
return /* @__PURE__ */ jsx(
|
|
12
|
+
Icon,
|
|
13
|
+
{
|
|
14
|
+
style: { width, height, fontSize: height },
|
|
15
|
+
width,
|
|
16
|
+
height,
|
|
17
|
+
...props
|
|
18
|
+
}
|
|
19
|
+
);
|
|
10
20
|
}
|
|
11
21
|
|
|
12
22
|
export { EntityIcon };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EntityIcon.esm.js","sources":["../../../src/components/EntityRelationsGraph/EntityIcon.tsx"],"sourcesContent":["/*\n * Copyright 2021 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport SvgIcon from '@material-ui/core/SvgIcon';\nimport { OverridableComponent } from '@material-ui/core/OverridableComponent';\nimport { SvgIconTypeMap } from '@material-ui/core/SvgIcon/SvgIcon';\nimport { IconComponent } from '@backstage/core-plugin-api';\n\nexport function EntityIcon({\n icon,\n ...props\n}: {\n icon: IconComponent | undefined;\n x?: number;\n y?: number;\n width?: number;\n height?: number;\n className?: string;\n}) {\n const Icon = (icon as OverridableComponent<SvgIconTypeMap>) ?? SvgIcon;\n return <Icon {...props}
|
|
1
|
+
{"version":3,"file":"EntityIcon.esm.js","sources":["../../../src/components/EntityRelationsGraph/EntityIcon.tsx"],"sourcesContent":["/*\n * Copyright 2021 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport SvgIcon from '@material-ui/core/SvgIcon';\nimport { OverridableComponent } from '@material-ui/core/OverridableComponent';\nimport { SvgIconTypeMap } from '@material-ui/core/SvgIcon/SvgIcon';\nimport { IconComponent } from '@backstage/core-plugin-api';\n\nexport function EntityIcon({\n icon,\n width,\n height,\n ...props\n}: {\n icon: IconComponent | undefined;\n x?: number;\n y?: number;\n width?: number;\n height?: number;\n className?: string;\n}) {\n const Icon = (icon as OverridableComponent<SvgIconTypeMap>) ?? SvgIcon;\n return (\n <Icon\n style={{ width, height, fontSize: height }}\n width={width}\n height={height}\n {...props}\n />\n );\n}\n"],"names":[],"mappings":";;;AAoBO,SAAS,UAAA,CAAW;AAAA,EACzB,IAAA;AAAA,EACA,KAAA;AAAA,EACA,MAAA;AAAA,EACA,GAAG;AACL,CAAA,EAOG;AACD,EAAA,MAAM,OAAQ,IAAA,IAAiD,OAAA;AAC/D,EAAA,uBACE,GAAA;AAAA,IAAC,IAAA;AAAA,IAAA;AAAA,MACC,KAAA,EAAO,EAAE,KAAA,EAAO,MAAA,EAAQ,UAAU,MAAA,EAAO;AAAA,MACzC,KAAA;AAAA,MACA,MAAA;AAAA,MACC,GAAG;AAAA;AAAA,GACN;AAEJ;;;;"}
|
package/dist/package.json.esm.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-catalog-graph",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.7-next.1",
|
|
4
4
|
"backstage": {
|
|
5
5
|
"role": "frontend-plugin",
|
|
6
6
|
"pluginId": "catalog-graph",
|
|
@@ -61,13 +61,13 @@
|
|
|
61
61
|
"test": "backstage-cli package test"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@backstage/catalog-client": "
|
|
65
|
-
"@backstage/catalog-model": "
|
|
66
|
-
"@backstage/core-components": "
|
|
67
|
-
"@backstage/core-plugin-api": "
|
|
68
|
-
"@backstage/frontend-plugin-api": "
|
|
69
|
-
"@backstage/plugin-catalog-react": "
|
|
70
|
-
"@backstage/types": "
|
|
64
|
+
"@backstage/catalog-client": "1.12.1",
|
|
65
|
+
"@backstage/catalog-model": "1.7.6",
|
|
66
|
+
"@backstage/core-components": "0.18.7-next.1",
|
|
67
|
+
"@backstage/core-plugin-api": "1.12.3-next.0",
|
|
68
|
+
"@backstage/frontend-plugin-api": "0.14.0-next.1",
|
|
69
|
+
"@backstage/plugin-catalog-react": "1.22.0-next.1",
|
|
70
|
+
"@backstage/types": "1.2.2",
|
|
71
71
|
"@material-ui/core": "^4.12.2",
|
|
72
72
|
"@material-ui/icons": "^4.9.1",
|
|
73
73
|
"@material-ui/lab": "4.0.0-alpha.61",
|
|
@@ -78,11 +78,11 @@
|
|
|
78
78
|
"react-use": "^17.2.4"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
|
-
"@backstage/cli": "
|
|
82
|
-
"@backstage/core-app-api": "
|
|
83
|
-
"@backstage/dev-utils": "
|
|
84
|
-
"@backstage/plugin-catalog": "
|
|
85
|
-
"@backstage/test-utils": "
|
|
81
|
+
"@backstage/cli": "0.35.4-next.1",
|
|
82
|
+
"@backstage/core-app-api": "1.19.5-next.0",
|
|
83
|
+
"@backstage/dev-utils": "1.1.20-next.1",
|
|
84
|
+
"@backstage/plugin-catalog": "1.33.0-next.1",
|
|
85
|
+
"@backstage/test-utils": "1.7.15-next.1",
|
|
86
86
|
"@testing-library/dom": "^10.0.0",
|
|
87
87
|
"@testing-library/jest-dom": "^6.0.0",
|
|
88
88
|
"@testing-library/react": "^16.0.0",
|