@backstage/plugin-techdocs-module-addons-contrib 1.1.37-next.1 → 1.1.38-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,29 @@
1
1
  # @backstage/plugin-techdocs-module-addons-contrib
2
2
 
3
+ ## 1.1.38-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/frontend-plugin-api@0.17.3-next.0
9
+ - @backstage/core-components@0.18.12-next.0
10
+ - @backstage/core-plugin-api@1.12.8-next.0
11
+ - @backstage/integration-react@1.2.20-next.0
12
+ - @backstage/plugin-techdocs-react@1.3.13-next.0
13
+
14
+ ## 1.1.37
15
+
16
+ ### Patch Changes
17
+
18
+ - 9095f69: Added a default export to the `/alpha` entrypoint that bundles all contributed TechDocs addon modules using `createFrontendFeatureLoader`. This allows the package to be loaded as a single feature in setups that discover frontend modules through their default export, such as dynamic plugin loaders.
19
+ - Updated dependencies
20
+ - @backstage/core-components@0.18.11
21
+ - @backstage/integration@2.0.3
22
+ - @backstage/frontend-plugin-api@0.17.2
23
+ - @backstage/core-plugin-api@1.12.7
24
+ - @backstage/integration-react@1.2.19
25
+ - @backstage/plugin-techdocs-react@1.3.12
26
+
3
27
  ## 1.1.37-next.1
4
28
 
5
29
  ### Patch Changes
package/dist/alpha.d.ts CHANGED
@@ -8,5 +8,7 @@ declare const techDocsReportIssueAddonModule: _backstage_frontend_plugin_api.Fro
8
8
  declare const techDocsTextSizeAddonModule: _backstage_frontend_plugin_api.FrontendModule;
9
9
  /** @alpha */
10
10
  declare const techDocsLightBoxAddonModule: _backstage_frontend_plugin_api.FrontendModule;
11
+ /** @alpha */
12
+ declare const _default: _backstage_frontend_plugin_api.FrontendFeatureLoader;
11
13
 
12
- export { techDocsExpandableNavigationAddonModule, techDocsLightBoxAddonModule, techDocsReportIssueAddonModule, techDocsTextSizeAddonModule };
14
+ export { _default as default, techDocsExpandableNavigationAddonModule, techDocsLightBoxAddonModule, techDocsReportIssueAddonModule, techDocsTextSizeAddonModule };
package/dist/alpha.esm.js CHANGED
@@ -4,7 +4,7 @@ import { TextSizeAddon } from './TextSize/TextSize.esm.js';
4
4
  import { ReportIssueAddon } from './ReportIssue/ReportIssue.esm.js';
5
5
  import { ExpandableNavigationAddon } from './ExpandableNavigation/ExpandableNavigation.esm.js';
6
6
  import { LightBoxAddon } from './LightBox/LightBox.esm.js';
7
- import { createFrontendModule } from '@backstage/frontend-plugin-api';
7
+ import { createFrontendModule, createFrontendFeatureLoader } from '@backstage/frontend-plugin-api';
8
8
 
9
9
  const techDocsExpandableNavigationAddon = AddonBlueprint.make({
10
10
  name: "expandable-navigation",
@@ -54,6 +54,14 @@ const techDocsLightBoxAddonModule = createFrontendModule({
54
54
  pluginId: "techdocs",
55
55
  extensions: [techDocsLightBoxAddon]
56
56
  });
57
+ var alpha = createFrontendFeatureLoader({
58
+ async *loader() {
59
+ yield techDocsExpandableNavigationAddonModule;
60
+ yield techDocsReportIssueAddonModule;
61
+ yield techDocsTextSizeAddonModule;
62
+ yield techDocsLightBoxAddonModule;
63
+ }
64
+ });
57
65
 
58
- export { techDocsExpandableNavigationAddonModule, techDocsLightBoxAddonModule, techDocsReportIssueAddonModule, techDocsTextSizeAddonModule };
66
+ export { alpha as default, techDocsExpandableNavigationAddonModule, techDocsLightBoxAddonModule, techDocsReportIssueAddonModule, techDocsTextSizeAddonModule };
59
67
  //# sourceMappingURL=alpha.esm.js.map
@@ -1 +1 @@
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 */\nimport { TechDocsAddonLocations } from '@backstage/plugin-techdocs-react';\nimport { AddonBlueprint } from '@backstage/plugin-techdocs-react/alpha';\nimport { TextSizeAddon } from './TextSize';\nimport { ReportIssueAddon } from './ReportIssue';\nimport { ExpandableNavigationAddon } from './ExpandableNavigation';\nimport { LightBoxAddon } from './LightBox';\nimport { createFrontendModule } from '@backstage/frontend-plugin-api';\n\n/** @alpha */\nconst techDocsExpandableNavigationAddon = AddonBlueprint.make({\n name: 'expandable-navigation',\n params: {\n name: 'ExpandableNavigation',\n location: TechDocsAddonLocations.PrimarySidebar,\n component: ExpandableNavigationAddon,\n },\n});\n\n/** @alpha */\nexport const techDocsExpandableNavigationAddonModule = createFrontendModule({\n pluginId: 'techdocs',\n extensions: [techDocsExpandableNavigationAddon],\n});\n\n/** @alpha */\nconst techDocsReportIssueAddon = AddonBlueprint.make({\n name: 'report-issue',\n params: {\n name: 'ReportIssue',\n location: TechDocsAddonLocations.Content,\n component: ReportIssueAddon,\n },\n});\n\n/** @alpha */\nexport const techDocsReportIssueAddonModule = createFrontendModule({\n pluginId: 'techdocs',\n extensions: [techDocsReportIssueAddon],\n});\n\n/** @alpha */\nconst techDocsTextSizeAddon = AddonBlueprint.make({\n name: 'text-size',\n params: {\n name: 'TextSize',\n location: TechDocsAddonLocations.Settings,\n component: TextSizeAddon,\n },\n});\n\n/** @alpha */\nexport const techDocsTextSizeAddonModule = createFrontendModule({\n pluginId: 'techdocs',\n extensions: [techDocsTextSizeAddon],\n});\n\n/** @alpha */\nconst techDocsLightBoxAddon = AddonBlueprint.make({\n name: 'light-box',\n params: {\n name: 'LightBox',\n location: TechDocsAddonLocations.Content,\n component: LightBoxAddon,\n },\n});\n\n/** @alpha */\nexport const techDocsLightBoxAddonModule = createFrontendModule({\n pluginId: 'techdocs',\n extensions: [techDocsLightBoxAddon],\n});\n"],"names":[],"mappings":";;;;;;;;AAw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;AAAA,EAC9D,QAAA,EAAU,UAAA;AAAA,EACV,UAAA,EAAY,CAAC,qBAAqB;AACpC,CAAC;;;;"}
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 */\nimport { TechDocsAddonLocations } from '@backstage/plugin-techdocs-react';\nimport { AddonBlueprint } from '@backstage/plugin-techdocs-react/alpha';\nimport { TextSizeAddon } from './TextSize';\nimport { ReportIssueAddon } from './ReportIssue';\nimport { ExpandableNavigationAddon } from './ExpandableNavigation';\nimport { LightBoxAddon } from './LightBox';\nimport {\n createFrontendFeatureLoader,\n createFrontendModule,\n} from '@backstage/frontend-plugin-api';\n\n/** @alpha */\nconst techDocsExpandableNavigationAddon = AddonBlueprint.make({\n name: 'expandable-navigation',\n params: {\n name: 'ExpandableNavigation',\n location: TechDocsAddonLocations.PrimarySidebar,\n component: ExpandableNavigationAddon,\n },\n});\n\n/** @alpha */\nexport const techDocsExpandableNavigationAddonModule = createFrontendModule({\n pluginId: 'techdocs',\n extensions: [techDocsExpandableNavigationAddon],\n});\n\n/** @alpha */\nconst techDocsReportIssueAddon = AddonBlueprint.make({\n name: 'report-issue',\n params: {\n name: 'ReportIssue',\n location: TechDocsAddonLocations.Content,\n component: ReportIssueAddon,\n },\n});\n\n/** @alpha */\nexport const techDocsReportIssueAddonModule = createFrontendModule({\n pluginId: 'techdocs',\n extensions: [techDocsReportIssueAddon],\n});\n\n/** @alpha */\nconst techDocsTextSizeAddon = AddonBlueprint.make({\n name: 'text-size',\n params: {\n name: 'TextSize',\n location: TechDocsAddonLocations.Settings,\n component: TextSizeAddon,\n },\n});\n\n/** @alpha */\nexport const techDocsTextSizeAddonModule = createFrontendModule({\n pluginId: 'techdocs',\n extensions: [techDocsTextSizeAddon],\n});\n\n/** @alpha */\nconst techDocsLightBoxAddon = AddonBlueprint.make({\n name: 'light-box',\n params: {\n name: 'LightBox',\n location: TechDocsAddonLocations.Content,\n component: LightBoxAddon,\n },\n});\n\n/** @alpha */\nexport const techDocsLightBoxAddonModule = createFrontendModule({\n pluginId: 'techdocs',\n extensions: [techDocsLightBoxAddon],\n});\n\n/** @alpha */\nexport default createFrontendFeatureLoader({\n async *loader() {\n yield techDocsExpandableNavigationAddonModule;\n yield techDocsReportIssueAddonModule;\n yield techDocsTextSizeAddonModule;\n yield techDocsLightBoxAddonModule;\n },\n});\n"],"names":[],"mappings":";;;;;;;;AA2BA,MAAM,iCAAA,GAAoC,eAAe,IAAA,CAAK;AAAA,EAC5D,IAAA,EAAM,uBAAA;AAAA,EACN,MAAA,EAAQ;AAAA,IACN,IAAA,EAAM,sBAAA;AAAA,IACN,UAAU,sBAAA,CAAuB,cAAA;AAAA,IACjC,SAAA,EAAW;AAAA;AAEf,CAAC,CAAA;AAGM,MAAM,0CAA0C,oBAAA,CAAqB;AAAA,EAC1E,QAAA,EAAU,UAAA;AAAA,EACV,UAAA,EAAY,CAAC,iCAAiC;AAChD,CAAC;AAGD,MAAM,wBAAA,GAA2B,eAAe,IAAA,CAAK;AAAA,EACnD,IAAA,EAAM,cAAA;AAAA,EACN,MAAA,EAAQ;AAAA,IACN,IAAA,EAAM,aAAA;AAAA,IACN,UAAU,sBAAA,CAAuB,OAAA;AAAA,IACjC,SAAA,EAAW;AAAA;AAEf,CAAC,CAAA;AAGM,MAAM,iCAAiC,oBAAA,CAAqB;AAAA,EACjE,QAAA,EAAU,UAAA;AAAA,EACV,UAAA,EAAY,CAAC,wBAAwB;AACvC,CAAC;AAGD,MAAM,qBAAA,GAAwB,eAAe,IAAA,CAAK;AAAA,EAChD,IAAA,EAAM,WAAA;AAAA,EACN,MAAA,EAAQ;AAAA,IACN,IAAA,EAAM,UAAA;AAAA,IACN,UAAU,sBAAA,CAAuB,QAAA;AAAA,IACjC,SAAA,EAAW;AAAA;AAEf,CAAC,CAAA;AAGM,MAAM,8BAA8B,oBAAA,CAAqB;AAAA,EAC9D,QAAA,EAAU,UAAA;AAAA,EACV,UAAA,EAAY,CAAC,qBAAqB;AACpC,CAAC;AAGD,MAAM,qBAAA,GAAwB,eAAe,IAAA,CAAK;AAAA,EAChD,IAAA,EAAM,WAAA;AAAA,EACN,MAAA,EAAQ;AAAA,IACN,IAAA,EAAM,UAAA;AAAA,IACN,UAAU,sBAAA,CAAuB,OAAA;AAAA,IACjC,SAAA,EAAW;AAAA;AAEf,CAAC,CAAA;AAGM,MAAM,8BAA8B,oBAAA,CAAqB;AAAA,EAC9D,QAAA,EAAU,UAAA;AAAA,EACV,UAAA,EAAY,CAAC,qBAAqB;AACpC,CAAC;AAGD,YAAe,2BAAA,CAA4B;AAAA,EACzC,OAAO,MAAA,GAAS;AACd,IAAA,MAAM,uCAAA;AACN,IAAA,MAAM,8BAAA;AACN,IAAA,MAAM,2BAAA;AACN,IAAA,MAAM,2BAAA;AAAA,EACR;AACF,CAAC,CAAA;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-techdocs-module-addons-contrib",
3
- "version": "1.1.37-next.1",
3
+ "version": "1.1.38-next.0",
4
4
  "description": "Plugin module for contributed TechDocs Addons",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin-module",
@@ -60,12 +60,12 @@
60
60
  "test": "backstage-cli package test"
61
61
  },
62
62
  "dependencies": {
63
- "@backstage/core-components": "0.18.11-next.1",
64
- "@backstage/core-plugin-api": "1.12.7-next.0",
65
- "@backstage/frontend-plugin-api": "0.17.2-next.0",
66
- "@backstage/integration": "2.0.3-next.1",
67
- "@backstage/integration-react": "1.2.19-next.1",
68
- "@backstage/plugin-techdocs-react": "1.3.12-next.1",
63
+ "@backstage/core-components": "0.18.12-next.0",
64
+ "@backstage/core-plugin-api": "1.12.8-next.0",
65
+ "@backstage/frontend-plugin-api": "0.17.3-next.0",
66
+ "@backstage/integration": "2.0.3",
67
+ "@backstage/integration-react": "1.2.20-next.0",
68
+ "@backstage/plugin-techdocs-react": "1.3.13-next.0",
69
69
  "@material-ui/core": "^4.12.2",
70
70
  "@material-ui/icons": "^4.9.1",
71
71
  "@react-hookz/web": "^24.0.0",
@@ -73,10 +73,10 @@
73
73
  "photoswipe": "^5.3.7"
74
74
  },
75
75
  "devDependencies": {
76
- "@backstage/cli": "0.36.3-next.1",
77
- "@backstage/plugin-catalog-react": "3.0.1-next.1",
78
- "@backstage/plugin-techdocs-addons-test-utils": "2.0.6-next.1",
79
- "@backstage/test-utils": "1.7.19-next.0",
76
+ "@backstage/cli": "0.36.4-next.0",
77
+ "@backstage/plugin-catalog-react": "3.2.0-next.0",
78
+ "@backstage/plugin-techdocs-addons-test-utils": "2.0.7-next.0",
79
+ "@backstage/test-utils": "1.7.20-next.0",
80
80
  "@testing-library/dom": "^10.0.0",
81
81
  "@testing-library/jest-dom": "^6.0.0",
82
82
  "@testing-library/react": "^16.0.0",