@salesforcedevs/docs-components 1.3.227-dh2-alpha → 1.3.227-dh3-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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/docs-components",
3
- "version": "1.3.227-dh2-alpha",
3
+ "version": "1.3.227-dh3-alpha",
4
4
  "description": "Docs Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -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
- window.location.pathname ===
48
- "/tableau/embedding-playground/overview" ||
49
- window.location.host === "localhost:6006" ||
50
- window.location.host === "dsc-components.herokuapp.com"
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
  }
@@ -7,7 +7,7 @@
7
7
  coveo-search-hub={coveoSearchHub}
8
8
  coveo-advanced-query-config={coveoAdvancedQueryConfig}
9
9
  sidebar-header="Pages"
10
- sidebar-content={sidebarContent}
10
+ sidebar-content={projectTitle}
11
11
  sidebar-value={sidebarValue}
12
12
  onselect={handleSelect}
13
13
  use-old-sidebar={useOldSidebar}
@@ -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> {