@salesforcedevs/docs-components 1.21.1-redocly1 → 1.21.1-redocly2

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.21.1-redocly1",
3
+ "version": "1.21.1-redocly2",
4
4
  "description": "Docs Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -282,14 +282,15 @@ export default class RedocReference extends LightningElement {
282
282
  }
283
283
 
284
284
  private insertDocPhase(container: HTMLElement, docPhaseInfo: string): void {
285
- const docPhaseElement = createElement("doc-phase", { is: DocPhase });
286
- Object.assign(docPhaseElement, { docPhaseInfo });
287
-
288
285
  const wrapper = document.createElement("div");
289
286
  wrapper.className = "doc-phase-wrapper";
290
- wrapper.appendChild(docPhaseElement);
291
287
 
292
288
  container.insertBefore(wrapper, container.firstChild);
289
+
290
+ const docPhaseElement = createElement("doc-phase", { is: DocPhase });
291
+ Object.assign(docPhaseElement, { docPhaseInfo });
292
+
293
+ wrapper.appendChild(docPhaseElement);
293
294
  }
294
295
 
295
296
  private insertFooter(container: HTMLElement): void {
@@ -299,14 +300,14 @@ export default class RedocReference extends LightningElement {
299
300
  }
300
301
 
301
302
  private insertSprigSurvey(container: HTMLElement): void {
303
+ const wrapper = document.createElement("div");
304
+ wrapper.className = "sprig-survey-wrapper";
305
+ container.appendChild(wrapper);
306
+
302
307
  const feedbackElement = createElement("doc-sprig-survey", {
303
308
  is: SprigSurvey
304
309
  });
305
-
306
- const wrapper = document.createElement("div");
307
- wrapper.className = "sprig-survey-wrapper";
308
310
  wrapper.appendChild(feedbackElement);
309
- container.appendChild(wrapper);
310
311
  }
311
312
 
312
313
  private updateRedocThirdColumnStyle(redocContainer: HTMLElement): void {