@proximus/lavender 2.0.0-alpha.90 → 2.0.0-alpha.91

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.
@@ -9739,6 +9739,11 @@ class Drawer extends HTMLElement {
9739
9739
  this.$closeButton.addEventListener("click", () => {
9740
9740
  this.hide();
9741
9741
  });
9742
+ this.$dialog.addEventListener("toggle", (e) => {
9743
+ if (e.newState === "closed") {
9744
+ this.hide();
9745
+ }
9746
+ });
9742
9747
  this.toggleFooterVisibility();
9743
9748
  (_a = this.$slotFooter) == null ? void 0 : _a.addEventListener(
9744
9749
  "slotchange",