@salesforcedevs/docs-components
Advanced tools
Comparing version 1.3.243-newdocux-alpha9 to 1.3.252-dc1-alpha
{ | ||
"name": "@salesforcedevs/docs-components", | ||
"version": "1.3.243-newdocux-alpha9", | ||
"version": "1.3.252-dc1-alpha", | ||
"description": "Docs Lightning web components for DSC", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -53,2 +53,3 @@ import { LightningElement, api, track } from "lwc"; | ||
@api language!: string; | ||
@api hideFooter = false; | ||
@track navigation = [] as NavigationItem[]; | ||
@@ -188,2 +189,6 @@ @track versions: Array<ReferenceVersion> = []; | ||
private get enableFooter(): boolean { | ||
return !this.hideFooter; | ||
} | ||
// model | ||
@@ -190,0 +195,0 @@ protected _amfConfigList: AmfConfig[] = []; |
@@ -46,3 +46,3 @@ /* eslint-disable @lwc/lwc/no-document-query */ | ||
// This is needed for now to prevent failing snapshot tests due to links in the footer | ||
@api hideFooter = false; | ||
@api showFooter = false; | ||
@@ -101,6 +101,2 @@ @api | ||
get footerHidden() { | ||
return this.hideFooter !== true; | ||
} | ||
get shouldDisplayFeedback() { | ||
@@ -107,0 +103,0 @@ return this.contentLoaded && typeof Sprig !== "undefined"; |
@@ -23,2 +23,11 @@ import { api } from "lwc"; | ||
@api | ||
get devCenter() { | ||
return this._devCenter; | ||
} | ||
set devCenter(value) { | ||
this._devCenter = toJson(value); | ||
} | ||
private _scopedNavItems!: OptionWithNested[]; | ||
@@ -29,2 +38,3 @@ private tablet = false; | ||
private showDocDivider: boolean = false; | ||
private _devCenter: any; | ||
@@ -31,0 +41,0 @@ protected mobileBreakpoint(): string { |
@@ -47,2 +47,3 @@ /* eslint-disable @lwc/lwc/no-document-query */ | ||
@api coveoSearchHub!: string; | ||
@api hideFooter = false; | ||
@@ -88,2 +89,6 @@ @api | ||
private get enableFooter(): boolean { | ||
return !this.hideFooter; | ||
} | ||
private searchSyncer = new SearchSyncer({ | ||
@@ -90,0 +95,0 @@ callbacks: { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
254457
6525