@salesforcedevs/docs-components 1.3.194-docfooter-alpha → 1.3.194-docfooter2-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.194-docfooter-alpha",
3
+ "version": "1.3.194-docfooter2-alpha",
4
4
  "description": "Docs Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -61,6 +61,7 @@ dx-toc {
61
61
  flex-direction: row;
62
62
  justify-content: center;
63
63
  max-width: var(--dx-g-doc-content-max-width);
64
+ min-height: 300px;
64
65
  margin: auto;
65
66
  padding: 0 var(--dx-g-global-header-padding-horizontal);
66
67
  }
@@ -47,9 +47,9 @@
47
47
  value={tocValue}
48
48
  ></dx-toc>
49
49
  </div>
50
- <div class="footer-container">
51
- <dx-footer variant="no-signup"></dx-footer>
52
- </div>
50
+ </div>
51
+ <div if:false={isXMLDoc} class="footer-container">
52
+ <dx-footer variant="no-signup"></dx-footer>
53
53
  </div>
54
54
  </div>
55
55
  </div>
@@ -93,6 +93,10 @@ export default class ContentLayout extends LightningElement {
93
93
  return this.contentLoaded && typeof Sprig !== "undefined";
94
94
  }
95
95
 
96
+ get isXMLDoc(): boolean {
97
+ return this.sidebarHeader === "Pages";
98
+ }
99
+
96
100
  private searchSyncer = new SearchSyncer({
97
101
  callbacks: {
98
102
  onSearchChange: (nextSearchString: string): void => {