@design.estate/dees-catalog 21.39.0 → 21.39.1

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.
@@ -2727,6 +2727,7 @@ var _DeesInputDropdownPopup = class _DeesInputDropdownPopup extends (_a7 = DeesE
2727
2727
  const selectedIndex = this.options.findIndex((option) => option.key === this.selectedKey && !option.disabled);
2728
2728
  this.highlightedIndex = selectedIndex >= 0 ? selectedIndex : firstUsableIndex(this.options);
2729
2729
  this.searchValue = "";
2730
+ this.classList.remove("closing");
2730
2731
  this.windowLayer = await DeesWindowLayer.createAndShow({ dimmed: false, ownerElement: this.ownerComponent });
2731
2732
  this.windowLayer.addEventListener("click", () => {
2732
2733
  this.dispatchEvent(new CustomEvent("close-request"));
@@ -2745,6 +2746,7 @@ var _DeesInputDropdownPopup = class _DeesInputDropdownPopup extends (_a7 = DeesE
2745
2746
  return;
2746
2747
  }
2747
2748
  this.isDestroying = true;
2749
+ this.classList.add("closing");
2748
2750
  this.searchAbort?.abort();
2749
2751
  this.repositionListeners?.abort();
2750
2752
  zIndexRegistry.unregister(this);
@@ -2910,6 +2912,12 @@ __publicField(_DeesInputDropdownPopup, "styles", [
2910
2912
  opacity: 1;
2911
2913
  }
2912
2914
 
2915
+ /* A list on its way out takes no presses: the reader has already chosen, and the next press
2916
+ belongs to what lies under it. Set on the host the moment closing starts, not by a render. */
2917
+ :host(.closing) .selectionBox {
2918
+ pointer-events: none;
2919
+ }
2920
+
2913
2921
  .options-container {
2914
2922
  min-height: 0;
2915
2923
  max-height: 250px;
@@ -123941,7 +123949,7 @@ var bright = {
123941
123949
  // ts_web/00_commitinfo_data.ts
123942
123950
  var commitinfo = {
123943
123951
  name: "@design.estate/dees-catalog",
123944
- version: "21.39.0",
123952
+ version: "21.39.1",
123945
123953
  description: "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript."
123946
123954
  };
123947
123955
  export {