@backstage/plugin-techdocs 1.2.1-next.1 → 1.3.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 +83 -0
- package/dist/esm/{TechDocsCustomHome-7626ac38.esm.js → TechDocsCustomHome-23b75ea1.esm.js} +2 -2
- package/dist/esm/{TechDocsCustomHome-7626ac38.esm.js.map → TechDocsCustomHome-23b75ea1.esm.js.map} +1 -1
- package/dist/esm/{index-596c5b9c.esm.js → index-248fb87c.esm.js} +20 -11
- package/dist/esm/index-248fb87c.esm.js.map +1 -0
- package/dist/esm/{index-5f094544.esm.js → index-7bae3ba3.esm.js} +2 -2
- package/dist/esm/index-7bae3ba3.esm.js.map +1 -0
- package/dist/index.d.ts +13 -5
- package/dist/index.esm.js +1 -1
- package/package.json +19 -19
- package/dist/esm/index-596c5b9c.esm.js.map +0 -1
- package/dist/esm/index-5f094544.esm.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { c as TechDocsReaderLayout, b as TechDocsReaderPage } from './index-
|
|
1
|
+
export { c as TechDocsReaderLayout, b as TechDocsReaderPage } from './index-248fb87c.esm.js';
|
|
2
2
|
import '@backstage/core-plugin-api';
|
|
3
3
|
import '@backstage/errors';
|
|
4
4
|
import 'event-source-polyfill';
|
|
@@ -34,4 +34,4 @@ import '@material-ui/icons/Share';
|
|
|
34
34
|
import '@material-ui/styles';
|
|
35
35
|
import '@material-ui/icons/Star';
|
|
36
36
|
import '@material-ui/icons/StarBorder';
|
|
37
|
-
//# sourceMappingURL=index-
|
|
37
|
+
//# sourceMappingURL=index-7bae3ba3.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-7bae3ba3.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -438,21 +438,29 @@ declare const DocsTable: {
|
|
|
438
438
|
};
|
|
439
439
|
|
|
440
440
|
/**
|
|
441
|
-
* Props for {@link
|
|
441
|
+
* Props for {@link TechDocsIndexPage}
|
|
442
442
|
*
|
|
443
443
|
* @public
|
|
444
444
|
*/
|
|
445
|
-
declare type
|
|
445
|
+
declare type TechDocsIndexPageProps = {
|
|
446
446
|
initialFilter?: UserListFilterKind;
|
|
447
447
|
columns?: TableColumn<DocsTableRow>[];
|
|
448
448
|
actions?: TableProps<DocsTableRow>['actions'];
|
|
449
449
|
};
|
|
450
|
+
|
|
451
|
+
/**
|
|
452
|
+
* Props for {@link DefaultTechDocsHome}
|
|
453
|
+
*
|
|
454
|
+
* @public
|
|
455
|
+
* @deprecated Please use `TechDocsIndexPageProps` instead.
|
|
456
|
+
*/
|
|
457
|
+
declare type DefaultTechDocsHomeProps = TechDocsIndexPageProps;
|
|
450
458
|
/**
|
|
451
459
|
* Component which renders a default documentation landing page.
|
|
452
460
|
*
|
|
453
461
|
* @public
|
|
454
462
|
*/
|
|
455
|
-
declare const DefaultTechDocsHome: (props:
|
|
463
|
+
declare const DefaultTechDocsHome: (props: TechDocsIndexPageProps) => JSX.Element;
|
|
456
464
|
|
|
457
465
|
/**
|
|
458
466
|
* Available panel types
|
|
@@ -557,7 +565,7 @@ declare const TechDocsCustomHome: (props: TechDocsCustomHomeProps) => JSX.Elemen
|
|
|
557
565
|
*
|
|
558
566
|
* @public
|
|
559
567
|
*/
|
|
560
|
-
declare const TechDocsIndexPage: () => JSX.Element;
|
|
568
|
+
declare const TechDocsIndexPage: (props: TechDocsIndexPageProps) => JSX.Element;
|
|
561
569
|
/**
|
|
562
570
|
* Component responsible for composing a TechDocs reader page experience
|
|
563
571
|
*
|
|
@@ -603,4 +611,4 @@ declare type DeprecatedTechDocsMetadata = TechDocsMetadata;
|
|
|
603
611
|
*/
|
|
604
612
|
declare type DeprecatedTechDocsEntityMetadata = TechDocsEntityMetadata;
|
|
605
613
|
|
|
606
|
-
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, 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 };
|
|
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 };
|
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-
|
|
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-248fb87c.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.
|
|
4
|
+
"version": "1.3.0",
|
|
5
5
|
"main": "dist/index.esm.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -35,25 +35,25 @@
|
|
|
35
35
|
"clean": "backstage-cli package clean"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@backstage/catalog-model": "^1.1.0
|
|
38
|
+
"@backstage/catalog-model": "^1.1.0",
|
|
39
39
|
"@backstage/config": "^1.0.1",
|
|
40
|
-
"@backstage/core-components": "^0.
|
|
41
|
-
"@backstage/core-plugin-api": "^1.0.
|
|
42
|
-
"@backstage/errors": "^1.1.0
|
|
43
|
-
"@backstage/integration": "^1.2.2
|
|
44
|
-
"@backstage/integration-react": "^1.1.2
|
|
45
|
-
"@backstage/plugin-catalog-react": "^1.1.2
|
|
46
|
-
"@backstage/plugin-search-common": "^0.
|
|
47
|
-
"@backstage/plugin-search-react": "^0.
|
|
48
|
-
"@backstage/plugin-techdocs-react": "^1.0.2
|
|
49
|
-
"@backstage/theme": "^0.2.16
|
|
40
|
+
"@backstage/core-components": "^0.10.0",
|
|
41
|
+
"@backstage/core-plugin-api": "^1.0.4",
|
|
42
|
+
"@backstage/errors": "^1.1.0",
|
|
43
|
+
"@backstage/integration": "^1.2.2",
|
|
44
|
+
"@backstage/integration-react": "^1.1.2",
|
|
45
|
+
"@backstage/plugin-catalog-react": "^1.1.2",
|
|
46
|
+
"@backstage/plugin-search-common": "^1.0.0",
|
|
47
|
+
"@backstage/plugin-search-react": "^1.0.0",
|
|
48
|
+
"@backstage/plugin-techdocs-react": "^1.0.2",
|
|
49
|
+
"@backstage/theme": "^0.2.16",
|
|
50
50
|
"@material-ui/core": "^4.12.2",
|
|
51
51
|
"@material-ui/icons": "^4.9.1",
|
|
52
52
|
"@material-ui/lab": "4.0.0-alpha.57",
|
|
53
53
|
"@material-ui/styles": "^4.10.0",
|
|
54
54
|
"dompurify": "^2.2.9",
|
|
55
55
|
"event-source-polyfill": "1.0.25",
|
|
56
|
-
"git-url-parse": "^
|
|
56
|
+
"git-url-parse": "^12.0.0",
|
|
57
57
|
"jss": "~10.8.2",
|
|
58
58
|
"lodash": "^4.17.21",
|
|
59
59
|
"react-helmet": "6.1.0",
|
|
@@ -67,10 +67,10 @@
|
|
|
67
67
|
"react-dom": "^16.13.1 || ^17.0.0"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@backstage/cli": "^0.18.0
|
|
71
|
-
"@backstage/core-app-api": "^1.0.4
|
|
72
|
-
"@backstage/dev-utils": "^1.0.4
|
|
73
|
-
"@backstage/test-utils": "^1.1.2
|
|
70
|
+
"@backstage/cli": "^0.18.0",
|
|
71
|
+
"@backstage/core-app-api": "^1.0.4",
|
|
72
|
+
"@backstage/dev-utils": "^1.0.4",
|
|
73
|
+
"@backstage/test-utils": "^1.1.2",
|
|
74
74
|
"@testing-library/jest-dom": "^5.10.1",
|
|
75
75
|
"@testing-library/react": "^12.1.3",
|
|
76
76
|
"@testing-library/react-hooks": "^8.0.0",
|
|
@@ -81,12 +81,12 @@
|
|
|
81
81
|
"@types/node": "^16.11.26",
|
|
82
82
|
"canvas": "^2.6.1",
|
|
83
83
|
"cross-fetch": "^3.1.5",
|
|
84
|
-
"msw": "^0.
|
|
84
|
+
"msw": "^0.44.0"
|
|
85
85
|
},
|
|
86
86
|
"files": [
|
|
87
87
|
"dist",
|
|
88
88
|
"config.d.ts"
|
|
89
89
|
],
|
|
90
90
|
"configSchema": "config.d.ts",
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "999878d8f1ae30f6a15925816af2016cb9d717a1"
|
|
92
92
|
}
|