@backstage/plugin-techdocs 0.0.0-nightly-20241002023110 → 0.0.0-nightly-20241003023252
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,6 +1,6 @@
|
|
|
1
1
|
# @backstage/plugin-techdocs
|
|
2
2
|
|
|
3
|
-
## 0.0.0-nightly-
|
|
3
|
+
## 0.0.0-nightly-20241003023252
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
@@ -8,18 +8,19 @@
|
|
|
8
8
|
- a77cb40: Make `emptyState` input optional on `entity-content:techdocs` extension so that
|
|
9
9
|
the default empty state extension works correctly.
|
|
10
10
|
- e918061: Add support for mkdocs material palette conditional hashes.
|
|
11
|
-
-
|
|
12
|
-
|
|
13
|
-
- @backstage/
|
|
14
|
-
- @backstage/
|
|
15
|
-
- @backstage/
|
|
16
|
-
- @backstage/core-
|
|
17
|
-
- @backstage/plugin-
|
|
18
|
-
- @backstage/plugin-
|
|
19
|
-
- @backstage/plugin-
|
|
20
|
-
- @backstage/plugin-
|
|
21
|
-
- @backstage/
|
|
22
|
-
- @backstage/
|
|
11
|
+
- e8b4966: Use more of the available space for the navigation sidebar.
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
- @backstage/core-components@0.0.0-nightly-20241003023252
|
|
14
|
+
- @backstage/frontend-plugin-api@0.0.0-nightly-20241003023252
|
|
15
|
+
- @backstage/integration-react@0.0.0-nightly-20241003023252
|
|
16
|
+
- @backstage/core-compat-api@0.0.0-nightly-20241003023252
|
|
17
|
+
- @backstage/core-plugin-api@0.0.0-nightly-20241003023252
|
|
18
|
+
- @backstage/plugin-techdocs-react@0.0.0-nightly-20241003023252
|
|
19
|
+
- @backstage/plugin-catalog-react@0.0.0-nightly-20241003023252
|
|
20
|
+
- @backstage/plugin-search-react@0.0.0-nightly-20241003023252
|
|
21
|
+
- @backstage/plugin-auth-react@0.0.0-nightly-20241003023252
|
|
22
|
+
- @backstage/theme@0.0.0-nightly-20241003023252
|
|
23
|
+
- @backstage/integration@0.0.0-nightly-20241003023252
|
|
23
24
|
- @backstage/catalog-model@1.7.0
|
|
24
25
|
- @backstage/config@1.2.0
|
|
25
26
|
- @backstage/errors@1.2.4
|
package/alpha/package.json
CHANGED
|
@@ -67,9 +67,14 @@ var layout = ({ theme, sidebar }) => `
|
|
|
67
67
|
scrollbar-width: thin;
|
|
68
68
|
}
|
|
69
69
|
.md-sidebar .md-sidebar__scrollwrap {
|
|
70
|
-
width: calc(
|
|
70
|
+
width: calc(16rem);
|
|
71
71
|
overflow-y: hidden;
|
|
72
72
|
}
|
|
73
|
+
@supports selector(::-webkit-scrollbar) {
|
|
74
|
+
[dir=ltr] .md-sidebar__inner {
|
|
75
|
+
padding-right: calc(100% - 15.1rem);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
73
78
|
.md-sidebar--secondary {
|
|
74
79
|
right: ${theme.spacing(3)}px;
|
|
75
80
|
}
|
|
@@ -183,14 +188,18 @@ var layout = ({ theme, sidebar }) => `
|
|
|
183
188
|
height: 100%;
|
|
184
189
|
}
|
|
185
190
|
.md-sidebar--primary {
|
|
186
|
-
width:
|
|
191
|
+
width: 16rem !important;
|
|
187
192
|
z-index: 200;
|
|
188
|
-
left: ${sidebar.isPinned ? `calc(-
|
|
193
|
+
left: ${sidebar.isPinned ? `calc(-16rem + ${SIDEBAR_WIDTH})` : "calc(-16rem + 72px)"} !important;
|
|
189
194
|
}
|
|
190
195
|
.md-sidebar--secondary:not([hidden]) {
|
|
191
196
|
display: none;
|
|
192
197
|
}
|
|
193
198
|
|
|
199
|
+
[data-md-toggle=drawer]:checked~.md-container .md-sidebar--primary {
|
|
200
|
+
transform: translateX(16rem);
|
|
201
|
+
}
|
|
202
|
+
|
|
194
203
|
.md-content {
|
|
195
204
|
max-width: 100%;
|
|
196
205
|
margin-left: 0;
|
|
@@ -218,8 +227,8 @@ var layout = ({ theme, sidebar }) => `
|
|
|
218
227
|
|
|
219
228
|
@media screen and (max-width: 600px) {
|
|
220
229
|
.md-sidebar--primary {
|
|
221
|
-
left: -
|
|
222
|
-
width:
|
|
230
|
+
left: -16rem !important;
|
|
231
|
+
width: 16rem;
|
|
223
232
|
}
|
|
224
233
|
}
|
|
225
234
|
|
|
@@ -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/*================== 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 overflow-y: auto;\n overflow-x: hidden;\n scrollbar-color: rgb(193, 193, 193) #eee;\n scrollbar-width: thin;\n}\n.md-sidebar .md-sidebar__scrollwrap {\n width: calc(
|
|
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/*================== 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 overflow-y: auto;\n overflow-x: hidden;\n scrollbar-color: rgb(193, 193, 193) #eee;\n scrollbar-width: thin;\n}\n.md-sidebar .md-sidebar__scrollwrap {\n width: calc(16rem);\n overflow-y: hidden;\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.md-sidebar::-webkit-scrollbar {\n width: 5px;\n}\n.md-sidebar::-webkit-scrollbar-button {\n width: 5px;\n height: 5px;\n}\n.md-sidebar::-webkit-scrollbar-track {\n background: #eee;\n border: 1 px solid rgb(250, 250, 250);\n box-shadow: 0px 0px 3px #dfdfdf inset;\n border-radius: 3px;\n}\n.md-sidebar::-webkit-scrollbar-thumb {\n width: 5px;\n background: rgb(193, 193, 193);\n border: transparent;\n border-radius: 3px;\n}\n.md-sidebar::-webkit-scrollbar-thumb:hover {\n background: rgb(125, 125, 125);\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 }\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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A;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,EAmHrB,OAAQ,CAAA,QAAA,GACJ,CAAiB,cAAA,EAAA,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;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-20241003023252",
|
|
4
4
|
"description": "The Backstage plugin that renders technical documentation for your components",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "frontend-plugin",
|
|
@@ -61,20 +61,20 @@
|
|
|
61
61
|
"dependencies": {
|
|
62
62
|
"@backstage/catalog-model": "1.7.0",
|
|
63
63
|
"@backstage/config": "1.2.0",
|
|
64
|
-
"@backstage/core-compat-api": "0.0.0-nightly-
|
|
65
|
-
"@backstage/core-components": "0.0.0-nightly-
|
|
66
|
-
"@backstage/core-plugin-api": "0.0.0-nightly-
|
|
64
|
+
"@backstage/core-compat-api": "0.0.0-nightly-20241003023252",
|
|
65
|
+
"@backstage/core-components": "0.0.0-nightly-20241003023252",
|
|
66
|
+
"@backstage/core-plugin-api": "0.0.0-nightly-20241003023252",
|
|
67
67
|
"@backstage/errors": "1.2.4",
|
|
68
|
-
"@backstage/frontend-plugin-api": "0.0.0-nightly-
|
|
69
|
-
"@backstage/integration": "0.0.0-nightly-
|
|
70
|
-
"@backstage/integration-react": "0.0.0-nightly-
|
|
71
|
-
"@backstage/plugin-auth-react": "0.0.0-nightly-
|
|
72
|
-
"@backstage/plugin-catalog-react": "0.0.0-nightly-
|
|
68
|
+
"@backstage/frontend-plugin-api": "0.0.0-nightly-20241003023252",
|
|
69
|
+
"@backstage/integration": "0.0.0-nightly-20241003023252",
|
|
70
|
+
"@backstage/integration-react": "0.0.0-nightly-20241003023252",
|
|
71
|
+
"@backstage/plugin-auth-react": "0.0.0-nightly-20241003023252",
|
|
72
|
+
"@backstage/plugin-catalog-react": "0.0.0-nightly-20241003023252",
|
|
73
73
|
"@backstage/plugin-search-common": "1.2.14",
|
|
74
|
-
"@backstage/plugin-search-react": "0.0.0-nightly-
|
|
74
|
+
"@backstage/plugin-search-react": "0.0.0-nightly-20241003023252",
|
|
75
75
|
"@backstage/plugin-techdocs-common": "0.1.0",
|
|
76
|
-
"@backstage/plugin-techdocs-react": "0.0.0-nightly-
|
|
77
|
-
"@backstage/theme": "0.0.0-nightly-
|
|
76
|
+
"@backstage/plugin-techdocs-react": "0.0.0-nightly-20241003023252",
|
|
77
|
+
"@backstage/theme": "0.0.0-nightly-20241003023252",
|
|
78
78
|
"@material-ui/core": "^4.12.2",
|
|
79
79
|
"@material-ui/icons": "^4.9.1",
|
|
80
80
|
"@material-ui/lab": "4.0.0-alpha.61",
|
|
@@ -88,11 +88,11 @@
|
|
|
88
88
|
"react-use": "^17.2.4"
|
|
89
89
|
},
|
|
90
90
|
"devDependencies": {
|
|
91
|
-
"@backstage/cli": "0.0.0-nightly-
|
|
92
|
-
"@backstage/core-app-api": "0.0.0-nightly-
|
|
93
|
-
"@backstage/dev-utils": "0.0.0-nightly-
|
|
94
|
-
"@backstage/plugin-techdocs-module-addons-contrib": "0.0.0-nightly-
|
|
95
|
-
"@backstage/test-utils": "0.0.0-nightly-
|
|
91
|
+
"@backstage/cli": "0.0.0-nightly-20241003023252",
|
|
92
|
+
"@backstage/core-app-api": "0.0.0-nightly-20241003023252",
|
|
93
|
+
"@backstage/dev-utils": "0.0.0-nightly-20241003023252",
|
|
94
|
+
"@backstage/plugin-techdocs-module-addons-contrib": "0.0.0-nightly-20241003023252",
|
|
95
|
+
"@backstage/test-utils": "0.0.0-nightly-20241003023252",
|
|
96
96
|
"@testing-library/dom": "^10.0.0",
|
|
97
97
|
"@testing-library/jest-dom": "^6.0.0",
|
|
98
98
|
"@testing-library/react": "^16.0.0",
|