@salesforcedevs/docs-components 1.27.20 → 1.27.21

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.27.20",
3
+ "version": "1.27.21",
4
4
  "description": "Docs Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -25,5 +25,5 @@
25
25
  "@types/lodash.orderby": "4.6.9",
26
26
  "@types/lodash.uniqby": "4.7.9"
27
27
  },
28
- "gitHead": "60eb447eed07d2493cf56436f267fab0d95e48fb"
28
+ "gitHead": "bb47c49e52267b9068ff826a16f39364f49e3086"
29
29
  }
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable @lwc/lwc/no-document-query */
2
2
  import { LightningElement, api, track } from "lwc";
3
3
  import { closest } from "kagekiri";
4
- import { toJson } from "dxUtils/normalizers";
4
+ import { toJson, normalizeBoolean } from "dxUtils/normalizers";
5
5
  import { highlightTerms } from "dxUtils/highlight";
6
6
  import { SearchSyncer } from "docUtils/searchSyncer";
7
7
  import type { OptionWithLink } from "typings/custom";
@@ -43,7 +43,14 @@ export default class ContentLayout extends LightningElement {
43
43
  @api emptyStateMessage?: string;
44
44
 
45
45
  // This is needed for now to prevent failing snapshot tests due to links in the footer
46
- @api showFooter = false;
46
+ @api
47
+ get showFooter() {
48
+ return this._showFooter;
49
+ }
50
+ set showFooter(value) {
51
+ this._showFooter = normalizeBoolean(value);
52
+ }
53
+ private _showFooter = false;
47
54
 
48
55
  @api readingTime?: number;
49
56