@salesforcedevs/docs-components 1.27.1-banner1 → 1.27.5-redoc
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/lwc.config.json +0 -1
- package/package.json +1 -1
- package/src/modules/doc/contentLayout/contentLayout.ts +1 -1
- package/src/modules/doc/redocReference/redocReference.ts +0 -2
- package/src/modules/docHelpers/contentLayoutStyle/contentLayoutStyle.css +2 -0
- package/src/modules/doc/banner/banner.css +0 -17
- package/src/modules/doc/banner/banner.html +0 -6
- package/src/modules/doc/banner/banner.ts +0 -6
package/lwc.config.json
CHANGED
package/package.json
CHANGED
|
@@ -140,7 +140,7 @@ export default class ContentLayout extends LightningElement {
|
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
get showReadingTime(): boolean {
|
|
143
|
-
return this.readingTime != null && this.readingTime >
|
|
143
|
+
return this.readingTime != null && this.readingTime > 1;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
connectedCallback(): void {
|
|
@@ -239,8 +239,6 @@ export default class RedocReference extends LightningElement {
|
|
|
239
239
|
window.Redoc.init(
|
|
240
240
|
specUrl,
|
|
241
241
|
{
|
|
242
|
-
// Auto-expand HTTP 200 and 400 response sections
|
|
243
|
-
expandResponses: "200,400",
|
|
244
242
|
// Dynamic scroll offset to account for headers
|
|
245
243
|
scrollYOffset: this.calculateScrollYOffset
|
|
246
244
|
},
|
|
@@ -70,6 +70,7 @@ dx-toc {
|
|
|
70
70
|
.content-body-doc-phase-container {
|
|
71
71
|
flex: 1;
|
|
72
72
|
border-left: 1px solid var(--dx-g-gray-90);
|
|
73
|
+
min-width: 0;
|
|
73
74
|
}
|
|
74
75
|
|
|
75
76
|
.doc-phase-wrapper,
|
|
@@ -105,6 +106,7 @@ dx-toc {
|
|
|
105
106
|
max-width: 1000px;
|
|
106
107
|
flex: 1;
|
|
107
108
|
width: 0;
|
|
109
|
+
word-break: break-word;
|
|
108
110
|
}
|
|
109
111
|
|
|
110
112
|
.is-sticky {
|