import { attr, FASTElement, nullableNumberConverter, observable, Updates } from '@microsoft/fast-element'; import { whitespaceFilter } from '../utils/whitespace-filter.js'; import type { Label } from '../label/label.js'; import { toggleState } from '../utils/element-internals.js'; import { maybeSetAutoFocus } from '../utils/autofocus.js'; import type { TextAreaAutocomplete, TextAreaResize } from './textarea.options.js'; /** * A Text Area Custom HTML Element. * Based largely on the {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea | `