@backstage-community/plugin-announcements 0.16.2 → 0.17.0
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 +13 -0
- package/dist/alpha/entityCards.esm.js +1 -0
- package/dist/alpha/entityCards.esm.js.map +1 -1
- package/dist/alpha.d.ts +10 -9
- package/package.json +19 -19
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @backstage-community/plugin-announcements
|
|
2
2
|
|
|
3
|
+
## 0.17.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- bda0481: Backstage version bump to v1.45.1
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 21f564f: Switched the entity card extension to be disabled by default.
|
|
12
|
+
- Updated dependencies [bda0481]
|
|
13
|
+
- @backstage-community/plugin-announcements-common@0.13.0
|
|
14
|
+
- @backstage-community/plugin-announcements-react@0.15.0
|
|
15
|
+
|
|
3
16
|
## 0.16.2
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -4,6 +4,7 @@ import { EntityCardBlueprint } from '@backstage/plugin-catalog-react/alpha';
|
|
|
4
4
|
|
|
5
5
|
const entityAnnouncementsCard = EntityCardBlueprint.make({
|
|
6
6
|
name: "announcements",
|
|
7
|
+
disabled: true,
|
|
7
8
|
params: {
|
|
8
9
|
filter: "kind:component,system",
|
|
9
10
|
loader: async () => import('../components/AnnouncementsCard/index.esm.js').then(
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entityCards.esm.js","sources":["../../src/alpha/entityCards.tsx"],"sourcesContent":["/*\n * Copyright 2024 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 { compatWrapper } from '@backstage/core-compat-api';\nimport { EntityCardBlueprint } from '@backstage/plugin-catalog-react/alpha';\n\n/**\n * @alpha\n */\nexport const entityAnnouncementsCard = EntityCardBlueprint.make({\n name: 'announcements',\n params: {\n filter: 'kind:component,system',\n loader: async () =>\n import('../components/AnnouncementsCard').then(m =>\n compatWrapper(<m.AnnouncementsCard />),\n ),\n },\n});\n"],"names":[],"mappings":";;;;AAqBa,MAAA,uBAAA,GAA0B,oBAAoB,IAAK,CAAA;AAAA,EAC9D,IAAM,EAAA,eAAA;AAAA,EACN,MAAQ,EAAA;AAAA,IACN,MAAQ,EAAA,uBAAA;AAAA,IACR,MAAQ,EAAA,YACN,OAAO,8CAAiC,CAAE,CAAA,IAAA;AAAA,MAAK,OAC7C,aAAc,iBAAA,GAAA,CAAC,CAAE,CAAA,iBAAA,EAAF,EAAoB,CAAE;AAAA;AACvC;AAEN,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"entityCards.esm.js","sources":["../../src/alpha/entityCards.tsx"],"sourcesContent":["/*\n * Copyright 2024 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 { compatWrapper } from '@backstage/core-compat-api';\nimport { EntityCardBlueprint } from '@backstage/plugin-catalog-react/alpha';\n\n/**\n * @alpha\n */\nexport const entityAnnouncementsCard = EntityCardBlueprint.make({\n name: 'announcements',\n disabled: true,\n params: {\n filter: 'kind:component,system',\n loader: async () =>\n import('../components/AnnouncementsCard').then(m =>\n compatWrapper(<m.AnnouncementsCard />),\n ),\n },\n});\n"],"names":[],"mappings":";;;;AAqBa,MAAA,uBAAA,GAA0B,oBAAoB,IAAK,CAAA;AAAA,EAC9D,IAAM,EAAA,eAAA;AAAA,EACN,QAAU,EAAA,IAAA;AAAA,EACV,MAAQ,EAAA;AAAA,IACN,MAAQ,EAAA,uBAAA;AAAA,IACR,MAAQ,EAAA,YACN,OAAO,8CAAiC,CAAE,CAAA,IAAA;AAAA,MAAK,OAC7C,aAAc,iBAAA,GAAA,CAAC,CAAE,CAAA,iBAAA,EAAF,EAAoB,CAAE;AAAA;AACvC;AAEN,CAAC;;;;"}
|
package/dist/alpha.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api'
|
|
|
12
12
|
declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin<{
|
|
13
13
|
root: _backstage_frontend_plugin_api.RouteRef<undefined>;
|
|
14
14
|
}, {}, {
|
|
15
|
-
"api:announcements": _backstage_frontend_plugin_api.
|
|
15
|
+
"api:announcements": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
16
16
|
kind: "api";
|
|
17
17
|
name: undefined;
|
|
18
18
|
config: {};
|
|
@@ -23,7 +23,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
23
23
|
[x: string]: unknown;
|
|
24
24
|
}>(params: _backstage_core_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_core_plugin_api.AnyApiFactory>;
|
|
25
25
|
}>;
|
|
26
|
-
"app-root-element:announcements/banner": _backstage_frontend_plugin_api.
|
|
26
|
+
"app-root-element:announcements/banner": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
27
27
|
config: {
|
|
28
28
|
variant: "block" | "floating";
|
|
29
29
|
max: number | undefined;
|
|
@@ -45,8 +45,8 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
45
45
|
[x: string]: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ExtensionDataRef<unknown, string, {
|
|
46
46
|
optional?: true | undefined;
|
|
47
47
|
}>, {
|
|
48
|
-
optional: boolean;
|
|
49
48
|
singleton: boolean;
|
|
49
|
+
optional: boolean;
|
|
50
50
|
}>;
|
|
51
51
|
};
|
|
52
52
|
kind: "app-root-element";
|
|
@@ -55,7 +55,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
55
55
|
element: JSX.Element;
|
|
56
56
|
};
|
|
57
57
|
}>;
|
|
58
|
-
"entity-card:announcements/announcements": _backstage_frontend_plugin_api.
|
|
58
|
+
"entity-card:announcements/announcements": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
59
59
|
kind: "entity-card";
|
|
60
60
|
name: "announcements";
|
|
61
61
|
config: {
|
|
@@ -80,7 +80,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
80
80
|
type?: _backstage_plugin_catalog_react_alpha.EntityCardType | undefined;
|
|
81
81
|
};
|
|
82
82
|
}>;
|
|
83
|
-
"nav-item:announcements": _backstage_frontend_plugin_api.
|
|
83
|
+
"nav-item:announcements": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
84
84
|
kind: "nav-item";
|
|
85
85
|
name: undefined;
|
|
86
86
|
config: {};
|
|
@@ -97,7 +97,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
97
97
|
routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
|
|
98
98
|
};
|
|
99
99
|
}>;
|
|
100
|
-
"page:announcements": _backstage_frontend_plugin_api.
|
|
100
|
+
"page:announcements": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
101
101
|
kind: "page";
|
|
102
102
|
name: undefined;
|
|
103
103
|
config: {
|
|
@@ -117,7 +117,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
117
117
|
routeRef?: _backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams> | undefined;
|
|
118
118
|
};
|
|
119
119
|
}>;
|
|
120
|
-
"search-filter-result-type:announcements": _backstage_frontend_plugin_api.
|
|
120
|
+
"search-filter-result-type:announcements": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
121
121
|
kind: "search-filter-result-type";
|
|
122
122
|
name: undefined;
|
|
123
123
|
config: {};
|
|
@@ -125,12 +125,12 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
125
125
|
output: _backstage_frontend_plugin_api.ExtensionDataRef<{
|
|
126
126
|
value: string;
|
|
127
127
|
name: string;
|
|
128
|
-
icon: JSX.Element;
|
|
128
|
+
icon: react.JSX.Element;
|
|
129
129
|
}, "search.filters.result-types.type", {}>;
|
|
130
130
|
inputs: {};
|
|
131
131
|
params: _backstage_plugin_search_react_alpha.SearchFilterResultTypeBlueprintParams;
|
|
132
132
|
}>;
|
|
133
|
-
"search-result-list-item:announcements": _backstage_frontend_plugin_api.
|
|
133
|
+
"search-result-list-item:announcements": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
134
134
|
kind: "search-result-list-item";
|
|
135
135
|
name: undefined;
|
|
136
136
|
config: {
|
|
@@ -142,6 +142,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
142
142
|
output: _backstage_frontend_plugin_api.ExtensionDataRef<{
|
|
143
143
|
predicate?: _backstage_plugin_search_react_alpha.SearchResultItemExtensionPredicate | undefined;
|
|
144
144
|
component: _backstage_plugin_search_react_alpha.SearchResultItemExtensionComponent;
|
|
145
|
+
icon?: react.JSX.Element | undefined;
|
|
145
146
|
}, "search.search-result-list-item.item", {}>;
|
|
146
147
|
inputs: {};
|
|
147
148
|
params: _backstage_plugin_search_react_alpha.SearchResultListItemBlueprintParams;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage-community/plugin-announcements",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.0",
|
|
4
4
|
"main": "./dist/index.esm.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -61,20 +61,20 @@
|
|
|
61
61
|
"postpack": "backstage-cli package postpack"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@backstage-community/plugin-announcements-common": "^0.
|
|
65
|
-
"@backstage-community/plugin-announcements-react": "^0.
|
|
66
|
-
"@backstage/catalog-model": "^1.7.
|
|
67
|
-
"@backstage/core-app-api": "^1.19.
|
|
68
|
-
"@backstage/core-compat-api": "^0.5.
|
|
69
|
-
"@backstage/core-components": "^0.18.
|
|
70
|
-
"@backstage/core-plugin-api": "^1.
|
|
64
|
+
"@backstage-community/plugin-announcements-common": "^0.13.0",
|
|
65
|
+
"@backstage-community/plugin-announcements-react": "^0.15.0",
|
|
66
|
+
"@backstage/catalog-model": "^1.7.6",
|
|
67
|
+
"@backstage/core-app-api": "^1.19.2",
|
|
68
|
+
"@backstage/core-compat-api": "^0.5.4",
|
|
69
|
+
"@backstage/core-components": "^0.18.3",
|
|
70
|
+
"@backstage/core-plugin-api": "^1.12.0",
|
|
71
71
|
"@backstage/errors": "^1.2.7",
|
|
72
|
-
"@backstage/frontend-plugin-api": "^0.
|
|
73
|
-
"@backstage/plugin-catalog-react": "^1.21.
|
|
74
|
-
"@backstage/plugin-permission-react": "^0.4.
|
|
75
|
-
"@backstage/plugin-search-common": "^1.2.
|
|
76
|
-
"@backstage/plugin-search-react": "^1.
|
|
77
|
-
"@backstage/plugin-signals-react": "^0.0.
|
|
72
|
+
"@backstage/frontend-plugin-api": "^0.13.1",
|
|
73
|
+
"@backstage/plugin-catalog-react": "^1.21.3",
|
|
74
|
+
"@backstage/plugin-permission-react": "^0.4.38",
|
|
75
|
+
"@backstage/plugin-search-common": "^1.2.21",
|
|
76
|
+
"@backstage/plugin-search-react": "^1.10.0",
|
|
77
|
+
"@backstage/plugin-signals-react": "^0.0.17",
|
|
78
78
|
"@backstage/theme": "^0.7.0",
|
|
79
79
|
"@material-ui/core": "^4.12.2",
|
|
80
80
|
"@material-ui/icons": "^4.11.3",
|
|
@@ -94,11 +94,11 @@
|
|
|
94
94
|
"react-router-dom": "^6.3.0"
|
|
95
95
|
},
|
|
96
96
|
"devDependencies": {
|
|
97
|
-
"@backstage/cli": "^0.34.
|
|
98
|
-
"@backstage/dev-utils": "^1.1.
|
|
99
|
-
"@backstage/frontend-test-utils": "^0.4.
|
|
100
|
-
"@backstage/plugin-signals": "^0.0.
|
|
101
|
-
"@backstage/test-utils": "^1.7.
|
|
97
|
+
"@backstage/cli": "^0.34.5",
|
|
98
|
+
"@backstage/dev-utils": "^1.1.17",
|
|
99
|
+
"@backstage/frontend-test-utils": "^0.4.1",
|
|
100
|
+
"@backstage/plugin-signals": "^0.0.25",
|
|
101
|
+
"@backstage/test-utils": "^1.7.13",
|
|
102
102
|
"@testing-library/jest-dom": "^6.3.0",
|
|
103
103
|
"@testing-library/react": "^14.0.0",
|
|
104
104
|
"@testing-library/user-event": "^14.5.1",
|