@fluid-topics/ft-text-field 2.2.17 → 2.2.19

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.
@@ -81,7 +81,8 @@ export class FtTextFieldSuggestion extends FtLitElement {
81
81
  (_a = (targetRemoveButton ? this.removeButton : this.suggestion)) === null || _a === void 0 ? void 0 : _a.click();
82
82
  }
83
83
  isRemoveButtonFocused() {
84
- var _a, _b;
84
+ var _a;
85
+ var _b;
85
86
  return (_b = (_a = this.removeButton) === null || _a === void 0 ? void 0 : _a.matches(":focus-within")) !== null && _b !== void 0 ? _b : false;
86
87
  }
87
88
  selectSuggestion() {
@@ -161,9 +161,7 @@ export class FtTextField extends toFtFormComponent(FtLitElement) {
161
161
  renderSuggestions() {
162
162
  if (this.suggestionsProvider) {
163
163
  return html `
164
- ${repeat(this.providedSuggestions, (suggestion) => {
165
- var _a;
166
- return html `
164
+ ${repeat(this.providedSuggestions, (suggestion) => { var _a; return html `
167
165
  <ft-text-field-suggestion part="suggestion"
168
166
  value="${suggestion.value}"
169
167
  ?removable=${suggestion.removable} }
@@ -172,8 +170,7 @@ export class FtTextField extends toFtFormComponent(FtLitElement) {
172
170
  ${suggestion.icon ? html `<ft-icon .value=${suggestion.icon}></ft-icon>` : nothing}
173
171
  ${suggestion.label}
174
172
  </ft-text-field-suggestion>
175
- `;
176
- })}
173
+ `; })}
177
174
  `;
178
175
  }
179
176
  else {
@@ -287,7 +284,8 @@ export class FtTextField extends toFtFormComponent(FtLitElement) {
287
284
  this.clearWatchAutofill();
288
285
  }
289
286
  setValue(newValue, fireChangeEvent = false) {
290
- var _a, _b;
287
+ var _a;
288
+ var _b;
291
289
  if (this.value !== newValue) {
292
290
  this.inputValid = true;
293
291
  this.setInternalValue(newValue);