@sbb-esta/lyne-elements-dev 4.11.0-dev.1776937282 → 4.11.0-dev.1776940229

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.
@@ -1,2 +1,2 @@
1
- import { t as e } from "../autocomplete-base-element-DNoAdA1R.js";
1
+ import { t as e } from "../autocomplete-base-element-BQS5lHRU.js";
2
2
  export { e as SbbAutocompleteBaseElement };
@@ -1,4 +1,4 @@
1
- import { t as e } from "../autocomplete-base-element-DNoAdA1R.js";
1
+ import { t as e } from "../autocomplete-base-element-BQS5lHRU.js";
2
2
  import { isSafari as t } from "../core/dom.js";
3
3
  import { setAriaComboBoxAttributes as n } from "../core/overlay.js";
4
4
  import { getNextElementIndex as r } from "../core/a11y.js";
@@ -342,7 +342,7 @@ var S = ".sbb-gap-fix-wrapper{position:relative;overflow:hidden;width:var(--sbb-
342
342
  attributeFilter: ["disabled", "readonly"]
343
343
  }), this.setTriggerAttributes(this.triggerElement), this._triggerAbortController = new AbortController(), this.triggerElement.addEventListener("focus", () => this.open(), { signal: this._triggerAbortController.signal }), this.triggerElement.addEventListener("click", () => this.open(), { signal: this._triggerAbortController.signal }), this.triggerElement.addEventListener("input", (e) => {
344
344
  let t = e.target.value;
345
- t && this.open(), this._highlightOptions(t), this._lastUserInput = t, this.pendingAutoSelectedOption = null;
345
+ t && e.isTrusted && this.open(), this._highlightOptions(t), this._lastUserInput = t, this.pendingAutoSelectedOption = null;
346
346
  }, { signal: this._triggerAbortController.signal }), this.triggerElement.addEventListener("change", (e) => {
347
347
  this.requireSelection && !this._isCustomChangeEvent && e.stopImmediatePropagation(), this._isCustomChangeEvent = !1;
348
348
  }, {
package/autocomplete.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./autocomplete-base-element-DNoAdA1R.js";
1
+ import { t as e } from "./autocomplete-base-element-BQS5lHRU.js";
2
2
  import { SbbAutocompleteElement as t } from "./autocomplete/autocomplete.component.js";
3
3
  import "./autocomplete.pure.js";
4
4
  //#region src/elements/autocomplete.ts
@@ -1,3 +1,3 @@
1
- import { t as e } from "./autocomplete-base-element-DNoAdA1R.js";
1
+ import { t as e } from "./autocomplete-base-element-BQS5lHRU.js";
2
2
  import { SbbAutocompleteElement as t } from "./autocomplete/autocomplete.component.js";
3
3
  export { e as SbbAutocompleteBaseElement, t as SbbAutocompleteElement };