@backstage/plugin-techdocs 0.0.0-nightly-20260120025109 → 0.0.0-nightly-20260122025558
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,28 +1,31 @@
|
|
|
1
1
|
# @backstage/plugin-techdocs
|
|
2
2
|
|
|
3
|
-
## 0.0.0-nightly-
|
|
3
|
+
## 0.0.0-nightly-20260122025558
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 9e29545: Improve sidebars (nav/TOC) layout and scrolling
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @backstage/plugin-catalog-react@0.0.0-nightly-20260122025558
|
|
10
|
+
- @backstage/frontend-plugin-api@0.13.3
|
|
11
|
+
- @backstage/plugin-search-react@1.10.2
|
|
12
|
+
- @backstage/integration-react@1.2.14
|
|
13
|
+
|
|
14
|
+
## 1.16.2
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
6
17
|
|
|
7
18
|
- 0afb8a6: Corrected color of some elements such as Grid cards and Tables.
|
|
8
19
|
- 94ff7ab: Code block "Copy to clipboard" button was not positioned correctly for docs built with `mkdocs-material>=9.7`
|
|
9
20
|
- Updated dependencies
|
|
10
|
-
- @backstage/frontend-plugin-api@0.
|
|
11
|
-
- @backstage/core-components@0.
|
|
12
|
-
- @backstage/integration@
|
|
13
|
-
- @backstage/
|
|
14
|
-
- @backstage/
|
|
15
|
-
- @backstage/plugin-
|
|
16
|
-
- @backstage/plugin-
|
|
17
|
-
- @backstage/
|
|
18
|
-
- @backstage/catalog-model@1.7.6
|
|
19
|
-
- @backstage/config@1.3.6
|
|
20
|
-
- @backstage/errors@1.2.7
|
|
21
|
-
- @backstage/integration-react@0.0.0-nightly-20260120025109
|
|
22
|
-
- @backstage/theme@0.7.1
|
|
23
|
-
- @backstage/plugin-auth-react@0.0.0-nightly-20260120025109
|
|
24
|
-
- @backstage/plugin-search-common@0.0.0-nightly-20260120025109
|
|
25
|
-
- @backstage/plugin-techdocs-common@0.1.1
|
|
21
|
+
- @backstage/frontend-plugin-api@0.13.3
|
|
22
|
+
- @backstage/core-components@0.18.5
|
|
23
|
+
- @backstage/integration@1.19.2
|
|
24
|
+
- @backstage/plugin-search-react@1.10.2
|
|
25
|
+
- @backstage/integration-react@1.2.14
|
|
26
|
+
- @backstage/plugin-auth-react@0.1.23
|
|
27
|
+
- @backstage/plugin-catalog-react@1.21.5
|
|
28
|
+
- @backstage/plugin-techdocs-react@1.3.7
|
|
26
29
|
|
|
27
30
|
## 1.16.2-next.1
|
|
28
31
|
|
package/dist/package.json.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var name = "@backstage/plugin-techdocs";
|
|
2
|
-
var version = "0.0.0-nightly-
|
|
2
|
+
var version = "0.0.0-nightly-20260122025558";
|
|
3
3
|
var description = "The Backstage plugin that renders technical documentation for your components";
|
|
4
4
|
var backstage = {
|
|
5
5
|
role: "frontend-plugin",
|
|
@@ -62,15 +62,12 @@ var layout = ({ theme, sidebar }) => `
|
|
|
62
62
|
bottom: 75px;
|
|
63
63
|
position: fixed;
|
|
64
64
|
width: 16rem;
|
|
65
|
-
overflow-y: auto;
|
|
66
|
-
overflow-x: hidden;
|
|
67
|
-
scrollbar-color: rgb(193, 193, 193) #eee;
|
|
68
|
-
scrollbar-width: thin;
|
|
69
65
|
}
|
|
70
66
|
.md-sidebar .md-sidebar__scrollwrap {
|
|
71
67
|
width: calc(16rem);
|
|
72
|
-
|
|
68
|
+
height: 100%
|
|
73
69
|
}
|
|
70
|
+
|
|
74
71
|
@supports selector(::-webkit-scrollbar) {
|
|
75
72
|
[dir=ltr] .md-sidebar__inner {
|
|
76
73
|
padding-right: calc(100% - 15.1rem);
|
|
@@ -79,28 +76,6 @@ var layout = ({ theme, sidebar }) => `
|
|
|
79
76
|
.md-sidebar--secondary {
|
|
80
77
|
right: ${theme.spacing(3)}px;
|
|
81
78
|
}
|
|
82
|
-
.md-sidebar::-webkit-scrollbar {
|
|
83
|
-
width: 5px;
|
|
84
|
-
}
|
|
85
|
-
.md-sidebar::-webkit-scrollbar-button {
|
|
86
|
-
width: 5px;
|
|
87
|
-
height: 5px;
|
|
88
|
-
}
|
|
89
|
-
.md-sidebar::-webkit-scrollbar-track {
|
|
90
|
-
background: #eee;
|
|
91
|
-
border: 1 px solid rgb(250, 250, 250);
|
|
92
|
-
box-shadow: 0px 0px 3px #dfdfdf inset;
|
|
93
|
-
border-radius: 3px;
|
|
94
|
-
}
|
|
95
|
-
.md-sidebar::-webkit-scrollbar-thumb {
|
|
96
|
-
width: 5px;
|
|
97
|
-
background: rgb(193, 193, 193);
|
|
98
|
-
border: transparent;
|
|
99
|
-
border-radius: 3px;
|
|
100
|
-
}
|
|
101
|
-
.md-sidebar::-webkit-scrollbar-thumb:hover {
|
|
102
|
-
background: rgb(125, 125, 125);
|
|
103
|
-
}
|
|
104
79
|
|
|
105
80
|
.md-content {
|
|
106
81
|
max-width: calc(100% - 16rem * 2);
|
|
@@ -136,6 +111,8 @@ var layout = ({ theme, sidebar }) => `
|
|
|
136
111
|
@media screen and (min-width: 76.25em) {
|
|
137
112
|
.md-sidebar {
|
|
138
113
|
height: auto;
|
|
114
|
+
/* Less padding before the Previous / Next buttons */
|
|
115
|
+
padding-bottom: 0 !important;
|
|
139
116
|
}
|
|
140
117
|
}
|
|
141
118
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout.esm.js","sources":["../../../../../src/reader/transformers/styles/rules/layout.ts"],"sourcesContent":["/*\n * Copyright 2022 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\nimport { RuleOptions } from './types';\n\nconst SIDEBAR_WIDTH = '224px';\n\nexport default ({ theme, sidebar }: RuleOptions) => `\n\n/*================== Layout ==================*/\n\n/* mkdocs material v9 compat */\n.md-nav__title {\n color: var(--md-default-fg-color);\n}\n\n.md-grid {\n max-width: 100%;\n margin: 0;\n}\n\n.md-nav {\n font-size: calc(var(--md-typeset-font-size) * 0.9);\n}\n.md-nav__link:not(:has(svg)) {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.md-nav__link:has(svg) > .md-ellipsis {\n flex-grow: 1;\n}\n.md-nav__icon {\n height: 20px !important;\n width: 20px !important;\n margin-left:${theme.spacing(1)}px;\n}\n.md-nav__icon svg {\n margin: 0;\n width: 20px !important;\n height: 20px !important;\n}\n.md-nav__icon:after {\n width: 20px !important;\n height: 20px !important;\n}\n.md-status--updated::after {\n -webkit-mask-image: var(--md-status--updated);\n mask-image: var(--md-status--updated);\n}\n\n.md-nav__item--active > .md-nav__link, a.md-nav__link--active {\n text-decoration: underline;\n color: var(--md-typeset-a-color);\n}\n.md-nav__link--active > .md-status:after {\n background-color: var(--md-typeset-a-color);\n}\n.md-nav__link[href]:hover > .md-status:after {\n background-color: var(--md-accent-fg-color);\n}\n\n.md-main__inner {\n margin-top: 0;\n}\n\n.md-sidebar {\n bottom: 75px;\n position: fixed;\n width: 16rem;\n
|
|
1
|
+
{"version":3,"file":"layout.esm.js","sources":["../../../../../src/reader/transformers/styles/rules/layout.ts"],"sourcesContent":["/*\n * Copyright 2022 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\nimport { RuleOptions } from './types';\n\nconst SIDEBAR_WIDTH = '224px';\n\nexport default ({ theme, sidebar }: RuleOptions) => `\n\n/*================== Layout ==================*/\n\n/* mkdocs material v9 compat */\n.md-nav__title {\n color: var(--md-default-fg-color);\n}\n\n.md-grid {\n max-width: 100%;\n margin: 0;\n}\n\n.md-nav {\n font-size: calc(var(--md-typeset-font-size) * 0.9);\n}\n.md-nav__link:not(:has(svg)) {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.md-nav__link:has(svg) > .md-ellipsis {\n flex-grow: 1;\n}\n.md-nav__icon {\n height: 20px !important;\n width: 20px !important;\n margin-left:${theme.spacing(1)}px;\n}\n.md-nav__icon svg {\n margin: 0;\n width: 20px !important;\n height: 20px !important;\n}\n.md-nav__icon:after {\n width: 20px !important;\n height: 20px !important;\n}\n.md-status--updated::after {\n -webkit-mask-image: var(--md-status--updated);\n mask-image: var(--md-status--updated);\n}\n\n.md-nav__item--active > .md-nav__link, a.md-nav__link--active {\n text-decoration: underline;\n color: var(--md-typeset-a-color);\n}\n.md-nav__link--active > .md-status:after {\n background-color: var(--md-typeset-a-color);\n}\n.md-nav__link[href]:hover > .md-status:after {\n background-color: var(--md-accent-fg-color);\n}\n\n.md-main__inner {\n margin-top: 0;\n}\n\n.md-sidebar {\n bottom: 75px;\n position: fixed;\n width: 16rem;\n}\n.md-sidebar .md-sidebar__scrollwrap {\n width: calc(16rem);\n height: 100%\n}\n\n@supports selector(::-webkit-scrollbar) {\n [dir=ltr] .md-sidebar__inner {\n padding-right: calc(100% - 15.1rem);\n }\n}\n.md-sidebar--secondary {\n right: ${theme.spacing(3)}px;\n}\n\n.md-content {\n max-width: calc(100% - 16rem * 2);\n margin-left: 16rem;\n margin-bottom: 50px;\n}\n\n.md-content > .md-sidebar {\n left: 16rem;\n}\n\n.md-footer {\n position: fixed;\n bottom: 0px;\n pointer-events: none;\n}\n\n.md-footer-nav__link, .md-footer__link {\n pointer-events: all;\n}\n\n.md-footer__title {\n background-color: unset;\n}\n.md-footer-nav__link, .md-footer__link {\n width: 16rem;\n}\n\n.md-dialog {\n background-color: unset;\n}\n\n@media screen and (min-width: 76.25em) {\n .md-sidebar {\n height: auto;\n /* Less padding before the Previous / Next buttons */\n padding-bottom: 0 !important;\n }\n}\n\n@media screen and (max-width: 76.1875em) {\n .md-nav {\n transition: none !important;\n background-color: var(--md-default-bg-color)\n }\n .md-nav--primary .md-nav__title {\n cursor: auto;\n color: var(--md-default-fg-color);\n font-weight: 700;\n white-space: normal;\n line-height: 1rem;\n height: auto;\n display: flex;\n flex-flow: column;\n row-gap: 1.6rem;\n padding: 1.2rem .8rem .8rem;\n background-color: var(--md-default-bg-color);\n }\n .md-nav--primary .md-nav__title~.md-nav__list {\n box-shadow: none;\n }\n .md-nav--primary .md-nav__title ~ .md-nav__list > :first-child {\n border-top: none;\n }\n .md-nav--primary .md-nav__title .md-nav__button {\n display: none;\n }\n .md-nav--primary .md-nav__title .md-nav__icon {\n color: var(--md-default-fg-color);\n position: static;\n height: auto;\n margin: 0 0 0 -0.2rem;\n }\n .md-nav--primary > .md-nav__title [for=\"none\"] {\n padding-top: 0;\n }\n .md-nav--primary .md-nav__item {\n border-top: none;\n }\n .md-nav--primary :is(.md-nav__title,.md-nav__item) {\n font-size : var(--md-typeset-font-size);\n }\n .md-nav .md-source {\n display: none;\n }\n\n .md-sidebar {\n height: 100%;\n }\n .md-sidebar--primary {\n width: 16rem !important;\n z-index: 200;\n left: ${\n sidebar.isPinned\n ? `calc(-16rem + ${SIDEBAR_WIDTH})`\n : 'calc(-16rem + 72px)'\n } !important;\n }\n .md-sidebar--secondary:not([hidden]) {\n display: none;\n }\n\n [data-md-toggle=drawer]:checked~.md-container .md-sidebar--primary {\n transform: translateX(16rem);\n }\n\n .md-content {\n max-width: 100%;\n margin-left: 0;\n }\n\n .md-header__button {\n margin: 0.4rem 0;\n margin-left: 0.4rem;\n padding: 0;\n }\n\n .md-overlay {\n left: 0;\n }\n\n .md-footer {\n position: static;\n padding-left: 0;\n }\n .md-footer-nav__link {\n /* footer links begin to overlap at small sizes without setting width */\n width: 50%;\n }\n}\n\n@media screen and (max-width: 600px) {\n .md-sidebar--primary {\n left: -16rem !important;\n width: 16rem;\n }\n}\n\n\n@media print {\n .md-sidebar,\n #toggle-sidebar {\n display: none;\n }\n\n .md-content {\n margin: 0;\n width: 100%;\n max-width: 100%;\n }\n}\n`;\n"],"names":[],"mappings":"AAkBA,MAAM,aAAA,GAAgB,OAAA;AAEtB,aAAe,CAAC,EAAE,KAAA,EAAO,OAAA,EAAQ,KAAmB;;AAAA;;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,cAAA,EA4BpC,KAAA,CAAM,OAAA,CAAQ,CAAC,CAAC,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,SAAA,EA+CrB,KAAA,CAAM,OAAA,CAAQ,CAAC,CAAC,CAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,UAAA,EA+FrB,OAAA,CAAQ,QAAA,GACJ,CAAA,cAAA,EAAiB,aAAa,MAC9B,qBACN,CAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-techdocs",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20260122025558",
|
|
4
4
|
"description": "The Backstage plugin that renders technical documentation for your components",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "frontend-plugin",
|
|
@@ -74,18 +74,18 @@
|
|
|
74
74
|
"@backstage/catalog-client": "1.12.1",
|
|
75
75
|
"@backstage/catalog-model": "1.7.6",
|
|
76
76
|
"@backstage/config": "1.3.6",
|
|
77
|
-
"@backstage/core-components": "0.
|
|
78
|
-
"@backstage/core-plugin-api": "
|
|
77
|
+
"@backstage/core-components": "0.18.5",
|
|
78
|
+
"@backstage/core-plugin-api": "1.12.1",
|
|
79
79
|
"@backstage/errors": "1.2.7",
|
|
80
|
-
"@backstage/frontend-plugin-api": "0.
|
|
81
|
-
"@backstage/integration": "
|
|
82
|
-
"@backstage/integration-react": "
|
|
83
|
-
"@backstage/plugin-auth-react": "0.
|
|
84
|
-
"@backstage/plugin-catalog-react": "0.0.0-nightly-
|
|
85
|
-
"@backstage/plugin-search-common": "
|
|
86
|
-
"@backstage/plugin-search-react": "
|
|
80
|
+
"@backstage/frontend-plugin-api": "0.13.3",
|
|
81
|
+
"@backstage/integration": "1.19.2",
|
|
82
|
+
"@backstage/integration-react": "1.2.14",
|
|
83
|
+
"@backstage/plugin-auth-react": "0.1.23",
|
|
84
|
+
"@backstage/plugin-catalog-react": "0.0.0-nightly-20260122025558",
|
|
85
|
+
"@backstage/plugin-search-common": "1.2.21",
|
|
86
|
+
"@backstage/plugin-search-react": "1.10.2",
|
|
87
87
|
"@backstage/plugin-techdocs-common": "0.1.1",
|
|
88
|
-
"@backstage/plugin-techdocs-react": "
|
|
88
|
+
"@backstage/plugin-techdocs-react": "1.3.7",
|
|
89
89
|
"@backstage/theme": "0.7.1",
|
|
90
90
|
"@material-ui/core": "^4.12.2",
|
|
91
91
|
"@material-ui/icons": "^4.9.1",
|
|
@@ -99,12 +99,12 @@
|
|
|
99
99
|
"react-use": "^17.2.4"
|
|
100
100
|
},
|
|
101
101
|
"devDependencies": {
|
|
102
|
-
"@backstage/cli": "0.
|
|
103
|
-
"@backstage/core-app-api": "
|
|
104
|
-
"@backstage/dev-utils": "0.0.0-nightly-
|
|
105
|
-
"@backstage/plugin-catalog": "0.0.0-nightly-
|
|
106
|
-
"@backstage/plugin-techdocs-module-addons-contrib": "
|
|
107
|
-
"@backstage/test-utils": "
|
|
102
|
+
"@backstage/cli": "0.35.2",
|
|
103
|
+
"@backstage/core-app-api": "1.19.3",
|
|
104
|
+
"@backstage/dev-utils": "0.0.0-nightly-20260122025558",
|
|
105
|
+
"@backstage/plugin-catalog": "0.0.0-nightly-20260122025558",
|
|
106
|
+
"@backstage/plugin-techdocs-module-addons-contrib": "1.1.32",
|
|
107
|
+
"@backstage/test-utils": "1.7.14",
|
|
108
108
|
"@testing-library/dom": "^10.0.0",
|
|
109
109
|
"@testing-library/jest-dom": "^6.0.0",
|
|
110
110
|
"@testing-library/react": "^16.0.0",
|