@fluentui/web-components 3.1.3 → 3.2.0

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 (138) hide show
  1. package/CHANGELOG.md +25 -2
  2. package/custom-elements.json +1400 -2699
  3. package/dist/esm/accordion-item/accordion-item.d.ts +4 -25
  4. package/dist/esm/accordion-item/accordion-item.js +4 -22
  5. package/dist/esm/accordion-item/accordion-item.js.map +1 -1
  6. package/dist/esm/accordion-item/accordion-item.styles.css +3 -11
  7. package/dist/esm/accordion-item/accordion-item.styles.js +3 -11
  8. package/dist/esm/accordion-item/accordion-item.styles.js.map +1 -1
  9. package/dist/esm/anchor-button/anchor-button.d.ts +5 -57
  10. package/dist/esm/anchor-button/anchor-button.js +5 -59
  11. package/dist/esm/anchor-button/anchor-button.js.map +1 -1
  12. package/dist/esm/avatar/avatar.d.ts +5 -28
  13. package/dist/esm/avatar/avatar.js +4 -9
  14. package/dist/esm/avatar/avatar.js.map +1 -1
  15. package/dist/esm/badge/badge.d.ts +5 -34
  16. package/dist/esm/badge/badge.js +6 -35
  17. package/dist/esm/badge/badge.js.map +1 -1
  18. package/dist/esm/button/button.d.ts +5 -33
  19. package/dist/esm/button/button.js +5 -25
  20. package/dist/esm/button/button.js.map +1 -1
  21. package/dist/esm/checkbox/checkbox.d.ts +3 -17
  22. package/dist/esm/checkbox/checkbox.js +4 -7
  23. package/dist/esm/checkbox/checkbox.js.map +1 -1
  24. package/dist/esm/divider/divider.d.ts +4 -19
  25. package/dist/esm/divider/divider.js +4 -11
  26. package/dist/esm/divider/divider.js.map +1 -1
  27. package/dist/esm/divider/divider.styles.css +21 -13
  28. package/dist/esm/divider/divider.styles.js +21 -13
  29. package/dist/esm/divider/divider.styles.js.map +1 -1
  30. package/dist/esm/drawer/drawer.d.ts +4 -16
  31. package/dist/esm/drawer/drawer.js +4 -22
  32. package/dist/esm/drawer/drawer.js.map +1 -1
  33. package/dist/esm/drawer/drawer.template.html +0 -2
  34. package/dist/esm/drawer/drawer.template.js +0 -2
  35. package/dist/esm/drawer/drawer.template.js.map +1 -1
  36. package/dist/esm/dropdown/dropdown.base.d.ts +7 -9
  37. package/dist/esm/dropdown/dropdown.base.js +9 -14
  38. package/dist/esm/dropdown/dropdown.base.js.map +1 -1
  39. package/dist/esm/dropdown/dropdown.d.ts +3 -16
  40. package/dist/esm/dropdown/dropdown.js +3 -20
  41. package/dist/esm/dropdown/dropdown.js.map +1 -1
  42. package/dist/esm/dropdown/dropdown.options.d.ts +4 -4
  43. package/dist/esm/dropdown/dropdown.options.js.map +1 -1
  44. package/dist/esm/dropdown/dropdown.styles.css +65 -20
  45. package/dist/esm/dropdown/dropdown.styles.d.ts +4 -0
  46. package/dist/esm/dropdown/dropdown.styles.js +69 -20
  47. package/dist/esm/dropdown/dropdown.styles.js.map +1 -1
  48. package/dist/esm/dropdown/dropdown.template.d.ts +2 -0
  49. package/dist/esm/dropdown/dropdown.template.js +4 -2
  50. package/dist/esm/dropdown/dropdown.template.js.map +1 -1
  51. package/dist/esm/field/field.base.d.ts +1 -0
  52. package/dist/esm/field/field.base.js +32 -9
  53. package/dist/esm/field/field.base.js.map +1 -1
  54. package/dist/esm/field/field.d.ts +2 -9
  55. package/dist/esm/field/field.js +2 -17
  56. package/dist/esm/field/field.js.map +1 -1
  57. package/dist/esm/field/field.options.d.ts +4 -0
  58. package/dist/esm/field/field.options.js.map +1 -1
  59. package/dist/esm/field/field.styles.css +3 -5
  60. package/dist/esm/field/field.styles.js +2 -5
  61. package/dist/esm/field/field.styles.js.map +1 -1
  62. package/dist/esm/image/image.d.ts +6 -41
  63. package/dist/esm/image/image.js +7 -17
  64. package/dist/esm/image/image.js.map +1 -1
  65. package/dist/esm/label/label.d.ts +4 -25
  66. package/dist/esm/label/label.js +4 -17
  67. package/dist/esm/label/label.js.map +1 -1
  68. package/dist/esm/link/link.d.ts +3 -20
  69. package/dist/esm/link/link.js +3 -22
  70. package/dist/esm/link/link.js.map +1 -1
  71. package/dist/esm/menu/menu.d.ts +1 -6
  72. package/dist/esm/menu/menu.js +1 -4
  73. package/dist/esm/menu/menu.js.map +1 -1
  74. package/dist/esm/menu-item/menu-item.styles.css +16 -2
  75. package/dist/esm/menu-item/menu-item.styles.js +17 -3
  76. package/dist/esm/menu-item/menu-item.styles.js.map +1 -1
  77. package/dist/esm/menu-list/menu-list.base.js +19 -1
  78. package/dist/esm/menu-list/menu-list.base.js.map +1 -1
  79. package/dist/esm/menu-list/menu-list.styles.css +1 -48
  80. package/dist/esm/menu-list/menu-list.styles.js +1 -48
  81. package/dist/esm/menu-list/menu-list.styles.js.map +1 -1
  82. package/dist/esm/message-bar/message-bar.d.ts +3 -25
  83. package/dist/esm/message-bar/message-bar.js +4 -11
  84. package/dist/esm/message-bar/message-bar.js.map +1 -1
  85. package/dist/esm/option/option.d.ts +2 -14
  86. package/dist/esm/option/option.js +2 -19
  87. package/dist/esm/option/option.js.map +1 -1
  88. package/dist/esm/option/option.styles.css +1 -1
  89. package/dist/esm/option/option.styles.js +2 -2
  90. package/dist/esm/option/option.styles.js.map +1 -1
  91. package/dist/esm/progress-bar/progress-bar.base.d.ts +2 -16
  92. package/dist/esm/progress-bar/progress-bar.base.js +2 -22
  93. package/dist/esm/progress-bar/progress-bar.base.js.map +1 -1
  94. package/dist/esm/progress-bar/progress-bar.d.ts +2 -20
  95. package/dist/esm/progress-bar/progress-bar.js +2 -8
  96. package/dist/esm/progress-bar/progress-bar.js.map +1 -1
  97. package/dist/esm/rating-display/rating-display.d.ts +4 -27
  98. package/dist/esm/rating-display/rating-display.js +4 -22
  99. package/dist/esm/rating-display/rating-display.js.map +1 -1
  100. package/dist/esm/slider/slider.d.ts +2 -8
  101. package/dist/esm/slider/slider.js +1 -3
  102. package/dist/esm/slider/slider.js.map +1 -1
  103. package/dist/esm/spinner/spinner.d.ts +3 -16
  104. package/dist/esm/spinner/spinner.js +3 -8
  105. package/dist/esm/spinner/spinner.js.map +1 -1
  106. package/dist/esm/switch/switch.styles.css +2 -2
  107. package/dist/esm/switch/switch.styles.js +2 -2
  108. package/dist/esm/tablist/tablist.d.ts +2 -12
  109. package/dist/esm/tablist/tablist.js +2 -17
  110. package/dist/esm/tablist/tablist.js.map +1 -1
  111. package/dist/esm/text/text.d.ts +10 -84
  112. package/dist/esm/text/text.js +11 -82
  113. package/dist/esm/text/text.js.map +1 -1
  114. package/dist/esm/text-input/text-input.base.d.ts +18 -0
  115. package/dist/esm/text-input/text-input.base.js +59 -5
  116. package/dist/esm/text-input/text-input.base.js.map +1 -1
  117. package/dist/esm/text-input/text-input.d.ts +2 -17
  118. package/dist/esm/text-input/text-input.js +2 -8
  119. package/dist/esm/text-input/text-input.js.map +1 -1
  120. package/dist/esm/textarea/textarea.base.d.ts +3 -18
  121. package/dist/esm/textarea/textarea.base.js +5 -30
  122. package/dist/esm/textarea/textarea.base.js.map +1 -1
  123. package/dist/esm/textarea/textarea.d.ts +3 -17
  124. package/dist/esm/textarea/textarea.js +14 -28
  125. package/dist/esm/textarea/textarea.js.map +1 -1
  126. package/dist/esm/tooltip/tooltip.options.d.ts +13 -13
  127. package/dist/esm/tooltip/tooltip.options.js +13 -13
  128. package/dist/esm/tooltip/tooltip.options.js.map +1 -1
  129. package/dist/esm/tooltip/tooltip.styles.js +12 -13
  130. package/dist/esm/tooltip/tooltip.styles.js.map +1 -1
  131. package/dist/esm/utils/get-initials.js +1 -2
  132. package/dist/esm/utils/get-initials.js.map +1 -1
  133. package/dist/web-components-all.js +522 -928
  134. package/dist/web-components-all.min.js +15 -15
  135. package/dist/web-components.d.ts +140 -622
  136. package/dist/web-components.js +512 -1008
  137. package/dist/web-components.min.js +15 -15
  138. package/package.json +2 -2
@@ -114,33 +114,13 @@ export declare type AccordionExpandMode = ValuesOf<typeof AccordionExpandMode>;
114
114
  *
115
115
  * @tag fluent-accordion-item
116
116
  *
117
+ * @presentational {AccordionItemSize | undefined} size - Defines accordion header font size.
118
+ * @presentational {AccordionItemMarkerPosition | undefined} marker-position - Sets expand and collapsed icon position.
119
+ * @presentational {boolean} block - Sets the width of the focus state.
120
+ *
117
121
  * @public
118
122
  */
119
123
  export declare class AccordionItem extends BaseAccordionItem {
120
- /**
121
- * Defines accordion header font size.
122
- *
123
- * @public
124
- * @remarks
125
- * HTML Attribute: size
126
- */
127
- size?: AccordionItemSize;
128
- /**
129
- * Sets expand and collapsed icon position.
130
- *
131
- * @public
132
- * @remarks
133
- * HTML Attribute: marker-position
134
- */
135
- markerPosition?: AccordionItemMarkerPosition;
136
- /**
137
- * Sets the width of the focus state.
138
- *
139
- * @public
140
- * @remarks
141
- * HTML Attribute: block
142
- */
143
- block: boolean;
144
124
  }
145
125
 
146
126
  /**
@@ -217,65 +197,14 @@ export declare const AccordionTemplate: ElementViewTemplate<Accordion>;
217
197
  *
218
198
  * @tag fluent-anchor-button
219
199
  *
200
+ * @presentational {AnchorButtonAppearance | undefined} appearance - The appearance the anchor button should have.
201
+ * @presentational {AnchorButtonShape | undefined} shape - The shape the anchor button should have.
202
+ * @presentational {AnchorButtonSize | undefined} size - The size the anchor button should have.
203
+ * @presentational {boolean} icon-only - The anchor button has an icon only, no text content.
204
+ *
220
205
  * @public
221
206
  */
222
207
  export declare class AnchorButton extends BaseAnchor {
223
- /**
224
- * The appearance the anchor button should have.
225
- *
226
- * @public
227
- * @remarks
228
- * HTML Attribute: `appearance`
229
- */
230
- appearance?: AnchorButtonAppearance | undefined;
231
- /**
232
- * Handles changes to appearance attribute custom states
233
- * @param prev - the previous state
234
- * @param next - the next state
235
- */
236
- appearanceChanged(prev: AnchorButtonAppearance | undefined, next: AnchorButtonAppearance | undefined): void;
237
- /**
238
- * The shape the anchor button should have.
239
- *
240
- * @public
241
- * @remarks
242
- * HTML Attribute: `shape`
243
- */
244
- shape?: AnchorButtonShape | undefined;
245
- /**
246
- * Handles changes to shape attribute custom states
247
- * @param prev - the previous state
248
- * @param next - the next state
249
- */
250
- shapeChanged(prev: AnchorButtonShape | undefined, next: AnchorButtonShape | undefined): void;
251
- /**
252
- * The size the anchor button should have.
253
- *
254
- * @public
255
- * @remarks
256
- * HTML Attribute: `size`
257
- */
258
- size?: AnchorButtonSize;
259
- /**
260
- * Handles changes to size attribute custom states
261
- * @param prev - the previous state
262
- * @param next - the next state
263
- */
264
- sizeChanged(prev: AnchorButtonSize | undefined, next: AnchorButtonSize | undefined): void;
265
- /**
266
- * The anchor button has an icon only, no text content
267
- *
268
- * @public
269
- * @remarks
270
- * HTML Attribute: `icon-only`
271
- */
272
- iconOnly: boolean;
273
- /**
274
- * Handles changes to icon only custom states
275
- * @param prev - the previous state
276
- * @param next - the next state
277
- */
278
- iconOnlyChanged(prev: boolean, next: boolean): void;
279
208
  }
280
209
 
281
210
  /**
@@ -376,36 +305,13 @@ export declare type AnchorTarget = ValuesOf<typeof AnchorTarget>;
376
305
  *
377
306
  * @slot badge - Optional badge content displayed with the avatar.
378
307
  *
308
+ * @presentational {AvatarActive | undefined} active - Optional activity indicator.
309
+ * @presentational {AvatarShape | undefined} shape - The avatar can have a circular or square shape.
310
+ * @presentational {AvatarAppearance | undefined} appearance - The appearance when `active="active"`.
311
+ *
379
312
  * @public
380
313
  */
381
314
  export declare class Avatar extends BaseAvatar {
382
- /**
383
- * Optional activity indicator
384
- * * active: the avatar will be decorated according to activeAppearance
385
- * * inactive: the avatar will be reduced in size and partially transparent
386
- * * undefined: normal display
387
- *
388
- * @public
389
- * @remarks
390
- * HTML Attribute: active
391
- */
392
- active?: AvatarActive | undefined;
393
- /**
394
- * The avatar can have a circular or square shape.
395
- *
396
- * @public
397
- * @remarks
398
- * HTML Attribute: shape
399
- */
400
- shape?: AvatarShape | undefined;
401
- /**
402
- * The appearance when `active="active"`
403
- *
404
- * @public
405
- * @remarks
406
- * HTML Attribute: appearance
407
- */
408
- appearance?: AvatarAppearance | undefined;
409
315
  /**
410
316
  * Size of the avatar in pixels.
411
317
  *
@@ -642,42 +548,14 @@ export declare const AvatarTemplate: ElementViewTemplate<Avatar>;
642
548
  * @slot start - Content which can be provided before the badge content.
643
549
  * @slot end - Content which can be provided after the badge content.
644
550
  *
551
+ * @presentational {BadgeAppearance} [appearance=filled] - The appearance the badge should have.
552
+ * @presentational {BadgeColor} [color=brand] - The color the badge should have.
553
+ * @presentational {BadgeShape | undefined} shape - The shape the badge should have.
554
+ * @presentational {BadgeSize | undefined} size - The size the badge should have.
555
+ *
645
556
  * @public
646
557
  */
647
558
  export declare class Badge extends FASTElement {
648
- /**
649
- * The appearance the badge should have.
650
- *
651
- *
652
- * @public
653
- * @remarks
654
- * HTML Attribute: appearance
655
- */
656
- appearance: BadgeAppearance;
657
- /**
658
- * The color the badge should have.
659
- *
660
- * @public
661
- * @remarks
662
- * HTML Attribute: color
663
- */
664
- color: BadgeColor;
665
- /**
666
- * The shape the badge should have.
667
- *
668
- * @public
669
- * @remarks
670
- * HTML Attribute: shape
671
- */
672
- shape?: BadgeShape;
673
- /**
674
- * The size the badge should have.
675
- *
676
- * @public
677
- * @remarks
678
- * HTML Attribute: size
679
- */
680
- size?: BadgeSize;
681
559
  }
682
560
 
683
561
  /**
@@ -1732,6 +1610,13 @@ export declare class BaseDropdown extends FASTElement {
1732
1610
  * @internal
1733
1611
  */
1734
1612
  private static AnchorPositionFallbackObserver;
1613
+ /**
1614
+ * The element identity. This static property should NOT be overridden by subclasses. It’s designed to provide an
1615
+ * unambiguous name for the custom element and its subclass custom elements, regardless of their tag names.
1616
+ * @readonly
1617
+ * @internal
1618
+ */
1619
+ static readonly elementIdentity = "dropdown";
1735
1620
  /**
1736
1621
  * The ID of the current active descendant.
1737
1622
  *
@@ -1915,15 +1800,6 @@ export declare class BaseDropdown extends FASTElement {
1915
1800
  * @internal
1916
1801
  */
1917
1802
  typeChanged(prev: DropdownType | undefined, next: DropdownType | undefined): void;
1918
- /**
1919
- * The initial value of the control. When the control is a combobox, this value is used to set the value of the
1920
- * control when the dropdown is initialized.
1921
- *
1922
- * @public
1923
- * @remarks
1924
- * HTML Attribute: `value`
1925
- */
1926
- valueAttribute: string;
1927
1803
  /**
1928
1804
  * The slot element for the control.
1929
1805
  * @internal
@@ -2354,6 +2230,7 @@ export declare class BaseField extends FASTElement {
2354
2230
  * @internal
2355
2231
  */
2356
2232
  private setLabelProperties;
2233
+ private getLabelableInput;
2357
2234
  /**
2358
2235
  * Toggles the field's states based on the slotted input.
2359
2236
  *
@@ -2422,6 +2299,8 @@ export declare class BaseMenuList extends FASTElement {
2422
2299
  * A Progress HTML Element.
2423
2300
  * Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#progressbar | ARIA progressbar }.
2424
2301
  *
2302
+ * @presentational {ProgressBarValidationState | null} [validation-state=null] - The validation state of the progress bar.
2303
+ *
2425
2304
  * @public
2426
2305
  */
2427
2306
  export declare class BaseProgressBar extends FASTElement {
@@ -2442,21 +2321,6 @@ export declare class BaseProgressBar extends FASTElement {
2442
2321
  * @internal
2443
2322
  */
2444
2323
  elementInternals: ElementInternals;
2445
- /**
2446
- * The validation state of the progress bar
2447
- * The validation state of the progress bar
2448
- *
2449
- * HTML Attribute: `validation-state`
2450
- *
2451
- * @public
2452
- */
2453
- validationState: ProgressBarValidationState | null;
2454
- /**
2455
- * Handles changes to validation-state attribute custom states
2456
- * @param prev - the previous state
2457
- * @param next - the next state
2458
- */
2459
- validationStateChanged(prev: ProgressBarValidationState | undefined, next: ProgressBarValidationState | undefined): void;
2460
2324
  /**
2461
2325
  * The value of the progress
2462
2326
  * The value of the progress
@@ -2972,6 +2836,8 @@ export declare class BaseTablist extends FASTElement {
2972
2836
  * @csspart control - The internal `<textarea>` element.
2973
2837
  * @fires { Event } change - Fires after the control loses focus, if the content has changed.
2974
2838
  * @fires { Event } select - Fires when the `select()` method is called.
2839
+ * @presentational {boolean} display-shadow - Indicates whether the element displays a box shadow. This only has effect when `appearance` is set to be `filled-darker` or `filled-lighter`.
2840
+ * @presentational {TextAreaResize} [resize=none] - Indicates whether the element can be resized by end users.
2975
2841
  *
2976
2842
  * @public
2977
2843
  */
@@ -3071,14 +2937,6 @@ export declare class BaseTextArea extends FASTElement {
3071
2937
  */
3072
2938
  disabled: boolean;
3073
2939
  protected disabledChanged(): void;
3074
- /**
3075
- * Indicates whether the element displays a box shadow. This only has effect when `appearance` is set to be `filled-darker` or `filled-lighter`.
3076
- *
3077
- * @public
3078
- * @remarks
3079
- * HTML Attribute: `display-shadow`
3080
- */
3081
- displayShadow: boolean;
3082
2940
  /**
3083
2941
  * The id of a form to associate the element to.
3084
2942
  *
@@ -3154,15 +3012,6 @@ export declare class BaseTextArea extends FASTElement {
3154
3012
  */
3155
3013
  required: boolean;
3156
3014
  protected requiredChanged(): void;
3157
- /**
3158
- * Indicates whether the element can be resized by end users.
3159
- *
3160
- * @public
3161
- * @remarks
3162
- * HTML Attribute: `resize`
3163
- */
3164
- resize: TextAreaResize;
3165
- protected resizeChanged(prev: TextAreaResize | undefined, next: TextAreaResize | undefined): void;
3166
3015
  /**
3167
3016
  * Controls whether or not to enable spell checking for the input field, or if the default spell checking configuration should be used.
3168
3017
  * @see The {@link https://developer.mozilla.org/docs/Web/HTML/Global_attributes/spellcheck | `spellcheck`} attribute
@@ -3556,6 +3405,18 @@ export declare class BaseTextInput extends FASTElement {
3556
3405
  * @internal
3557
3406
  */
3558
3407
  private dirtyValue;
3408
+ /**
3409
+ * The value as of the last `change` event or programmatic update.
3410
+ *
3411
+ * @internal
3412
+ */
3413
+ private committedValue;
3414
+ /**
3415
+ * Indicates that `value` is being updated from the internal control's `input` event.
3416
+ *
3417
+ * @internal
3418
+ */
3419
+ private isUserInput;
3559
3420
  /**
3560
3421
  * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
3561
3422
  *
@@ -3616,6 +3477,12 @@ export declare class BaseTextInput extends FASTElement {
3616
3477
  * proxies the change event, emitting a `change` event whenever the internal control emits a `change` event.
3617
3478
  */
3618
3479
  changeHandler(e: InputEvent): boolean | void;
3480
+ /**
3481
+ * Validates, records the committed value, and emits `change` on the host.
3482
+ *
3483
+ * @internal
3484
+ */
3485
+ private emitChange;
3619
3486
  /**
3620
3487
  * Checks the validity of the element and returns the result.
3621
3488
  *
@@ -3931,41 +3798,14 @@ export declare const borderRadiusXLarge = "var(--borderRadiusXLarge)";
3931
3798
  *
3932
3799
  * @tag fluent-button
3933
3800
  *
3801
+ * @presentational {ButtonAppearance | undefined} appearance - Indicates the styled appearance of the button.
3802
+ * @presentational {ButtonShape | undefined} shape - The shape of the button.
3803
+ * @presentational {ButtonSize | undefined} size - The size of the button.
3804
+ * @presentational {boolean} icon-only - Indicates that the button should only display as an icon with no text content.
3805
+ *
3934
3806
  * @public
3935
3807
  */
3936
3808
  export declare class Button extends BaseButton {
3937
- /**
3938
- * Indicates the styled appearance of the button.
3939
- *
3940
- * @public
3941
- * @remarks
3942
- * HTML Attribute: `appearance`
3943
- */
3944
- appearance?: ButtonAppearance;
3945
- /**
3946
- * The shape of the button.
3947
- *
3948
- * @public
3949
- * @remarks
3950
- * HTML Attribute: `shape`
3951
- */
3952
- shape?: ButtonShape;
3953
- /**
3954
- * The size of the button.
3955
- *
3956
- * @public
3957
- * @remarks
3958
- * HTML Attribute: `size`
3959
- */
3960
- size?: ButtonSize;
3961
- /**
3962
- * Indicates that the button should only display as an icon with no text content.
3963
- *
3964
- * @public
3965
- * @remarks
3966
- * HTML Attribute: `icon-only`
3967
- */
3968
- iconOnly: boolean;
3969
3809
  }
3970
3810
 
3971
3811
  /**
@@ -4095,6 +3935,9 @@ export declare type ButtonType = ValuesOf<typeof ButtonType>;
4095
3935
  * @fires { Event } change - Emits a custom change event when the checked state changes
4096
3936
  * @fires { Event } input - Emits a custom input event when the checked state changes
4097
3937
  *
3938
+ * @presentational {CheckboxShape | undefined} shape - Indicates the shape of the checkbox.
3939
+ * @presentational {CheckboxSize | undefined} size - Indicates the size of the control.
3940
+ *
4098
3941
  * @public
4099
3942
  */
4100
3943
  export declare class Checkbox extends BaseCheckbox {
@@ -4112,22 +3955,6 @@ export declare class Checkbox extends BaseCheckbox {
4112
3955
  * @internal
4113
3956
  */
4114
3957
  protected indeterminateChanged(prev: boolean | undefined, next: boolean | undefined): void;
4115
- /**
4116
- * Indicates the shape of the checkbox.
4117
- *
4118
- * @public
4119
- * @remarks
4120
- * HTML Attribute: `shape`
4121
- */
4122
- shape?: CheckboxShape;
4123
- /**
4124
- * Indicates the size of the control.
4125
- *
4126
- * @public
4127
- * @remarks
4128
- * HTML Attribute: `size`
4129
- */
4130
- size?: CheckboxSize;
4131
3958
  constructor();
4132
3959
  /**
4133
3960
  * Sets the ARIA checked state. If the `indeterminate` flag is true, the value will be 'mixed'.
@@ -6905,27 +6732,13 @@ export declare function display(displayValue: CSSDisplayPropertyValue): string;
6905
6732
  *
6906
6733
  * @tag fluent-divider
6907
6734
  *
6735
+ * @presentational {DividerAlignContent | undefined} align-content - Determines the alignment of the content within the divider. Select from start or end. When not specified, the content will be aligned to the center.
6736
+ * @presentational {DividerAppearance | undefined} appearance - A divider can have one of the preset appearances. Select from strong, brand, subtle. When not specified, the divider has its default appearance.
6737
+ * @presentational {boolean} inset - Adds padding to the beginning and end of the divider.
6738
+ *
6908
6739
  * @public
6909
6740
  */
6910
6741
  export declare class Divider extends BaseDivider {
6911
- /**
6912
- * @public
6913
- * @remarks
6914
- * Determines the alignment of the content within the divider. Select from start or end. When not specified, the content will be aligned to the center.
6915
- */
6916
- alignContent?: DividerAlignContent;
6917
- /**
6918
- * @public
6919
- * @remarks
6920
- * A divider can have one of the preset appearances. Select from strong, brand, subtle. When not specified, the divider has its default appearance.
6921
- */
6922
- appearance?: DividerAppearance;
6923
- /**
6924
- * @public
6925
- * @remarks
6926
- * Adds padding to the beginning and end of the divider.
6927
- */
6928
- inset?: boolean;
6929
6742
  }
6930
6743
 
6931
6744
  /**
@@ -7022,11 +6835,12 @@ export declare const DividerTemplate: ElementViewTemplate<Divider>;
7022
6835
  * @extends FASTElement
7023
6836
  *
7024
6837
  * @attr type - Determines whether the drawer should be displayed as modal, non-modal, or alert.
7025
- * @attr position - Sets the position of the drawer (start/end).
7026
- * @attr size - Sets the size of the drawer (small/medium/large).
7027
6838
  * @attr ariaDescribedby - The ID of the element that describes the drawer.
7028
6839
  * @attr ariaLabelledby - The ID of the element that labels the drawer.
7029
6840
  *
6841
+ * @presentational {DrawerPosition} [position=start] - Sets the position of the drawer (start/end).
6842
+ * @presentational {DrawerSize} [size=medium] - Sets the size of the drawer (small/medium/large/full).
6843
+ *
7030
6844
  * @csspart dialog - The dialog element of the drawer.
7031
6845
  * @cssprop --drawer-width - Sets the width of the drawer to a custom value (e.g., 300px).
7032
6846
  *
@@ -7064,20 +6878,7 @@ export declare class Drawer extends FASTElement {
7064
6878
  * @public
7065
6879
  */
7066
6880
  ariaDescribedby?: string;
7067
- /**
7068
- * Sets the position of the drawer (start/end).
7069
- *
7070
- * @public
7071
- * @defaultValue start
7072
- */
7073
- position: DrawerPosition;
7074
6881
  role: string | null;
7075
- /**
7076
- * @public
7077
- * @defaultValue medium
7078
- * Sets the size of the drawer (small/medium/large).
7079
- */
7080
- size: DrawerSize;
7081
6882
  /**
7082
6883
  * The dialog element.
7083
6884
  *
@@ -7273,24 +7074,12 @@ export declare type DrawerType = ValuesOf<typeof DrawerType>;
7273
7074
  * @slot indicator - The indicator slot.
7274
7075
  * @slot control - The control slot. This slot is automatically populated and should not be manually manipulated.
7275
7076
  *
7077
+ * @presentational {DropdownAppearance} [appearance=outline] - The appearance of the dropdown.
7078
+ * @presentational {DropdownSize} [size=medium] - The size of the dropdown.
7079
+ *
7276
7080
  * @public
7277
7081
  */
7278
7082
  export declare class Dropdown extends BaseDropdown {
7279
- /**
7280
- * The appearance of the dropdown.
7281
- *
7282
- * @public
7283
- * @remarks
7284
- * HTML Attribute: `appearance`
7285
- */
7286
- appearance: DropdownAppearance;
7287
- /**
7288
- * The size of the dropdown.
7289
- * @public
7290
- * @remarks
7291
- * HTML Attribute: `size`
7292
- */
7293
- size?: DropdownSize;
7294
7083
  }
7295
7084
 
7296
7085
  /**
@@ -7298,10 +7087,10 @@ export declare class Dropdown extends BaseDropdown {
7298
7087
  * @public
7299
7088
  */
7300
7089
  export declare const DropdownAppearance: {
7301
- filledDarker: string;
7302
- filledLighter: string;
7303
- outline: string;
7304
- transparent: string;
7090
+ readonly filledDarker: "filled-darker";
7091
+ readonly filledLighter: "filled-lighter";
7092
+ readonly outline: "outline";
7093
+ readonly transparent: "transparent";
7305
7094
  };
7306
7095
 
7307
7096
  /** @public */
@@ -7327,6 +7116,8 @@ export declare const DropdownDefinition: PartialFASTElementDefinition;
7327
7116
 
7328
7117
  /**
7329
7118
  * The template partial for the dropdown input element. This template is used when the `type` property is set to "combobox".
7119
+ * The `size` attribute is set to the smallest valid value (`1`) so the input’s intrinsic width is minimal and its
7120
+ * width is controlled in CSS.
7330
7121
  *
7331
7122
  * @public
7332
7123
  * @remarks
@@ -7349,6 +7140,8 @@ export declare const dropdownInputTemplate: ViewTemplate<BaseDropdown, any>;
7349
7140
  * @csspart content - The wrapper for the option content.
7350
7141
  * @csspart description - The wrapper for the option description.
7351
7142
  *
7143
+ * @presentational {boolean} active - Indicates that the option is active.
7144
+ *
7352
7145
  * @remarks
7353
7146
  * To support single and multiple selection modes with the {@link (BaseDropdown:class)} element, the Option element
7354
7147
  * itself handles form association and value submission, rather than its parent Dropdown element. In this way, the
@@ -7360,20 +7153,6 @@ export declare const dropdownInputTemplate: ViewTemplate<BaseDropdown, any>;
7360
7153
  * @public
7361
7154
  */
7362
7155
  export declare class DropdownOption extends FASTElement implements Start {
7363
- /**
7364
- * Indicates that the option is active.
7365
- *
7366
- * @public
7367
- */
7368
- active: boolean;
7369
- /**
7370
- * Changes the active state of the option when the active property changes.
7371
- *
7372
- * @param prev - the previous active state
7373
- * @param next - the current active state
7374
- * @internal
7375
- */
7376
- protected activeChanged(prev: boolean, next: boolean): void;
7377
7156
  /**
7378
7157
  * The current selected state of the option.
7379
7158
  *
@@ -7653,6 +7432,10 @@ export declare type DropdownSize = ValuesOf<typeof DropdownSize>;
7653
7432
  /**
7654
7433
  * Styles for the {@link (Dropdown:class)} component.
7655
7434
  *
7435
+ * NOTE: The `--_initial-display` CSS variable and the `initial-display`
7436
+ * attribute are used to show the server defined display text in SSR context,
7437
+ * before the custom element is defined and upgraded.
7438
+ *
7656
7439
  * @public
7657
7440
  */
7658
7441
  export declare const DropdownStyles: ElementStyles;
@@ -7762,17 +7545,11 @@ export declare function endSlotTemplate<TSource extends StartEnd = StartEnd, TPa
7762
7545
  * @csspart input - The input slot container.
7763
7546
  * @csspart message - The message slot container.
7764
7547
  *
7548
+ * @presentational {LabelPosition} [label-position=above] - The position of the label relative to the input.
7549
+ *
7765
7550
  * @public
7766
7551
  */
7767
7552
  export declare class Field extends BaseField {
7768
- /**
7769
- * The position of the label relative to the input.
7770
- *
7771
- * @public
7772
- * @remarks
7773
- * HTML Attribute: `label-position`
7774
- */
7775
- labelPosition: FieldLabelPosition;
7776
7553
  }
7777
7554
 
7778
7555
  /**
@@ -7933,49 +7710,15 @@ export declare const getDirection: (rootNode: HTMLElement) => Direction;
7933
7710
  *
7934
7711
  * @slot - The default slot. Accepts any `<img>`, `<picture>`, `<video>`, or `<canvas>` element.
7935
7712
  *
7713
+ * @presentational {boolean} block - Image layout.
7714
+ * @presentational {boolean} bordered - Image border.
7715
+ * @presentational {boolean} shadow - Image shadow.
7716
+ * @presentational {ImageFit | undefined} fit - Image fit.
7717
+ * @presentational {ImageShape | undefined} shape - Image shape.
7718
+ *
7936
7719
  * @public
7937
7720
  */
7938
7721
  declare class Image_2 extends FASTElement {
7939
- /**
7940
- * Image layout
7941
- *
7942
- * @public
7943
- * @remarks
7944
- * HTML attribute: block.
7945
- */
7946
- block?: boolean;
7947
- /**
7948
- * Image border
7949
- *
7950
- * @public
7951
- * @remarks
7952
- * HTML attribute: border.
7953
- */
7954
- bordered?: boolean;
7955
- /**
7956
- * Image shadow
7957
- *
7958
- * @public
7959
- * @remarks
7960
- * HTML attribute: shadow.
7961
- */
7962
- shadow?: boolean;
7963
- /**
7964
- * Image fit
7965
- *
7966
- * @public
7967
- * @remarks
7968
- * HTML attribute: fit.
7969
- */
7970
- fit?: ImageFit;
7971
- /**
7972
- * Image shape
7973
- *
7974
- * @public
7975
- * @remarks
7976
- * HTML attribute: shape.
7977
- */
7978
- shape?: ImageShape;
7979
7722
  }
7980
7723
  export { Image_2 as Image }
7981
7724
 
@@ -8095,33 +7838,13 @@ export declare function isTreeItem(element?: Node | null, tagName?: string): ele
8095
7838
  * @slot - The default slot. Accepts the content of the label.
8096
7839
  * @csspart asterisk - The required-field asterisk indicator.
8097
7840
  *
7841
+ * @presentational {LabelSize | undefined} size - Specifies the font size of the label.
7842
+ * @presentational {LabelWeight | undefined} weight - Specifies the font weight of the label.
7843
+ * @presentational {boolean} disabled - Specifies styles for the label when its associated input is disabled.
7844
+ *
8098
7845
  * @public
8099
7846
  */
8100
7847
  export declare class Label extends FASTElement {
8101
- /**
8102
- * Specifies font size of a label
8103
- *
8104
- * @public
8105
- * @remarks
8106
- * HTML Attribute: size
8107
- */
8108
- size?: LabelSize;
8109
- /**
8110
- * Specifies font weight of a label
8111
- *
8112
- * @public
8113
- * @remarks
8114
- * HTML Attribute: weight
8115
- */
8116
- weight?: LabelWeight;
8117
- /**
8118
- * Specifies styles for label when associated input is disabled
8119
- *
8120
- * @public
8121
- * @remarks
8122
- * HTML Attribute: disabled
8123
- */
8124
- disabled: boolean;
8125
7848
  /**
8126
7849
  * Specifies styles for label when associated input is a required field
8127
7850
  *
@@ -8245,28 +7968,12 @@ export declare const lineHeightHero900 = "var(--lineHeightHero900)";
8245
7968
  * @slot end - Content which can be provided after the link content
8246
7969
  * @slot - The default slot for link content
8247
7970
  *
7971
+ * @presentational {LinkAppearance | undefined} appearance - The appearance the link should have.
7972
+ * @presentational {boolean} inline - The link is inline with text. In chromium browsers, if the link is contained within a semantic text element (`h1`, `h2`, `h3`, `h4`, `h5`, `h6`, `p`) or `fluent-text`, `:host-context()` ensures inline links are styled appropriately.
7973
+ *
8248
7974
  * @public
8249
7975
  */
8250
7976
  export declare class Link extends BaseAnchor {
8251
- /**
8252
- * The appearance the link should have.
8253
- *
8254
- * @public
8255
- * @remarks
8256
- * HTML Attribute: `appearance`
8257
- */
8258
- appearance?: LinkAppearance | undefined;
8259
- /**
8260
- * The link is inline with text
8261
- * In chromium browsers, if the link is contained within a semantic
8262
- * text element (`h1`, `h2`, `h3`, `h4`, `h5`, `h6`, `p`) or `fluent-text`,
8263
- * `:host-context()` ensures inline links are styled appropriately.
8264
- *
8265
- * @public
8266
- * @remarks
8267
- * HTML Attribute: `inline`
8268
- */
8269
- inline: boolean;
8270
7977
  }
8271
7978
 
8272
7979
  /**
@@ -8486,7 +8193,7 @@ export declare function listboxTemplate<T extends Listbox>(): ElementViewTemplat
8486
8193
  * @attr open-on-context - Determines if the menu should open on right click.
8487
8194
  * @attr close-on-scroll - Determines if the menu should close on scroll.
8488
8195
  * @attr persist-on-item-click - Determines if the menu open state should persist on click of menu item.
8489
- * @attr split - Determines if the menu is in split state.
8196
+ * @presentational {boolean} split - Determines if the menu is in split state.
8490
8197
  *
8491
8198
  * @cssproperty --menu-max-height - The max-height of the menu.
8492
8199
  *
@@ -8539,11 +8246,6 @@ export declare class Menu extends FASTElement {
8539
8246
  * @public
8540
8247
  */
8541
8248
  persistOnItemClick?: boolean;
8542
- /**
8543
- * Determines if the menu is in split state.
8544
- * @public
8545
- */
8546
- split?: boolean;
8547
8249
  /**
8548
8250
  * Holds the slotted menu list.
8549
8251
  * @public
@@ -9027,6 +8729,9 @@ export declare const MenuTemplate: ElementViewTemplate<Menu>;
9027
8729
  * @slot icon - Content that can be provided for the leading icon
9028
8730
  * @slot - The default slot for the content
9029
8731
  * @fires { CustomEvent } dismiss - Fired when the message bar is dismissed.
8732
+ * @presentational {MessageBarShape | undefined} shape - Sets the shape of the Message Bar.
8733
+ * @presentational {MessageBarLayout | undefined} layout - Sets the layout of the control.
8734
+ * @presentational {MessageBarIntent | undefined} intent - Sets the intent of the control.
9030
8735
  * @public
9031
8736
  */
9032
8737
  export declare class MessageBar extends FASTElement {
@@ -9037,30 +8742,6 @@ export declare class MessageBar extends FASTElement {
9037
8742
  */
9038
8743
  elementInternals: ElementInternals;
9039
8744
  constructor();
9040
- /**
9041
- * Sets the shape of the Message Bar.
9042
- *
9043
- * @public
9044
- * @remarks
9045
- * HTML Attribute: `shape`
9046
- */
9047
- shape?: MessageBarShape;
9048
- /**
9049
- * Sets the layout of the control.
9050
- *
9051
- * @public
9052
- * @remarks
9053
- * HTML Attribute: `layout`
9054
- */
9055
- layout?: MessageBarLayout;
9056
- /**
9057
- * Sets the intent of the control.
9058
- *
9059
- * @public
9060
- * @remarks
9061
- * HTML Attribute: `intent`
9062
- */
9063
- intent?: MessageBarIntent;
9064
8745
  /**
9065
8746
  * Method to emit a `dismiss` event when the message bar is dismissed
9066
8747
  *
@@ -9148,29 +8829,12 @@ export declare type Orientation = (typeof Orientation)[keyof typeof Orientation]
9148
8829
  *
9149
8830
  * @tag fluent-progress-bar
9150
8831
  * @csspart indicator - The internal progress indicator element.
8832
+ * @presentational {ProgressBarThickness | undefined} thickness - The thickness of the progress bar.
8833
+ * @presentational {ProgressBarShape | undefined} shape - The shape of the progress bar.
9151
8834
  *
9152
8835
  * @public
9153
8836
  */
9154
8837
  export declare class ProgressBar extends BaseProgressBar {
9155
- /**
9156
- * The thickness of the progress bar
9157
- *
9158
- * The thickness of the progress bar
9159
- *
9160
- * HTML Attribute: `thickness`
9161
- *
9162
- * @public
9163
- */
9164
- thickness?: ProgressBarThickness;
9165
- /**
9166
- * The shape of the progress bar
9167
- * The shape of the progress bar
9168
- *
9169
- * HTML Attribute: `shape`
9170
- *
9171
- * @public
9172
- */
9173
- shape?: ProgressBarShape;
9174
8838
  }
9175
8839
 
9176
8840
  /**
@@ -9385,35 +9049,13 @@ export declare const RadioTemplate: ElementViewTemplate<Radio>;
9385
9049
  *
9386
9050
  * @tag fluent-rating-display
9387
9051
  *
9052
+ * @presentational {RatingDisplayColor} [color=marigold] - The color of the rating display icons.
9053
+ * @presentational {RatingDisplaySize} [size=medium] - The size of the component.
9054
+ * @presentational {boolean} compact - Renders a single filled icon with a label next to it.
9055
+ *
9388
9056
  * @public
9389
9057
  */
9390
9058
  export declare class RatingDisplay extends BaseRatingDisplay {
9391
- /**
9392
- * The color of the rating display icons.
9393
- *
9394
- * @public
9395
- * @default `marigold`
9396
- * @remarks
9397
- * HTML Attribute: `color`
9398
- */
9399
- color?: RatingDisplayColor;
9400
- /**
9401
- * The size of the component.
9402
- *
9403
- * @public
9404
- * @default 'medium'
9405
- * @remarks
9406
- * HTML Attribute: `size`
9407
- */
9408
- size?: RatingDisplaySize;
9409
- /**
9410
- * Renders a single filled icon with a label next to it.
9411
- *
9412
- * @public
9413
- * @remarks
9414
- * HTML Attribute: `compact`
9415
- */
9416
- compact: boolean;
9417
9059
  }
9418
9060
 
9419
9061
  /**
@@ -9576,6 +9218,7 @@ export declare const shadow8Brand = "var(--shadow8Brand)";
9576
9218
  * @csspart thumb-container - The container element of the thumb.
9577
9219
  * @csspart track-container - The container element of the track.
9578
9220
  * @fires { Event } change - Fires a custom 'change' event when the value changes.
9221
+ * @presentational {SliderSize | undefined} size - The size of the slider.
9579
9222
  *
9580
9223
  * @public
9581
9224
  */
@@ -9599,13 +9242,6 @@ export declare class Slider extends FASTElement implements SliderConfiguration {
9599
9242
  * @public
9600
9243
  */
9601
9244
  get labels(): ReadonlyArray<Node>;
9602
- /**
9603
- * The size of the slider
9604
- * @public
9605
- * @remarks
9606
- * HTML Attribute: size
9607
- */
9608
- size?: SliderSize;
9609
9245
  handleChange(_: any, propertyName: string): void;
9610
9246
  private stepStyles?;
9611
9247
  /**
@@ -10013,6 +9649,10 @@ export declare type SlottableInput = HTMLElement & ElementInternals & {
10013
9649
  readOnly: boolean;
10014
9650
  checked?: boolean;
10015
9651
  value?: string;
9652
+ control?: HTMLButtonElement | HTMLInputElement;
9653
+ constructor: {
9654
+ elementIdentity?: string;
9655
+ };
10016
9656
  };
10017
9657
 
10018
9658
  /**
@@ -10153,24 +9793,12 @@ export declare const spacingVerticalXXXL = "var(--spacingVerticalXXXL)";
10153
9793
  *
10154
9794
  * @tag fluent-spinner
10155
9795
  *
9796
+ * @presentational {SpinnerAppearance | undefined} appearance - The appearance of the spinner.
9797
+ * @presentational {SpinnerSize | undefined} size - The size of the spinner.
9798
+ *
10156
9799
  * @public
10157
9800
  */
10158
9801
  export declare class Spinner extends BaseSpinner {
10159
- /**
10160
- * The size of the spinner
10161
- *
10162
- * @public
10163
- * @remarks
10164
- * HTML Attribute: size
10165
- */
10166
- size?: SpinnerSize;
10167
- /**
10168
- * The appearance of the spinner
10169
- * @public
10170
- * @remarks
10171
- * HTML Attribute: appearance
10172
- */
10173
- appearance?: SpinnerAppearance;
10174
9802
  }
10175
9803
 
10176
9804
  /**
@@ -10391,21 +10019,12 @@ export declare const TabDefinition: PartialFASTElementDefinition;
10391
10019
  *
10392
10020
  * @tag fluent-tablist
10393
10021
  * @fires { Event } change - Fired when the active tab changes.
10022
+ * @presentational {TablistAppearance | undefined} [appearance=transparent] - There are two modes of appearance: transparent and subtle.
10023
+ * @presentational {TablistSize | undefined} size - Defaults to medium. Used to set the size of all the tab controls, which effects text size and margins. Three sizes: small, medium and large.
10394
10024
  *
10395
10025
  * @public
10396
10026
  */
10397
10027
  export declare class Tablist extends BaseTablist {
10398
- /**
10399
- * appearance
10400
- * There are two modes of appearance: transparent and subtle.
10401
- */
10402
- appearance?: TablistAppearance;
10403
- /**
10404
- * size
10405
- * defaults to medium.
10406
- * Used to set the size of all the tab controls, which effects text size and margins. Three sizes: small, medium and large.
10407
- */
10408
- size?: TablistSize;
10409
10028
  private fg?;
10410
10029
  private fgItems?;
10411
10030
  disconnectedCallback(): void;
@@ -10491,6 +10110,16 @@ export declare const TabTemplate: ElementViewTemplate<Tab, any>;
10491
10110
  * @tag fluent-text
10492
10111
  *
10493
10112
  * @slot - The default slot for the text content of the component. Can be any valid HTML element, but is typically a semantic element such as a heading or paragraph.
10113
+ * @presentational {boolean} nowrap - The text will not wrap. In Fluent UI React v9 this is "wrap"; boolean attributes which default to true in HTML can't be switched off in the DOM.
10114
+ * @presentational {boolean} truncate - The text truncates.
10115
+ * @presentational {boolean} italic - The text style is italic.
10116
+ * @presentational {boolean} underline - The text style is underlined.
10117
+ * @presentational {boolean} strikethrough - The text style has a strikethrough.
10118
+ * @presentational {boolean} block - The text can take up the width of its container.
10119
+ * @presentational {TextSize | undefined} size - The text size.
10120
+ * @presentational {TextFont | undefined} font - The text font.
10121
+ * @presentational {TextWeight | undefined} weight - The text weight.
10122
+ * @presentational {TextAlign | undefined} align - The text alignment.
10494
10123
  *
10495
10124
  * @public
10496
10125
  */
@@ -10501,89 +10130,6 @@ declare class Text_2 extends FASTElement {
10501
10130
  * @internal
10502
10131
  */
10503
10132
  elementInternals: ElementInternals;
10504
- /**
10505
- * The text will not wrap
10506
- * NOTE: In Fluent UI React v9 this is "wrap"
10507
- * Boolean attributes which default to true in HTML can't be switched off in the DOM
10508
- *
10509
- * @public
10510
- * @remarks
10511
- * HTML Attribute: nowrap
10512
- */
10513
- nowrap: boolean;
10514
- /**
10515
- * The text truncates
10516
- *
10517
- * @public
10518
- * @remarks
10519
- * HTML Attribute: truncate
10520
- */
10521
- truncate: boolean;
10522
- /**
10523
- * The text style is italic
10524
- *
10525
- * @public
10526
- * @remarks
10527
- * HTML Attribute: italic
10528
- */
10529
- italic: boolean;
10530
- /**
10531
- * The text style is underline
10532
- *
10533
- * @public
10534
- * @remarks
10535
- * HTML Attribute: underline
10536
- */
10537
- underline: boolean;
10538
- /**
10539
- * The text style is strikethrough
10540
- *
10541
- * @public
10542
- * @remarks
10543
- * HTML Attribute: strikethrough
10544
- */
10545
- strikethrough: boolean;
10546
- /**
10547
- * An text can take up the width of its container.
10548
- *
10549
- * @public
10550
- * @remarks
10551
- * HTML Attribute: block
10552
- */
10553
- block: boolean;
10554
- /**
10555
- * THe Text size
10556
- *
10557
- * @public
10558
- * @remarks
10559
- * HTML Attribute: size
10560
- *
10561
- */
10562
- size?: TextSize;
10563
- /**
10564
- * THe Text font
10565
- *
10566
- * @public
10567
- * @remarks
10568
- * HTML Attribute: font
10569
- */
10570
- font?: TextFont;
10571
- /**
10572
- * The Text weight
10573
- *
10574
- * @public
10575
- * @remarks
10576
- * HTML Attribute: weight
10577
- */
10578
- weight?: TextWeight;
10579
- /**
10580
- * The Text alignment
10581
- *
10582
- * @public
10583
- * @remarks
10584
- * HTML Attribute: align
10585
- */
10586
- align?: TextAlign;
10587
10133
  }
10588
10134
  export { Text_2 as Text }
10589
10135
 
@@ -10608,26 +10154,12 @@ export declare type TextAlign = ValuesOf<typeof TextAlign>;
10608
10154
  * The Fluent TextArea Element.
10609
10155
  *
10610
10156
  * @tag fluent-text-area
10157
+ * @presentational {TextAreaAppearance} [appearance=outline] - Indicates the visual appearance of the element.
10158
+ * @presentational {boolean} block - Indicates whether the textarea should be a block-level element.
10611
10159
  *
10612
10160
  */
10613
10161
  export declare class TextArea extends BaseTextArea {
10614
10162
  protected labelSlottedNodesChanged(): void;
10615
- /**
10616
- * Indicates the visual appearance of the element.
10617
- *
10618
- * @public
10619
- * @remarks
10620
- * HTML Attribute: `appearance`
10621
- */
10622
- appearance: TextAreaAppearance;
10623
- /**
10624
- * Indicates whether the textarea should be a block-level element.
10625
- *
10626
- * @public
10627
- * @remarks
10628
- * HTML Attribute: `block`
10629
- */
10630
- block: boolean;
10631
10163
  /**
10632
10164
  * Sets the size of the control.
10633
10165
  *
@@ -10756,26 +10288,12 @@ export declare type TextFont = ValuesOf<typeof TextFont>;
10756
10288
  * @tag fluent-text-input
10757
10289
  * @fires { Event } change - Fired when the input value is committed via a change event.
10758
10290
  * @fires { Event } select - Fires when the `select()` method is called.
10291
+ * @presentational {TextInputAppearance | undefined} appearance - Indicates the styled appearance of the element.
10292
+ * @presentational {TextInputControlSize | undefined} control-size - Sets the size of the control.
10759
10293
  *
10760
10294
  * @public
10761
10295
  */
10762
10296
  export declare class TextInput extends BaseTextInput {
10763
- /**
10764
- * Indicates the styled appearance of the element.
10765
- *
10766
- * @public
10767
- * @remarks
10768
- * HTML Attribute: `appearance`
10769
- */
10770
- appearance?: TextInputAppearance;
10771
- /**
10772
- * Sets the size of the control.
10773
- *
10774
- * @public
10775
- * @remarks
10776
- * HTML Attribute: `control-size`
10777
- */
10778
- controlSize?: TextInputControlSize;
10779
10297
  }
10780
10298
 
10781
10299
  /**
@@ -11145,22 +10663,22 @@ export declare class Tooltip extends FASTElement {
11145
10663
  export declare const TooltipDefinition: PartialFASTElementDefinition;
11146
10664
 
11147
10665
  /**
11148
- * The TooltipPositioning options and their corresponding CSS values
10666
+ * The TooltipPositioning options
11149
10667
  * @public
11150
10668
  */
11151
10669
  export declare const TooltipPositioningOption: {
11152
- readonly 'above-start': "block-start span-inline-end";
11153
- readonly above: "block-start";
11154
- readonly 'above-end': "block-start span-inline-start";
11155
- readonly 'below-start': "block-end span-inline-end";
11156
- readonly below: "block-end";
11157
- readonly 'below-end': "block-end span-inline-start";
11158
- readonly 'before-top': "inline-start span-block-end";
11159
- readonly before: "inline-start";
11160
- readonly 'before-bottom': "inline-start span-block-start";
11161
- readonly 'after-top': "inline-end span-block-end";
11162
- readonly after: "inline-end";
11163
- readonly 'after-bottom': "inline-end span-block-start";
10670
+ readonly 'above-start': "above-start";
10671
+ readonly above: "above";
10672
+ readonly 'above-end': "above-end";
10673
+ readonly 'below-start': "below-start";
10674
+ readonly below: "below";
10675
+ readonly 'below-end': "below-end";
10676
+ readonly 'before-top': "before-top";
10677
+ readonly before: "before";
10678
+ readonly 'before-bottom': "before-bottom";
10679
+ readonly 'after-top': "after-top";
10680
+ readonly after: "after";
10681
+ readonly 'after-bottom': "after-bottom";
11164
10682
  };
11165
10683
 
11166
10684
  /**