@usecapsule/core-components 2.0.4 → 2.0.5

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.
@@ -10183,8 +10183,9 @@ const CpslModal = class {
10183
10183
  this.cpslModalExiting.emit();
10184
10184
  },
10185
10185
  onComplete: () => {
10186
+ var _a;
10186
10187
  this.cpslModalExited.emit();
10187
- this.modalWrapperEl.style.setProperty('display', 'none');
10188
+ (_a = this.modalWrapperEl) === null || _a === void 0 ? void 0 : _a.style.setProperty('display', 'none');
10188
10189
  },
10189
10190
  })
10190
10191
  .to(this.modalWrapperEl, {
@@ -10200,8 +10201,9 @@ const CpslModal = class {
10200
10201
  this.cpslModalExiting.emit();
10201
10202
  },
10202
10203
  onComplete: () => {
10204
+ var _a;
10203
10205
  this.cpslModalExited.emit();
10204
- this.modalWrapperEl.style.setProperty('display', 'none');
10206
+ (_a = this.modalWrapperEl) === null || _a === void 0 ? void 0 : _a.style.setProperty('display', 'none');
10205
10207
  },
10206
10208
  })
10207
10209
  .to(this.modalWrapperEl, {