@backstage/plugin-techdocs 1.3.3 → 1.4.0-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/dist/index.d.ts CHANGED
@@ -322,12 +322,29 @@ declare type TechDocsSearchProps = {
322
322
  */
323
323
  declare const TechDocsSearch: (props: TechDocsSearchProps) => JSX.Element;
324
324
 
325
+ /**
326
+ * Props for {@link EntityListDocsGrid}
327
+ *
328
+ * @public
329
+ */
330
+ declare type DocsGroupConfig = {
331
+ title: React__default.ReactNode;
332
+ filterPredicate: ((entity: Entity) => boolean) | string;
333
+ };
334
+ /**
335
+ * Props for {@link EntityListDocsGrid}
336
+ *
337
+ * @public
338
+ */
339
+ declare type EntityListDocsGridPageProps = {
340
+ groups?: DocsGroupConfig[];
341
+ };
325
342
  /**
326
343
  * Component responsible to get entities from entity list context and pass down to DocsCardGrid
327
344
  *
328
345
  * @public
329
346
  */
330
- declare const EntityListDocsGrid: () => JSX.Element;
347
+ declare const EntityListDocsGrid: ({ groups }: EntityListDocsGridPageProps) => JSX.Element;
331
348
 
332
349
  /**
333
350
  * Props for {@link DocsCardGrid}
@@ -611,4 +628,4 @@ declare type DeprecatedTechDocsMetadata = TechDocsMetadata;
611
628
  */
612
629
  declare type DeprecatedTechDocsEntityMetadata = TechDocsEntityMetadata;
613
630
 
614
- export { ContentStateTypes, DefaultTechDocsHome, DefaultTechDocsHomeProps, DocsCardGrid, DocsCardGridProps, DocsTable, DocsTableProps, DocsTableRow, EmbeddedDocsRouter, EntityListDocsGrid, EntityListDocsTable, EntityListDocsTableProps, EntityTechdocsContent, PanelConfig, PanelType, Reader, ReaderState, Router, SyncResult, TabConfig, TabsConfig, TechDocsApi, TechDocsClient, TechDocsCustomHome, TechDocsCustomHomeProps, DeprecatedTechDocsEntityMetadata as TechDocsEntityMetadata, TechDocsIndexPage, TechDocsIndexPageProps, DeprecatedTechDocsMetadata as TechDocsMetadata, TechDocsPageWrapper, TechDocsPageWrapperProps, TechDocsPicker, TechDocsReaderLayout, TechDocsReaderLayoutProps, TechDocsReaderPage, TechDocsReaderPageContent, TechDocsReaderPageContentProps, TechDocsReaderPageHeader, TechDocsReaderPageHeaderProps, TechDocsReaderPageProps, TechDocsReaderPageRenderFunction, TechDocsReaderPageSubheader, TechDocsReaderProvider, TechDocsReaderProviderProps, TechDocsReaderProviderRenderFunction, TechDocsSearch, TechDocsSearchProps, TechDocsSearchResultListItem, TechDocsSearchResultListItemProps, TechDocsStorageApi, TechDocsStorageClient, TechdocsPage, isTechDocsAvailable, techdocsPlugin as plugin, techdocsApiRef, techdocsPlugin, techdocsStorageApiRef };
631
+ export { ContentStateTypes, DefaultTechDocsHome, DefaultTechDocsHomeProps, DocsCardGrid, DocsCardGridProps, DocsGroupConfig, DocsTable, DocsTableProps, DocsTableRow, EmbeddedDocsRouter, EntityListDocsGrid, EntityListDocsGridPageProps, EntityListDocsTable, EntityListDocsTableProps, EntityTechdocsContent, PanelConfig, PanelType, Reader, ReaderState, Router, SyncResult, TabConfig, TabsConfig, TechDocsApi, TechDocsClient, TechDocsCustomHome, TechDocsCustomHomeProps, DeprecatedTechDocsEntityMetadata as TechDocsEntityMetadata, TechDocsIndexPage, TechDocsIndexPageProps, DeprecatedTechDocsMetadata as TechDocsMetadata, TechDocsPageWrapper, TechDocsPageWrapperProps, TechDocsPicker, TechDocsReaderLayout, TechDocsReaderLayoutProps, TechDocsReaderPage, TechDocsReaderPageContent, TechDocsReaderPageContentProps, TechDocsReaderPageHeader, TechDocsReaderPageHeaderProps, TechDocsReaderPageProps, TechDocsReaderPageRenderFunction, TechDocsReaderPageSubheader, TechDocsReaderProvider, TechDocsReaderProviderProps, TechDocsReaderProviderRenderFunction, TechDocsSearch, TechDocsSearchProps, TechDocsSearchResultListItem, TechDocsSearchResultListItemProps, TechDocsStorageApi, TechDocsStorageClient, TechdocsPage, isTechDocsAvailable, techdocsPlugin as plugin, techdocsApiRef, techdocsPlugin, techdocsStorageApiRef };
package/dist/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- export { u as DefaultTechDocsHome, a as DocsCardGrid, D as DocsTable, y as EmbeddedDocsRouter, r as EntityListDocsGrid, s as EntityListDocsTable, E as EntityTechdocsContent, R as Reader, x as Router, j as TechDocsClient, d as TechDocsCustomHome, e as TechDocsIndexPage, T as TechDocsPageWrapper, v as TechDocsPicker, c as TechDocsReaderLayout, g as TechDocsReaderPage, n as TechDocsReaderPageContent, m as TechDocsReaderPageHeader, o as TechDocsReaderPageSubheader, l as TechDocsReaderProvider, q as TechDocsSearch, p as TechDocsSearchResultListItem, k as TechDocsStorageClient, f as TechdocsPage, w as isTechDocsAvailable, t as plugin, i as techdocsApiRef, t as techdocsPlugin, h as techdocsStorageApiRef } from './esm/index-b9f615fb.esm.js';
1
+ export { u as DefaultTechDocsHome, a as DocsCardGrid, D as DocsTable, y as EmbeddedDocsRouter, r as EntityListDocsGrid, s as EntityListDocsTable, E as EntityTechdocsContent, R as Reader, x as Router, j as TechDocsClient, d as TechDocsCustomHome, e as TechDocsIndexPage, T as TechDocsPageWrapper, v as TechDocsPicker, c as TechDocsReaderLayout, g as TechDocsReaderPage, n as TechDocsReaderPageContent, m as TechDocsReaderPageHeader, o as TechDocsReaderPageSubheader, l as TechDocsReaderProvider, q as TechDocsSearch, p as TechDocsSearchResultListItem, k as TechDocsStorageClient, f as TechdocsPage, w as isTechDocsAvailable, t as plugin, i as techdocsApiRef, t as techdocsPlugin, h as techdocsStorageApiRef } from './esm/index-72bbb7eb.esm.js';
2
2
  import '@backstage/core-plugin-api';
3
3
  import '@backstage/errors';
4
4
  import 'event-source-polyfill';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-techdocs",
3
3
  "description": "The Backstage plugin that renders technical documentation for your components",
4
- "version": "1.3.3",
4
+ "version": "1.4.0-next.0",
5
5
  "main": "dist/index.esm.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -33,17 +33,17 @@
33
33
  "clean": "backstage-cli package clean"
34
34
  },
35
35
  "dependencies": {
36
- "@backstage/catalog-model": "^1.1.2",
37
- "@backstage/config": "^1.0.3",
38
- "@backstage/core-components": "^0.11.2",
39
- "@backstage/core-plugin-api": "^1.0.7",
40
- "@backstage/errors": "^1.1.2",
41
- "@backstage/integration": "^1.3.2",
42
- "@backstage/integration-react": "^1.1.5",
43
- "@backstage/plugin-catalog-react": "^1.2.0",
44
- "@backstage/plugin-search-common": "^1.1.0",
45
- "@backstage/plugin-search-react": "^1.2.0",
46
- "@backstage/plugin-techdocs-react": "^1.0.5",
36
+ "@backstage/catalog-model": "^1.1.3-next.0",
37
+ "@backstage/config": "^1.0.4-next.0",
38
+ "@backstage/core-components": "^0.12.0-next.0",
39
+ "@backstage/core-plugin-api": "^1.1.0-next.0",
40
+ "@backstage/errors": "^1.1.3-next.0",
41
+ "@backstage/integration": "^1.4.0-next.0",
42
+ "@backstage/integration-react": "^1.1.6-next.0",
43
+ "@backstage/plugin-catalog-react": "^1.2.1-next.0",
44
+ "@backstage/plugin-search-common": "^1.1.1-next.0",
45
+ "@backstage/plugin-search-react": "^1.2.1-next.0",
46
+ "@backstage/plugin-techdocs-react": "^1.0.6-next.0",
47
47
  "@backstage/theme": "^0.2.16",
48
48
  "@material-ui/core": "^4.12.2",
49
49
  "@material-ui/icons": "^4.9.1",
@@ -65,10 +65,10 @@
65
65
  "react-router-dom": "6.0.0-beta.0 || ^6.3.0"
66
66
  },
67
67
  "devDependencies": {
68
- "@backstage/cli": "^0.20.0",
69
- "@backstage/core-app-api": "^1.1.1",
70
- "@backstage/dev-utils": "^1.0.7",
71
- "@backstage/test-utils": "^1.2.1",
68
+ "@backstage/cli": "^0.21.0-next.0",
69
+ "@backstage/core-app-api": "^1.2.0-next.0",
70
+ "@backstage/dev-utils": "^1.0.8-next.0",
71
+ "@backstage/test-utils": "^1.2.2-next.0",
72
72
  "@testing-library/jest-dom": "^5.10.1",
73
73
  "@testing-library/react": "^12.1.3",
74
74
  "@testing-library/react-hooks": "^8.0.0",
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-b7cba14e.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}