@salesforcedevs/docs-components 1.3.138-coveo-fix5 → 1.3.138-coveo-fix7

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.138-coveo-fix5",
3
+ "version": "1.3.138-coveo-fix7",
4
4
  "description": "Docs Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -1,13 +1,14 @@
1
1
  <template>
2
2
  <doc-content-layout
3
+ if:true={hasRendered}
3
4
  use-old-sidebar={useOldSidebar}
4
5
  class="content-type content-type-reference"
6
+ version={version}
5
7
  coveo-organization-id={coveoOrganizationId}
6
8
  coveo-public-access-token={coveoPublicAccessToken}
7
9
  coveo-search-hub={coveoSearchHub}
8
10
  coveo-advanced-query-config={coveoAdvancedQueryConfig}
9
11
  breadcrumbs={breadcrumbs}
10
- version={version}
11
12
  sidebar-header={sidebarHeader}
12
13
  sidebar-value={selectedSidebarValue}
13
14
  sidebar-content={navigation}
@@ -111,6 +111,7 @@ export default class AmfReference extends LightningElement {
111
111
  ) {
112
112
  this.showVersionBanner = true;
113
113
  this.version = this.selectedVersion.id.replace("v", "");
114
+ console.log("AMF Ref: " + this.version);
114
115
  }
115
116
  }
116
117
 
@@ -1260,6 +1261,7 @@ export default class AmfReference extends LightningElement {
1260
1261
  if (this.oldVersionInfo) {
1261
1262
  this.showVersionBanner = true;
1262
1263
  this.version = this.getSelectedVersion().id.replace("v", "");
1264
+ console.log("AMF Ref: " + this.version);
1263
1265
  }
1264
1266
  this.updateDocPhase();
1265
1267
  this.selectedSidebarValue = window.location.pathname;
@@ -29,13 +29,13 @@ export default class ContentLayout extends LightningElement {
29
29
  @api sidebarValue: string;
30
30
  @api sidebarHeader: string;
31
31
  @api tocTitle: string;
32
+ @api version!: string;
32
33
  @api enableSlotChange = false;
33
34
  @api coveoOrganizationId!: string;
34
35
  @api coveoPublicAccessToken!: string;
35
36
  @api coveoSearchHub!: string;
36
37
  @api coveoAdvancedQueryConfig!: string;
37
38
  @api useOldSidebar?: boolean = false;
38
- @api version!: string;
39
39
 
40
40
  @api
41
41
  get breadcrumbs() {