@salesforcedevs/docs-components 1.27.21 → 1.27.22

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.21",
3
+ "version": "1.27.22",
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": "bb47c49e52267b9068ff826a16f39364f49e3086"
28
+ "gitHead": "b18b462ea579257fe2ea823aeb0a7e5cf0c11302"
29
29
  }
@@ -291,11 +291,7 @@ export default class RedocReference extends LightningElement {
291
291
  this.insertDocPhase(apiContentDiv, docPhaseInfo);
292
292
  }
293
293
 
294
- if (typeof Sprig !== "undefined") {
295
- this.insertSprigSurvey(apiContentDiv);
296
- }
297
-
298
- this.insertFooter(apiContentDiv);
294
+ this.appendFooterItems(apiContentDiv);
299
295
 
300
296
  // Wait for footer to be rendered before updating styles
301
297
  requestAnimationFrame(() => {
@@ -358,6 +354,16 @@ export default class RedocReference extends LightningElement {
358
354
  wrapper.appendChild(feedbackElement);
359
355
  }
360
356
 
357
+ private appendFooterItems(parent: HTMLElement): void {
358
+ const container = document.createElement("div");
359
+ container.className = "appended-footer-container";
360
+ if (typeof Sprig !== "undefined") {
361
+ this.insertSprigSurvey(container);
362
+ }
363
+ this.insertFooter(container);
364
+ parent.appendChild(container);
365
+ }
366
+
361
367
  // Adjusts third column bottom position to prevent footer overlap
362
368
  private updateRedocThirdColumnStyle(redocContainer: HTMLElement): void {
363
369
  const footer = redocContainer.querySelector(