@fluentui/web-components 3.0.0-rc.25 → 3.0.0-rc.27

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 (207) hide show
  1. package/CHANGELOG.md +21 -2
  2. package/README.md +26 -0
  3. package/custom-elements.json +723 -356
  4. package/dist/esm/accordion/accordion.d.ts +1 -1
  5. package/dist/esm/accordion/accordion.js +1 -1
  6. package/dist/esm/accordion/accordion.styles.css +11 -7
  7. package/dist/esm/accordion/accordion.template.html +4 -3
  8. package/dist/esm/accordion-item/accordion-item.d.ts +2 -2
  9. package/dist/esm/accordion-item/accordion-item.js +2 -0
  10. package/dist/esm/accordion-item/accordion-item.js.map +1 -1
  11. package/dist/esm/accordion-item/accordion-item.styles.css +174 -170
  12. package/dist/esm/accordion-item/accordion-item.template.html +38 -31
  13. package/dist/esm/anchor-button/anchor-button.d.ts +2 -2
  14. package/dist/esm/anchor-button/anchor-button.js +2 -0
  15. package/dist/esm/anchor-button/anchor-button.js.map +1 -1
  16. package/dist/esm/anchor-button/anchor-button.styles.css +224 -223
  17. package/dist/esm/anchor-button/anchor-button.template.html +8 -11
  18. package/dist/esm/avatar/avatar.d.ts +2 -0
  19. package/dist/esm/avatar/avatar.js +3 -1
  20. package/dist/esm/avatar/avatar.js.map +1 -1
  21. package/dist/esm/avatar/avatar.styles.css +475 -470
  22. package/dist/esm/avatar/avatar.template.html +10 -14
  23. package/dist/esm/badge/badge.d.ts +6 -1
  24. package/dist/esm/badge/badge.js +6 -1
  25. package/dist/esm/badge/badge.js.map +1 -1
  26. package/dist/esm/badge/badge.styles.css +264 -266
  27. package/dist/esm/badge/badge.template.html +5 -2
  28. package/dist/esm/button/button.base.d.ts +0 -9
  29. package/dist/esm/button/button.base.js +2 -3
  30. package/dist/esm/button/button.base.js.map +1 -1
  31. package/dist/esm/button/button.styles.css +260 -259
  32. package/dist/esm/button/button.template.html +8 -10
  33. package/dist/esm/checkbox/checkbox.base.d.ts +3 -9
  34. package/dist/esm/checkbox/checkbox.base.js +5 -3
  35. package/dist/esm/checkbox/checkbox.base.js.map +1 -1
  36. package/dist/esm/checkbox/checkbox.d.ts +2 -2
  37. package/dist/esm/checkbox/checkbox.js +2 -2
  38. package/dist/esm/checkbox/checkbox.styles.css +146 -142
  39. package/dist/esm/checkbox/checkbox.template.html +21 -16
  40. package/dist/esm/compound-button/compound-button.d.ts +3 -0
  41. package/dist/esm/compound-button/compound-button.js +3 -0
  42. package/dist/esm/compound-button/compound-button.js.map +1 -1
  43. package/dist/esm/compound-button/compound-button.styles.css +363 -365
  44. package/dist/esm/compound-button/compound-button.template.html +9 -11
  45. package/dist/esm/counter-badge/counter-badge.d.ts +3 -0
  46. package/dist/esm/counter-badge/counter-badge.js +3 -0
  47. package/dist/esm/counter-badge/counter-badge.js.map +1 -1
  48. package/dist/esm/counter-badge/counter-badge.styles.css +177 -177
  49. package/dist/esm/counter-badge/counter-badge.template.html +5 -2
  50. package/dist/esm/dialog/dialog.d.ts +4 -0
  51. package/dist/esm/dialog/dialog.js +4 -0
  52. package/dist/esm/dialog/dialog.js.map +1 -1
  53. package/dist/esm/dialog/dialog.styles.css +65 -66
  54. package/dist/esm/dialog/dialog.template.html +18 -15
  55. package/dist/esm/dialog-body/dialog-body.d.ts +9 -0
  56. package/dist/esm/dialog-body/dialog-body.js +9 -0
  57. package/dist/esm/dialog-body/dialog-body.js.map +1 -1
  58. package/dist/esm/dialog-body/dialog-body.styles.css +81 -76
  59. package/dist/esm/dialog-body/dialog-body.styles.js +1 -0
  60. package/dist/esm/dialog-body/dialog-body.styles.js.map +1 -1
  61. package/dist/esm/dialog-body/dialog-body.template.html +2 -1
  62. package/dist/esm/divider/divider.styles.css +105 -101
  63. package/dist/esm/divider/divider.template.html +6 -1
  64. package/dist/esm/drawer/drawer.d.ts +3 -4
  65. package/dist/esm/drawer/drawer.js +3 -4
  66. package/dist/esm/drawer/drawer.js.map +1 -1
  67. package/dist/esm/drawer/drawer.styles.css +124 -120
  68. package/dist/esm/drawer/drawer.styles.js +16 -17
  69. package/dist/esm/drawer/drawer.styles.js.map +1 -1
  70. package/dist/esm/drawer/drawer.template.html +5 -2
  71. package/dist/esm/drawer-body/drawer-body.styles.css +29 -26
  72. package/dist/esm/drawer-body/drawer-body.template.html +5 -2
  73. package/dist/esm/dropdown/dropdown.base.d.ts +3 -1
  74. package/dist/esm/dropdown/dropdown.base.js +5 -1
  75. package/dist/esm/dropdown/dropdown.base.js.map +1 -1
  76. package/dist/esm/dropdown/dropdown.styles.css +192 -190
  77. package/dist/esm/dropdown/dropdown.styles.js +1 -0
  78. package/dist/esm/dropdown/dropdown.styles.js.map +1 -1
  79. package/dist/esm/dropdown/dropdown.template.html +26 -19
  80. package/dist/esm/field/field.d.ts +7 -0
  81. package/dist/esm/field/field.js +7 -0
  82. package/dist/esm/field/field.js.map +1 -1
  83. package/dist/esm/field/field.styles.css +125 -121
  84. package/dist/esm/field/field.template.html +3 -2
  85. package/dist/esm/image/image.d.ts +2 -0
  86. package/dist/esm/image/image.js +2 -0
  87. package/dist/esm/image/image.js.map +1 -1
  88. package/dist/esm/image/image.styles.css +49 -50
  89. package/dist/esm/image/image.template.html +6 -1
  90. package/dist/esm/label/label.d.ts +3 -0
  91. package/dist/esm/label/label.js +3 -0
  92. package/dist/esm/label/label.js.map +1 -1
  93. package/dist/esm/label/label.styles.css +34 -30
  94. package/dist/esm/label/label.template.html +5 -2
  95. package/dist/esm/link/link.styles.css +58 -54
  96. package/dist/esm/link/link.template.html +4 -7
  97. package/dist/esm/listbox/listbox.styles.css +40 -36
  98. package/dist/esm/listbox/listbox.template.html +4 -6
  99. package/dist/esm/menu/menu.styles.css +56 -52
  100. package/dist/esm/menu/menu.template.html +6 -5
  101. package/dist/esm/menu-button/menu-button.styles.css +260 -259
  102. package/dist/esm/menu-button/menu-button.template.html +23 -14
  103. package/dist/esm/menu-item/menu-item.d.ts +1 -1
  104. package/dist/esm/menu-item/menu-item.js +3 -1
  105. package/dist/esm/menu-item/menu-item.js.map +1 -1
  106. package/dist/esm/menu-item/menu-item.styles.css +141 -137
  107. package/dist/esm/menu-item/menu-item.template.html +48 -17
  108. package/dist/esm/menu-list/menu-list.styles.css +19 -15
  109. package/dist/esm/menu-list/menu-list.template.html +4 -3
  110. package/dist/esm/message-bar/message-bar.d.ts +2 -0
  111. package/dist/esm/message-bar/message-bar.js +2 -0
  112. package/dist/esm/message-bar/message-bar.js.map +1 -1
  113. package/dist/esm/message-bar/message-bar.styles.css +83 -84
  114. package/dist/esm/message-bar/message-bar.template.html +7 -2
  115. package/dist/esm/option/option.d.ts +3 -0
  116. package/dist/esm/option/option.js +3 -0
  117. package/dist/esm/option/option.js.map +1 -1
  118. package/dist/esm/option/option.styles.css +117 -114
  119. package/dist/esm/option/option.template.html +17 -14
  120. package/dist/esm/progress-bar/progress-bar.base.d.ts +3 -3
  121. package/dist/esm/progress-bar/progress-bar.d.ts +1 -0
  122. package/dist/esm/progress-bar/progress-bar.js +1 -0
  123. package/dist/esm/progress-bar/progress-bar.js.map +1 -1
  124. package/dist/esm/progress-bar/progress-bar.styles.css +83 -79
  125. package/dist/esm/progress-bar/progress-bar.template.html +4 -1
  126. package/dist/esm/radio/radio.d.ts +3 -2
  127. package/dist/esm/radio/radio.js +3 -2
  128. package/dist/esm/radio/radio.js.map +1 -1
  129. package/dist/esm/radio/radio.styles.css +100 -96
  130. package/dist/esm/radio/radio.template.html +6 -9
  131. package/dist/esm/radio-group/radio-group.base.d.ts +2 -0
  132. package/dist/esm/radio-group/radio-group.base.js +2 -0
  133. package/dist/esm/radio-group/radio-group.base.js.map +1 -1
  134. package/dist/esm/radio-group/radio-group.d.ts +1 -0
  135. package/dist/esm/radio-group/radio-group.js +1 -0
  136. package/dist/esm/radio-group/radio-group.js.map +1 -1
  137. package/dist/esm/radio-group/radio-group.styles.css +45 -41
  138. package/dist/esm/radio-group/radio-group.template.html +11 -10
  139. package/dist/esm/rating-display/rating-display.styles.css +136 -134
  140. package/dist/esm/rating-display/rating-display.template.html +5 -2
  141. package/dist/esm/slider/slider.d.ts +1 -1
  142. package/dist/esm/slider/slider.js +3 -1
  143. package/dist/esm/slider/slider.js.map +1 -1
  144. package/dist/esm/slider/slider.styles.css +186 -182
  145. package/dist/esm/slider/slider.template.html +13 -15
  146. package/dist/esm/spinner/spinner.styles.css +155 -151
  147. package/dist/esm/spinner/spinner.template.html +16 -11
  148. package/dist/esm/switch/switch.d.ts +1 -0
  149. package/dist/esm/switch/switch.js +1 -0
  150. package/dist/esm/switch/switch.js.map +1 -1
  151. package/dist/esm/switch/switch.styles.css +112 -108
  152. package/dist/esm/switch/switch.template.html +9 -8
  153. package/dist/esm/tab/tab.js +2 -0
  154. package/dist/esm/tab/tab.js.map +1 -1
  155. package/dist/esm/tab/tab.styles.css +112 -108
  156. package/dist/esm/tab/tab.template.html +6 -5
  157. package/dist/esm/tablist/tablist.d.ts +1 -0
  158. package/dist/esm/tablist/tablist.js +1 -0
  159. package/dist/esm/tablist/tablist.js.map +1 -1
  160. package/dist/esm/tablist/tablist.styles.css +194 -190
  161. package/dist/esm/tablist/tablist.template.html +2 -5
  162. package/dist/esm/text/text.d.ts +2 -0
  163. package/dist/esm/text/text.js +2 -0
  164. package/dist/esm/text/text.js.map +1 -1
  165. package/dist/esm/text/text.styles.css +105 -101
  166. package/dist/esm/text/text.template.html +6 -1
  167. package/dist/esm/text-input/text-input.base.d.ts +4 -16
  168. package/dist/esm/text-input/text-input.base.js +7 -17
  169. package/dist/esm/text-input/text-input.base.js.map +1 -1
  170. package/dist/esm/text-input/text-input.d.ts +2 -0
  171. package/dist/esm/text-input/text-input.js +2 -0
  172. package/dist/esm/text-input/text-input.js.map +1 -1
  173. package/dist/esm/text-input/text-input.styles.css +199 -195
  174. package/dist/esm/text-input/text-input.template.html +34 -36
  175. package/dist/esm/text-input/text-input.template.js +1 -5
  176. package/dist/esm/text-input/text-input.template.js.map +1 -1
  177. package/dist/esm/textarea/textarea.base.d.ts +2 -2
  178. package/dist/esm/textarea/textarea.base.js +4 -2
  179. package/dist/esm/textarea/textarea.base.js.map +1 -1
  180. package/dist/esm/textarea/textarea.styles.css +254 -250
  181. package/dist/esm/textarea/textarea.template.html +28 -27
  182. package/dist/esm/toggle-button/toggle-button.styles.css +360 -357
  183. package/dist/esm/toggle-button/toggle-button.template.html +8 -10
  184. package/dist/esm/tooltip/tooltip.d.ts +2 -0
  185. package/dist/esm/tooltip/tooltip.js +2 -0
  186. package/dist/esm/tooltip/tooltip.js.map +1 -1
  187. package/dist/esm/tooltip/tooltip.styles.css +81 -77
  188. package/dist/esm/tooltip/tooltip.template.html +6 -1
  189. package/dist/esm/tree/tree.styles.css +9 -5
  190. package/dist/esm/tree/tree.template.html +3 -2
  191. package/dist/esm/tree-item/tree-item.base.d.ts +9 -0
  192. package/dist/esm/tree-item/tree-item.base.js +11 -0
  193. package/dist/esm/tree-item/tree-item.base.js.map +1 -1
  194. package/dist/esm/tree-item/tree-item.d.ts +15 -0
  195. package/dist/esm/tree-item/tree-item.js +15 -0
  196. package/dist/esm/tree-item/tree-item.js.map +1 -1
  197. package/dist/esm/tree-item/tree-item.styles.css +157 -153
  198. package/dist/esm/tree-item/tree-item.template.html +8 -7
  199. package/dist/esm/utils/autofocus.d.ts +12 -0
  200. package/dist/esm/utils/autofocus.js +25 -0
  201. package/dist/esm/utils/autofocus.js.map +1 -0
  202. package/dist/web-components-all.js +24 -27
  203. package/dist/web-components-all.min.js +15 -15
  204. package/dist/web-components.d.ts +110 -54
  205. package/dist/web-components.js +24 -27
  206. package/dist/web-components.min.js +15 -15
  207. package/package.json +6 -6
@@ -15,7 +15,7 @@ import { ViewTemplate } from '@microsoft/fast-element';
15
15
  * @tag fluent-accordion
16
16
  *
17
17
  * @slot - The default slot for the accordion items
18
- * @fires change - Fires a custom 'change' event when the active item changes
18
+ * @fires { Event } change - Fires a custom 'change' event when the active item changes
19
19
  *
20
20
  * @public
21
21
  */
@@ -112,6 +112,8 @@ export declare type AccordionExpandMode = ValuesOf<typeof AccordionExpandMode>;
112
112
  * An Accordion Item Custom HTML Element.
113
113
  * Based on BaseAccordionItem and includes style and layout specific attributes
114
114
  *
115
+ * @tag fluent-accordion-item
116
+ *
115
117
  * @public
116
118
  */
117
119
  export declare class AccordionItem extends BaseAccordionItem {
@@ -175,8 +177,6 @@ export declare type AccordionItemMarkerPosition = ValuesOf<typeof AccordionItemM
175
177
  /**
176
178
  * Accordion Item configuration options
177
179
  *
178
- * @tag fluent-accordion-item
179
- *
180
180
  * @public
181
181
  */
182
182
  export declare type AccordionItemOptions = StartEndOptions<AccordionItem> & {
@@ -216,6 +216,8 @@ export declare const accordionTemplate: ElementViewTemplate<Accordion>;
216
216
  * An Anchor Custom HTML Element.
217
217
  * Based on BaseAnchor and includes style and layout specific attributes
218
218
  *
219
+ * @tag fluent-anchor-button
220
+ *
219
221
  * @public
220
222
  */
221
223
  export declare class AnchorButton extends BaseAnchor {
@@ -373,6 +375,8 @@ export declare type AnchorTarget = ValuesOf<typeof AnchorTarget>;
373
375
  *
374
376
  * @tag fluent-avatar
375
377
  *
378
+ * @slot badge - Optional badge content displayed with the avatar.
379
+ *
376
380
  * @public
377
381
  */
378
382
  export declare class Avatar extends BaseAvatar {
@@ -635,13 +639,18 @@ export declare const AvatarTemplate: ElementViewTemplate<Avatar>;
635
639
 
636
640
  /**
637
641
  * The base class used for constructing a fluent-badge custom element
642
+ * @tag fluent-badge
643
+ *
644
+ * @slot - Content which can be provided inside the badge.
645
+ * @slot start - Content which can be provided before the badge content.
646
+ * @slot end - Content which can be provided after the badge content.
647
+ *
638
648
  * @public
639
649
  */
640
650
  export declare class Badge extends FASTElement {
641
651
  /**
642
652
  * The appearance the badge should have.
643
653
  *
644
- * @tag fluent-badge
645
654
  *
646
655
  * @public
647
656
  * @remarks
@@ -1081,15 +1090,6 @@ export declare class BaseAvatar extends FASTElement {
1081
1090
  * @public
1082
1091
  */
1083
1092
  export declare class BaseButton extends FASTElement {
1084
- /**
1085
- * Indicates the button should be focused when the page is loaded.
1086
- * @see The {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#autofocus | `autofocus`} attribute
1087
- *
1088
- * @public
1089
- * @remarks
1090
- * HTML Attribute: `autofocus`
1091
- */
1092
- autofocus: boolean;
1093
1093
  /**
1094
1094
  * Default slotted content.
1095
1095
  *
@@ -1320,18 +1320,12 @@ export declare class BaseButton extends FASTElement {
1320
1320
  /**
1321
1321
  * The base class for a component with a toggleable checked state.
1322
1322
  *
1323
+ * @fires { Event } change - Fires a custom 'change' event when the checked state changes
1324
+ * @fires { Event } input - Fires a custom 'input' event when the checked state changes
1325
+ *
1323
1326
  * @public
1324
1327
  */
1325
1328
  export declare class BaseCheckbox extends FASTElement {
1326
- /**
1327
- * Indicates that the element should get focus after the page finishes loading.
1328
- * @see The {@link https://developer.mozilla.org/docs/Web/HTML/Element/input#autofocus | `autofocus`} attribute
1329
- *
1330
- * @public
1331
- * @remarks
1332
- * HTML Attribute: `autofocus`
1333
- */
1334
- autofocus: boolean;
1335
1329
  /**
1336
1330
  * The element's current checked state.
1337
1331
  *
@@ -1730,6 +1724,8 @@ export declare class BaseDivider extends FASTElement {
1730
1724
  * @slot indicator - The indicator slot.
1731
1725
  * @slot control - The control slot. This slot is automatically populated and should not be manually manipulated.
1732
1726
  *
1727
+ * @fires { Event } change - Fires a custom 'change' event when the selected option changes
1728
+ *
1733
1729
  * @public
1734
1730
  */
1735
1731
  export declare class BaseDropdown extends FASTElement {
@@ -2163,7 +2159,7 @@ export declare class BaseDropdown extends FASTElement {
2163
2159
  */
2164
2160
  private searchTimeout?;
2165
2161
  /**
2166
- * Handles printable character input by moving {@link activeIndex} to the next option whose label matches the
2162
+ * Handles printable character input by moving {@link Dropdown#activeIndex} to the next option whose label matches the
2167
2163
  * accumulated search string. When the string is a single character (or the same character repeated), matching
2168
2164
  * options are cycled through; otherwise the string is treated as a prefix match.
2169
2165
  *
@@ -2461,7 +2457,7 @@ export declare class BaseProgressBar extends FASTElement {
2461
2457
  *
2462
2458
  * HTML Attribute: `value`
2463
2459
  *
2464
- * @internal
2460
+ * @public
2465
2461
  */
2466
2462
  value?: number;
2467
2463
  /**
@@ -2476,7 +2472,7 @@ export declare class BaseProgressBar extends FASTElement {
2476
2472
  *
2477
2473
  * HTML Attribute: `min`
2478
2474
  *
2479
- * @internal
2475
+ * @public
2480
2476
  */
2481
2477
  min?: number;
2482
2478
  /**
@@ -2492,7 +2488,7 @@ export declare class BaseProgressBar extends FASTElement {
2492
2488
  *
2493
2489
  * HTML Attribute: `max`
2494
2490
  *
2495
- * @internal
2491
+ * @public
2496
2492
  */
2497
2493
  max?: number;
2498
2494
  /**
@@ -2518,6 +2514,8 @@ export declare class BaseProgressBar extends FASTElement {
2518
2514
  * A Base Radio Group Custom HTML Element.
2519
2515
  * Implements the {@link https://w3c.github.io/aria/#radiogroup | ARIA `radiogroup` role}.
2520
2516
  *
2517
+ * @fires { Event } change - Fires a custom 'change' event when the checked radio changes
2518
+ *
2521
2519
  * @public
2522
2520
  */
2523
2521
  export declare class BaseRadioGroup extends FASTElement {
@@ -2964,8 +2962,8 @@ export declare class BaseTablist extends FASTElement {
2964
2962
  * @csspart label - The `<label>` element.
2965
2963
  * @csspart root - The container element of the `<textarea>` element.
2966
2964
  * @csspart control - The internal `<textarea>` element.
2967
- * @fires change - Fires after the control loses focus, if the content has changed.
2968
- * @fires select - Fires when the `select()` method is called.
2965
+ * @fires { Event } change - Fires after the control loses focus, if the content has changed.
2966
+ * @fires { Event } select - Fires when the `select()` method is called.
2969
2967
  *
2970
2968
  * @public
2971
2969
  */
@@ -3320,6 +3318,10 @@ export declare class BaseTextArea extends FASTElement {
3320
3318
  * @csspart label - The internal `<label>` element
3321
3319
  * @csspart root - the root container for the internal control
3322
3320
  * @csspart control - The internal `<input>` control
3321
+ *
3322
+ * @fires { Event } change - Fires a custom 'change' event when the value changes and the input loses focus
3323
+ * @fires { Event } select - Fires when the `select()` method is called.
3324
+ *
3323
3325
  * @public
3324
3326
  */
3325
3327
  export declare class BaseTextInput extends FASTElement {
@@ -3332,15 +3334,6 @@ export declare class BaseTextInput extends FASTElement {
3332
3334
  * HTML Attribute: `autocomplete`
3333
3335
  */
3334
3336
  autocomplete?: string;
3335
- /**
3336
- * Indicates that the element should get focus after the page finishes loading.
3337
- * @see The {@link https://developer.mozilla.org/docs/Web/HTML/Element/input#autofocus | `autofocus`} attribute
3338
- *
3339
- * @public
3340
- * @remarks
3341
- * HTML Attribute: `autofocus`
3342
- */
3343
- autofocus: boolean;
3344
3337
  /**
3345
3338
  * The current value of the input.
3346
3339
  * @public
@@ -3630,13 +3623,6 @@ export declare class BaseTextInput extends FASTElement {
3630
3623
  */
3631
3624
  clickHandler(e: MouseEvent): boolean | void;
3632
3625
  connectedCallback(): void;
3633
- /**
3634
- * Focuses the inner control when the component is focused.
3635
- *
3636
- * @param e - the event object
3637
- * @public
3638
- */
3639
- focusinHandler(e: FocusEvent): boolean | void;
3640
3626
  /**
3641
3627
  * Resets the value to its initial value when the form is reset.
3642
3628
  *
@@ -3763,6 +3749,15 @@ export declare class BaseTree extends FASTElement {
3763
3749
  protected get descendantTreeItems(): BaseTreeItem[];
3764
3750
  }
3765
3751
 
3752
+ /**
3753
+ * Base class for Tree Item Custom HTML Element.
3754
+ * Based largely on the {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li | `<li>`} element.
3755
+ *
3756
+ * @fires { ToggleEvent } toggle - Fires when the expanded state changes
3757
+ * @fires { Event } change - Fires when the selected state changes
3758
+ *
3759
+ * @public
3760
+ */
3766
3761
  declare class BaseTreeItem extends FASTElement {
3767
3762
  /**
3768
3763
  * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
@@ -4103,8 +4098,8 @@ export declare type ButtonType = ValuesOf<typeof ButtonType>;
4103
4098
  *
4104
4099
  * @slot checked-indicator - The checked indicator
4105
4100
  * @slot indeterminate-indicator - The indeterminate indicator
4106
- * @fires change - Emits a custom change event when the checked state changes
4107
- * @fires input - Emits a custom input event when the checked state changes
4101
+ * @fires { Event } change - Emits a custom change event when the checked state changes
4102
+ * @fires { Event } input - Emits a custom input event when the checked state changes
4108
4103
  *
4109
4104
  * @public
4110
4105
  */
@@ -6411,6 +6406,9 @@ export declare const colorTransparentStrokeInteractive = "var(--colorTransparent
6411
6406
  *
6412
6407
  * @tag fluent-compound-button
6413
6408
  *
6409
+ * @slot - The default slot for the main content of the compound button
6410
+ * @slot description - The description of the compound button, shown below the main content
6411
+ *
6414
6412
  * @public
6415
6413
  */
6416
6414
  export declare class CompoundButton extends Button {
@@ -6487,6 +6485,9 @@ export declare const CompoundButtonTemplate: ElementViewTemplate<CompoundButton>
6487
6485
  *
6488
6486
  * @tag fluent-counter-badge
6489
6487
  *
6488
+ * @slot start - Content which can be provided before the badge content.
6489
+ * @slot end - Content which can be provided after the badge content.
6490
+ *
6490
6491
  * @public
6491
6492
  */
6492
6493
  export declare class CounterBadge extends BaseCounterBadge {
@@ -6694,6 +6695,10 @@ export declare const curveLinear = "var(--curveLinear)";
6694
6695
  *
6695
6696
  * @tag fluent-dialog
6696
6697
  *
6698
+ * @fires { ToggleEvent } toggle - Event emitted after the dialog's open state changes.
6699
+ * @fires { ToggleEvent } beforetoggle - Event emitted before the dialog's open state changes.
6700
+ * @slot - The default slot. {@link (DialogBody:class)} element recommended.
6701
+ *
6697
6702
  * @public
6698
6703
  */
6699
6704
  export declare class Dialog extends FASTElement {
@@ -6804,6 +6809,15 @@ export declare class Dialog extends FASTElement {
6804
6809
  *
6805
6810
  * @tag fluent-dialog-body
6806
6811
  *
6812
+ * @slot title - Content for the dialog title.
6813
+ * @slot title-action - Content for actions shown near the title.
6814
+ * @slot close - Content for the close action.
6815
+ * @slot action - Content for footer actions.
6816
+ * @slot - Default dialog body content.
6817
+ * @csspart title - The title container.
6818
+ * @csspart content - The content container.
6819
+ * @csspart actions - The actions container.
6820
+ *
6807
6821
  * @public
6808
6822
  * @extends FASTElement
6809
6823
  */
@@ -7028,11 +7042,12 @@ export declare const DividerTemplate: ElementViewTemplate<Divider>;
7028
7042
  * @attr ariaLabelledby - The ID of the element that labels the drawer.
7029
7043
  *
7030
7044
  * @csspart dialog - The dialog element of the drawer.
7045
+ * @cssprop --drawer-width - Sets the width of the drawer to a custom value (e.g., 300px).
7031
7046
  *
7032
7047
  * @slot - Default slot for the content of the drawer.
7033
7048
  *
7034
- * @fires toggle - Event emitted after the dialog's open state changes.
7035
- * @fires beforetoggle - Event emitted before the dialog's open state changes.
7049
+ * @fires { ToggleEvent } toggle - Event emitted after the dialog's open state changes.
7050
+ * @fires { ToggleEvent } beforetoggle - Event emitted before the dialog's open state changes.
7036
7051
  *
7037
7052
  * @method show - Method to show the drawer.
7038
7053
  * @method hide - Method to hide the drawer.
@@ -7042,8 +7057,6 @@ export declare const DividerTemplate: ElementViewTemplate<Divider>;
7042
7057
  * @method emitBeforeToggle - Emits an event before the dialog's open state changes.
7043
7058
  *
7044
7059
  * @summary A component that provides a drawer for displaying content in a side panel.
7045
- *
7046
- * @tag fluent-drawer
7047
7060
  */
7048
7061
  export declare class Drawer extends FASTElement {
7049
7062
  /**
@@ -7348,8 +7361,11 @@ export declare const dropdownInputTemplate: ViewTemplate<BaseDropdown, any>;
7348
7361
  * @tag fluent-dropdown-option
7349
7362
  *
7350
7363
  * @slot - The default slot for the option's content.
7364
+ * @slot start - Optional content shown at the start of the option.
7351
7365
  * @slot checked-indicator - The checked indicator.
7352
7366
  * @slot description - Optional description content.
7367
+ * @csspart content - The wrapper for the option content.
7368
+ * @csspart description - The wrapper for the option description.
7353
7369
  *
7354
7370
  * @remarks
7355
7371
  * To support single and multiple selection modes with the {@link (BaseDropdown:class)} element, the Option element
@@ -7759,6 +7775,13 @@ export declare function endSlotTemplate<TSource extends StartEnd = StartEnd, TPa
7759
7775
  *
7760
7776
  * @tag fluent-field
7761
7777
  *
7778
+ * @slot label - Label content associated with the control.
7779
+ * @slot input - Input control content.
7780
+ * @slot message - Validation and helper message content.
7781
+ * @csspart label - The label slot container.
7782
+ * @csspart input - The input slot container.
7783
+ * @csspart message - The message slot container.
7784
+ *
7762
7785
  * @public
7763
7786
  */
7764
7787
  export declare class Field extends BaseField {
@@ -7930,6 +7953,8 @@ export declare const getDirection: (rootNode: HTMLElement) => Direction;
7930
7953
  *
7931
7954
  * @tag fluent-image
7932
7955
  *
7956
+ * @slot - The default slot. Accepts any `<img>`, `<picture>`, `<video>`, or `<canvas>` element.
7957
+ *
7933
7958
  * @public
7934
7959
  */
7935
7960
  declare class Image_2 extends FASTElement {
@@ -8091,6 +8116,9 @@ export declare function isTreeItem(element?: Node | null, tagName?: string): ele
8091
8116
  *
8092
8117
  * @tag fluent-label
8093
8118
  *
8119
+ * @slot - The default slot. Accepts the content of the label.
8120
+ * @csspart asterisk - The required-field asterisk indicator.
8121
+ *
8094
8122
  * @public
8095
8123
  */
8096
8124
  export declare class Label extends FASTElement {
@@ -8811,7 +8839,7 @@ export declare const MenuDefinition: FASTElementDefinition<typeof Menu>;
8811
8839
  * @slot submenu-glyph - The submenu expand/collapse indicator
8812
8840
  * @slot submenu - Used to nest menu's within menu items
8813
8841
  * @csspart content - The element wrapping the menu item content
8814
- * @fires change - Fires a custom 'change' event when a non-submenu item with a role of `menuitemcheckbox`, `menuitemradio`, or `menuitem` is invoked
8842
+ * @fires { Event } change - Fires a custom 'change' event when a non-submenu item with a role of `menuitemcheckbox`, `menuitemradio`, or `menuitem` is invoked
8815
8843
  *
8816
8844
  * @public
8817
8845
  */
@@ -9027,7 +9055,9 @@ export declare const MenuTemplate: ElementViewTemplate<Menu>;
9027
9055
  *
9028
9056
  * @slot actions - Content that can be provided for the actions
9029
9057
  * @slot dismiss - Content that can be provided for the dismiss button
9058
+ * @slot icon - Content that can be provided for the leading icon
9030
9059
  * @slot - The default slot for the content
9060
+ * @fires { CustomEvent } dismiss - Fired when the message bar is dismissed.
9031
9061
  * @public
9032
9062
  */
9033
9063
  export declare class MessageBar extends FASTElement {
@@ -9150,6 +9180,7 @@ export declare type Orientation = (typeof Orientation)[keyof typeof Orientation]
9150
9180
  * Based on BaseProgressBar and includes style and layout specific attributes
9151
9181
  *
9152
9182
  * @tag fluent-progress-bar
9183
+ * @csspart indicator - The internal progress indicator element.
9153
9184
  *
9154
9185
  * @public
9155
9186
  */
@@ -9247,8 +9278,9 @@ declare type PropertyNameForCalculation = 'max' | 'value';
9247
9278
  * @tag fluent-radio
9248
9279
  *
9249
9280
  * @slot checked-indicator - The checked indicator slot
9250
- * @fires change - Emits a custom change event when the checked state changes
9251
- * @fires input - Emits a custom input event when the checked state changes
9281
+ * @fires {Event} change - Emits a custom change event when the checked state changes
9282
+ * @fires {Event} input - Emits a custom input event when the checked state changes
9283
+ * @fires {CustomEvent} disabled - Emits a custom disabled event when the disabled state changes
9252
9284
  *
9253
9285
  * @public
9254
9286
  */
@@ -9324,6 +9356,7 @@ export declare const RadioDefinition: FASTElementDefinition<typeof Radio>;
9324
9356
  * @tag fluent-radio-group
9325
9357
  *
9326
9358
  * @slot - The default slot for the radio group
9359
+ * @fires { Event } change - Fired when the selected radio changes.
9327
9360
  *
9328
9361
  * @public
9329
9362
  */
@@ -9586,7 +9619,7 @@ export declare const shadow8Brand = "var(--shadow8Brand)";
9586
9619
  * @slot thumb - The slot for a custom thumb element.
9587
9620
  * @csspart thumb-container - The container element of the thumb.
9588
9621
  * @csspart track-container - The container element of the track.
9589
- * @fires change - Fires a custom 'change' event when the value changes.
9622
+ * @fires { Event } change - Fires a custom 'change' event when the value changes.
9590
9623
  *
9591
9624
  * @public
9592
9625
  */
@@ -10321,6 +10354,7 @@ export { styles as MenuButtonStyles }
10321
10354
  * Based on BaseCheckbox and includes style and layout specific attributes
10322
10355
  *
10323
10356
  * @tag fluent-switch
10357
+ * @csspart checked-indicator - The internal switch indicator element.
10324
10358
  *
10325
10359
  */
10326
10360
  export declare class Switch extends BaseCheckbox {
@@ -10400,6 +10434,7 @@ export declare const TabDefinition: FASTElementDefinition<typeof Tab>;
10400
10434
  * A Tablist component.
10401
10435
  *
10402
10436
  * @tag fluent-tablist
10437
+ * @fires { Event } change - Fired when the active tab changes.
10403
10438
  *
10404
10439
  * @public
10405
10440
  */
@@ -10499,6 +10534,8 @@ export declare const TabTemplate: ElementViewTemplate<Tab, any>;
10499
10534
  *
10500
10535
  * @tag fluent-text
10501
10536
  *
10537
+ * @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.
10538
+ *
10502
10539
  * @public
10503
10540
  */
10504
10541
  declare class Text_2 extends FASTElement {
@@ -10766,6 +10803,8 @@ export declare type TextFont = ValuesOf<typeof TextFont>;
10766
10803
  * Based on BaseTextInput and includes style and layout specific attributes
10767
10804
  *
10768
10805
  * @tag fluent-text-input
10806
+ * @fires { Event } change - Fired when the input value is committed via a change event.
10807
+ * @fires { Event } select - Fires when the `select()` method is called.
10769
10808
  *
10770
10809
  * @public
10771
10810
  */
@@ -11057,6 +11096,8 @@ export declare const ToggleButtonTemplate: ElementViewTemplate<ToggleButton>;
11057
11096
  *
11058
11097
  * @tag fluent-tooltip
11059
11098
  *
11099
+ * @slot - The default slot. Accepts the content of the tooltip.
11100
+ *
11060
11101
  * @public
11061
11102
  */
11062
11103
  export declare class Tooltip extends FASTElement {
@@ -11251,6 +11292,21 @@ export declare const TreeDefinition: FASTElementDefinition<typeof Tree>;
11251
11292
  *
11252
11293
  * @tag fluent-tree-item
11253
11294
  *
11295
+ * @slot - The default slot. Accepts the content of the tree item.
11296
+ * @slot start - Content shown before the item label.
11297
+ * @slot end - Content shown after the item label.
11298
+ * @slot aside - Content shown at the far end of the row.
11299
+ * @slot item - Child tree items.
11300
+ *
11301
+ * @csspart positioning-region - The container for item content and aside regions.
11302
+ * @csspart content - The item content region.
11303
+ * @csspart chevron - The expand/collapse indicator region.
11304
+ * @csspart aside - The trailing aside region.
11305
+ * @csspart items - The child items group region.
11306
+ *
11307
+ * @fires { ToggleEvent } toggle - Fired when expanded state toggles.
11308
+ * @fires { Event } change - Fired when selected state changes.
11309
+ *
11254
11310
  */
11255
11311
  export declare class TreeItem extends BaseTreeItem {
11256
11312
  /**