@haiilo/catalyst 10.24.2 → 10.24.3

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.
@@ -8559,6 +8559,7 @@ const CatDropdown = class {
8559
8559
  return; // busy or closed
8560
8560
  }
8561
8561
  this.isOpen = null;
8562
+ this.trap?.deactivate();
8562
8563
  this.content.classList.remove('show');
8563
8564
  // give CSS transition time to apply
8564
8565
  setTimeout(() => {
@@ -8566,12 +8567,11 @@ const CatDropdown = class {
8566
8567
  this.content.classList.remove('show');
8567
8568
  this.content.style.display = '';
8568
8569
  this.trigger?.setAttribute('aria-expanded', 'false');
8569
- this.trap?.deactivate();
8570
8570
  this.catClose.emit();
8571
8571
  }, timeTransitionS);
8572
8572
  }
8573
8573
  render() {
8574
- return (index.h(index.Host, { key: 'c0ec9a85a4b9ea6a739507480d630c8fc8dd15f5' }, index.h("slot", { key: 'd696c663aeaf62869077994227b12c033c3eaa01', name: "anchor", ref: el => (this.anchorSlot = el) }), index.h("slot", { key: 'b8bb9467fda8b26fdb3d6e88aa2c6ff5c091787f', name: "trigger", ref: el => (this.triggerSlot = el) }), index.h("div", { key: '0a65794088d27a74621ce390f7ad21d798b6a0e5', id: this.contentId, class: { content: true, 'overflow-auto': !this.overflow }, ref: el => (this.content = el) }, index.h("slot", { key: '41dff5ac88c5175a856f6aca5d0696899d20f848', name: "content" }))));
8574
+ return (index.h(index.Host, { key: '3ead90dae1ac492a0cb592d7cf7a50fd42f26ca7' }, index.h("slot", { key: 'b91bba7772b2a90850be2ac85b82ec7691ae031d', name: "anchor", ref: el => (this.anchorSlot = el) }), index.h("slot", { key: 'f7e07ffed988133cbccafb8f8c73fdb52757d9fb', name: "trigger", ref: el => (this.triggerSlot = el) }), index.h("div", { key: '868a0578cd30cac249959e0961b0425e56048af9', id: this.contentId, class: { content: true, 'overflow-auto': !this.overflow }, ref: el => (this.content = el) }, index.h("slot", { key: '19fb6b5b92599ed1ae21aac591271957a6e7b060', name: "content" }))));
8575
8575
  }
8576
8576
  componentDidLoad() {
8577
8577
  this.initAnchor();