@kerkhoff-ict/solora 2.7.1 → 2.7.2

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1872,7 +1872,7 @@ function initDropdowns() {
1872
1872
  hiddenInput.value = item.dataset.value ?? item.textContent.trim();
1873
1873
  drop.dispatchEvent(new CustomEvent("change", { detail: hiddenInput.value }));
1874
1874
  };
1875
- const initialItem = content.querySelector(".dropdown-item.active") || content.querySelector('.dropdown-item:not([aria-disabled="true"])');
1875
+ const initialItem = content.querySelector(".dropdown-item.active");
1876
1876
  if (initialItem) setValue(initialItem);
1877
1877
  const toggle = () => drop.classList.toggle("open");
1878
1878
  const close = () => drop.classList.remove("open");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kerkhoff-ict/solora",
3
- "version": "2.7.1",
3
+ "version": "2.7.2",
4
4
  "description": "Simple CSS component library",
5
5
  "main": "dist/index.js",
6
6
  "style": "dist/index.css",