@salesforcedevs/docs-components 1.3.227-dh2-alpha → 1.3.227-dh4-alpha
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/package.json
CHANGED
|
@@ -42,12 +42,13 @@ export default class Header extends HeaderBase {
|
|
|
42
42
|
this.tabletMatchMedia.addEventListener("change", this.onTabletChange);
|
|
43
43
|
|
|
44
44
|
if (
|
|
45
|
-
(window.location.pathname.includes("/docs/") &&
|
|
45
|
+
((window.location.pathname.includes("/docs/") &&
|
|
46
46
|
window.location.pathname !== "/docs/apis") ||
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
47
|
+
window.location.pathname ===
|
|
48
|
+
"/tableau/embedding-playground/overview" ||
|
|
49
|
+
window.location.host === "localhost:6006" ||
|
|
50
|
+
window.location.host === "dsc-components.herokuapp.com") &&
|
|
51
|
+
(this.brand || this.mobile)
|
|
51
52
|
) {
|
|
52
53
|
this.shouldRender = true;
|
|
53
54
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
coveo-analytics-token={coveoAnalyticsToken}
|
|
7
7
|
coveo-search-hub={coveoSearchHub}
|
|
8
8
|
coveo-advanced-query-config={coveoAdvancedQueryConfig}
|
|
9
|
-
sidebar-header=
|
|
9
|
+
sidebar-header={projectTitle}
|
|
10
10
|
sidebar-content={sidebarContent}
|
|
11
11
|
sidebar-value={sidebarValue}
|
|
12
12
|
onselect={handleSelect}
|
|
@@ -44,6 +44,7 @@ export default class DocXmlContent extends LightningElementWithState<{
|
|
|
44
44
|
@api coveoPublicAccessToken!: string;
|
|
45
45
|
@api coveoAnalyticsToken!: string;
|
|
46
46
|
@api coveoSearchHub!: string;
|
|
47
|
+
@api projectTitle!: string;
|
|
47
48
|
|
|
48
49
|
@api
|
|
49
50
|
get allLanguages(): Array<Language> {
|
|
@@ -545,6 +546,8 @@ export default class DocXmlContent extends LightningElementWithState<{
|
|
|
545
546
|
|
|
546
547
|
if (this.docTitle) {
|
|
547
548
|
this.pageHeader.subtitle = this.docTitle;
|
|
549
|
+
// eslint-disable-next-line @lwc/lwc/no-api-reassignments
|
|
550
|
+
this.projectTitle = this.docTitle;
|
|
548
551
|
}
|
|
549
552
|
|
|
550
553
|
if (this.pdfUrl) {
|