@sbb-esta/lyne-elements-dev 5.0.0-next-dev.1776939235 → 5.0.0-next-dev.1776939924

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-BmiLbRHZ.js";
1
+ import { t as e } from "../autocomplete-base-element-C9tqASMk.js";
2
2
  export { e as SbbAutocompleteBaseElement };
@@ -1,4 +1,4 @@
1
- import { t as e } from "../autocomplete-base-element-BmiLbRHZ.js";
1
+ import { t as e } from "../autocomplete-base-element-C9tqASMk.js";
2
2
  import { getNextElementIndex as t, isSafari as n, setAriaComboBoxAttributes as r } from "../core.js";
3
3
  //#region src/elements/autocomplete/autocomplete.component.ts
4
4
  var i = 0, a = n, o = class extends e {
@@ -336,7 +336,7 @@ var S = ".sbb-gap-fix-wrapper{position:relative;overflow:hidden;width:var(--sbb-
336
336
  attributeFilter: ["disabled", "readonly"]
337
337
  }), 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) => {
338
338
  let t = e.target.value;
339
- t && this.open(), this._highlightOptions(t), this._lastUserInput = t, this.pendingAutoSelectedOption = null;
339
+ t && e.isTrusted && this.open(), this._highlightOptions(t), this._lastUserInput = t, this.pendingAutoSelectedOption = null;
340
340
  }, { signal: this._triggerAbortController.signal }), this.triggerElement.addEventListener("change", (e) => {
341
341
  this.requireSelection && !this._isCustomChangeEvent && e.stopImmediatePropagation(), this._isCustomChangeEvent = !1;
342
342
  }, {
package/autocomplete.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./autocomplete-base-element-BmiLbRHZ.js";
1
+ import { t as e } from "./autocomplete-base-element-C9tqASMk.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-BmiLbRHZ.js";
1
+ import { t as e } from "./autocomplete-base-element-C9tqASMk.js";
2
2
  import { SbbAutocompleteElement as t } from "./autocomplete/autocomplete.component.js";
3
3
  export { e as SbbAutocompleteBaseElement, t as SbbAutocompleteElement };