@fluentui/web-components 3.0.0-beta.55 → 3.0.0-beta.57

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 (61) hide show
  1. package/CHANGELOG.md +21 -2
  2. package/dist/dts/anchor-button/index.d.ts +1 -1
  3. package/dist/dts/checkbox/index.d.ts +1 -1
  4. package/dist/dts/helpers.tests.d.ts +22 -0
  5. package/dist/dts/index-rollup.d.ts +1 -0
  6. package/dist/dts/index.d.ts +3 -2
  7. package/dist/dts/menu/menu.d.ts +1 -2
  8. package/dist/dts/menu-item/menu-item.d.ts +2 -3
  9. package/dist/dts/slider/slider.d.ts +1 -1
  10. package/dist/dts/styles/states/index.d.ts +36 -0
  11. package/dist/dts/textarea/define.d.ts +1 -0
  12. package/dist/dts/textarea/index.d.ts +5 -0
  13. package/dist/dts/textarea/textarea.bench.d.ts +3 -0
  14. package/dist/dts/textarea/textarea.d.ts +390 -0
  15. package/dist/dts/textarea/textarea.definition.d.ts +9 -0
  16. package/dist/dts/textarea/textarea.options.d.ts +47 -0
  17. package/dist/dts/textarea/textarea.styles.d.ts +7 -0
  18. package/dist/dts/textarea/textarea.template.d.ts +12 -0
  19. package/dist/esm/anchor-button/index.js +1 -1
  20. package/dist/esm/anchor-button/index.js.map +1 -1
  21. package/dist/esm/checkbox/index.js +1 -1
  22. package/dist/esm/checkbox/index.js.map +1 -1
  23. package/dist/esm/helpers.tests.js +44 -0
  24. package/dist/esm/helpers.tests.js.map +1 -1
  25. package/dist/esm/index-rollup.js +1 -0
  26. package/dist/esm/index-rollup.js.map +1 -1
  27. package/dist/esm/index.js +3 -2
  28. package/dist/esm/index.js.map +1 -1
  29. package/dist/esm/menu/menu.js +6 -1
  30. package/dist/esm/menu/menu.js.map +1 -1
  31. package/dist/esm/menu-item/menu-item.js +8 -1
  32. package/dist/esm/menu-item/menu-item.js.map +1 -1
  33. package/dist/esm/menu-item/menu-item.template.js +3 -1
  34. package/dist/esm/menu-item/menu-item.template.js.map +1 -1
  35. package/dist/esm/slider/slider.js +1 -1
  36. package/dist/esm/styles/states/index.js +40 -0
  37. package/dist/esm/styles/states/index.js.map +1 -1
  38. package/dist/esm/textarea/define.js +4 -0
  39. package/dist/esm/textarea/define.js.map +1 -0
  40. package/dist/esm/textarea/index.js +6 -0
  41. package/dist/esm/textarea/index.js.map +1 -0
  42. package/dist/esm/textarea/textarea.bench.js +10 -0
  43. package/dist/esm/textarea/textarea.bench.js.map +1 -0
  44. package/dist/esm/textarea/textarea.definition.js +20 -0
  45. package/dist/esm/textarea/textarea.definition.js.map +1 -0
  46. package/dist/esm/textarea/textarea.js +605 -0
  47. package/dist/esm/textarea/textarea.js.map +1 -0
  48. package/dist/esm/textarea/textarea.options.js +56 -0
  49. package/dist/esm/textarea/textarea.options.js.map +1 -0
  50. package/dist/esm/textarea/textarea.styles.js +268 -0
  51. package/dist/esm/textarea/textarea.styles.js.map +1 -0
  52. package/dist/esm/textarea/textarea.template.js +54 -0
  53. package/dist/esm/textarea/textarea.template.js.map +1 -0
  54. package/dist/esm/theme/set-theme.js +1 -0
  55. package/dist/esm/theme/set-theme.js.map +1 -1
  56. package/dist/esm/utils/element-internals.js +4 -2
  57. package/dist/esm/utils/element-internals.js.map +1 -1
  58. package/dist/web-components.d.ts +469 -10
  59. package/dist/web-components.js +1095 -542
  60. package/dist/web-components.min.js +284 -280
  61. package/package.json +6 -2
@@ -1,5 +1,3 @@
1
- /// <reference types="web" />
2
-
3
1
  import { CaptureType } from '@microsoft/fast-element';
4
2
  import { CSSDirective } from '@microsoft/fast-element';
5
3
  import { Direction } from '@microsoft/fast-web-utilities';
@@ -885,7 +883,7 @@ export declare class BaseAccordionItem extends FASTElement {
885
883
  *
886
884
  * @public
887
885
  */
888
- declare class BaseAnchor extends FASTElement {
886
+ export declare class BaseAnchor extends FASTElement {
889
887
  /**
890
888
  * Holds a reference to the platform to manage ctrl+click on Windows and cmd+click on Mac
891
889
  * @internal
@@ -1303,7 +1301,7 @@ export declare class BaseButton extends FASTElement {
1303
1301
  *
1304
1302
  * @public
1305
1303
  */
1306
- declare class BaseCheckbox extends FASTElement {
1304
+ export declare class BaseCheckbox extends FASTElement {
1307
1305
  /**
1308
1306
  * Indicates that the element should get focus after the page finishes loading.
1309
1307
  * @see The {@link https://developer.mozilla.org/docs/Web/HTML/Element/input#autofocus | `autofocus`} attribute
@@ -2086,6 +2084,351 @@ declare class BaseTabs extends FASTElement {
2086
2084
  connectedCallback(): void;
2087
2085
  }
2088
2086
 
2087
+ /**
2088
+ * A Text Area Custom HTML Element.
2089
+ * Based largely on the {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea | `<textarea>`} element.
2090
+ *
2091
+ * @slot - The default content/value of the component.
2092
+ * @slot label - The content for the `<label>`, it should be a `<fluent-label>` element.
2093
+ * @csspart label - The `<label>` element.
2094
+ * @csspart root - The container element of the `<textarea>` element.
2095
+ * @csspart control - The internal `<textarea>` element.
2096
+ * @fires change - Fires after the control loses focus, if the content has changed.
2097
+ * @fires select - Fires when the `select()` method is called.
2098
+ *
2099
+ * @public
2100
+ */
2101
+ export declare class BaseTextArea extends FASTElement {
2102
+ /**
2103
+ * The form-associated flag.
2104
+ * @see {@link https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-face-example | Form-associated custom elements}
2105
+ *
2106
+ * @public
2107
+ */
2108
+ static readonly formAssociated = true;
2109
+ /**
2110
+ * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
2111
+ *
2112
+ * @internal
2113
+ */
2114
+ elementInternals: ElementInternals;
2115
+ /**
2116
+ * The `<label>` element.
2117
+ * @internal
2118
+ */
2119
+ labelEl: HTMLLabelElement;
2120
+ /**
2121
+ * The `<textarea>` element.
2122
+ * @internal
2123
+ */
2124
+ controlEl: HTMLTextAreaElement;
2125
+ /**
2126
+ * @internal
2127
+ */
2128
+ autoSizerEl?: HTMLDivElement;
2129
+ /**
2130
+ * The list of nodes that are assigned to the default slot.
2131
+ * @internal
2132
+ */
2133
+ defaultSlottedNodes: Node[];
2134
+ protected defaultSlottedNodesChanged(): void;
2135
+ /**
2136
+ * The list of nodes that are assigned to the `label` slot.
2137
+ * @internal
2138
+ */
2139
+ labelSlottedNodes: Label[];
2140
+ protected labelSlottedNodesChanged(): void;
2141
+ private userInteracted;
2142
+ private autoSizerObserver?;
2143
+ private controlElAttrObserver;
2144
+ private preConnectControlEl;
2145
+ /**
2146
+ * Indicates the element's autocomplete state.
2147
+ * @see The {@link https://developer.mozilla.org/docs/Web/HTML/Attributes/autocomplete | `autocomplete`} attribute
2148
+ *
2149
+ * @public
2150
+ * @remarks
2151
+ * HTML Attribute: `autocomplete`
2152
+ */
2153
+ autocomplete?: TextAreaAutocomplete;
2154
+ /**
2155
+ * Indicates whether the element’s block size (height) should be automatically changed based on the content.
2156
+ * Note: When this property’s value is set to be `true`, the element should not have a fixed block-size
2157
+ * defined in CSS. Instead, use `min-height` or `min-block-size`.
2158
+ *
2159
+ * @public
2160
+ * @remarks
2161
+ * HTML Attribute: `auto-resize`
2162
+ */
2163
+ autoResize: boolean;
2164
+ protected autoResizeChanged(): void;
2165
+ /**
2166
+ * Sets the name of the value directionality to be submitted with form data.
2167
+ * @see The {@link https://developer.mozilla.org/docs/Web/HTML/Attributes/dirname | `dirname`} attribute
2168
+ *
2169
+ * @public
2170
+ * @remarks
2171
+ * HTML Attribute: `dirname`
2172
+ */
2173
+ dirName?: string;
2174
+ /**
2175
+ * Sets the element's disabled state.
2176
+ * @see The {@link https://developer.mozilla.org/docs/Web/HTML/Attributes/disabled | `disabled`} attribute
2177
+ *
2178
+ * @public
2179
+ * @remarks
2180
+ * HTML Attribute: `disabled`
2181
+ */
2182
+ disabled: boolean;
2183
+ protected disabledChanged(): void;
2184
+ /**
2185
+ * Indicates whether the element displays a box shadow. This only has effect when `appearance` is set to be `filled-darker` or `filled-lighter`.
2186
+ *
2187
+ * @public
2188
+ * @remarks
2189
+ * HTML Attribute: `display-shadow`
2190
+ */
2191
+ displayShadow: boolean;
2192
+ /**
2193
+ * The id of a form to associate the element to.
2194
+ *
2195
+ * @public
2196
+ * @remarks
2197
+ * HTML Attribute: `form`
2198
+ */
2199
+ initialForm?: string;
2200
+ /**
2201
+ * The form element that’s associated to the element, or `null` if no form is associated.
2202
+ *
2203
+ * @public
2204
+ */
2205
+ get form(): HTMLFormElement | null;
2206
+ /**
2207
+ * A `NodeList` of `<label>` element associated with the element.
2208
+ * @see The {@link https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/labels | `labels`} property
2209
+ *
2210
+ * @public
2211
+ */
2212
+ get labels(): NodeList;
2213
+ /**
2214
+ * The maximum number of characters a user can enter.
2215
+ *
2216
+ * @public
2217
+ * @remarks
2218
+ * HTML Attribute: `maxlength`
2219
+ */
2220
+ maxLength?: number;
2221
+ /**
2222
+ * The minimum number of characters a user can enter.
2223
+ * @see The {@link https://developer.mozilla.org/docs/Web/HTML/Attributes/minlength | `minlength`} attribute
2224
+ *
2225
+ * @public
2226
+ * @remarks
2227
+ * HTML Attribute: `minlength`
2228
+ */
2229
+ minLength?: number;
2230
+ /**
2231
+ * The name of the element. This element's value will be surfaced during form submission under the provided name.
2232
+ *
2233
+ * @public
2234
+ * @remarks
2235
+ * HTML Attribute: `name`
2236
+ */
2237
+ name: string;
2238
+ /**
2239
+ * Sets the placeholder value of the element, generally used to provide a hint to the user.
2240
+ * @see The {@link https://developer.mozilla.org/docs/Web/HTML/Attributes/placeholder | `placeholder`} attribute
2241
+ *
2242
+ * @public
2243
+ * @remarks
2244
+ * HTML Attribute: `placeholder`
2245
+ * This attribute is not a valid substitute for a label.
2246
+ */
2247
+ placeholder?: string;
2248
+ /**
2249
+ * When true, the control will be immutable by user interaction.
2250
+ * @see The {@link https://developer.mozilla.org/docs/Web/HTML/Attributes/readonly | `readonly`} attribute
2251
+ *
2252
+ * @public
2253
+ * @remarks
2254
+ * HTML Attribute: `readonly`
2255
+ */
2256
+ readOnly: boolean;
2257
+ protected readOnlyChanged(): void;
2258
+ /**
2259
+ * The element's required attribute.
2260
+ *
2261
+ * @public
2262
+ * @remarks
2263
+ * HTML Attribute: `required`
2264
+ */
2265
+ required: boolean;
2266
+ protected requiredChanged(): void;
2267
+ /**
2268
+ * Indicates whether the element can be resized by end users.
2269
+ *
2270
+ * @public
2271
+ * @remarks
2272
+ * HTML Attribute: `resize`
2273
+ */
2274
+ resize: TextAreaResize;
2275
+ protected resizeChanged(prev: TextAreaResize | undefined, next: TextAreaResize | undefined): void;
2276
+ /**
2277
+ * Controls whether or not to enable spell checking for the input field, or if the default spell checking configuration should be used.
2278
+ * @see The {@link https://developer.mozilla.org/docs/Web/HTML/Global_attributes/spellcheck | `spellcheck`} attribute
2279
+ *
2280
+ * @public
2281
+ * @remarks
2282
+ * HTML Attribute: `spellcheck`
2283
+ */
2284
+ spellcheck: boolean;
2285
+ /**
2286
+ * The length of the current value.
2287
+ * @see The {@link https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement#textLength | 'textLength'} property
2288
+ *
2289
+ * @public
2290
+ */
2291
+ get textLength(): number;
2292
+ /**
2293
+ * The type of the element, which is always "textarea".
2294
+ * @see The {@link https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/type | `type`} property
2295
+ *
2296
+ * @public
2297
+ */
2298
+ get type(): 'textarea';
2299
+ /**
2300
+ * The element's validity state.
2301
+ *
2302
+ * @public
2303
+ * @remarks
2304
+ * Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/validity | `ElementInternals.validity`} property.
2305
+ */
2306
+ get validity(): ValidityState;
2307
+ /**
2308
+ * The validation message.
2309
+ *
2310
+ * @public
2311
+ * @remarks
2312
+ * Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/validationMessage | `ElementInternals.validationMessage`} property.
2313
+ */
2314
+ get validationMessage(): string;
2315
+ /**
2316
+ * Determines if the control can be submitted for constraint validation.
2317
+ *
2318
+ * @public
2319
+ * @remarks
2320
+ * Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/willValidate | `ElementInternals.willValidate`} property.
2321
+ */
2322
+ get willValidate(): boolean;
2323
+ /**
2324
+ * The text content of the element before user interaction.
2325
+ * @see The {@link https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement#defaultvalue | `defaultValue`} property
2326
+ *
2327
+ * @public
2328
+ * @remarks
2329
+ * In order to set the initial/default value, an author should either add the default value in the HTML as the children
2330
+ * of the component, or setting this property in JavaScript. Setting `innerHTML`, `innerText`, or `textContent` on this
2331
+ * component will not change the default value or the content displayed inside the component.
2332
+ */
2333
+ get defaultValue(): string;
2334
+ set defaultValue(next: string);
2335
+ /**
2336
+ * The value of the element.
2337
+ *
2338
+ * @public
2339
+ * @remarks
2340
+ * Reflects the `value` property.
2341
+ */
2342
+ get value(): string;
2343
+ set value(next: string);
2344
+ constructor();
2345
+ /**
2346
+ * @internal
2347
+ */
2348
+ connectedCallback(): void;
2349
+ /**
2350
+ * @internal
2351
+ */
2352
+ disconnectedCallback(): void;
2353
+ /**
2354
+ * Resets the value to its initial value when the form is reset.
2355
+ *
2356
+ * @internal
2357
+ */
2358
+ formResetCallback(): void;
2359
+ /**
2360
+ * @internal
2361
+ */
2362
+ formDisabledCallback(disabled: boolean): void;
2363
+ /**
2364
+ * Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/setFormValue | `ElementInternals.setFormValue()`} method.
2365
+ *
2366
+ * @internal
2367
+ */
2368
+ setFormValue(value: File | string | FormData | null, state?: File | string | FormData | null): void;
2369
+ /**
2370
+ * Checks the validity of the element and returns the result.
2371
+ *
2372
+ * @public
2373
+ * @remarks
2374
+ * Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/checkValidity | `HTMLInputElement.checkValidity()`} method.
2375
+ */
2376
+ checkValidity(): boolean;
2377
+ /**
2378
+ * Reports the validity of the element.
2379
+ *
2380
+ * @public
2381
+ * @remarks
2382
+ * Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/reportValidity | `HTMLInputElement.reportValidity()`} method.
2383
+ */
2384
+ reportValidity(): boolean;
2385
+ /**
2386
+ * Sets the custom validity message.
2387
+ * @param message - The message to set
2388
+ *
2389
+ * @public
2390
+ */
2391
+ setCustomValidity(message: string | null): void;
2392
+ /**
2393
+ * Sets the validity of the control.
2394
+ *
2395
+ * @param flags - Validity flags. If not provided, the control's `validity` will be used.
2396
+ * @param message - Optional message to supply. If not provided, the control's `validationMessage` will be used. If the control does not have a `validationMessage`, the message will be empty.
2397
+ * @param anchor - Optional anchor to use for the validation message. If not provided, the control will be used.
2398
+ *
2399
+ * @internal
2400
+ */
2401
+ setValidity(flags?: Partial<ValidityState>, message?: string, anchor?: HTMLElement): void;
2402
+ /**
2403
+ * Selects the content in the element.
2404
+ *
2405
+ * @public
2406
+ */
2407
+ select(): void;
2408
+ private setDefaultValue;
2409
+ private bindEvents;
2410
+ /**
2411
+ * Gets the content inside the light DOM, if any HTML element is present, use its `outerHTML` value.
2412
+ */
2413
+ private getContent;
2414
+ private observeControlElAttrs;
2415
+ private setDisabledSideEffect;
2416
+ private toggleUserValidityState;
2417
+ private maybeCreateAutoSizerEl;
2418
+ /**
2419
+ * @internal
2420
+ */
2421
+ handleControlInput(): void;
2422
+ /**
2423
+ * @internal
2424
+ */
2425
+ handleControlChange(): void;
2426
+ /**
2427
+ * @internal
2428
+ */
2429
+ handleControlSelect(): void;
2430
+ }
2431
+
2089
2432
  /**
2090
2433
  * A Text Input Custom HTML Element.
2091
2434
  * Based largely on the {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input | `<input>`} element.
@@ -6594,7 +6937,7 @@ export declare class Menu extends FASTElement {
6594
6937
  * @param e - the event
6595
6938
  * @returns void
6596
6939
  */
6597
- toggleHandler: (e: Event | ToggleEvent) => void;
6940
+ toggleHandler: (e: Event) => void;
6598
6941
  /**
6599
6942
  * Called whenever the 'openOnHover' property changes.
6600
6943
  * Adds or removes a 'mouseover' event listener to the trigger based on the new value.
@@ -6857,7 +7200,7 @@ export declare class MenuItem extends FASTElement {
6857
7200
  * Setup required ARIA on open/close
6858
7201
  * @internal
6859
7202
  */
6860
- toggleHandler: (e: ToggleEvent | Event) => void;
7203
+ toggleHandler: (e: Event) => void;
6861
7204
  /**
6862
7205
  * @internal
6863
7206
  */
@@ -7033,7 +7376,7 @@ export declare const MenuTemplate: ElementViewTemplate<Menu>;
7033
7376
  *
7034
7377
  * @public
7035
7378
  */
7036
- export declare class ProgressBar extends BaseProgressBar {
7379
+ declare class ProgressBar_2 extends BaseProgressBar {
7037
7380
  /**
7038
7381
  * The thickness of the progress bar
7039
7382
  *
@@ -7060,6 +7403,7 @@ export declare class ProgressBar extends BaseProgressBar {
7060
7403
  */
7061
7404
  shapeChanged(prev: ProgressBarShape | undefined, next: ProgressBarShape | undefined): void;
7062
7405
  }
7406
+ export { ProgressBar_2 as ProgressBar }
7063
7407
 
7064
7408
  /**
7065
7409
  * The Fluent ProgressBar Element.
@@ -7069,7 +7413,7 @@ export declare class ProgressBar extends BaseProgressBar {
7069
7413
  * @remarks
7070
7414
  * HTML Element: \<fluent-progress-bar\>
7071
7415
  */
7072
- export declare const ProgressBarDefinition: FASTElementDefinition<typeof ProgressBar>;
7416
+ export declare const ProgressBarDefinition: FASTElementDefinition<typeof ProgressBar_2>;
7073
7417
 
7074
7418
  /**
7075
7419
  * ProgressBarShape Constants
@@ -7091,7 +7435,7 @@ export declare type ProgressBarShape = ValuesOf<typeof ProgressBarShape>;
7091
7435
  */
7092
7436
  export declare const ProgressBarStyles: ElementStyles;
7093
7437
 
7094
- export declare const ProgressBarTemplate: ElementViewTemplate<ProgressBar>;
7438
+ export declare const ProgressBarTemplate: ElementViewTemplate<ProgressBar_2>;
7095
7439
 
7096
7440
  /**
7097
7441
  * ProgressBarThickness Constants
@@ -7744,7 +8088,7 @@ export declare const shadow8Brand = "var(--shadow8Brand)";
7744
8088
  * @slot thumb - The slot for a custom thumb element.
7745
8089
  * @csspart thumb-container - The container element of the thumb.
7746
8090
  * @csspart track-container - The container element of the track.
7747
- * @fire change - Fires a custom 'change' event when the value changes.
8091
+ * @fires change - Fires a custom 'change' event when the value changes.
7748
8092
  *
7749
8093
  * @public
7750
8094
  */
@@ -8992,6 +9336,121 @@ export declare const TextAlign: {
8992
9336
  */
8993
9337
  export declare type TextAlign = ValuesOf<typeof TextAlign>;
8994
9338
 
9339
+ export declare class TextArea extends BaseTextArea {
9340
+ protected labelSlottedNodesChanged(): void;
9341
+ /**
9342
+ * Indicates the visual appearance of the element.
9343
+ *
9344
+ * @public
9345
+ * @remarks
9346
+ * HTML Attribute: `appearance`
9347
+ */
9348
+ appearance: TextAreaAppearance;
9349
+ protected appearanceChanged(prev: TextAreaAppearance | undefined, next: TextAreaAppearance | undefined): void;
9350
+ /**
9351
+ * Indicates whether the textarea should be a block-level element.
9352
+ *
9353
+ * @public
9354
+ * @remarks
9355
+ * HTML Attribute: `block`
9356
+ */
9357
+ block: boolean;
9358
+ protected blockChanged(): void;
9359
+ /**
9360
+ * Sets the size of the control.
9361
+ *
9362
+ * @public
9363
+ * @remarks
9364
+ * HTML Attribute: `size`
9365
+ */
9366
+ size?: TextAreaSize;
9367
+ protected sizeChanged(prev: TextAreaSize | undefined, next: TextAreaSize | undefined): void;
9368
+ /**
9369
+ * @internal
9370
+ */
9371
+ handleChange(_: any, propertyName: string): void;
9372
+ /**
9373
+ * @internal
9374
+ */
9375
+ connectedCallback(): void;
9376
+ /**
9377
+ * @internal
9378
+ */
9379
+ disconnectedCallback(): void;
9380
+ private maybeDisplayShadow;
9381
+ }
9382
+
9383
+ /**
9384
+ * Values for the `appearance` attribute on TextArea elements.
9385
+ *
9386
+ * @public
9387
+ */
9388
+ export declare const TextAreaAppearance: {
9389
+ readonly outline: "outline";
9390
+ readonly filledLighter: "filled-lighter";
9391
+ readonly filledDarker: "filled-darker";
9392
+ };
9393
+
9394
+ export declare type TextAreaAppearance = ValuesOf<typeof TextAreaAppearance>;
9395
+
9396
+ /**
9397
+ * Values for the `autocomplete` attribute on TextArea elements.
9398
+ *
9399
+ * @public
9400
+ */
9401
+ export declare const TextAreaAutocomplete: {
9402
+ readonly on: "on";
9403
+ readonly off: "off";
9404
+ };
9405
+
9406
+ export declare type TextAreaAutocomplete = ValuesOf<typeof TextAreaAutocomplete>;
9407
+
9408
+ /**
9409
+ * The Fluent Textarea Element definition.
9410
+ *
9411
+ * @public
9412
+ * @remarks
9413
+ * HTML Element: `<fluent-textarea>`
9414
+ */
9415
+ export declare const TextAreaDefinition: FASTElementDefinition<typeof TextArea>;
9416
+
9417
+ /**
9418
+ * Values for the `resize` attribute on TextArea elements.
9419
+ */
9420
+ export declare const TextAreaResize: {
9421
+ readonly none: "none";
9422
+ readonly both: "both";
9423
+ readonly horizontal: "horizontal";
9424
+ readonly vertical: "vertical";
9425
+ };
9426
+
9427
+ export declare type TextAreaResize = ValuesOf<typeof TextAreaResize>;
9428
+
9429
+ /**
9430
+ * Values for the `size` attribute on TextArea elements.
9431
+ *
9432
+ * @public
9433
+ */
9434
+ export declare const TextAreaSize: {
9435
+ readonly small: "small";
9436
+ readonly medium: "medium";
9437
+ readonly large: "large";
9438
+ };
9439
+
9440
+ export declare type TextAreaSize = ValuesOf<typeof TextAreaSize>;
9441
+
9442
+ /**
9443
+ * Styles for the TextArea component.
9444
+ *
9445
+ * @public
9446
+ */
9447
+ export declare const TextAreaStyles: ElementStyles;
9448
+
9449
+ /**
9450
+ * @internal
9451
+ */
9452
+ export declare const TextAreaTemplate: ElementViewTemplate<TextArea>;
9453
+
8995
9454
  /**
8996
9455
  * The Fluent Text Element.
8997
9456
  *