@backstage/plugin-home-react 0.1.36-next.1 → 0.1.37-next.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 CHANGED
@@ -1,5 +1,26 @@
1
1
  # @backstage/plugin-home-react
2
2
 
3
+ ## 0.1.37-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/core-components@0.18.9-next.0
9
+ - @backstage/frontend-plugin-api@0.15.2-next.0
10
+ - @backstage/core-compat-api@0.5.10-next.0
11
+ - @backstage/core-plugin-api@1.12.5-next.0
12
+
13
+ ## 0.1.36
14
+
15
+ ### Patch Changes
16
+
17
+ - 0be2541: Promoted the plugin's translation ref to the stable package entry point. It was previously only available through the alpha entry point.
18
+ - Updated dependencies
19
+ - @backstage/core-compat-api@0.5.9
20
+ - @backstage/core-plugin-api@1.12.4
21
+ - @backstage/core-components@0.18.8
22
+ - @backstage/frontend-plugin-api@0.15.0
23
+
3
24
  ## 0.1.36-next.1
4
25
 
5
26
  ### Patch Changes
package/dist/alpha.d.ts CHANGED
@@ -6,18 +6,6 @@ import '@backstage/core-plugin-api';
6
6
  import 'react/jsx-runtime';
7
7
  import '@rjsf/utils';
8
8
 
9
- /**
10
- * Translation reference for the home-react plugin.
11
- * Contains localized text strings for home page components and settings modals.
12
- *
13
- * @alpha
14
- */
15
- declare const homeReactTranslationRef: _backstage_frontend_plugin_api.TranslationRef<"home-react", {
16
- readonly "settingsModal.title": "Settings";
17
- readonly "settingsModal.closeButtonTitle": "Close";
18
- readonly "cardExtension.settingsButtonTitle": "Settings";
19
- }>;
20
-
21
9
  /**
22
10
  * Extension data for homepage widgets, bundling the rendered component
23
11
  * with its metadata.
@@ -175,5 +163,15 @@ declare const HomePageLayoutBlueprint: _backstage_frontend_plugin_api.ExtensionB
175
163
  };
176
164
  }>;
177
165
 
166
+ /**
167
+ * @alpha
168
+ * @deprecated Import from `@backstage/plugin-home-react` instead.
169
+ */
170
+ declare const homeReactTranslationRef: _backstage_frontend_plugin_api.TranslationRef<"home-react", {
171
+ readonly "settingsModal.title": "Settings";
172
+ readonly "settingsModal.closeButtonTitle": "Close";
173
+ readonly "cardExtension.settingsButtonTitle": "Settings";
174
+ }>;
175
+
178
176
  export { CardLayout, CardSettings, ComponentParts, HomePageLayoutBlueprint, HomePageWidgetBlueprint, homePageLayoutComponentDataRef, homePageWidgetDataRef, homeReactTranslationRef };
179
177
  export type { HomePageLayoutBlueprintParams, HomePageLayoutProps, HomePageWidgetBlueprintParams, HomePageWidgetData };
package/dist/alpha.esm.js CHANGED
@@ -1,5 +1,9 @@
1
- export { homeReactTranslationRef } from './translation.esm.js';
1
+ import { homeReactTranslationRef as homeReactTranslationRef$1 } from './translation.esm.js';
2
2
  export { HomePageWidgetBlueprint } from './alpha/blueprints/HomePageWidgetBlueprint.esm.js';
3
3
  export { HomePageLayoutBlueprint } from './alpha/blueprints/HomePageLayoutBlueprint.esm.js';
4
4
  export { homePageLayoutComponentDataRef, homePageWidgetDataRef } from './alpha/dataRefs.esm.js';
5
+
6
+ const homeReactTranslationRef = homeReactTranslationRef$1;
7
+
8
+ export { homeReactTranslationRef };
5
9
  //# sourceMappingURL=alpha.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"alpha.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
1
+ {"version":3,"file":"alpha.esm.js","sources":["../src/alpha.ts"],"sourcesContent":["/*\n * Copyright 2025 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 */\n\n/**\n * React components and utilities for the home plugin's new frontend system.\n *\n * @remarks\n * This package provides React components, blueprints, and utilities for building\n * customizable home pages with the new Backstage frontend system.\n *\n * @packageDocumentation\n */\nimport { homeReactTranslationRef as _homeReactTranslationRef } from './translation';\n\n/**\n * @alpha\n * @deprecated Import from `@backstage/plugin-home-react` instead.\n */\nexport const homeReactTranslationRef = _homeReactTranslationRef;\nexport {\n HomePageWidgetBlueprint,\n type HomePageWidgetBlueprintParams,\n} from './alpha/blueprints/HomePageWidgetBlueprint';\nexport {\n HomePageLayoutBlueprint,\n type HomePageLayoutBlueprintParams,\n} from './alpha/blueprints/HomePageLayoutBlueprint';\nexport {\n homePageWidgetDataRef,\n type HomePageWidgetData,\n homePageLayoutComponentDataRef,\n type HomePageLayoutProps,\n} from './alpha/dataRefs';\nexport type { ComponentParts, CardLayout, CardSettings } from './extensions';\n"],"names":["_homeReactTranslationRef"],"mappings":";;;;;AA+BO,MAAM,uBAAA,GAA0BA;;;;"}
package/dist/index.d.ts CHANGED
@@ -3,6 +3,7 @@ import { JSX as JSX$1 } from 'react';
3
3
  export { f as CardConfig, C as CardExtensionProps, d as CardLayout, e as CardSettings, a as ComponentParts, b as ComponentRenderer, R as RendererProps, c as createCardExtension } from './types/extensions.d-BO9FVXbP.js';
4
4
  import { Overrides } from '@material-ui/core/styles/overrides';
5
5
  import { StyleRules } from '@material-ui/core/styles/withStyles';
6
+ import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
6
7
  import '@backstage/core-plugin-api';
7
8
  import '@rjsf/utils';
8
9
 
@@ -45,5 +46,17 @@ declare module '@backstage/theme' {
45
46
  }
46
47
  }
47
48
 
48
- export { ContentModal, SettingsModal };
49
+ /**
50
+ * Translation reference for the home-react plugin.
51
+ * Contains localized text strings for home page components and widgets.
52
+ *
53
+ * @public
54
+ */
55
+ declare const homeReactTranslationRef: _backstage_frontend_plugin_api.TranslationRef<"home-react", {
56
+ readonly "settingsModal.title": "Settings";
57
+ readonly "settingsModal.closeButtonTitle": "Close";
58
+ readonly "cardExtension.settingsButtonTitle": "Settings";
59
+ }>;
60
+
61
+ export { ContentModal, SettingsModal, homeReactTranslationRef };
49
62
  export type { BackstageOverrides, ContentModalProps, PluginHomeComponentsNameToClassKey, PluginHomeContentModalClassKey };
package/dist/index.esm.js CHANGED
@@ -1,4 +1,5 @@
1
1
  export { SettingsModal } from './components/SettingsModal.esm.js';
2
2
  export { ContentModal } from './components/ContentModal.esm.js';
3
3
  export { createCardExtension } from './extensions.esm.js';
4
+ export { homeReactTranslationRef } from './translation.esm.js';
4
5
  //# sourceMappingURL=index.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
1
+ {"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"translation.esm.js","sources":["../src/translation.ts"],"sourcesContent":["/*\n * Copyright 2025 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 { createTranslationRef } from '@backstage/frontend-plugin-api';\n\n/**\n * Translation reference for the home-react plugin.\n * Contains localized text strings for home page components and settings modals.\n *\n * @alpha\n */\nexport const homeReactTranslationRef = createTranslationRef({\n id: 'home-react',\n messages: {\n settingsModal: {\n title: 'Settings',\n closeButtonTitle: 'Close',\n },\n cardExtension: {\n settingsButtonTitle: 'Settings',\n },\n },\n});\n"],"names":[],"mappings":";;AAuBO,MAAM,0BAA0B,oBAAA,CAAqB;AAAA,EAC1D,EAAA,EAAI,YAAA;AAAA,EACJ,QAAA,EAAU;AAAA,IACR,aAAA,EAAe;AAAA,MACb,KAAA,EAAO,UAAA;AAAA,MACP,gBAAA,EAAkB;AAAA,KACpB;AAAA,IACA,aAAA,EAAe;AAAA,MACb,mBAAA,EAAqB;AAAA;AACvB;AAEJ,CAAC;;;;"}
1
+ {"version":3,"file":"translation.esm.js","sources":["../src/translation.ts"],"sourcesContent":["/*\n * Copyright 2025 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 { createTranslationRef } from '@backstage/frontend-plugin-api';\n\n/**\n * Translation reference for the home-react plugin.\n * Contains localized text strings for home page components and widgets.\n *\n * @public\n */\nexport const homeReactTranslationRef = createTranslationRef({\n id: 'home-react',\n messages: {\n settingsModal: {\n title: 'Settings',\n closeButtonTitle: 'Close',\n },\n cardExtension: {\n settingsButtonTitle: 'Settings',\n },\n },\n});\n"],"names":[],"mappings":";;AAuBO,MAAM,0BAA0B,oBAAA,CAAqB;AAAA,EAC1D,EAAA,EAAI,YAAA;AAAA,EACJ,QAAA,EAAU;AAAA,IACR,aAAA,EAAe;AAAA,MACb,KAAA,EAAO,UAAA;AAAA,MACP,gBAAA,EAAkB;AAAA,KACpB;AAAA,IACA,aAAA,EAAe;AAAA,MACb,mBAAA,EAAqB;AAAA;AACvB;AAEJ,CAAC;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-home-react",
3
- "version": "0.1.36-next.1",
3
+ "version": "0.1.37-next.0",
4
4
  "description": "A Backstage plugin that contains react components helps you build a home page",
5
5
  "backstage": {
6
6
  "role": "web-library",
@@ -63,16 +63,16 @@
63
63
  "test": "backstage-cli package test"
64
64
  },
65
65
  "dependencies": {
66
- "@backstage/core-compat-api": "0.5.9-next.2",
67
- "@backstage/core-components": "0.18.8-next.1",
68
- "@backstage/core-plugin-api": "1.12.4-next.1",
69
- "@backstage/frontend-plugin-api": "0.15.0-next.1",
66
+ "@backstage/core-compat-api": "0.5.10-next.0",
67
+ "@backstage/core-components": "0.18.9-next.0",
68
+ "@backstage/core-plugin-api": "1.12.5-next.0",
69
+ "@backstage/frontend-plugin-api": "0.15.2-next.0",
70
70
  "@material-ui/core": "^4.12.2",
71
71
  "@material-ui/icons": "^4.9.1",
72
72
  "@rjsf/utils": "5.24.13"
73
73
  },
74
74
  "devDependencies": {
75
- "@backstage/cli": "0.36.0-next.2",
75
+ "@backstage/cli": "0.36.1-next.0",
76
76
  "@types/react": "^18.0.0",
77
77
  "@types/react-grid-layout": "^1.3.2",
78
78
  "react": "^18.0.2",