@salesforcedevs/dw-components 1.3.148-canary.12 → 1.3.148-canary.13

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/dw-components",
3
- "version": "1.3.148-canary.12",
3
+ "version": "1.3.148-canary.13",
4
4
  "description": "Lightning web components for https://developer.salesforce.com",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -181,6 +181,11 @@ export default class J2sCardSequence extends LightningElement {
181
181
  }
182
182
 
183
183
  renderedCallback() {
184
+ if (this.isLoading) {
185
+ this._didRenderStaticInnerHtml = false; // only when `this.isLoading` is true will static HTML need to be re-rendered, since the content will have been replaced by the spinner
186
+ return;
187
+ }
188
+
184
189
  if (!this._didRenderStaticInnerHtml) {
185
190
  this.updateStaticInnerHtml();
186
191
  this._didRenderStaticInnerHtml = true;
@@ -316,7 +321,6 @@ export default class J2sCardSequence extends LightningElement {
316
321
  ) as unknown) as StepSequence)?.jumpToStep(stepIndex);
317
322
  }
318
323
 
319
- // HTML is received via config from DSC and should be static after initial render.
320
324
  private updateStaticInnerHtml() {
321
325
  const bodyMarkupContainers = this.template.querySelectorAll(
322
326
  "span.body-markup"