@backstage/plugin-techdocs 1.6.0-next.0 → 1.6.0-next.2
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 +39 -0
- package/dist/esm/index/{TechDocsCustomHome-64750785.esm.js → TechDocsCustomHome-0b9f43da.esm.js} +4 -3
- package/dist/esm/index/{TechDocsCustomHome-64750785.esm.js.map → TechDocsCustomHome-0b9f43da.esm.js.map} +1 -1
- package/dist/esm/index/{index-bc1891e4.esm.js → index-7a1c229e.esm.js} +4 -3
- package/dist/esm/index/index-7a1c229e.esm.js.map +1 -0
- package/dist/esm/index/{index-5ce3a177.esm.js → index-de111f38.esm.js} +28 -25
- package/dist/esm/index/index-de111f38.esm.js.map +1 -0
- package/dist/index.d.ts +5 -5
- package/dist/index.esm.js +3 -2
- package/dist/index.esm.js.map +1 -1
- package/package.json +20 -20
- package/dist/esm/index/index-5ce3a177.esm.js.map +0 -1
- package/dist/esm/index/index-bc1891e4.esm.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -197,7 +197,7 @@ declare type TechDocsReaderProviderProps = {
|
|
|
197
197
|
*
|
|
198
198
|
* @public
|
|
199
199
|
*/
|
|
200
|
-
declare const TechDocsReaderProvider: (
|
|
200
|
+
declare const TechDocsReaderProvider: (props: TechDocsReaderProviderProps) => JSX.Element;
|
|
201
201
|
|
|
202
202
|
/**
|
|
203
203
|
* Props for {@link TechDocsReaderLayout}
|
|
@@ -217,7 +217,7 @@ declare type TechDocsReaderLayoutProps = {
|
|
|
217
217
|
* Default TechDocs reader page structure composed with a header and content
|
|
218
218
|
* @public
|
|
219
219
|
*/
|
|
220
|
-
declare const TechDocsReaderLayout: (
|
|
220
|
+
declare const TechDocsReaderLayout: (props: TechDocsReaderLayoutProps) => JSX.Element;
|
|
221
221
|
/**
|
|
222
222
|
* @public
|
|
223
223
|
*/
|
|
@@ -323,7 +323,7 @@ declare type EntityListDocsGridPageProps = {
|
|
|
323
323
|
*
|
|
324
324
|
* @public
|
|
325
325
|
*/
|
|
326
|
-
declare const EntityListDocsGrid: (
|
|
326
|
+
declare const EntityListDocsGrid: (props: EntityListDocsGridPageProps) => JSX.Element;
|
|
327
327
|
|
|
328
328
|
/**
|
|
329
329
|
* Props for {@link DocsCardGrid}
|
|
@@ -382,7 +382,7 @@ declare const EntityListDocsTable: {
|
|
|
382
382
|
tooltip: string;
|
|
383
383
|
onClick: () => any;
|
|
384
384
|
};
|
|
385
|
-
createStarEntityAction(isStarredEntity: Function, toggleStarredEntity: Function): (
|
|
385
|
+
createStarEntityAction(isStarredEntity: Function, toggleStarredEntity: Function): (row: DocsTableRow) => {
|
|
386
386
|
cellStyle: {
|
|
387
387
|
paddingLeft: string;
|
|
388
388
|
};
|
|
@@ -424,7 +424,7 @@ declare const DocsTable: {
|
|
|
424
424
|
tooltip: string;
|
|
425
425
|
onClick: () => any;
|
|
426
426
|
};
|
|
427
|
-
createStarEntityAction(isStarredEntity: Function, toggleStarredEntity: Function): (
|
|
427
|
+
createStarEntityAction(isStarredEntity: Function, toggleStarredEntity: Function): (row: DocsTableRow) => {
|
|
428
428
|
cellStyle: {
|
|
429
429
|
paddingLeft: string;
|
|
430
430
|
};
|
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, k as TechDocsClient, d as TechDocsCustomHome, e as TechDocsIndexPage, T as TechDocsPageWrapper, v as TechDocsPicker, c as TechDocsReaderLayout, g as TechDocsReaderPage, o as TechDocsReaderPageContent, n as TechDocsReaderPageHeader, p as TechDocsReaderPageSubheader, m as TechDocsReaderProvider, q as TechDocsSearch, h as TechDocsSearchResultListItem, l as TechDocsStorageClient, f as TechdocsPage, w as isTechDocsAvailable, t as plugin, j as techdocsApiRef, t as techdocsPlugin, i as techdocsStorageApiRef } from './esm/index/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, k as TechDocsClient, d as TechDocsCustomHome, e as TechDocsIndexPage, T as TechDocsPageWrapper, v as TechDocsPicker, c as TechDocsReaderLayout, g as TechDocsReaderPage, o as TechDocsReaderPageContent, n as TechDocsReaderPageHeader, p as TechDocsReaderPageSubheader, m as TechDocsReaderProvider, q as TechDocsSearch, h as TechDocsSearchResultListItem, l as TechDocsStorageClient, f as TechdocsPage, w as isTechDocsAvailable, t as plugin, j as techdocsApiRef, t as techdocsPlugin, i as techdocsStorageApiRef } from './esm/index/index-de111f38.esm.js';
|
|
2
2
|
import '@backstage/core-plugin-api';
|
|
3
3
|
import '@backstage/errors';
|
|
4
4
|
import 'event-source-polyfill';
|
|
@@ -21,13 +21,14 @@ import 'react-dom';
|
|
|
21
21
|
import 'git-url-parse';
|
|
22
22
|
import '@material-ui/icons/Menu';
|
|
23
23
|
import '@material-ui/core/Button';
|
|
24
|
+
import 'react-use/lib/useCopyToClipboard';
|
|
24
25
|
import 'react-helmet';
|
|
26
|
+
import '@material-ui/core/styles';
|
|
25
27
|
import '@material-ui/icons/Code';
|
|
26
28
|
import '@backstage/plugin-catalog-react';
|
|
27
29
|
import '@backstage/catalog-model';
|
|
28
30
|
import 'lodash';
|
|
29
31
|
import '@material-ui/icons/Settings';
|
|
30
|
-
import 'react-use/lib/useCopyToClipboard';
|
|
31
32
|
import '@material-ui/icons/Share';
|
|
32
33
|
import '@material-ui/styles';
|
|
33
34
|
import '@material-ui/icons/Star';
|
package/dist/index.esm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
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.6.0-next.
|
|
4
|
+
"version": "1.6.0-next.2",
|
|
5
5
|
"main": "dist/index.esm.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -33,18 +33,18 @@
|
|
|
33
33
|
"clean": "backstage-cli package clean"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@backstage/catalog-model": "^1.2.1-next.
|
|
37
|
-
"@backstage/config": "^1.0.
|
|
38
|
-
"@backstage/core-components": "^0.12.5-next.
|
|
39
|
-
"@backstage/core-plugin-api": "^1.
|
|
40
|
-
"@backstage/errors": "^1.1.
|
|
41
|
-
"@backstage/integration": "^1.4.
|
|
42
|
-
"@backstage/integration-react": "^1.1.11-next.
|
|
43
|
-
"@backstage/plugin-catalog-react": "^1.4.0-next.
|
|
44
|
-
"@backstage/plugin-search-common": "^1.2.
|
|
45
|
-
"@backstage/plugin-search-react": "^1.5.1-next.
|
|
46
|
-
"@backstage/plugin-techdocs-react": "^1.1.4-next.
|
|
47
|
-
"@backstage/theme": "^0.2.
|
|
36
|
+
"@backstage/catalog-model": "^1.2.1-next.1",
|
|
37
|
+
"@backstage/config": "^1.0.7-next.0",
|
|
38
|
+
"@backstage/core-components": "^0.12.5-next.2",
|
|
39
|
+
"@backstage/core-plugin-api": "^1.5.0-next.2",
|
|
40
|
+
"@backstage/errors": "^1.1.5-next.0",
|
|
41
|
+
"@backstage/integration": "^1.4.3-next.0",
|
|
42
|
+
"@backstage/integration-react": "^1.1.11-next.2",
|
|
43
|
+
"@backstage/plugin-catalog-react": "^1.4.0-next.2",
|
|
44
|
+
"@backstage/plugin-search-common": "^1.2.2-next.0",
|
|
45
|
+
"@backstage/plugin-search-react": "^1.5.1-next.2",
|
|
46
|
+
"@backstage/plugin-techdocs-react": "^1.1.4-next.2",
|
|
47
|
+
"@backstage/theme": "^0.2.18-next.0",
|
|
48
48
|
"@material-ui/core": "^4.12.2",
|
|
49
49
|
"@material-ui/icons": "^4.9.1",
|
|
50
50
|
"@material-ui/lab": "4.0.0-alpha.57",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"dompurify": "^2.2.9",
|
|
53
53
|
"event-source-polyfill": "1.0.25",
|
|
54
54
|
"git-url-parse": "^13.0.0",
|
|
55
|
-
"jss": "~10.
|
|
55
|
+
"jss": "~10.10.0",
|
|
56
56
|
"lodash": "^4.17.21",
|
|
57
57
|
"react-helmet": "6.1.0",
|
|
58
58
|
"react-use": "^17.2.4"
|
|
@@ -64,11 +64,11 @@
|
|
|
64
64
|
"react-router-dom": "6.0.0-beta.0 || ^6.3.0"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@backstage/cli": "^0.22.4-next.
|
|
68
|
-
"@backstage/core-app-api": "^1.
|
|
69
|
-
"@backstage/dev-utils": "^1.0.13-next.
|
|
70
|
-
"@backstage/plugin-techdocs-module-addons-contrib": "^1.0.11-next.
|
|
71
|
-
"@backstage/test-utils": "^1.2.6-next.
|
|
67
|
+
"@backstage/cli": "^0.22.4-next.1",
|
|
68
|
+
"@backstage/core-app-api": "^1.6.0-next.2",
|
|
69
|
+
"@backstage/dev-utils": "^1.0.13-next.2",
|
|
70
|
+
"@backstage/plugin-techdocs-module-addons-contrib": "^1.0.11-next.2",
|
|
71
|
+
"@backstage/test-utils": "^1.2.6-next.2",
|
|
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",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"@types/node": "^16.11.26",
|
|
79
79
|
"canvas": "^2.10.2",
|
|
80
80
|
"cross-fetch": "^3.1.5",
|
|
81
|
-
"msw": "^0.
|
|
81
|
+
"msw": "^1.0.0"
|
|
82
82
|
},
|
|
83
83
|
"files": [
|
|
84
84
|
"dist",
|