@fabric-msft/fabric-web 7.0.0 → 7.3.1

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 (281) hide show
  1. package/dts/components/card/card.d.ts +0 -5
  2. package/dts/components/card/card.d.ts.map +1 -1
  3. package/dts/components/carousel/carousel.d.ts +6 -42
  4. package/dts/components/carousel/carousel.d.ts.map +1 -1
  5. package/dts/components/carousel/carousel.styles.d.ts.map +1 -1
  6. package/dts/components/carousel/carousel.template.d.ts.map +1 -1
  7. package/dts/components/carousel/define.d.ts.map +1 -1
  8. package/dts/components/carousel-nav/carousel-nav.d.ts +10 -0
  9. package/dts/components/carousel-nav/carousel-nav.d.ts.map +1 -1
  10. package/dts/components/carousel-nav/carousel-nav.template.d.ts.map +1 -1
  11. package/dts/components/carousel-viewport/carousel-viewport.d.ts +34 -0
  12. package/dts/components/carousel-viewport/carousel-viewport.d.ts.map +1 -0
  13. package/dts/components/carousel-viewport/carousel-viewport.definition.d.ts +9 -0
  14. package/dts/components/carousel-viewport/carousel-viewport.definition.d.ts.map +1 -0
  15. package/dts/components/carousel-viewport/carousel-viewport.styles.d.ts +7 -0
  16. package/dts/components/carousel-viewport/carousel-viewport.styles.d.ts.map +1 -0
  17. package/dts/components/carousel-viewport/carousel-viewport.template.d.ts +9 -0
  18. package/dts/components/carousel-viewport/carousel-viewport.template.d.ts.map +1 -0
  19. package/dts/components/carousel-viewport/define.d.ts +2 -0
  20. package/dts/components/carousel-viewport/define.d.ts.map +1 -0
  21. package/dts/components/carousel-viewport/index.d.ts +5 -0
  22. package/dts/components/carousel-viewport/index.d.ts.map +1 -0
  23. package/dts/components/dynamic-tab/define.d.ts +2 -0
  24. package/dts/components/dynamic-tab/define.d.ts.map +1 -0
  25. package/dts/components/dynamic-tab/dynamic-tab.d.ts +142 -0
  26. package/dts/components/dynamic-tab/dynamic-tab.d.ts.map +1 -0
  27. package/dts/components/dynamic-tab/dynamic-tab.definition.d.ts +10 -0
  28. package/dts/components/dynamic-tab/dynamic-tab.definition.d.ts.map +1 -0
  29. package/dts/components/dynamic-tab/dynamic-tab.options.d.ts +10 -0
  30. package/dts/components/dynamic-tab/dynamic-tab.options.d.ts.map +1 -0
  31. package/dts/components/dynamic-tab/dynamic-tab.styles.d.ts +6 -0
  32. package/dts/components/dynamic-tab/dynamic-tab.styles.d.ts.map +1 -0
  33. package/dts/components/dynamic-tab/dynamic-tab.template.d.ts +13 -0
  34. package/dts/components/dynamic-tab/dynamic-tab.template.d.ts.map +1 -0
  35. package/dts/components/dynamic-tab/index.d.ts +6 -0
  36. package/dts/components/dynamic-tab/index.d.ts.map +1 -0
  37. package/dts/components/dynamic-tab-list/define.d.ts +2 -0
  38. package/dts/components/dynamic-tab-list/define.d.ts.map +1 -0
  39. package/dts/components/dynamic-tab-list/dynamic-tab-list.d.ts +360 -0
  40. package/dts/components/dynamic-tab-list/dynamic-tab-list.d.ts.map +1 -0
  41. package/dts/components/dynamic-tab-list/dynamic-tab-list.definition.d.ts +7 -0
  42. package/dts/components/dynamic-tab-list/dynamic-tab-list.definition.d.ts.map +1 -0
  43. package/dts/components/dynamic-tab-list/dynamic-tab-list.options.d.ts +24 -0
  44. package/dts/components/dynamic-tab-list/dynamic-tab-list.options.d.ts.map +1 -0
  45. package/dts/components/dynamic-tab-list/dynamic-tab-list.styles.d.ts +6 -0
  46. package/dts/components/dynamic-tab-list/dynamic-tab-list.styles.d.ts.map +1 -0
  47. package/dts/components/dynamic-tab-list/dynamic-tab-list.template.d.ts +13 -0
  48. package/dts/components/dynamic-tab-list/dynamic-tab-list.template.d.ts.map +1 -0
  49. package/dts/components/dynamic-tab-list/index.d.ts +7 -0
  50. package/dts/components/dynamic-tab-list/index.d.ts.map +1 -0
  51. package/dts/components/empty-state/define.d.ts +2 -0
  52. package/dts/components/empty-state/define.d.ts.map +1 -0
  53. package/dts/components/empty-state/empty-state.d.ts +32 -0
  54. package/dts/components/empty-state/empty-state.d.ts.map +1 -0
  55. package/dts/components/empty-state/empty-state.definition.d.ts +10 -0
  56. package/dts/components/empty-state/empty-state.definition.d.ts.map +1 -0
  57. package/dts/components/empty-state/empty-state.styles.d.ts +6 -0
  58. package/dts/components/empty-state/empty-state.styles.d.ts.map +1 -0
  59. package/dts/components/empty-state/empty-state.template.d.ts +9 -0
  60. package/dts/components/empty-state/empty-state.template.d.ts.map +1 -0
  61. package/dts/components/empty-state/index.d.ts +5 -0
  62. package/dts/components/empty-state/index.d.ts.map +1 -0
  63. package/dts/components/field/field.d.ts +44 -3
  64. package/dts/components/field/field.d.ts.map +1 -1
  65. package/dts/components/menu/index.d.ts +2 -2
  66. package/dts/components/menu/index.d.ts.map +1 -1
  67. package/dts/components/menu/menu.d.ts +17 -1
  68. package/dts/components/menu/menu.d.ts.map +1 -1
  69. package/dts/components/menu/menu.options.d.ts +15 -0
  70. package/dts/components/menu/menu.options.d.ts.map +1 -1
  71. package/dts/components/menu/menu.positioning.d.ts +8 -2
  72. package/dts/components/menu/menu.positioning.d.ts.map +1 -1
  73. package/dts/components/menu/menu.styles.d.ts.map +1 -1
  74. package/dts/components/menu-button/menu-button.d.ts +2 -2
  75. package/dts/components/menu-button/menu-button.definition.d.ts.map +1 -1
  76. package/dts/components/menu-button/menu-button.styles.d.ts +11 -0
  77. package/dts/components/menu-button/menu-button.styles.d.ts.map +1 -0
  78. package/dts/components/menu-item/menu-item.styles.d.ts.map +1 -1
  79. package/dts/components/menu-list/menu-list.styles.d.ts.map +1 -1
  80. package/dts/components/modal/define.d.ts +4 -0
  81. package/dts/components/modal/define.d.ts.map +1 -0
  82. package/dts/components/modal/index.d.ts +9 -0
  83. package/dts/components/modal/index.d.ts.map +1 -0
  84. package/dts/components/modal/modal.d.ts +209 -0
  85. package/dts/components/modal/modal.d.ts.map +1 -0
  86. package/dts/components/modal/modal.definition.d.ts +9 -0
  87. package/dts/components/modal/modal.definition.d.ts.map +1 -0
  88. package/dts/components/modal/modal.events.d.ts +26 -0
  89. package/dts/components/modal/modal.events.d.ts.map +1 -0
  90. package/dts/components/modal/modal.options.d.ts +15 -0
  91. package/dts/components/modal/modal.options.d.ts.map +1 -0
  92. package/dts/components/modal/modal.styles.d.ts +10 -0
  93. package/dts/components/modal/modal.styles.d.ts.map +1 -0
  94. package/dts/components/modal/modal.template.d.ts +12 -0
  95. package/dts/components/modal/modal.template.d.ts.map +1 -0
  96. package/dts/components/modal-fre-item/define.d.ts +2 -0
  97. package/dts/components/modal-fre-item/define.d.ts.map +1 -0
  98. package/dts/components/modal-fre-item/index.d.ts +3 -0
  99. package/dts/components/modal-fre-item/index.d.ts.map +1 -0
  100. package/dts/components/modal-fre-item/modal-fre-item.d.ts +65 -0
  101. package/dts/components/modal-fre-item/modal-fre-item.d.ts.map +1 -0
  102. package/dts/components/modal-fre-item/modal-fre-item.definition.d.ts +10 -0
  103. package/dts/components/modal-fre-item/modal-fre-item.definition.d.ts.map +1 -0
  104. package/dts/components/modal-fre-item/modal-fre-item.styles.d.ts +7 -0
  105. package/dts/components/modal-fre-item/modal-fre-item.styles.d.ts.map +1 -0
  106. package/dts/components/modal-fre-item/modal-fre-item.template.d.ts +11 -0
  107. package/dts/components/modal-fre-item/modal-fre-item.template.d.ts.map +1 -0
  108. package/dts/components/radio-group/radio-group.d.ts +15 -0
  109. package/dts/components/radio-group/radio-group.d.ts.map +1 -1
  110. package/dts/components/slider/slider.d.ts +2 -0
  111. package/dts/components/slider/slider.d.ts.map +1 -1
  112. package/dts/components/slider/slider.definition.d.ts.map +1 -1
  113. package/dts/components/slider/slider.styles.d.ts +10 -0
  114. package/dts/components/slider/slider.styles.d.ts.map +1 -0
  115. package/dts/components/slider/slider.template.d.ts +4 -0
  116. package/dts/components/slider/slider.template.d.ts.map +1 -0
  117. package/dts/components/styles/patterns/patterns.d.ts +8 -0
  118. package/dts/components/styles/patterns/patterns.d.ts.map +1 -0
  119. package/dts/index.d.ts +7 -0
  120. package/dts/index.d.ts.map +1 -1
  121. package/dts/util/a11y-playwright-utils.d.ts +7 -0
  122. package/dts/util/a11y-playwright-utils.d.ts.map +1 -0
  123. package/dts/util/carousel-controller.d.ts +120 -0
  124. package/dts/util/carousel-controller.d.ts.map +1 -0
  125. package/dts/util/icons.d.ts +15 -0
  126. package/dts/util/icons.d.ts.map +1 -1
  127. package/dts/util/index.d.ts +1 -0
  128. package/dts/util/index.d.ts.map +1 -1
  129. package/esm/components/accordion-menu-panel/accordion-menu-panel.styles.js +1 -1
  130. package/esm/components/card/card.js +0 -5
  131. package/esm/components/card/card.js.map +1 -1
  132. package/esm/components/card-header/card-header.styles.js +2 -2
  133. package/esm/components/card-header/card-header.styles.js.map +1 -1
  134. package/esm/components/carousel/carousel.js +30 -98
  135. package/esm/components/carousel/carousel.js.map +1 -1
  136. package/esm/components/carousel/carousel.styles.js +2 -2
  137. package/esm/components/carousel/carousel.styles.js.map +1 -1
  138. package/esm/components/carousel/carousel.template.js +3 -3
  139. package/esm/components/carousel/carousel.template.js.map +1 -1
  140. package/esm/components/carousel/define.js +5 -3
  141. package/esm/components/carousel/define.js.map +1 -1
  142. package/esm/components/carousel-item/carousel-item.template.js +1 -1
  143. package/esm/components/carousel-item/carousel-item.template.js.map +1 -1
  144. package/esm/components/carousel-nav/carousel-nav.js +12 -0
  145. package/esm/components/carousel-nav/carousel-nav.js.map +1 -1
  146. package/esm/components/carousel-nav/carousel-nav.styles.js +1 -0
  147. package/esm/components/carousel-nav/carousel-nav.template.js +4 -3
  148. package/esm/components/carousel-nav/carousel-nav.template.js.map +1 -1
  149. package/esm/components/carousel-nav-item/carousel-nav-item.styles.js +1 -0
  150. package/esm/components/carousel-viewport/carousel-viewport.definition.js +21 -0
  151. package/esm/components/carousel-viewport/carousel-viewport.definition.js.map +1 -0
  152. package/esm/components/carousel-viewport/carousel-viewport.js +37 -0
  153. package/esm/components/carousel-viewport/carousel-viewport.js.map +1 -0
  154. package/esm/components/carousel-viewport/carousel-viewport.styles.js +11 -0
  155. package/esm/components/carousel-viewport/carousel-viewport.styles.js.map +1 -0
  156. package/esm/components/carousel-viewport/carousel-viewport.template.js +15 -0
  157. package/esm/components/carousel-viewport/carousel-viewport.template.js.map +1 -0
  158. package/esm/components/carousel-viewport/define.js +4 -0
  159. package/esm/components/carousel-viewport/define.js.map +1 -0
  160. package/esm/components/carousel-viewport/index.js +5 -0
  161. package/esm/components/carousel-viewport/index.js.map +1 -0
  162. package/esm/components/dynamic-tab/define.js +4 -0
  163. package/esm/components/dynamic-tab/define.js.map +1 -0
  164. package/esm/components/dynamic-tab/dynamic-tab.definition.js +27 -0
  165. package/esm/components/dynamic-tab/dynamic-tab.definition.js.map +1 -0
  166. package/esm/components/dynamic-tab/dynamic-tab.js +232 -0
  167. package/esm/components/dynamic-tab/dynamic-tab.js.map +1 -0
  168. package/esm/components/dynamic-tab/dynamic-tab.options.js +11 -0
  169. package/esm/components/dynamic-tab/dynamic-tab.options.js.map +1 -0
  170. package/esm/components/dynamic-tab/dynamic-tab.styles.js +13 -0
  171. package/esm/components/dynamic-tab/dynamic-tab.styles.js.map +1 -0
  172. package/esm/components/dynamic-tab/dynamic-tab.template.js +18 -0
  173. package/esm/components/dynamic-tab/dynamic-tab.template.js.map +1 -0
  174. package/esm/components/dynamic-tab/index.js +6 -0
  175. package/esm/components/dynamic-tab/index.js.map +1 -0
  176. package/esm/components/dynamic-tab-list/define.js +12 -0
  177. package/esm/components/dynamic-tab-list/define.js.map +1 -0
  178. package/esm/components/dynamic-tab-list/dynamic-tab-list.definition.js +19 -0
  179. package/esm/components/dynamic-tab-list/dynamic-tab-list.definition.js.map +1 -0
  180. package/esm/components/dynamic-tab-list/dynamic-tab-list.js +788 -0
  181. package/esm/components/dynamic-tab-list/dynamic-tab-list.js.map +1 -0
  182. package/esm/components/dynamic-tab-list/dynamic-tab-list.options.js +19 -0
  183. package/esm/components/dynamic-tab-list/dynamic-tab-list.options.js.map +1 -0
  184. package/esm/components/dynamic-tab-list/dynamic-tab-list.styles.js +11 -0
  185. package/esm/components/dynamic-tab-list/dynamic-tab-list.styles.js.map +1 -0
  186. package/esm/components/dynamic-tab-list/dynamic-tab-list.template.js +41 -0
  187. package/esm/components/dynamic-tab-list/dynamic-tab-list.template.js.map +1 -0
  188. package/esm/components/dynamic-tab-list/index.js +6 -0
  189. package/esm/components/dynamic-tab-list/index.js.map +1 -0
  190. package/esm/components/empty-state/define.js +4 -0
  191. package/esm/components/empty-state/define.js.map +1 -0
  192. package/esm/components/empty-state/empty-state.definition.js +22 -0
  193. package/esm/components/empty-state/empty-state.definition.js.map +1 -0
  194. package/esm/components/empty-state/empty-state.js +33 -0
  195. package/esm/components/empty-state/empty-state.js.map +1 -0
  196. package/esm/components/empty-state/empty-state.styles.js +11 -0
  197. package/esm/components/empty-state/empty-state.styles.js.map +1 -0
  198. package/esm/components/empty-state/empty-state.template.js +12 -0
  199. package/esm/components/empty-state/empty-state.template.js.map +1 -0
  200. package/esm/components/empty-state/index.js +5 -0
  201. package/esm/components/empty-state/index.js.map +1 -0
  202. package/esm/components/field/field.js +91 -5
  203. package/esm/components/field/field.js.map +1 -1
  204. package/esm/components/filter-pill/filter-pill.styles.js +1 -0
  205. package/esm/components/menu/index.js +1 -1
  206. package/esm/components/menu/index.js.map +1 -1
  207. package/esm/components/menu/menu.js +30 -2
  208. package/esm/components/menu/menu.js.map +1 -1
  209. package/esm/components/menu/menu.options.js +11 -1
  210. package/esm/components/menu/menu.options.js.map +1 -1
  211. package/esm/components/menu/menu.positioning.js +32 -30
  212. package/esm/components/menu/menu.positioning.js.map +1 -1
  213. package/esm/components/menu/menu.styles.js +2 -1
  214. package/esm/components/menu/menu.styles.js.map +1 -1
  215. package/esm/components/menu-button/menu-button.definition.js +5 -2
  216. package/esm/components/menu-button/menu-button.definition.js.map +1 -1
  217. package/esm/components/menu-button/menu-button.js +2 -2
  218. package/esm/components/menu-button/menu-button.styles.js +18 -0
  219. package/esm/components/menu-button/menu-button.styles.js.map +1 -0
  220. package/esm/components/menu-item/menu-item.styles.js +1 -1
  221. package/esm/components/menu-item/menu-item.styles.js.map +1 -1
  222. package/esm/components/menu-list/menu-list.styles.js +2 -2
  223. package/esm/components/menu-list/menu-list.styles.js.map +1 -1
  224. package/esm/components/modal/define.js +9 -0
  225. package/esm/components/modal/define.js.map +1 -0
  226. package/esm/components/modal/index.js +7 -0
  227. package/esm/components/modal/index.js.map +1 -0
  228. package/esm/components/modal/modal.definition.js +29 -0
  229. package/esm/components/modal/modal.definition.js.map +1 -0
  230. package/esm/components/modal/modal.events.js +11 -0
  231. package/esm/components/modal/modal.events.js.map +1 -0
  232. package/esm/components/modal/modal.js +369 -0
  233. package/esm/components/modal/modal.js.map +1 -0
  234. package/esm/components/modal/modal.options.js +10 -0
  235. package/esm/components/modal/modal.options.js.map +1 -0
  236. package/esm/components/modal/modal.styles.js +14 -0
  237. package/esm/components/modal/modal.styles.js.map +1 -0
  238. package/esm/components/modal/modal.template.js +23 -0
  239. package/esm/components/modal/modal.template.js.map +1 -0
  240. package/esm/components/modal-fre-item/define.js +4 -0
  241. package/esm/components/modal-fre-item/define.js.map +1 -0
  242. package/esm/components/modal-fre-item/index.js +3 -0
  243. package/esm/components/modal-fre-item/index.js.map +1 -0
  244. package/esm/components/modal-fre-item/modal-fre-item.definition.js +27 -0
  245. package/esm/components/modal-fre-item/modal-fre-item.definition.js.map +1 -0
  246. package/esm/components/modal-fre-item/modal-fre-item.js +72 -0
  247. package/esm/components/modal-fre-item/modal-fre-item.js.map +1 -0
  248. package/esm/components/modal-fre-item/modal-fre-item.styles.js +11 -0
  249. package/esm/components/modal-fre-item/modal-fre-item.styles.js.map +1 -0
  250. package/esm/components/modal-fre-item/modal-fre-item.template.js +16 -0
  251. package/esm/components/modal-fre-item/modal-fre-item.template.js.map +1 -0
  252. package/esm/components/radio-group/radio-group.js +20 -1
  253. package/esm/components/radio-group/radio-group.js.map +1 -1
  254. package/esm/components/simple-table/simple-table.styles.js +1 -0
  255. package/esm/components/slider/slider.definition.js +4 -3
  256. package/esm/components/slider/slider.definition.js.map +1 -1
  257. package/esm/components/slider/slider.js +2 -0
  258. package/esm/components/slider/slider.js.map +1 -1
  259. package/esm/components/slider/slider.styles.js +24 -0
  260. package/esm/components/slider/slider.styles.js.map +1 -0
  261. package/esm/components/slider/slider.template.js +17 -0
  262. package/esm/components/slider/slider.template.js.map +1 -0
  263. package/esm/components/styles/patterns/patterns.js +11 -0
  264. package/esm/components/styles/patterns/patterns.js.map +1 -0
  265. package/esm/index.js +25 -0
  266. package/esm/index.js.map +1 -1
  267. package/esm/util/a11y-playwright-utils.js +11 -0
  268. package/esm/util/a11y-playwright-utils.js.map +1 -0
  269. package/esm/util/carousel-controller.js +153 -0
  270. package/esm/util/carousel-controller.js.map +1 -0
  271. package/esm/util/icons.js +16 -1
  272. package/esm/util/icons.js.map +1 -1
  273. package/esm/util/index.js +1 -0
  274. package/esm/util/index.js.map +1 -1
  275. package/index.d.ts +2125 -957
  276. package/index.d.ts.map +1 -1
  277. package/index.js +6812 -4700
  278. package/index.js.map +1 -1
  279. package/index.min.js +108 -88
  280. package/index.min.js.map +1 -1
  281. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as _microsoft_fast_element from '@microsoft/fast-element';
2
- import { FASTElement, ElementViewTemplate, ElementStyles, HTMLDirective, SyntheticViewTemplate, CaptureType, ElementsFilter } from '@microsoft/fast-element';
2
+ import { FASTElement, ElementViewTemplate, ElementStyles, Subscriber, HTMLDirective, SyntheticViewTemplate, CaptureType, ElementsFilter } from '@microsoft/fast-element';
3
3
  import * as _fluentui_web_components from '@fluentui/web-components';
4
- import { BaseButton, Button as Button$1, AccordionItem as AccordionItem$1, Accordion as Accordion$1, Link as Link$1, Avatar as Avatar$1, Badge as Badge$1, Checkbox as Checkbox$1, CounterBadge as CounterBadge$1, Dialog as Dialog$1, DialogBody as DialogBody$1, Divider as Divider$1, Drawer as Drawer$1, DrawerBody as DrawerBody$1, Dropdown as Dropdown$1, DropdownOption as DropdownOption$1, Listbox as Listbox$1, Field as Field$1, SlottableInput as SlottableInput$1, Image as Image$1, Label as Label$1, AnchorButton as AnchorButton$1, MessageBar as MessageBar$1, MenuButton as MenuButton$1, ProgressBar as ProgressBar$1, RadioGroup as RadioGroup$1, Radio as Radio$1, RatingDisplay as RatingDisplay$1, StartEndOptions, StartEnd, Slider as Slider$1, Spinner as Spinner$1, Switch as Switch$1, Tab as Tab$1, Tablist as Tablist$1, TextArea as TextArea$1, TextAreaAppearance, Text as Text$1, Tree as Tree$1, TreeItem as TreeItem$1, ToggleButton as ToggleButton$1, Tooltip as Tooltip$1 } from '@fluentui/web-components';
4
+ import { BaseButton, Dialog as Dialog$1, Button as Button$1, AccordionItem as AccordionItem$1, Accordion as Accordion$1, Link as Link$1, Avatar as Avatar$1, Badge as Badge$1, Checkbox as Checkbox$1, CounterBadge as CounterBadge$1, DialogBody as DialogBody$1, Divider as Divider$1, Drawer as Drawer$1, DrawerBody as DrawerBody$1, Dropdown as Dropdown$1, DropdownOption as DropdownOption$1, Listbox as Listbox$1, Field as Field$1, SlottableInput as SlottableInput$1, Image as Image$1, Label as Label$1, AnchorButton as AnchorButton$1, MessageBar as MessageBar$1, MenuButton as MenuButton$1, ProgressBar as ProgressBar$1, RadioGroup as RadioGroup$1, Radio as Radio$1, RatingDisplay as RatingDisplay$1, StartEndOptions, StartEnd, Slider as Slider$1, Spinner as Spinner$1, Switch as Switch$1, Tab as Tab$1, Tablist as Tablist$1, TextArea as TextArea$1, TextAreaAppearance, Text as Text$1, Tree as Tree$1, TreeItem as TreeItem$1, ToggleButton as ToggleButton$1, Tooltip as Tooltip$1 } from '@fluentui/web-components';
5
5
  export { AnchorButtonTemplate, AvatarStyles, AvatarTemplate, BadgeStyles, BadgeTemplate, BaseAccordionItem, BaseAnchor, BaseAvatar, BaseButton, BaseCheckbox, BaseDivider, BaseField, BaseProgressBar, BaseRatingDisplay, BaseSpinner, BaseTablist, BaseTextArea, BaseTextInput, CheckboxOptions, CheckboxStyles, CheckboxTemplate, DialogBodyStyles, DialogBodyTemplate, DialogTemplate, ListboxStyles, ListboxTemplate, MenuButtonOptions, MessageBarIntent, MessageBarLayout, MessageBarShape, MessageBarStyles, MessageBarTemplate, SliderConfiguration, SliderOptions, SwitchStyles, SwitchTemplate, TabOptions, TextAreaStyles, TextAreaTemplate, TreeStyles, TreeTemplate, isDropdownOption, isListbox } from '@fluentui/web-components';
6
6
  import { OverflowItemEntry, OverflowGroupState } from '@fluentui/priority-overflow';
7
7
  export { OverflowGroupState, OverflowItemEntry } from '@fluentui/priority-overflow';
@@ -139,9 +139,9 @@ declare class AccordionMenu extends FASTElement {
139
139
  private removeItemListeners;
140
140
  }
141
141
 
142
- declare const template$i: ElementViewTemplate<AccordionMenu>;
142
+ declare const template$m: ElementViewTemplate<AccordionMenu>;
143
143
 
144
- declare const styles$o: _microsoft_fast_element.ElementStyles;
144
+ declare const styles$s: _microsoft_fast_element.ElementStyles;
145
145
 
146
146
  /**
147
147
  *
@@ -149,7 +149,7 @@ declare const styles$o: _microsoft_fast_element.ElementStyles;
149
149
  * @remarks
150
150
  * HTML Element: <fabric-accordion-menu>
151
151
  */
152
- declare const definition$1a: _microsoft_fast_element.FASTElementDefinition<typeof AccordionMenu>;
152
+ declare const definition$1f: _microsoft_fast_element.FASTElementDefinition<typeof AccordionMenu>;
153
153
 
154
154
  /**
155
155
  * An Accordion Menu Panel header font size can be small, medium, large, and extra-large
@@ -457,11 +457,11 @@ declare class AccordionMenuPanel extends FASTElement {
457
457
  * The template for the accordion menu panel component.
458
458
  * @public
459
459
  */
460
- declare const template$h: ElementViewTemplate<AccordionMenuPanel>;
460
+ declare const template$l: ElementViewTemplate<AccordionMenuPanel>;
461
461
 
462
- declare const styles$n: _microsoft_fast_element.ElementStyles;
462
+ declare const styles$r: _microsoft_fast_element.ElementStyles;
463
463
 
464
- declare const definition$19: _microsoft_fast_element.FASTElementDefinition<typeof AccordionMenuPanel>;
464
+ declare const definition$1e: _microsoft_fast_element.FASTElementDefinition<typeof AccordionMenuPanel>;
465
465
 
466
466
  /**
467
467
  * The appearance variations for the card component
@@ -587,11 +587,6 @@ declare const CardEventNames: {
587
587
  *
588
588
  * @slot default - Default slot for the card's content.
589
589
  *
590
- * @csspart card - Styles the main card surface element.
591
- * @csspart root - Styles the outermost root container element.
592
- * @csspart header - Styles the header region of the card.
593
- * @csspart content - Styles the content container region of the card.
594
- *
595
590
  * @cssprop --card-width - Controls the card width (any valid CSS length).
596
591
  * @cssprop --card-height - Controls the card height (defaults to fit-content).
597
592
  * @cssprop --card-elevation - Controls the card elevation level for visual stacking.
@@ -809,14 +804,14 @@ declare class Card extends FASTElement {
809
804
  * @remarks
810
805
  * HTML Element: <fabric-card>
811
806
  */
812
- declare const definition$18: _microsoft_fast_element.FASTElementDefinition<typeof Card>;
807
+ declare const definition$1d: _microsoft_fast_element.FASTElementDefinition<typeof Card>;
813
808
 
814
809
  /** Card styles
815
810
  * @public
816
811
  */
817
- declare const styles$m: _microsoft_fast_element.ElementStyles;
812
+ declare const styles$q: _microsoft_fast_element.ElementStyles;
818
813
 
819
- declare const template$g: ElementViewTemplate<Card>;
814
+ declare const template$k: ElementViewTemplate<Card>;
820
815
 
821
816
  /**
822
817
  * CardFooter
@@ -852,7 +847,7 @@ declare class CardFooter extends FASTElement {
852
847
  * @remarks
853
848
  * HTML Element: <fabric-card-footer>
854
849
  */
855
- declare const definition$17: _microsoft_fast_element.FASTElementDefinition<typeof CardFooter>;
850
+ declare const definition$1c: _microsoft_fast_element.FASTElementDefinition<typeof CardFooter>;
856
851
 
857
852
  /**
858
853
  * CardHeader
@@ -895,7 +890,7 @@ declare class CardHeader extends FASTElement {
895
890
  * @remarks
896
891
  * HTML Element: <fabric-card-header>
897
892
  */
898
- declare const definition$16: _microsoft_fast_element.FASTElementDefinition<typeof CardHeader>;
893
+ declare const definition$1b: _microsoft_fast_element.FASTElementDefinition<typeof CardHeader>;
899
894
 
900
895
  /**
901
896
  * CardPreview
@@ -925,7 +920,7 @@ declare class CardPreview extends FASTElement {
925
920
  * @remarks
926
921
  * HTML Element: <fabric-card-preview>
927
922
  */
928
- declare const definition$15: _microsoft_fast_element.FASTElementDefinition<typeof CardPreview>;
923
+ declare const definition$1a: _microsoft_fast_element.FASTElementDefinition<typeof CardPreview>;
929
924
 
930
925
  /**
931
926
  * Button placement options for carousel navigation
@@ -1006,149 +1001,122 @@ declare class CarouselItem extends FASTElement {
1006
1001
  }
1007
1002
 
1008
1003
  /**
1009
- * @summary A single tab indicator within the carousel navigation.
1010
- *
1011
- * @example
1012
- * ```html
1013
- * <fabric-carousel-nav-item active></fabric-carousel-nav-item>
1014
- * ```
1015
- *
1016
- * @attr {boolean} active - Whether this nav item represents the current step.
1017
- *
1018
- * @prop {boolean} active - Whether this nav item represents the current step.
1019
- * @prop {string} tabId - Unique ID for this tab (set by parent).
1020
- * @prop {string} panelId - ID of the controlled panel (for aria-controls).
1021
- * @prop {string} tabLabel - Accessible label for the tab (e.g., "Slide 1").
1022
- *
1023
- * @slot default - Custom content (default renders a dot).
1024
- *
1025
- * @extends FASTElement
1026
- * @tagname fabric-carousel-nav-item
1004
+ * Interface for items managed by a {@link CarouselController}.
1005
+ * Any element implementing this shape can be driven by the controller
1006
+ * (e.g. `CarouselItem`, `ModalFreItem`).
1027
1007
  * @public
1028
1008
  */
1029
- declare class CarouselNavItem extends FASTElement {
1030
- /**
1031
- * Whether this nav item represents the current step.
1032
- * @public
1033
- */
1009
+ interface CarouselManagedItem {
1034
1010
  active: boolean;
1035
- /**
1036
- * Unique ID for this tab.
1037
- * Set by the parent navigation component.
1038
- * @internal
1039
- */
1040
- tabId?: string;
1041
- /**
1042
- * ID of the controlled tabpanel (for aria-controls).
1043
- * Set by the parent navigation component.
1044
- * @internal
1045
- */
1046
1011
  panelId?: string;
1012
+ tabId?: string;
1013
+ label?: string;
1014
+ }
1015
+ /**
1016
+ * Options for creating a CarouselController.
1017
+ * @public
1018
+ */
1019
+ interface CarouselControllerOptions {
1047
1020
  /**
1048
- * Accessible label for the tab.
1049
- * Set by the parent navigation component.
1050
- * @internal
1021
+ * Optional prefix for generated IDs.
1022
+ * Defaults to an auto-incrementing "carousel-N" value.
1051
1023
  */
1052
- tabLabel?: string;
1024
+ idPrefix?: string;
1053
1025
  }
1054
-
1055
1026
  /**
1056
- * @summary Navigation container with step indicators and prev/next buttons.
1057
- *
1058
- * @example
1059
- * ```html
1060
- * <fabric-carousel-nav button-placement="grouped">
1061
- * <fabric-carousel-nav-item active></fabric-carousel-nav-item>
1062
- * <fabric-carousel-nav-item></fabric-carousel-nav-item>
1063
- * <fabric-carousel-nav-item></fabric-carousel-nav-item>
1064
- * </fabric-carousel-nav>
1065
- * ```
1066
- *
1067
- * @attr {string} button-placement - Positioning of prev/next buttons.
1068
- * @attr {number} current-index - Currently selected nav item index.
1069
- *
1070
- * @prop {CarouselNavButtonPlacement} buttonPlacement - Button positioning.
1071
- * @prop {number} currentIndex - Currently selected nav item index.
1072
- *
1073
- * @slot default - Slot for fabric-carousel-nav-item elements.
1027
+ * Framework-agnostic controller that manages carousel state and navigation.
1074
1028
  *
1075
- * @fires select - Fired when a nav item is selected with detail { index }.
1076
- * @fires previous - Fired when prev button is clicked.
1077
- * @fires next - Fired when next button is clicked.
1029
+ * Both `fabric-carousel` and `fabric-modal` (FRE mode) instantiate this
1030
+ * controller. It owns:
1031
+ * - `currentIndex` / `totalItems` state
1032
+ * - `next()`, `prev()`, `scrollToIndex()` navigation
1033
+ * - Active-state synchronization on `CarouselItem` elements
1034
+ * - ARIA tab/panel ID generation
1078
1035
  *
1079
- * @extends FASTElement
1080
- * @tagname fabric-carousel-nav
1081
1036
  * @public
1082
1037
  */
1083
- declare class CarouselNav extends FASTElement {
1038
+ declare class CarouselController<T extends CarouselManagedItem = CarouselItem> {
1084
1039
  /**
1085
- * Positioning of prev/next buttons.
1086
- * @public
1040
+ * Counter for generating unique carousel IDs.
1041
+ * @internal
1087
1042
  */
1088
- buttonPlacement: CarouselNavButtonPlacement;
1043
+ private static idCounter;
1089
1044
  /**
1090
- * Currently selected nav item index.
1091
- * @public
1045
+ * Unique ID prefix for this controller instance.
1046
+ * @internal
1092
1047
  */
1093
- currentIndex: number;
1048
+ readonly idPrefix: string;
1094
1049
  /**
1095
- * Callback to parse current-index attribute.
1096
- * @internal
1050
+ * Index of the currently active item.
1051
+ * Setting this value calls {@link updateActiveStates} and invokes
1052
+ * the {@link onChange} callback when the value actually changes.
1053
+ * @public
1097
1054
  */
1098
- currentIndexChanged(_oldValue: string | number, newValue: string | number): void;
1055
+ private _currentIndex;
1056
+ get currentIndex(): number;
1057
+ set currentIndex(value: number);
1099
1058
  /**
1100
- * Roving focus controller for indicator keyboard navigation.
1101
- * @internal
1059
+ * The collection of carousel items managed by this controller.
1060
+ * Uses FAST Observable API so template bindings (e.g. `repeat`)
1061
+ * react when the array reference is replaced.
1062
+ * @public
1102
1063
  */
1103
- private rovingFocus;
1064
+ private _items;
1065
+ get items(): T[];
1066
+ set items(value: T[]);
1104
1067
  /**
1105
- * Manages event listeners for nav items.
1106
- * @internal
1068
+ * Total number of items.
1069
+ * Derives from the tracked `items` property so observers are notified
1070
+ * when the item array is replaced.
1071
+ * @public
1072
+ * @readonly
1107
1073
  */
1108
- private navItemEvents;
1074
+ get totalItems(): number;
1075
+ constructor(options?: CarouselControllerOptions);
1109
1076
  /**
1110
- * Slotted nav items.
1111
- * @internal
1077
+ * Advances to the next item if not at the end.
1078
+ * @public
1112
1079
  */
1113
- slottedNavItems: CarouselNavItem[];
1080
+ next(): void;
1114
1081
  /**
1115
- * Callback when nav items change.
1116
- * @internal
1082
+ * Moves to the previous item if not at the beginning.
1083
+ * @public
1117
1084
  */
1118
- slottedNavItemsChanged(oldValue: CarouselNavItem[], newValue: CarouselNavItem[]): void;
1085
+ prev(): void;
1119
1086
  /**
1120
- * Updates active states on nav items.
1121
- * @internal
1087
+ * Scrolls to the item at the specified index.
1088
+ * @param index - The target index.
1089
+ * @public
1122
1090
  */
1123
- private updateActiveStates;
1091
+ scrollToIndex(index: number): void;
1124
1092
  /**
1125
- * Handles keyboard events on indicators.
1126
- * Arrow keys are delegated to roving focus controller.
1127
- * Enter/Space selects the focused indicator.
1128
- * @internal
1093
+ * Synchronizes active state, panelId, and tabId on all items.
1094
+ * Clamps `currentIndex` to valid range.
1095
+ * @public
1129
1096
  */
1130
- private handleIndicatorKeydown;
1097
+ updateActiveStates(): void;
1131
1098
  /**
1132
- * Handles nav item click.
1099
+ * Applies active state, panelId, and tabId to all items
1100
+ * based on the current index. Does not clamp.
1133
1101
  * @internal
1134
1102
  */
1135
- private handleItemClick;
1103
+ private syncActiveStates;
1136
1104
  /**
1137
- * Handles prev button click.
1138
- * @internal
1105
+ * Gets the tab ID for a given index.
1106
+ * @public
1139
1107
  */
1140
- handlePrevClick(): void;
1108
+ getTabId(index: number): string;
1141
1109
  /**
1142
- * Handles next button click.
1143
- * @internal
1110
+ * Gets the panel ID for a given index.
1111
+ * @public
1144
1112
  */
1145
- handleNextClick(): void;
1113
+ getPanelId(index: number): string;
1146
1114
  /**
1147
- * Emits select event.
1148
- * @internal
1115
+ * Gets the tab label for a given index.
1116
+ * Uses the item's label if set, otherwise a localized "Slide N" label.
1117
+ * @public
1149
1118
  */
1150
- private emitSelect;
1151
- disconnectedCallback(): void;
1119
+ getTabLabel(index: number): string;
1152
1120
  }
1153
1121
 
1154
1122
  /**
@@ -1186,16 +1154,10 @@ declare class CarouselNav extends FASTElement {
1186
1154
  */
1187
1155
  declare class Carousel extends FASTElement {
1188
1156
  /**
1189
- * Counter for generating unique carousel IDs.
1190
- * @internal
1191
- */
1192
- private static idCounter;
1193
- /**
1194
- * Unique ID for this carousel instance.
1195
- * Used to generate unique IDs for tabs and panels.
1157
+ * Internal carousel controller that manages state and navigation.
1196
1158
  * @internal
1197
1159
  */
1198
- readonly carouselId: string;
1160
+ readonly controller: CarouselController<CarouselItem>;
1199
1161
  /**
1200
1162
  * Nav position relative to content.
1201
1163
  * @public
@@ -1210,38 +1172,19 @@ declare class Carousel extends FASTElement {
1210
1172
  * Index of the currently visible item.
1211
1173
  * @public
1212
1174
  */
1213
- currentIndex: number;
1175
+ get currentIndex(): number;
1176
+ set currentIndex(value: number);
1214
1177
  /**
1215
1178
  * Slotted carousel items.
1216
1179
  * @internal
1217
1180
  */
1218
1181
  slottedItems: CarouselItem[];
1219
- /**
1220
- * Reference to the generated nav element.
1221
- * @internal
1222
- */
1223
- generatedNav?: CarouselNav;
1224
- /**
1225
- * Abort controller for removing nav event listeners.
1226
- * @internal
1227
- */
1228
- private eventListenerAbortController?;
1229
1182
  /**
1230
1183
  * Total number of carousel items.
1231
1184
  * @public
1232
1185
  * @readonly
1233
1186
  */
1234
1187
  get totalItems(): number;
1235
- /**
1236
- * Callback when generatedNav changes.
1237
- * @internal
1238
- */
1239
- generatedNavChanged(_oldValue: CarouselNav | undefined, newValue: CarouselNav | undefined): void;
1240
- /**
1241
- * Callback when currentIndex changes.
1242
- * @internal
1243
- */
1244
- currentIndexChanged(oldValue: number, newValue: number): void;
1245
1188
  /**
1246
1189
  * Callback when slotted items change.
1247
1190
  * @internal
@@ -1262,11 +1205,6 @@ declare class Carousel extends FASTElement {
1262
1205
  * @public
1263
1206
  */
1264
1207
  scrollToIndex(index: number): void;
1265
- /**
1266
- * Updates active states on carousel items.
1267
- * @internal
1268
- */
1269
- private updateActiveStates;
1270
1208
  /**
1271
1209
  * Gets the tab ID for a given index.
1272
1210
  * @internal
@@ -1283,18 +1221,12 @@ declare class Carousel extends FASTElement {
1283
1221
  * @internal
1284
1222
  */
1285
1223
  getTabLabel(index: number): string;
1286
- /**
1287
- * Sets up event listeners on nav element.
1288
- * @internal
1289
- */
1290
- private setupNavListeners;
1224
+ connectedCallback(): void;
1291
1225
  /**
1292
1226
  * Emits change event.
1293
1227
  * @internal
1294
1228
  */
1295
1229
  private emitChange;
1296
- connectedCallback(): void;
1297
- disconnectedCallback(): void;
1298
1230
  }
1299
1231
 
1300
1232
  /**
@@ -1316,15 +1248,15 @@ type CarouselEventName = ValuesOf<typeof CarouselEventNames>;
1316
1248
  * @remarks
1317
1249
  * HTML Element: <fabric-carousel>
1318
1250
  */
1319
- declare const definition$14: _microsoft_fast_element.FASTElementDefinition<typeof Carousel>;
1251
+ declare const definition$19: _microsoft_fast_element.FASTElementDefinition<typeof Carousel>;
1320
1252
 
1321
1253
  /**
1322
1254
  * Styles for the {@link @fabric-msft/fabric-web#(Carousel:class)} component.
1323
1255
  * @public
1324
1256
  */
1325
- declare const styles$l: ElementStyles;
1257
+ declare const styles$p: ElementStyles;
1326
1258
 
1327
- declare const template$f: ElementViewTemplate<Carousel>;
1259
+ declare const template$j: ElementViewTemplate<Carousel>;
1328
1260
 
1329
1261
  /**
1330
1262
  * Registers the carousel element and all of its internal dependencies
@@ -1348,116 +1280,319 @@ declare function defineCarousel(registry?: CustomElementRegistry): void;
1348
1280
  * @remarks
1349
1281
  * HTML Element: <fabric-carousel-item>
1350
1282
  */
1351
- declare const definition$13: _microsoft_fast_element.FASTElementDefinition<typeof CarouselItem>;
1283
+ declare const definition$18: _microsoft_fast_element.FASTElementDefinition<typeof CarouselItem>;
1352
1284
 
1353
1285
  /**
1354
1286
  * Styles for the {@link @fabric-msft/fabric-web#(CarouselItem:class)} component.
1355
1287
  * @public
1356
1288
  */
1357
- declare const styles$k: ElementStyles;
1358
-
1359
- declare const template$e: ElementViewTemplate<CarouselItem>;
1360
-
1361
- /**
1362
- * Event names for the CarouselNav component
1363
- * @public
1364
- */
1365
- declare const CarouselNavEventNames: {
1366
- readonly select: "select";
1367
- readonly previous: "previous";
1368
- readonly next: "next";
1369
- };
1370
- /**
1371
- * CarouselNav event type
1372
- * @public
1373
- */
1374
- type CarouselNavEventName = ValuesOf<typeof CarouselNavEventNames>;
1375
-
1376
- /**
1377
- * The CarouselNav element definition.
1378
- * @public
1379
- * @remarks
1380
- * HTML Element: <fabric-carousel-nav>
1381
- */
1382
- declare const definition$12: _microsoft_fast_element.FASTElementDefinition<typeof CarouselNav>;
1383
-
1384
- /**
1385
- * Styles for the {@link @fabric-msft/fabric-web#(CarouselNav:class)} component.
1386
- * @public
1387
- */
1388
- declare const styles$j: ElementStyles;
1389
-
1390
- declare const template$d: ElementViewTemplate<CarouselNav>;
1391
-
1392
- /**
1393
- * The CarouselNavItem element definition.
1394
- * @public
1395
- * @remarks
1396
- * HTML Element: <fabric-carousel-nav-item>
1397
- */
1398
- declare const definition$11: _microsoft_fast_element.FASTElementDefinition<typeof CarouselNavItem>;
1399
-
1400
- /**
1401
- * Styles for the {@link @fabric-msft/fabric-web#(CarouselNavItem:class)} component.
1402
- * @public
1403
- */
1404
- declare const styles$i: ElementStyles;
1289
+ declare const styles$o: ElementStyles;
1405
1290
 
1406
- declare const template$c: ElementViewTemplate<CarouselNavItem>;
1291
+ declare const template$i: ElementViewTemplate<CarouselItem>;
1407
1292
 
1408
1293
  /**
1409
- * @summary A Carousel component for displaying a set of items in a horizontal, scrollable manner.
1294
+ * @summary A single tab indicator within the carousel navigation.
1410
1295
  *
1411
1296
  * @example
1412
1297
  * ```html
1413
- * <fabric-card-carousel>
1414
- * <div slot="header">Carousel Header</div>
1415
- * <fabric-button slot="prev-button">Prev</fabric-button>
1416
- * <fabric-button slot="next-button">Next</fabric-button>
1417
- * <div>Item 1</div>
1418
- * <div>Item 2</div>
1419
- * <!-- More carousel items here -->
1420
- * </fabric-card-carousel>
1298
+ * <fabric-carousel-nav-item active></fabric-carousel-nav-item>
1421
1299
  * ```
1422
1300
  *
1423
- * @attr disable-animation - Disables animation when set to true.
1424
- *
1425
- * @prop {boolean} disableAnimation - Boolean attribute to disable animation.
1426
- * @prop {HTMLElement[]} slottedCarouselItems - An array of carousel items that are slotted into the carousel.
1427
- * @prop {HTMLElement} header - The header element.
1428
- * @prop {number} currentIndex - The current index of the carousel, indicating which item is currently visible.
1429
- * @prop {HTMLElement[]} nextButton - The next button element.
1430
- * @prop {HTMLElement[]} prevButton - The previous button element.
1431
- * @prop {number} visibleItemsCount - Gets the number of items currently visible in the carousel. (readonly)
1301
+ * @attr {boolean} active - Whether this nav item represents the current step.
1432
1302
  *
1433
- * @slot header - Slot for the carousel header content.
1434
- * @slot prev-button - Slot for the carousel's previous navigation button.
1435
- * @slot next-button - Slot for the carousel's next navigation button.
1436
- * @slot - Default slot for carousel items.
1303
+ * @prop {boolean} active - Whether this nav item represents the current step.
1304
+ * @prop {string} tabId - Unique ID for this tab (set by parent).
1305
+ * @prop {string} panelId - ID of the controlled panel (for aria-controls).
1306
+ * @prop {string} tabLabel - Accessible label for the tab (e.g., "Slide 1").
1437
1307
  *
1438
- * @method next - Moves the carousel to the next set of items.
1439
- * @method prev - Moves the carousel to the previous set of items.
1440
- * @method scrollToIndex - Scrolls the carousel to a specific index.
1441
- * @method isAtEnd - Checks if the carousel is at the end of the items.
1442
- * @method getNextVisibleItemsCount - Gets the count of the next set of visible items in the carousel.
1443
- * @method updateVisibleItems - Updates the visible items in the carousel.
1308
+ * @slot default - Custom content (default renders a dot).
1444
1309
  *
1445
1310
  * @extends FASTElement
1446
- * @tagname fabric-card-carousel
1311
+ * @tagname fabric-carousel-nav-item
1447
1312
  * @public
1448
1313
  */
1449
- declare class CardCarousel extends FASTElement {
1450
- #private;
1314
+ declare class CarouselNavItem extends FASTElement {
1451
1315
  /**
1452
- * Boolean attribute to disable animation.
1453
- *
1316
+ * Whether this nav item represents the current step.
1454
1317
  * @public
1455
- * @type {boolean}
1456
- * @attr
1457
1318
  */
1458
- disableAnimation?: boolean;
1319
+ active: boolean;
1459
1320
  /**
1460
- * An array of carousel items that are slotted into the carousel.
1321
+ * Unique ID for this tab.
1322
+ * Set by the parent navigation component.
1323
+ * @internal
1324
+ */
1325
+ tabId?: string;
1326
+ /**
1327
+ * ID of the controlled tabpanel (for aria-controls).
1328
+ * Set by the parent navigation component.
1329
+ * @internal
1330
+ */
1331
+ panelId?: string;
1332
+ /**
1333
+ * Accessible label for the tab.
1334
+ * Set by the parent navigation component.
1335
+ * @internal
1336
+ */
1337
+ tabLabel?: string;
1338
+ }
1339
+
1340
+ /**
1341
+ * @summary Navigation container with step indicators and prev/next buttons.
1342
+ *
1343
+ * @example
1344
+ * ```html
1345
+ * <fabric-carousel-nav button-placement="grouped">
1346
+ * <fabric-carousel-nav-item active></fabric-carousel-nav-item>
1347
+ * <fabric-carousel-nav-item></fabric-carousel-nav-item>
1348
+ * <fabric-carousel-nav-item></fabric-carousel-nav-item>
1349
+ * </fabric-carousel-nav>
1350
+ * ```
1351
+ *
1352
+ * @attr {string} button-placement - Positioning of prev/next buttons.
1353
+ * @attr {number} current-index - Currently selected nav item index.
1354
+ *
1355
+ * @prop {CarouselNavButtonPlacement} buttonPlacement - Button positioning.
1356
+ * @prop {number} currentIndex - Currently selected nav item index.
1357
+ * @prop {CarouselController} controller - The carousel controller to drive navigation.
1358
+ *
1359
+ * @slot default - Slot for fabric-carousel-nav-item elements.
1360
+ * @slot prev-button - Custom previous button. Defaults to a chevron left button.
1361
+ * @slot next-button - Custom next button. Defaults to a chevron right button.
1362
+ *
1363
+ * @fires select - Fired when a nav item is selected with detail { index }.
1364
+ * @fires previous - Fired when prev button is clicked.
1365
+ * @fires next - Fired when next button is clicked.
1366
+ *
1367
+ * @extends FASTElement
1368
+ * @tagname fabric-carousel-nav
1369
+ * @public
1370
+ */
1371
+ declare class CarouselNav extends FASTElement {
1372
+ /**
1373
+ * Positioning of prev/next buttons.
1374
+ * @public
1375
+ */
1376
+ buttonPlacement: CarouselNavButtonPlacement;
1377
+ /**
1378
+ * Currently selected nav item index.
1379
+ * @public
1380
+ */
1381
+ currentIndex: number;
1382
+ /**
1383
+ * The carousel controller to drive navigation.
1384
+ * When set, prev/next/select actions call methods on the controller directly.
1385
+ * @public
1386
+ */
1387
+ controller?: CarouselController;
1388
+ /**
1389
+ * Callback to parse current-index attribute.
1390
+ * @internal
1391
+ */
1392
+ currentIndexChanged(_oldValue: string | number, newValue: string | number): void;
1393
+ /**
1394
+ * Roving focus controller for indicator keyboard navigation.
1395
+ * @internal
1396
+ */
1397
+ private rovingFocus;
1398
+ /**
1399
+ * Manages event listeners for nav items.
1400
+ * @internal
1401
+ */
1402
+ private navItemEvents;
1403
+ /**
1404
+ * Slotted nav items.
1405
+ * @internal
1406
+ */
1407
+ slottedNavItems: CarouselNavItem[];
1408
+ /**
1409
+ * Callback when nav items change.
1410
+ * @internal
1411
+ */
1412
+ slottedNavItemsChanged(oldValue: CarouselNavItem[], newValue: CarouselNavItem[]): void;
1413
+ /**
1414
+ * Updates active states on nav items.
1415
+ * @internal
1416
+ */
1417
+ private updateActiveStates;
1418
+ /**
1419
+ * Handles keyboard events on indicators.
1420
+ * Arrow keys are delegated to roving focus controller.
1421
+ * Enter/Space selects the focused indicator.
1422
+ * @internal
1423
+ */
1424
+ private handleIndicatorKeydown;
1425
+ /**
1426
+ * Handles nav item click.
1427
+ * @internal
1428
+ */
1429
+ private handleItemClick;
1430
+ /**
1431
+ * Handles prev button click.
1432
+ * @internal
1433
+ */
1434
+ handlePrevClick(): void;
1435
+ /**
1436
+ * Handles next button click.
1437
+ * @internal
1438
+ */
1439
+ handleNextClick(): void;
1440
+ /**
1441
+ * Emits select event.
1442
+ * @internal
1443
+ */
1444
+ private emitSelect;
1445
+ disconnectedCallback(): void;
1446
+ }
1447
+
1448
+ /**
1449
+ * Event names for the CarouselNav component
1450
+ * @public
1451
+ */
1452
+ declare const CarouselNavEventNames: {
1453
+ readonly select: "select";
1454
+ readonly previous: "previous";
1455
+ readonly next: "next";
1456
+ };
1457
+ /**
1458
+ * CarouselNav event type
1459
+ * @public
1460
+ */
1461
+ type CarouselNavEventName = ValuesOf<typeof CarouselNavEventNames>;
1462
+
1463
+ /**
1464
+ * The CarouselNav element definition.
1465
+ * @public
1466
+ * @remarks
1467
+ * HTML Element: <fabric-carousel-nav>
1468
+ */
1469
+ declare const definition$17: _microsoft_fast_element.FASTElementDefinition<typeof CarouselNav>;
1470
+
1471
+ /**
1472
+ * Styles for the {@link @fabric-msft/fabric-web#(CarouselNav:class)} component.
1473
+ * @public
1474
+ */
1475
+ declare const styles$n: ElementStyles;
1476
+
1477
+ declare const template$h: ElementViewTemplate<CarouselNav>;
1478
+
1479
+ /**
1480
+ * The CarouselNavItem element definition.
1481
+ * @public
1482
+ * @remarks
1483
+ * HTML Element: <fabric-carousel-nav-item>
1484
+ */
1485
+ declare const definition$16: _microsoft_fast_element.FASTElementDefinition<typeof CarouselNavItem>;
1486
+
1487
+ /**
1488
+ * Styles for the {@link @fabric-msft/fabric-web#(CarouselNavItem:class)} component.
1489
+ * @public
1490
+ */
1491
+ declare const styles$m: ElementStyles;
1492
+
1493
+ declare const template$g: ElementViewTemplate<CarouselNavItem>;
1494
+
1495
+ /**
1496
+ * @summary Renders the scrolling viewport for carousel items.
1497
+ *
1498
+ * This component is the visual container that shows one carousel item at a time
1499
+ * and applies a CSS transform to slide between items. It is driven by a
1500
+ * {@link CarouselController} which manages the active index and item state.
1501
+ *
1502
+ * The host component (e.g. fabric-carousel or fabric-modal) is responsible for
1503
+ * managing the controller's items. The viewport is purely a rendering component.
1504
+ *
1505
+ * @example
1506
+ * ```html
1507
+ * <fabric-carousel-viewport>
1508
+ * <fabric-carousel-item>Slide 1</fabric-carousel-item>
1509
+ * <fabric-carousel-item>Slide 2</fabric-carousel-item>
1510
+ * </fabric-carousel-viewport>
1511
+ * ```
1512
+ *
1513
+ * @slot default - Slot for fabric-carousel-item elements.
1514
+ *
1515
+ * @extends FASTElement
1516
+ * @tagname fabric-carousel-viewport
1517
+ * @public
1518
+ */
1519
+ declare class CarouselViewport extends FASTElement {
1520
+ /**
1521
+ * The carousel controller driving this viewport.
1522
+ * @public
1523
+ */
1524
+ controller?: CarouselController;
1525
+ }
1526
+
1527
+ /**
1528
+ * The CarouselViewport element definition.
1529
+ * @public
1530
+ * @remarks
1531
+ * HTML Element: <fabric-carousel-viewport>
1532
+ */
1533
+ declare const definition$15: _microsoft_fast_element.FASTElementDefinition<typeof CarouselViewport>;
1534
+
1535
+ /**
1536
+ * Styles for the {@link @fabric-msft/fabric-web#(CarouselViewport:class)} component.
1537
+ * @public
1538
+ */
1539
+ declare const styles$l: ElementStyles;
1540
+
1541
+ declare const template$f: ElementViewTemplate<CarouselViewport>;
1542
+
1543
+ /**
1544
+ * @summary A Carousel component for displaying a set of items in a horizontal, scrollable manner.
1545
+ *
1546
+ * @example
1547
+ * ```html
1548
+ * <fabric-card-carousel>
1549
+ * <div slot="header">Carousel Header</div>
1550
+ * <fabric-button slot="prev-button">Prev</fabric-button>
1551
+ * <fabric-button slot="next-button">Next</fabric-button>
1552
+ * <div>Item 1</div>
1553
+ * <div>Item 2</div>
1554
+ * <!-- More carousel items here -->
1555
+ * </fabric-card-carousel>
1556
+ * ```
1557
+ *
1558
+ * @attr disable-animation - Disables animation when set to true.
1559
+ *
1560
+ * @prop {boolean} disableAnimation - Boolean attribute to disable animation.
1561
+ * @prop {HTMLElement[]} slottedCarouselItems - An array of carousel items that are slotted into the carousel.
1562
+ * @prop {HTMLElement} header - The header element.
1563
+ * @prop {number} currentIndex - The current index of the carousel, indicating which item is currently visible.
1564
+ * @prop {HTMLElement[]} nextButton - The next button element.
1565
+ * @prop {HTMLElement[]} prevButton - The previous button element.
1566
+ * @prop {number} visibleItemsCount - Gets the number of items currently visible in the carousel. (readonly)
1567
+ *
1568
+ * @slot header - Slot for the carousel header content.
1569
+ * @slot prev-button - Slot for the carousel's previous navigation button.
1570
+ * @slot next-button - Slot for the carousel's next navigation button.
1571
+ * @slot - Default slot for carousel items.
1572
+ *
1573
+ * @method next - Moves the carousel to the next set of items.
1574
+ * @method prev - Moves the carousel to the previous set of items.
1575
+ * @method scrollToIndex - Scrolls the carousel to a specific index.
1576
+ * @method isAtEnd - Checks if the carousel is at the end of the items.
1577
+ * @method getNextVisibleItemsCount - Gets the count of the next set of visible items in the carousel.
1578
+ * @method updateVisibleItems - Updates the visible items in the carousel.
1579
+ *
1580
+ * @extends FASTElement
1581
+ * @tagname fabric-card-carousel
1582
+ * @public
1583
+ */
1584
+ declare class CardCarousel extends FASTElement {
1585
+ #private;
1586
+ /**
1587
+ * Boolean attribute to disable animation.
1588
+ *
1589
+ * @public
1590
+ * @type {boolean}
1591
+ * @attr
1592
+ */
1593
+ disableAnimation?: boolean;
1594
+ /**
1595
+ * An array of carousel items that are slotted into the carousel.
1461
1596
  *
1462
1597
  * @public
1463
1598
  * @type {HTMLElement[]}
@@ -1674,11 +1809,11 @@ declare class CardCarousel extends FASTElement {
1674
1809
  * @remarks
1675
1810
  * HTML Element: <fabric-card-carousel>
1676
1811
  */
1677
- declare const definition$10: _microsoft_fast_element.FASTElementDefinition<typeof CardCarousel>;
1812
+ declare const definition$14: _microsoft_fast_element.FASTElementDefinition<typeof CardCarousel>;
1678
1813
 
1679
- declare const styles$h: _microsoft_fast_element.ElementStyles;
1814
+ declare const styles$k: _microsoft_fast_element.ElementStyles;
1680
1815
 
1681
- declare const template$b: ElementViewTemplate<CardCarousel>;
1816
+ declare const template$e: ElementViewTemplate<CardCarousel>;
1682
1817
 
1683
1818
  /** Appearance values for {@link Button}. */
1684
1819
  declare const ButtonAppearances: {
@@ -2028,550 +2163,915 @@ declare class FilterPill extends Button {
2028
2163
  * @remarks
2029
2164
  * HTML Element: <fabric-filter-pill>
2030
2165
  */
2031
- declare const definition$$: _microsoft_fast_element.FASTElementDefinition<typeof FilterPill>;
2166
+ declare const definition$13: _microsoft_fast_element.FASTElementDefinition<typeof FilterPill>;
2032
2167
 
2033
2168
  /**
2034
- * Appearances for {@link CompoundButton}
2035
- * Local plural const composed from ButtonAppearances allowing future extensions.
2169
+ * Modal mode options.
2036
2170
  * @public
2037
2171
  */
2038
- declare const CompoundButtonAppearances: {
2039
- readonly primaryOnBrand: "primary-on-brand";
2040
- readonly primary: "primary";
2041
- readonly outline: "outline";
2042
- readonly subtle: "subtle";
2043
- readonly transparent: "transparent";
2172
+ declare const ModalModes: {
2173
+ readonly default: "default";
2174
+ readonly fre: "fre";
2044
2175
  };
2045
2176
  /**
2046
- * Type describing appearance options for {@link CompoundButton}.
2047
- * This is the union of the values defined in `CompoundButtonAppearances`.
2048
- */
2049
- type CompoundButtonAppearance = ValuesOf<typeof CompoundButtonAppearances>;
2050
- /**
2051
- * Shapes for {@link CompoundButton}
2052
- * @public
2053
- */
2054
- declare const CompoundButtonShapes: {
2055
- readonly circular: "circular";
2056
- readonly rounded: "rounded";
2057
- readonly square: "square";
2058
- };
2059
- /**
2060
- * Type describing shape options for {@link CompoundButton}.
2061
- * This is the union of the values defined in `CompoundButtonShapes`.
2062
- */
2063
- type CompoundButtonShape = ValuesOf<typeof CompoundButtonShapes>;
2064
- /**
2065
- * Sizes for {@link CompoundButton}
2066
- * @public
2067
- */
2068
- declare const CompoundButtonSizes: {
2069
- readonly small: "small";
2070
- readonly medium: "medium";
2071
- readonly large: "large";
2072
- };
2073
- /**
2074
- * Type describing size options for {@link CompoundButton}.
2075
- * This is the union of the values defined in `CompoundButtonSizes`.
2076
- */
2077
- type CompoundButtonSize = ValuesOf<typeof CompoundButtonSizes>;
2078
- /**
2079
- * Form targets for {@link CompoundButton}
2177
+ * Modal mode type.
2080
2178
  * @public
2081
2179
  */
2082
- declare const CompoundButtonFormTargets: {
2083
- readonly blank: "_blank";
2084
- readonly self: "_self";
2085
- readonly parent: "_parent";
2086
- readonly top: "_top";
2087
- };
2088
- /**
2089
- * Type describing form target options for {@link CompoundButton}.
2090
- * This is the union of the values defined in `CompoundButtonFormTargets`.
2091
- */
2092
- type CompoundButtonFormTarget = ValuesOf<typeof CompoundButtonFormTargets>;
2180
+ type ModalMode = ValuesOf<typeof ModalModes>;
2181
+
2093
2182
  /**
2094
- * Types for {@link CompoundButton}
2183
+ * Dialog
2184
+ * @summary A Dialog Custom HTML Element that provides modal, non-modal, and alert dialog types with accessible attributes.
2185
+ *
2186
+ * @example
2187
+ * ```html
2188
+ * <fabric-dialog type="modal" aria-labelledby="dialog-label" aria-describedby="dialog-desc">
2189
+ * <span slot="title">Title</span>
2190
+ * <div>Content of the dialog body</div>
2191
+ * <span slot="action">Action buttons</span>
2192
+ * </fabric-dialog>
2193
+ * ```
2194
+ *
2195
+ * @attr {string} aria-describedby - Identifies the element (or elements) that describes the object.
2196
+ * @attr {string} aria-labelledby - Identifies the element (or elements) that labels the current element.
2197
+ * @attr {DialogType} type - The type of dialog ('modal', 'non-modal', 'alert').
2198
+ *
2199
+ * @prop {HTMLElement} dialog - The internal dialog element reference.
2200
+ * @prop {string} ariaDescribedby - Reflects the 'aria-describedby' attribute to associate the dialog with descriptive text.
2201
+ * @prop {string} ariaLabelledby - Reflects the 'aria-labelledby' attribute to associate the dialog with its label.
2202
+ * @prop {DialogType} type - The type of dialog, which can be 'modal', 'non-modal', or 'alert'.
2203
+ *
2204
+ * @slot - The default slot for dialog content.
2205
+ *
2206
+ * @csspart dialog - The dialog container.
2207
+ *
2208
+ * @method show() - Opens the dialog.
2209
+ * @method hide() - Closes the dialog.
2210
+ * @method clickHandler() - Handles click events on the dialog.
2211
+ *
2212
+ * @fires {CustomEvent} beforetoggle - Event emitted before the dialog's open state changes.
2213
+ * @fires {CustomEvent} toggle - Event emitted after the dialog's open state changes.
2214
+ *
2215
+ * @extends FluentDialog
2216
+ * @tagname fabric-dialog
2095
2217
  * @public
2096
2218
  */
2097
- declare const CompoundButtonTypes: {
2098
- readonly submit: "submit";
2099
- readonly reset: "reset";
2100
- readonly button: "button";
2101
- };
2102
- /**
2103
- * Type describing button type options for {@link CompoundButton}.
2104
-
2105
- * This is the union of the values defined in `CompoundButtonTypes`.
2106
- */
2107
- type CompoundButtonType = ValuesOf<typeof CompoundButtonTypes>;
2219
+ declare class Dialog extends Dialog$1 {
2220
+ }
2108
2221
 
2109
2222
  /**
2110
- * CompoundButton
2111
- * @summary The base class used for constructing a fabric-compound-button custom element, which extends the Fluent UI CompoundButton with Fabric-specific functionality.
2223
+ * @summary A content item for the modal FRE (First Run Experience) wizard.
2224
+ *
2225
+ * Each fre-item is a self-contained step that renders its own hero content,
2226
+ * title, description, and dismiss button. The parent `fabric-modal` assigns
2227
+ * fre-items to a {@link CarouselController} which manages active state and
2228
+ * ARIA linkage. Only the active item is visible.
2112
2229
  *
2113
2230
  * @example
2114
2231
  * ```html
2115
- * <fabric-compound-button appearance="primary" shape="rounded" size="large" type="submit" autofocus>
2116
- * <span slot="start">🚀</span>
2117
- * Your Text Here
2118
- * <span slot="end">→</span>
2119
- * <span slot="description">Detailed description here</span>
2120
- * </fabric-compound-button>
2232
+ * <fabric-modal-fre-item>
2233
+ * <span slot="title">Welcome</span>
2234
+ * <span slot="description">Get started with Fabric.</span>
2235
+ * <img src="hero.png" alt="Welcome illustration" />
2236
+ * </fabric-modal-fre-item>
2121
2237
  * ```
2122
2238
  *
2123
- * @attr {CompoundButtonAppearance | undefined} appearance - Indicates the styled appearance of the button.
2124
- * @attr {CompoundButtonShape | undefined} shape - The shape of the button.
2125
- * @attr {CompoundButtonSize | undefined} size - The size of the button.
2126
- * @attr {boolean | undefined} icon-only - Indicates that the button should only display as an icon with no text content.
2127
- * @attr {boolean | undefined} autofocus - Indicates the button should be focused when the page is loaded.
2128
- * @attr {boolean | undefined} disabled-focusable - Indicates that the button is focusable while disabled.
2129
- * @attr {number | undefined} tabindex - Sets that the button tabindex attribute.
2130
- * @attr {string | undefined} formaction - The URL that processes the form submission.
2131
- * @attr {string | undefined} form - The id of a form to associate the element to.
2132
- * @attr {string | undefined} formenctype - The encoding type for the form submission.
2133
- * @attr {string | undefined} formmethod - The HTTP method that the browser uses to submit the form.
2134
- * @attr {boolean | undefined} formnovalidate - Indicates that the form will not be validated when submitted.
2135
- * @attr {CompoundButtonFormTarget | undefined} formtarget - The target frame or window to open the form submission in.
2136
- * @attr {string | undefined} name - The name of the element. This element's value will be surfaced during form submission under the provided name.
2137
- * @attr {string | undefined} type - The button type.
2138
- * @attr {string | undefined} value - The value attribute.
2139
- *
2140
- * @prop {CompoundButtonAppearance | undefined} appearance - Indicates the styled appearance of the button.
2141
- * @prop {CompoundButtonShape | undefined} shape - The shape of the button.
2142
- * @prop {CompoundButtonSize | undefined} size - The size of the button.
2143
- * @prop {boolean | undefined} iconOnly - Indicates that the button should only display as an icon with no text content.
2144
- * @prop {boolean | undefined} autofocus - Indicates the button should be focused when the page is loaded.
2145
- * @prop {boolean | undefined} disabledFocusable - Indicates that the button is focusable while disabled.
2146
- * @prop {number | undefined} tabIndex - Sets that the button tabindex attribute.
2147
- * @prop {string | undefined} formAction - The URL that processes the form submission.
2148
- * @prop {string | undefined} form - The id of a form to associate the element to.
2149
- * @prop {string | undefined} formEnctype - The encoding type for the form submission.
2150
- * @prop {string | undefined} formMethod - The HTTP method that the browser uses to submit the form.
2151
- * @prop {boolean | undefined} formNoValidate - Indicates that the form will not be validated when submitted.
2152
- * @prop {CompoundButtonFormTarget | undefined} formTarget - The target frame or window to open the form submission in.
2153
- * @prop {string | undefined} name - The name of the element. This element's value will be surfaced during form submission under the provided name.
2154
- * @prop {string | undefined} type - The button type.
2155
- * @prop {string | undefined} value - The value attribute.
2239
+ * @attr {boolean} active - Whether this item is the currently visible step.
2240
+ * @attr {string} label - Accessible label for this step.
2156
2241
  *
2157
- * @slot start - Content which can be provided before the button content.
2158
- * @slot end - Content which can be provided after the button content.
2159
- * @slot - The default slot for button content.
2160
- * @slot description - A slot for providing additional description.
2242
+ * @prop {string} panelId - Unique ID for this panel (set by CarouselController).
2243
+ * @prop {string} tabId - ID of the associated tab (for aria-labelledby, set by CarouselController).
2161
2244
  *
2162
- * @csspart content - The button content container.
2245
+ * @slot default - Hero content (image, illustration, or any visual).
2246
+ * @slot title - Title content for this step.
2247
+ * @slot description - Description content for this step.
2163
2248
  *
2164
- * @method press - Presses the button.
2165
- * @method resetForm - Resets the associated form.
2249
+ * @fires dismiss - Fired when the dismiss button is clicked. Bubbles and is composed.
2166
2250
  *
2167
- * @extends FluentCompoundButton
2168
- * @tagname fabric-compound-button
2251
+ * @extends FASTElement
2252
+ * @tagname fabric-modal-fre-item
2169
2253
  * @public
2170
2254
  */
2171
- declare class CompoundButton extends BaseButton {
2255
+ declare class ModalFreItem extends FASTElement implements CarouselManagedItem {
2172
2256
  /**
2173
- * The appearance of the compound button.
2174
- *
2257
+ * Whether this item is the currently visible step.
2258
+ * Managed by the CarouselController.
2175
2259
  * @public
2176
- * @remarks
2177
- * HTML Attribute: `appearance`
2178
2260
  */
2179
- appearance: CompoundButtonAppearance;
2261
+ active: boolean;
2180
2262
  /**
2181
- * The shape of the compound button.
2182
- *
2263
+ * Accessible label for this step.
2183
2264
  * @public
2184
- * @remarks
2185
- * HTML Attribute: `shape`
2186
2265
  */
2187
- shape?: CompoundButtonShape;
2266
+ label?: string;
2188
2267
  /**
2189
- * The size of the compound button.
2190
- *
2191
- * @public
2192
- * @remarks
2193
- * HTML Attribute: `size`
2268
+ * Unique ID for this tabpanel (set by CarouselController).
2269
+ * @internal
2194
2270
  */
2195
- size?: CompoundButtonSize;
2271
+ panelId?: string;
2196
2272
  /**
2197
- * Indicates that the compound button should only display as an icon with no text content.
2198
- *
2199
- * @public
2200
- * @remarks
2201
- * HTML Attribute: `icon-only`
2273
+ * ID of the associated tab element (for aria-labelledby, set by CarouselController).
2274
+ * @internal
2202
2275
  */
2203
- iconOnly: boolean;
2276
+ tabId?: string;
2277
+ /**
2278
+ * Handles the dismiss button click.
2279
+ * Dispatches a bubbling, composed dismiss event.
2280
+ * @internal
2281
+ */
2282
+ handleDismiss(): void;
2204
2283
  }
2205
2284
 
2206
2285
  /**
2207
- * The Fabric Compound Button component.
2208
- *
2209
- * @public
2210
- */
2211
- declare const definition$_: _microsoft_fast_element.FASTElementDefinition<typeof CompoundButton>;
2212
-
2213
- /**
2214
- * LoadingButton
2215
- * @summary A custom button component with a loading state that extends Fluent UI's Button class. It provides visual feedback with a spinner when the button is in a loading state and disables interaction.
2286
+ * @summary A modal dialog with optional FRE (First Run Experience) multi-step wizard mode.
2287
+ * Uses fabric-dialog internally for native backdrop, focus trapping, and Escape key handling.
2216
2288
  *
2217
- * @example
2289
+ * @example Default mode
2218
2290
  * ```html
2219
- * <fabric-loading-button
2220
- * appearance='primary'
2221
- * size='large'
2222
- * shape='rounded'
2223
- * loading
2224
- * disabled
2225
- * aria-busy='true'>
2226
- * Submit
2227
- * </fabric-loading-button>
2291
+ * <fabric-modal open modal-title="Confirm action">
2292
+ * <h2>Are you sure?</h2>
2293
+ * <p>This action cannot be undone.</p>
2294
+ * </fabric-modal>
2228
2295
  * ```
2229
2296
  *
2230
- * @attr {boolean} loading - Indicates whether the button is in a loading state.
2231
- * @attr {ButtonAppearance} appearance - The appearance of the button.
2232
- * @attr {ButtonShape} shape - The shape of the button.
2233
- * @attr {ButtonSize} size - The size of the button.
2234
- * @attr {string} aria-busy - Indicates whether the button is busy.
2235
- *
2236
- * @prop {boolean} loading - Indicates whether the button is in a loading state. Default: false.
2237
- * @prop {boolean} disabled - Indicates whether the button is disabled. Default: false.
2238
- *
2239
- * @slot - The default slot for the button content.
2240
- * @slot start - Slot for the spinner when the button is loading.
2297
+ * @example FRE mode
2298
+ * ```html
2299
+ * <fabric-modal mode="fre" open modal-title="Welcome">
2300
+ * <fabric-modal-fre-item>
2301
+ * <span slot="title">Step 1</span>
2302
+ * <span slot="description">First step details.</span>
2303
+ * <img src="hero1.png" alt="Step 1" />
2304
+ * </fabric-modal-fre-item>
2305
+ * <fabric-modal-fre-item>
2306
+ * <span slot="title">Step 2</span>
2307
+ * <span slot="description">Second step details.</span>
2308
+ * <img src="hero2.png" alt="Step 2" />
2309
+ * </fabric-modal-fre-item>
2310
+ * </fabric-modal>
2311
+ * ```
2241
2312
  *
2242
- * @csspart control - The control part of the button, styled differently when loading and disabled.
2313
+ * @attr {string} mode - Modal mode: "default" or "fre".
2314
+ * @attr {boolean} open - Whether the modal is visible.
2315
+ * @attr {string} modal-title - Accessible label for the modal.
2316
+ * @attr {number} current-step - Active step index (FRE mode).
2317
+ * @attr {string} primary-label - Label for the primary button in default mode (defaults to "OK").
2318
+ * @attr {string} next-label - Label for the "Next" button in FRE mode (defaults to "Next").
2319
+ * @attr {string} done-label - Label for the "Done" button in FRE mode (defaults to "Done").
2320
+ * @attr {string} try-later-label - Label for the secondary button on FRE first step (defaults to "Try Later").
2321
+ * @attr {string} back-label - Label for the secondary "Back" button in FRE mode (defaults to "Back").
2322
+ * @attr {string} dismiss-label - Label for the secondary "Dismiss" button on FRE last step (defaults to "Dismiss").
2323
+ *
2324
+ * @prop {ModalMode} mode - Modal mode.
2325
+ * @prop {boolean} open - Whether the modal is visible.
2326
+ * @prop {string} modalTitle - Accessible label.
2327
+ * @prop {number} currentStep - Active step index (FRE mode).
2328
+ * @prop {number} totalSteps - Total step count (FRE mode, readonly).
2329
+ *
2330
+ * @slot default - Modal content. In FRE mode, accepts fabric-modal-fre-item elements.
2331
+ *
2332
+ * @fires open-change - Fired when open state changes.
2333
+ * @fires dismiss - Fired when the modal is dismissed. Detail includes `{ complete: boolean }` indicating if dismissal was due to FRE wizard completion.
2334
+ * @fires step-change - Fired when the active step changes (FRE mode).
2243
2335
  *
2244
- * @extends FluentButton
2245
- * @tagname fabric-loading-button
2336
+ * @extends FASTElement
2337
+ * @tagname fabric-modal
2246
2338
  * @public
2247
2339
  */
2248
- declare class LoadingButton extends Button$1 {
2340
+ declare class Modal extends FASTElement implements Subscriber {
2249
2341
  /**
2250
- * Indicates whether the button is in a loading state.
2342
+ * Carousel controller for FRE mode.
2343
+ * @internal
2344
+ */
2345
+ readonly carouselController: CarouselController<CarouselItem>;
2346
+ /**
2347
+ * Modal mode: "default" for simple modal, "fre" for multi-step wizard.
2251
2348
  * @public
2252
- * @type {boolean}
2253
- * @default false
2254
2349
  */
2255
- loading: boolean;
2256
- connectedCallback(): void;
2257
- }
2258
-
2259
- /**
2260
- * Defines a custom element registration entry that can be composed with other
2261
- * element definitions.
2262
- *
2263
- * @public
2264
- */
2265
- interface FabricElementDefinition {
2350
+ mode: ModalMode;
2266
2351
  /**
2267
- * The custom element tag name associated with the definition.
2352
+ * Whether the modal is visible.
2353
+ * @public
2268
2354
  */
2269
- readonly name: string;
2355
+ open: boolean;
2270
2356
  /**
2271
- * Registers the element definition with a custom element registry.
2272
- *
2273
- * @param registry - The registry to define the element in. Defaults to the
2274
- * global custom element registry.
2357
+ * Accessible label for the modal.
2358
+ * @public
2275
2359
  */
2276
- define(registry?: CustomElementRegistry): void;
2277
- }
2278
- /**
2279
- * The subset of FAST element definitions required by Fabric definition helpers.
2280
- *
2281
- * @internal
2282
- */
2283
- interface FASTElementDefinitionLike {
2284
- readonly name: string;
2285
- define(registry?: CustomElementRegistry): void;
2286
- }
2287
- /**
2288
- * Validates a FAST element definition and returns it as a Fabric element
2289
- * definition.
2290
- *
2291
- * @param fastDefinition - The FAST definition to validate.
2292
- * @returns The FAST definition as a Fabric element definition.
2293
- *
2294
- * @public
2295
- */
2296
- declare function fromFAST(fastDefinition: FASTElementDefinitionLike): FabricElementDefinition;
2297
- /**
2298
- * Creates a Fabric element definition for a primary element and any
2299
- * sub-element dependencies it requires.
2300
- *
2301
- * @param primaryDefinition - The primary element definition to expose.
2302
- * @param dependencies - The dependency definitions to register before the
2303
- * primary definition.
2304
- * @returns A Fabric element definition that defines each dependency and the
2305
- * primary definition with the same custom element registry.
2306
- *
2307
- * @public
2308
- */
2309
- declare function composeDefinitions(primaryDefinition: FabricElementDefinition, ...dependencies: FabricElementDefinition[]): FabricElementDefinition;
2310
-
2311
- /**
2312
- * Composed element definition for `<fabric-loading-button>`, registering the
2313
- * `fabric-spinner` dependency before the element itself.
2314
- *
2315
- * @public
2316
- * @remarks
2317
- * HTML Element: `<fabric-loading-button>`
2318
- */
2319
- declare const definition$Z: FabricElementDefinition;
2320
-
2321
- /**
2322
- * MultiView
2323
- * @summary A customizable step component for a wizard-style interface.
2324
- *
2325
- * @example
2326
- * ```html
2327
- * <fabric-multi-view>
2328
- * <div slot="start">Start Content</div>
2329
- * <div>Default Content</div>
2330
- * <div slot="end">End Content</div>
2331
- * </fabric-multi-view>
2332
- * ```
2333
- *
2334
- * @attr {boolean} hidden - Controls the visibility of the component. True if the component is hidden.
2335
- *
2336
- * @prop {boolean} hidden - Determines the hidden state of the multi-view.
2337
- *
2338
- * @slot - Default slot for adding content that can be shown or hidden.
2339
- *
2340
- * @csspart multi-view - Style part for the main container of the multi-view.
2341
- *
2342
- * @method hiddenChanged(oldValue: string, newValue: string) - Called when the `hidden` attribute changes. It emits the `hidden-change` event.
2343
- *
2344
- * @fires hidden-change - Fires when the hidden state of the component changes.
2345
- *
2346
- * @extends FASTElement
2347
- * @tagname fabric-multi-view
2348
- * @public
2349
- */
2350
- declare class MultiView extends FASTElement {
2360
+ modalTitle: string;
2351
2361
  /**
2352
- * Determines the hidden state of the multi-view
2362
+ * Active step index. Only meaningful in FRE mode.
2353
2363
  * @public
2354
- * @type {boolean}
2355
- * @attr
2356
2364
  */
2357
- hidden: boolean;
2358
- hiddenChanged(oldValue: string, newValue: string): void;
2359
- }
2360
-
2361
- /**
2362
- *
2363
- * @public
2364
- * @remarks
2365
- * HTML Element: <fabric-multi-view>
2366
- */
2367
- declare const definition$Y: _microsoft_fast_element.FASTElementDefinition<typeof MultiView>;
2368
-
2369
- /**
2370
- * MultiView event names
2371
- * @public
2372
- */
2373
- declare const MultiViewEventNames: {
2374
- readonly hiddenChange: "hidden-change";
2375
- };
2376
-
2377
- /**
2378
- * MultiViewController
2379
- * @summary A customizable controller component for a multi-view interface.
2380
- *
2381
- * @example
2382
- * ```html
2383
- * <fabric-multi-view-controller hidden>
2384
- * <fabric-multi-view-group>
2385
- * <fabric-multi-view>
2386
- * <!-- Content for the first view -->
2387
- * </fabric-multi-view>
2388
- * <fabric-multi-view>
2389
- * <!-- Content for the second view -->
2390
- * </fabric-multi-view>
2391
- * </fabric-multi-view-group>
2392
- * </fabric-multi-view-controller>
2393
- * ```
2394
- *
2395
- * @attr {boolean} hidden - Controls the visibility of the component. True if the component is hidden.
2396
- *
2397
- * @prop {boolean} hidden - Controls the visibility of the component. True if the component is hidden.
2398
- *
2399
- * @slot - Default slot for adding a controller.
2400
- *
2401
- * @csspart multi-view - Style part for the main container of the multi-view.
2402
- *
2403
- * @extends FASTElement
2404
- * @tagname fabric-multi-view-controller
2405
- * @public
2406
- */
2407
- declare class MultiViewController extends FASTElement {
2408
- }
2409
-
2410
- /**
2411
- *
2412
- * @public
2413
- * @remarks
2414
- * HTML Element: <fluent-multi-view-controller>
2415
- */
2416
- declare const definition$X: _microsoft_fast_element.FASTElementDefinition<typeof MultiViewController>;
2417
-
2418
- /**
2419
- * MultiViewGroup
2420
- * @summary The MultiViewGroup component is designed to manage multiple views or panels, controlling their visibility and interaction state.
2421
- *
2422
- * @example
2423
- * ```html
2424
- * <fabric-multi-view-group>
2425
- * <div slot="controller">Controller 1</div>
2426
- * <fabric-multi-view slot="multi-view">View 1</fabric-multi-view>
2427
- * <div slot="controller">Controller 2</div>
2428
- * <fabric-multi-view slot="multi-view">View 2</fabric-multi-view>
2429
- * </fabric-multi-view-group>
2430
- * ```
2431
- *
2432
- * @attr {HTMLElement[]} multiViews - An observable array of HTML elements that represent multiViews.
2433
- * @attr {HTMLElement[]} controllers - An observable array of HTML elements that represent controllers.
2434
- * @attr {HTMLElement[]} openedMultiViews - An observable array of HTML elements that represent opened multiViews.
2435
- * @attr {string} activeid - A string representing the active ID.
2436
- *
2437
- * @prop {HTMLElement | undefined} activeController - A HTML element representing the active controller.
2438
- * @prop {number} prevActiveControllerIndex - A number representing the index of the previously active controller.
2439
- * @prop {number} activeControllerIndex - A number representing the index of the active controller.
2440
- * @prop {string[]} controllerIds - An array of strings that represent the IDs of the controllers.
2441
- * @prop {string[]} multiViewsIds - An array of strings that represent the IDs of the multiViews.
2442
- *
2443
- * @slot multi-view - Slot for the individual view panels managed by this component.
2444
- * @slot controller - Slot for the control elements that toggle the visibility of the view panels.
2445
- *
2446
- * @csspart views - The container for view panels.
2447
- * @csspart controllers - The container for the control elements.
2448
- *
2449
- * @method initialize - Initializes the component by setting up controllers and multiViews.
2450
- * @method openMultiView - Opens the specified multiView.
2451
- * @method manageOpenedMultiViews - Manages opened MultiViews by limiting the number of opened views and setting focus on the newly opened MultiView.
2452
- * @method limitNumberOfOpenMultiViews - Limits the number of opened MultiViews.
2453
- * @method manageOpeningSecondMultiView - Manages the opening of a second MultiView.
2454
- * @method openSecondMultiView - Opens the second multiView.
2455
- * @method closeMultiView - Closes the specified multiView.
2456
- * @method manageClosedMultiViews - Manages the state of closed MultiViews.
2457
- * @method closeAllMultiViews - Closes all opened multiViews.
2458
- * @method toggleMultiView - Toggles the specified multiView.
2459
- * @method activeidChanged - Called when the active ID changes.
2460
- * @method controllersChanged - Called when controllers changes.
2461
- * @method multiViewsChanged - Called when multiViews changes.
2462
- * @method openedMultiViewsChanged - Called when openedMultiViews changes.
2463
- *
2464
- * @fires change - Fires when the state of the opened views changes.
2465
- *
2466
- * @extends FASTElement
2467
- * @tagname fabric-multi-view-group
2468
- * @public
2469
- */
2470
- declare class MultiViewGroup extends FASTElement {
2365
+ currentStep: number;
2471
2366
  /**
2472
- * Method to be called when the component is inserted into the document.
2367
+ * Label for the primary button in default mode.
2368
+ * @public
2473
2369
  */
2474
- connectedCallback(): void;
2370
+ primaryLabel: string;
2475
2371
  /**
2476
- * Method to be called when the component is removed from the document.
2372
+ * Label for the "Next" button in FRE mode.
2373
+ * @public
2477
2374
  */
2478
- disconnectedCallback(): void;
2479
- initialize(): void;
2375
+ nextLabel: string;
2480
2376
  /**
2481
- * An observable array of HTML elements that represent multiViews.
2377
+ * Label for the "Done" button in FRE mode.
2378
+ * @public
2482
2379
  */
2483
- multiViews: HTMLElement[];
2380
+ doneLabel: string;
2484
2381
  /**
2485
- * An observable array of HTML elements that represent controllers.
2382
+ * Label for the secondary button on FRE first step.
2383
+ * @public
2486
2384
  */
2487
- controllers: HTMLElement[];
2385
+ tryLaterLabel: string;
2488
2386
  /**
2489
- * A reference to the controllers container
2387
+ * Label for the secondary "Back" button in FRE mode.
2388
+ * @public
2490
2389
  */
2491
- controllersContainer: HTMLElement;
2390
+ backLabel: string;
2492
2391
  /**
2493
- * An observable array of HTML elements that represent opened multiViews.
2392
+ * Label for the secondary "Dismiss" button on FRE last step.
2393
+ * @public
2494
2394
  */
2495
- openedMultiViews: HTMLElement[];
2395
+ dismissLabel: string;
2496
2396
  /**
2497
- * The previously opened MultiView
2397
+ * Reference to the inner fabric-dialog element (set via template ref).
2398
+ * @internal
2498
2399
  */
2499
- previouslyOpenedMultiView: MultiView | null;
2400
+ dialog: Dialog;
2500
2401
  /**
2501
- * A string representing the active ID.
2402
+ * Slotted items (used in FRE mode to track fre-items, or carousel-items in default).
2403
+ * @internal
2502
2404
  */
2503
- private activeid;
2405
+ slottedContent: HTMLElement[];
2504
2406
  /**
2505
- * A HTML element representing the active controller.
2407
+ * FRE items parsed from slotted content.
2408
+ * @internal
2506
2409
  */
2507
- private activeController?;
2410
+ freItems: ModalFreItem[];
2508
2411
  /**
2509
- * A number representing the index of the previously active controller.
2412
+ * Total step count (FRE mode).
2413
+ * @public
2414
+ * @readonly
2510
2415
  */
2511
- private prevActiveControllerIndex;
2416
+ get totalSteps(): number;
2512
2417
  /**
2513
- * A number representing the index of the active controller.
2418
+ * Callback when open changes.
2419
+ * Delegates to the inner fabric-dialog's show/hide.
2420
+ * @internal
2514
2421
  */
2515
- private activeControllerIndex;
2422
+ openChanged(_oldValue: boolean, newValue: boolean): void;
2516
2423
  /**
2517
- * An array of strings that represent the IDs of the controllers.
2424
+ * Callback when current-step attribute changes.
2425
+ * Syncs the controller to the attribute value.
2426
+ * @internal
2518
2427
  */
2519
- private controllerIds;
2428
+ currentStepChanged(_oldValue: string | number, newValue: string | number): void;
2520
2429
  /**
2521
- * An array of strings that represent the IDs of the multiViews.
2430
+ * Callback when slotted content changes.
2431
+ * In FRE mode, extracts fre-items and assigns them directly to the carousel controller.
2432
+ * @internal
2522
2433
  */
2523
- private multiViewsIds;
2434
+ slottedContentChanged(): void;
2524
2435
  /**
2525
- * Method to open a multiView.
2526
- * @param {MultiView} multiView - The multiView to open.
2436
+ * Handles the toggle event from the inner fabric-dialog.
2437
+ * Syncs open state when the dialog is closed externally (Escape key, backdrop click).
2438
+ * @internal
2527
2439
  */
2528
- openMultiView: (multiView: MultiView) => void;
2440
+ handleDialogToggle(event: CustomEvent): void;
2529
2441
  /**
2530
- * Manages opened MultiViews by limiting the number of opened views
2531
- * and setting focus on the newly opened MultiView.
2532
- *
2533
- * @param {MultiView} multiView - The MultiView to manage.
2534
- * @param {CustomEvent} [event] - The event that triggered the managing of the MultiView.
2535
- * @public
2442
+ * Handles the primary button action.
2443
+ * In default mode: dismisses. In FRE mode: advances step or completes.
2444
+ * @internal
2536
2445
  */
2537
- manageOpenedMultiViews: (multiView: MultiView) => void;
2446
+ handlePrimaryAction(): void;
2538
2447
  /**
2539
- * Limits the number of opened MultiViews. If there are more than one MultiViews opened,
2540
- * it will remove the attribute "data-flexposition" from the first opened MultiView and hide it.
2541
- * @public
2448
+ * Handles the secondary button action.
2449
+ * In FRE mode: "Try Later" / "Back" / "Dismiss" depending on step.
2450
+ * @internal
2542
2451
  */
2543
- limitNumberOfOpenMultiViews(): void;
2452
+ handleSecondaryAction(): void;
2544
2453
  /**
2545
- * Manages the opening of a second MultiView. It will set the "data-flexposition" attribute of the second MultiView,
2546
- * limit the number of opened MultiViews if necessary, and add the second MultiView to the list of opened MultiViews.
2547
- *
2548
- * @param {MultiView} multiView - The MultiView to open.
2549
- * @public
2454
+ * Handles dismiss (close button, Escape, backdrop click, or FRE completion).
2455
+ * @param complete - Whether the dismiss was triggered by completing the FRE wizard.
2456
+ * @internal
2550
2457
  */
2551
- manageOpeningSecondMultiView: (multiView: MultiView) => void;
2458
+ handleDismiss(complete?: boolean): void;
2552
2459
  /**
2553
- * Method to open the second multiView.
2460
+ * Gets the label for the secondary button based on current FRE step.
2461
+ * @internal
2554
2462
  */
2555
- openSecondMultiView: (multiView: MultiView) => void;
2463
+ get secondaryButtonLabel(): string;
2556
2464
  /**
2557
- * Method to close a multiView.
2558
- * @param {MultiView} multiView - The multiView to close.
2465
+ * Gets the label for the primary button.
2466
+ * @internal
2559
2467
  */
2560
- closeMultiView: (multiView: MultiView) => void;
2561
- manageClosedMultiViews: (multiView: MultiView) => void;
2468
+ get primaryButtonLabel(): string;
2562
2469
  /**
2563
- * Method to close all opened multiViews.
2470
+ * Subscriber implementation for CarouselController changes.
2471
+ * Syncs currentStep attribute and emits step-change event.
2472
+ * @internal
2564
2473
  */
2565
- closeAllMultiViews: () => void;
2474
+ handleChange(source: CarouselController, propertyName: string): void;
2475
+ connectedCallback(): void;
2476
+ disconnectedCallback(): void;
2566
2477
  /**
2567
- * Method to toggle a multiView.
2568
- * @param {MultiView} multiView - The multiView to toggle.
2478
+ * Emits open-change event.
2479
+ * @internal
2569
2480
  */
2570
- toggleMultiView: (multiView: MultiView) => void;
2481
+ private emitOpenChange;
2571
2482
  /**
2572
- * Method to be called when the active ID changes.
2573
- * @param {string} oldValue - The previous value of the active ID.
2574
- * @param {string} newValue - The new value of the active ID.
2483
+ * Emits step-change event.
2484
+ * @internal
2485
+ */
2486
+ private emitStepChange;
2487
+ }
2488
+
2489
+ /**
2490
+ * Defines a custom element registration entry that can be composed with other
2491
+ * element definitions.
2492
+ *
2493
+ * @public
2494
+ */
2495
+ interface FabricElementDefinition {
2496
+ /**
2497
+ * The custom element tag name associated with the definition.
2498
+ */
2499
+ readonly name: string;
2500
+ /**
2501
+ * Registers the element definition with a custom element registry.
2502
+ *
2503
+ * @param registry - The registry to define the element in. Defaults to the
2504
+ * global custom element registry.
2505
+ */
2506
+ define(registry?: CustomElementRegistry): void;
2507
+ }
2508
+ /**
2509
+ * The subset of FAST element definitions required by Fabric definition helpers.
2510
+ *
2511
+ * @internal
2512
+ */
2513
+ interface FASTElementDefinitionLike {
2514
+ readonly name: string;
2515
+ define(registry?: CustomElementRegistry): void;
2516
+ }
2517
+ /**
2518
+ * Validates a FAST element definition and returns it as a Fabric element
2519
+ * definition.
2520
+ *
2521
+ * @param fastDefinition - The FAST definition to validate.
2522
+ * @returns The FAST definition as a Fabric element definition.
2523
+ *
2524
+ * @public
2525
+ */
2526
+ declare function fromFAST(fastDefinition: FASTElementDefinitionLike): FabricElementDefinition;
2527
+ /**
2528
+ * Creates a Fabric element definition for a primary element and any
2529
+ * sub-element dependencies it requires.
2530
+ *
2531
+ * @param primaryDefinition - The primary element definition to expose.
2532
+ * @param dependencies - The dependency definitions to register before the
2533
+ * primary definition.
2534
+ * @returns A Fabric element definition that defines each dependency and the
2535
+ * primary definition with the same custom element registry.
2536
+ *
2537
+ * @public
2538
+ */
2539
+ declare function composeDefinitions(primaryDefinition: FabricElementDefinition, ...dependencies: FabricElementDefinition[]): FabricElementDefinition;
2540
+
2541
+ /**
2542
+ * Composed element definition for `<fabric-modal>`, and all direct dependencies.
2543
+ *
2544
+ * @public
2545
+ * @remarks
2546
+ * HTML Element: `<fabric-modal>`
2547
+ */
2548
+ declare const definition$12: FabricElementDefinition;
2549
+
2550
+ /**
2551
+ * Composed element definition for `<fabric-modal-fre-item>`, registering the
2552
+ * `fabric-button` dependency before the element itself.
2553
+ *
2554
+ * @public
2555
+ * @remarks
2556
+ * HTML Element: `<fabric-modal-fre-item>`
2557
+ */
2558
+ declare const modalFreItemDefinition: FabricElementDefinition;
2559
+
2560
+ /**
2561
+ * Event names for the Modal component.
2562
+ * @public
2563
+ */
2564
+ declare const ModalEventNames: {
2565
+ readonly openChange: "open-change";
2566
+ readonly dismiss: "dismiss";
2567
+ readonly stepChange: "step-change";
2568
+ };
2569
+ /**
2570
+ * Modal event type.
2571
+ * @public
2572
+ */
2573
+ type ModalEventName = ValuesOf<typeof ModalEventNames>;
2574
+ /**
2575
+ * Detail payload for the dismiss event.
2576
+ * @public
2577
+ */
2578
+ interface ModalDismissEventDetail {
2579
+ /**
2580
+ * Whether the dismiss was triggered by completing the FRE wizard.
2581
+ */
2582
+ complete: boolean;
2583
+ }
2584
+
2585
+ /**
2586
+ * Appearances for {@link CompoundButton}
2587
+ * Local plural const composed from ButtonAppearances allowing future extensions.
2588
+ * @public
2589
+ */
2590
+ declare const CompoundButtonAppearances: {
2591
+ readonly primaryOnBrand: "primary-on-brand";
2592
+ readonly primary: "primary";
2593
+ readonly outline: "outline";
2594
+ readonly subtle: "subtle";
2595
+ readonly transparent: "transparent";
2596
+ };
2597
+ /**
2598
+ * Type describing appearance options for {@link CompoundButton}.
2599
+ * This is the union of the values defined in `CompoundButtonAppearances`.
2600
+ */
2601
+ type CompoundButtonAppearance = ValuesOf<typeof CompoundButtonAppearances>;
2602
+ /**
2603
+ * Shapes for {@link CompoundButton}
2604
+ * @public
2605
+ */
2606
+ declare const CompoundButtonShapes: {
2607
+ readonly circular: "circular";
2608
+ readonly rounded: "rounded";
2609
+ readonly square: "square";
2610
+ };
2611
+ /**
2612
+ * Type describing shape options for {@link CompoundButton}.
2613
+ * This is the union of the values defined in `CompoundButtonShapes`.
2614
+ */
2615
+ type CompoundButtonShape = ValuesOf<typeof CompoundButtonShapes>;
2616
+ /**
2617
+ * Sizes for {@link CompoundButton}
2618
+ * @public
2619
+ */
2620
+ declare const CompoundButtonSizes: {
2621
+ readonly small: "small";
2622
+ readonly medium: "medium";
2623
+ readonly large: "large";
2624
+ };
2625
+ /**
2626
+ * Type describing size options for {@link CompoundButton}.
2627
+ * This is the union of the values defined in `CompoundButtonSizes`.
2628
+ */
2629
+ type CompoundButtonSize = ValuesOf<typeof CompoundButtonSizes>;
2630
+ /**
2631
+ * Form targets for {@link CompoundButton}
2632
+ * @public
2633
+ */
2634
+ declare const CompoundButtonFormTargets: {
2635
+ readonly blank: "_blank";
2636
+ readonly self: "_self";
2637
+ readonly parent: "_parent";
2638
+ readonly top: "_top";
2639
+ };
2640
+ /**
2641
+ * Type describing form target options for {@link CompoundButton}.
2642
+ * This is the union of the values defined in `CompoundButtonFormTargets`.
2643
+ */
2644
+ type CompoundButtonFormTarget = ValuesOf<typeof CompoundButtonFormTargets>;
2645
+ /**
2646
+ * Types for {@link CompoundButton}
2647
+ * @public
2648
+ */
2649
+ declare const CompoundButtonTypes: {
2650
+ readonly submit: "submit";
2651
+ readonly reset: "reset";
2652
+ readonly button: "button";
2653
+ };
2654
+ /**
2655
+ * Type describing button type options for {@link CompoundButton}.
2656
+
2657
+ * This is the union of the values defined in `CompoundButtonTypes`.
2658
+ */
2659
+ type CompoundButtonType = ValuesOf<typeof CompoundButtonTypes>;
2660
+
2661
+ /**
2662
+ * CompoundButton
2663
+ * @summary The base class used for constructing a fabric-compound-button custom element, which extends the Fluent UI CompoundButton with Fabric-specific functionality.
2664
+ *
2665
+ * @example
2666
+ * ```html
2667
+ * <fabric-compound-button appearance="primary" shape="rounded" size="large" type="submit" autofocus>
2668
+ * <span slot="start">🚀</span>
2669
+ * Your Text Here
2670
+ * <span slot="end">→</span>
2671
+ * <span slot="description">Detailed description here</span>
2672
+ * </fabric-compound-button>
2673
+ * ```
2674
+ *
2675
+ * @attr {CompoundButtonAppearance | undefined} appearance - Indicates the styled appearance of the button.
2676
+ * @attr {CompoundButtonShape | undefined} shape - The shape of the button.
2677
+ * @attr {CompoundButtonSize | undefined} size - The size of the button.
2678
+ * @attr {boolean | undefined} icon-only - Indicates that the button should only display as an icon with no text content.
2679
+ * @attr {boolean | undefined} autofocus - Indicates the button should be focused when the page is loaded.
2680
+ * @attr {boolean | undefined} disabled-focusable - Indicates that the button is focusable while disabled.
2681
+ * @attr {number | undefined} tabindex - Sets that the button tabindex attribute.
2682
+ * @attr {string | undefined} formaction - The URL that processes the form submission.
2683
+ * @attr {string | undefined} form - The id of a form to associate the element to.
2684
+ * @attr {string | undefined} formenctype - The encoding type for the form submission.
2685
+ * @attr {string | undefined} formmethod - The HTTP method that the browser uses to submit the form.
2686
+ * @attr {boolean | undefined} formnovalidate - Indicates that the form will not be validated when submitted.
2687
+ * @attr {CompoundButtonFormTarget | undefined} formtarget - The target frame or window to open the form submission in.
2688
+ * @attr {string | undefined} name - The name of the element. This element's value will be surfaced during form submission under the provided name.
2689
+ * @attr {string | undefined} type - The button type.
2690
+ * @attr {string | undefined} value - The value attribute.
2691
+ *
2692
+ * @prop {CompoundButtonAppearance | undefined} appearance - Indicates the styled appearance of the button.
2693
+ * @prop {CompoundButtonShape | undefined} shape - The shape of the button.
2694
+ * @prop {CompoundButtonSize | undefined} size - The size of the button.
2695
+ * @prop {boolean | undefined} iconOnly - Indicates that the button should only display as an icon with no text content.
2696
+ * @prop {boolean | undefined} autofocus - Indicates the button should be focused when the page is loaded.
2697
+ * @prop {boolean | undefined} disabledFocusable - Indicates that the button is focusable while disabled.
2698
+ * @prop {number | undefined} tabIndex - Sets that the button tabindex attribute.
2699
+ * @prop {string | undefined} formAction - The URL that processes the form submission.
2700
+ * @prop {string | undefined} form - The id of a form to associate the element to.
2701
+ * @prop {string | undefined} formEnctype - The encoding type for the form submission.
2702
+ * @prop {string | undefined} formMethod - The HTTP method that the browser uses to submit the form.
2703
+ * @prop {boolean | undefined} formNoValidate - Indicates that the form will not be validated when submitted.
2704
+ * @prop {CompoundButtonFormTarget | undefined} formTarget - The target frame or window to open the form submission in.
2705
+ * @prop {string | undefined} name - The name of the element. This element's value will be surfaced during form submission under the provided name.
2706
+ * @prop {string | undefined} type - The button type.
2707
+ * @prop {string | undefined} value - The value attribute.
2708
+ *
2709
+ * @slot start - Content which can be provided before the button content.
2710
+ * @slot end - Content which can be provided after the button content.
2711
+ * @slot - The default slot for button content.
2712
+ * @slot description - A slot for providing additional description.
2713
+ *
2714
+ * @csspart content - The button content container.
2715
+ *
2716
+ * @method press - Presses the button.
2717
+ * @method resetForm - Resets the associated form.
2718
+ *
2719
+ * @extends FluentCompoundButton
2720
+ * @tagname fabric-compound-button
2721
+ * @public
2722
+ */
2723
+ declare class CompoundButton extends BaseButton {
2724
+ /**
2725
+ * The appearance of the compound button.
2726
+ *
2727
+ * @public
2728
+ * @remarks
2729
+ * HTML Attribute: `appearance`
2730
+ */
2731
+ appearance: CompoundButtonAppearance;
2732
+ /**
2733
+ * The shape of the compound button.
2734
+ *
2735
+ * @public
2736
+ * @remarks
2737
+ * HTML Attribute: `shape`
2738
+ */
2739
+ shape?: CompoundButtonShape;
2740
+ /**
2741
+ * The size of the compound button.
2742
+ *
2743
+ * @public
2744
+ * @remarks
2745
+ * HTML Attribute: `size`
2746
+ */
2747
+ size?: CompoundButtonSize;
2748
+ /**
2749
+ * Indicates that the compound button should only display as an icon with no text content.
2750
+ *
2751
+ * @public
2752
+ * @remarks
2753
+ * HTML Attribute: `icon-only`
2754
+ */
2755
+ iconOnly: boolean;
2756
+ }
2757
+
2758
+ /**
2759
+ * The Fabric Compound Button component.
2760
+ *
2761
+ * @public
2762
+ */
2763
+ declare const definition$11: _microsoft_fast_element.FASTElementDefinition<typeof CompoundButton>;
2764
+
2765
+ /**
2766
+ * LoadingButton
2767
+ * @summary A custom button component with a loading state that extends Fluent UI's Button class. It provides visual feedback with a spinner when the button is in a loading state and disables interaction.
2768
+ *
2769
+ * @example
2770
+ * ```html
2771
+ * <fabric-loading-button
2772
+ * appearance='primary'
2773
+ * size='large'
2774
+ * shape='rounded'
2775
+ * loading
2776
+ * disabled
2777
+ * aria-busy='true'>
2778
+ * Submit
2779
+ * </fabric-loading-button>
2780
+ * ```
2781
+ *
2782
+ * @attr {boolean} loading - Indicates whether the button is in a loading state.
2783
+ * @attr {ButtonAppearance} appearance - The appearance of the button.
2784
+ * @attr {ButtonShape} shape - The shape of the button.
2785
+ * @attr {ButtonSize} size - The size of the button.
2786
+ * @attr {string} aria-busy - Indicates whether the button is busy.
2787
+ *
2788
+ * @prop {boolean} loading - Indicates whether the button is in a loading state. Default: false.
2789
+ * @prop {boolean} disabled - Indicates whether the button is disabled. Default: false.
2790
+ *
2791
+ * @slot - The default slot for the button content.
2792
+ * @slot start - Slot for the spinner when the button is loading.
2793
+ *
2794
+ * @csspart control - The control part of the button, styled differently when loading and disabled.
2795
+ *
2796
+ * @extends FluentButton
2797
+ * @tagname fabric-loading-button
2798
+ * @public
2799
+ */
2800
+ declare class LoadingButton extends Button$1 {
2801
+ /**
2802
+ * Indicates whether the button is in a loading state.
2803
+ * @public
2804
+ * @type {boolean}
2805
+ * @default false
2806
+ */
2807
+ loading: boolean;
2808
+ connectedCallback(): void;
2809
+ }
2810
+
2811
+ /**
2812
+ * Composed element definition for `<fabric-loading-button>`, registering the
2813
+ * `fabric-spinner` dependency before the element itself.
2814
+ *
2815
+ * @public
2816
+ * @remarks
2817
+ * HTML Element: `<fabric-loading-button>`
2818
+ */
2819
+ declare const definition$10: FabricElementDefinition;
2820
+
2821
+ /**
2822
+ * MultiView
2823
+ * @summary A customizable step component for a wizard-style interface.
2824
+ *
2825
+ * @example
2826
+ * ```html
2827
+ * <fabric-multi-view>
2828
+ * <div slot="start">Start Content</div>
2829
+ * <div>Default Content</div>
2830
+ * <div slot="end">End Content</div>
2831
+ * </fabric-multi-view>
2832
+ * ```
2833
+ *
2834
+ * @attr {boolean} hidden - Controls the visibility of the component. True if the component is hidden.
2835
+ *
2836
+ * @prop {boolean} hidden - Determines the hidden state of the multi-view.
2837
+ *
2838
+ * @slot - Default slot for adding content that can be shown or hidden.
2839
+ *
2840
+ * @csspart multi-view - Style part for the main container of the multi-view.
2841
+ *
2842
+ * @method hiddenChanged(oldValue: string, newValue: string) - Called when the `hidden` attribute changes. It emits the `hidden-change` event.
2843
+ *
2844
+ * @fires hidden-change - Fires when the hidden state of the component changes.
2845
+ *
2846
+ * @extends FASTElement
2847
+ * @tagname fabric-multi-view
2848
+ * @public
2849
+ */
2850
+ declare class MultiView extends FASTElement {
2851
+ /**
2852
+ * Determines the hidden state of the multi-view
2853
+ * @public
2854
+ * @type {boolean}
2855
+ * @attr
2856
+ */
2857
+ hidden: boolean;
2858
+ hiddenChanged(oldValue: string, newValue: string): void;
2859
+ }
2860
+
2861
+ /**
2862
+ *
2863
+ * @public
2864
+ * @remarks
2865
+ * HTML Element: <fabric-multi-view>
2866
+ */
2867
+ declare const definition$$: _microsoft_fast_element.FASTElementDefinition<typeof MultiView>;
2868
+
2869
+ /**
2870
+ * MultiView event names
2871
+ * @public
2872
+ */
2873
+ declare const MultiViewEventNames: {
2874
+ readonly hiddenChange: "hidden-change";
2875
+ };
2876
+
2877
+ /**
2878
+ * MultiViewController
2879
+ * @summary A customizable controller component for a multi-view interface.
2880
+ *
2881
+ * @example
2882
+ * ```html
2883
+ * <fabric-multi-view-controller hidden>
2884
+ * <fabric-multi-view-group>
2885
+ * <fabric-multi-view>
2886
+ * <!-- Content for the first view -->
2887
+ * </fabric-multi-view>
2888
+ * <fabric-multi-view>
2889
+ * <!-- Content for the second view -->
2890
+ * </fabric-multi-view>
2891
+ * </fabric-multi-view-group>
2892
+ * </fabric-multi-view-controller>
2893
+ * ```
2894
+ *
2895
+ * @attr {boolean} hidden - Controls the visibility of the component. True if the component is hidden.
2896
+ *
2897
+ * @prop {boolean} hidden - Controls the visibility of the component. True if the component is hidden.
2898
+ *
2899
+ * @slot - Default slot for adding a controller.
2900
+ *
2901
+ * @csspart multi-view - Style part for the main container of the multi-view.
2902
+ *
2903
+ * @extends FASTElement
2904
+ * @tagname fabric-multi-view-controller
2905
+ * @public
2906
+ */
2907
+ declare class MultiViewController extends FASTElement {
2908
+ }
2909
+
2910
+ /**
2911
+ *
2912
+ * @public
2913
+ * @remarks
2914
+ * HTML Element: <fluent-multi-view-controller>
2915
+ */
2916
+ declare const definition$_: _microsoft_fast_element.FASTElementDefinition<typeof MultiViewController>;
2917
+
2918
+ /**
2919
+ * MultiViewGroup
2920
+ * @summary The MultiViewGroup component is designed to manage multiple views or panels, controlling their visibility and interaction state.
2921
+ *
2922
+ * @example
2923
+ * ```html
2924
+ * <fabric-multi-view-group>
2925
+ * <div slot="controller">Controller 1</div>
2926
+ * <fabric-multi-view slot="multi-view">View 1</fabric-multi-view>
2927
+ * <div slot="controller">Controller 2</div>
2928
+ * <fabric-multi-view slot="multi-view">View 2</fabric-multi-view>
2929
+ * </fabric-multi-view-group>
2930
+ * ```
2931
+ *
2932
+ * @attr {HTMLElement[]} multiViews - An observable array of HTML elements that represent multiViews.
2933
+ * @attr {HTMLElement[]} controllers - An observable array of HTML elements that represent controllers.
2934
+ * @attr {HTMLElement[]} openedMultiViews - An observable array of HTML elements that represent opened multiViews.
2935
+ * @attr {string} activeid - A string representing the active ID.
2936
+ *
2937
+ * @prop {HTMLElement | undefined} activeController - A HTML element representing the active controller.
2938
+ * @prop {number} prevActiveControllerIndex - A number representing the index of the previously active controller.
2939
+ * @prop {number} activeControllerIndex - A number representing the index of the active controller.
2940
+ * @prop {string[]} controllerIds - An array of strings that represent the IDs of the controllers.
2941
+ * @prop {string[]} multiViewsIds - An array of strings that represent the IDs of the multiViews.
2942
+ *
2943
+ * @slot multi-view - Slot for the individual view panels managed by this component.
2944
+ * @slot controller - Slot for the control elements that toggle the visibility of the view panels.
2945
+ *
2946
+ * @csspart views - The container for view panels.
2947
+ * @csspart controllers - The container for the control elements.
2948
+ *
2949
+ * @method initialize - Initializes the component by setting up controllers and multiViews.
2950
+ * @method openMultiView - Opens the specified multiView.
2951
+ * @method manageOpenedMultiViews - Manages opened MultiViews by limiting the number of opened views and setting focus on the newly opened MultiView.
2952
+ * @method limitNumberOfOpenMultiViews - Limits the number of opened MultiViews.
2953
+ * @method manageOpeningSecondMultiView - Manages the opening of a second MultiView.
2954
+ * @method openSecondMultiView - Opens the second multiView.
2955
+ * @method closeMultiView - Closes the specified multiView.
2956
+ * @method manageClosedMultiViews - Manages the state of closed MultiViews.
2957
+ * @method closeAllMultiViews - Closes all opened multiViews.
2958
+ * @method toggleMultiView - Toggles the specified multiView.
2959
+ * @method activeidChanged - Called when the active ID changes.
2960
+ * @method controllersChanged - Called when controllers changes.
2961
+ * @method multiViewsChanged - Called when multiViews changes.
2962
+ * @method openedMultiViewsChanged - Called when openedMultiViews changes.
2963
+ *
2964
+ * @fires change - Fires when the state of the opened views changes.
2965
+ *
2966
+ * @extends FASTElement
2967
+ * @tagname fabric-multi-view-group
2968
+ * @public
2969
+ */
2970
+ declare class MultiViewGroup extends FASTElement {
2971
+ /**
2972
+ * Method to be called when the component is inserted into the document.
2973
+ */
2974
+ connectedCallback(): void;
2975
+ /**
2976
+ * Method to be called when the component is removed from the document.
2977
+ */
2978
+ disconnectedCallback(): void;
2979
+ initialize(): void;
2980
+ /**
2981
+ * An observable array of HTML elements that represent multiViews.
2982
+ */
2983
+ multiViews: HTMLElement[];
2984
+ /**
2985
+ * An observable array of HTML elements that represent controllers.
2986
+ */
2987
+ controllers: HTMLElement[];
2988
+ /**
2989
+ * A reference to the controllers container
2990
+ */
2991
+ controllersContainer: HTMLElement;
2992
+ /**
2993
+ * An observable array of HTML elements that represent opened multiViews.
2994
+ */
2995
+ openedMultiViews: HTMLElement[];
2996
+ /**
2997
+ * The previously opened MultiView
2998
+ */
2999
+ previouslyOpenedMultiView: MultiView | null;
3000
+ /**
3001
+ * A string representing the active ID.
3002
+ */
3003
+ private activeid;
3004
+ /**
3005
+ * A HTML element representing the active controller.
3006
+ */
3007
+ private activeController?;
3008
+ /**
3009
+ * A number representing the index of the previously active controller.
3010
+ */
3011
+ private prevActiveControllerIndex;
3012
+ /**
3013
+ * A number representing the index of the active controller.
3014
+ */
3015
+ private activeControllerIndex;
3016
+ /**
3017
+ * An array of strings that represent the IDs of the controllers.
3018
+ */
3019
+ private controllerIds;
3020
+ /**
3021
+ * An array of strings that represent the IDs of the multiViews.
3022
+ */
3023
+ private multiViewsIds;
3024
+ /**
3025
+ * Method to open a multiView.
3026
+ * @param {MultiView} multiView - The multiView to open.
3027
+ */
3028
+ openMultiView: (multiView: MultiView) => void;
3029
+ /**
3030
+ * Manages opened MultiViews by limiting the number of opened views
3031
+ * and setting focus on the newly opened MultiView.
3032
+ *
3033
+ * @param {MultiView} multiView - The MultiView to manage.
3034
+ * @param {CustomEvent} [event] - The event that triggered the managing of the MultiView.
3035
+ * @public
3036
+ */
3037
+ manageOpenedMultiViews: (multiView: MultiView) => void;
3038
+ /**
3039
+ * Limits the number of opened MultiViews. If there are more than one MultiViews opened,
3040
+ * it will remove the attribute "data-flexposition" from the first opened MultiView and hide it.
3041
+ * @public
3042
+ */
3043
+ limitNumberOfOpenMultiViews(): void;
3044
+ /**
3045
+ * Manages the opening of a second MultiView. It will set the "data-flexposition" attribute of the second MultiView,
3046
+ * limit the number of opened MultiViews if necessary, and add the second MultiView to the list of opened MultiViews.
3047
+ *
3048
+ * @param {MultiView} multiView - The MultiView to open.
3049
+ * @public
3050
+ */
3051
+ manageOpeningSecondMultiView: (multiView: MultiView) => void;
3052
+ /**
3053
+ * Method to open the second multiView.
3054
+ */
3055
+ openSecondMultiView: (multiView: MultiView) => void;
3056
+ /**
3057
+ * Method to close a multiView.
3058
+ * @param {MultiView} multiView - The multiView to close.
3059
+ */
3060
+ closeMultiView: (multiView: MultiView) => void;
3061
+ manageClosedMultiViews: (multiView: MultiView) => void;
3062
+ /**
3063
+ * Method to close all opened multiViews.
3064
+ */
3065
+ closeAllMultiViews: () => void;
3066
+ /**
3067
+ * Method to toggle a multiView.
3068
+ * @param {MultiView} multiView - The multiView to toggle.
3069
+ */
3070
+ toggleMultiView: (multiView: MultiView) => void;
3071
+ /**
3072
+ * Method to be called when the active ID changes.
3073
+ * @param {string} oldValue - The previous value of the active ID.
3074
+ * @param {string} newValue - The new value of the active ID.
2575
3075
  */
2576
3076
  activeidChanged(oldValue: string, newValue: string): void;
2577
3077
  /**
@@ -2729,7 +3229,7 @@ declare class MultiViewGroup extends FASTElement {
2729
3229
  * @remarks
2730
3230
  * HTML Element: <fluent-multi-view-group>
2731
3231
  */
2732
- declare const definition$W: _microsoft_fast_element.FASTElementDefinition<typeof MultiViewGroup>;
3232
+ declare const definition$Z: _microsoft_fast_element.FASTElementDefinition<typeof MultiViewGroup>;
2733
3233
 
2734
3234
  /**
2735
3235
  * MultiViewGroupPosition constants
@@ -2977,7 +3477,7 @@ declare class Overflow extends FASTElement {
2977
3477
  * Styles for the {@link Overflow} component.
2978
3478
  * @public
2979
3479
  */
2980
- declare const styles$g: _microsoft_fast_element.ElementStyles;
3480
+ declare const styles$j: _microsoft_fast_element.ElementStyles;
2981
3481
 
2982
3482
  /**
2983
3483
  * The Overflow component definition.
@@ -2985,7 +3485,7 @@ declare const styles$g: _microsoft_fast_element.ElementStyles;
2985
3485
  * @remarks
2986
3486
  * HTML Element: <fabric-overflow>
2987
3487
  */
2988
- declare const definition$V: _microsoft_fast_element.FASTElementDefinition<typeof Overflow>;
3488
+ declare const definition$Y: _microsoft_fast_element.FASTElementDefinition<typeof Overflow>;
2989
3489
 
2990
3490
  /** Event names for Overflow. */
2991
3491
  declare const OverflowEventNames: {
@@ -3004,7 +3504,7 @@ interface OverflowChangeEventDetail {
3004
3504
  * Styles for the {@link OverflowItem} component.
3005
3505
  * @public
3006
3506
  */
3007
- declare const styles$f: _microsoft_fast_element.ElementStyles;
3507
+ declare const styles$i: _microsoft_fast_element.ElementStyles;
3008
3508
 
3009
3509
  /**
3010
3510
  * The OverflowItem component definition.
@@ -3012,13 +3512,13 @@ declare const styles$f: _microsoft_fast_element.ElementStyles;
3012
3512
  * @remarks
3013
3513
  * HTML Element: <fabric-overflow-item>
3014
3514
  */
3015
- declare const definition$U: _microsoft_fast_element.FASTElementDefinition<typeof OverflowItem>;
3515
+ declare const definition$X: _microsoft_fast_element.FASTElementDefinition<typeof OverflowItem>;
3016
3516
 
3017
3517
  /**
3018
3518
  * Styles for the {@link OverflowDivider} component.
3019
3519
  * @public
3020
3520
  */
3021
- declare const styles$e: _microsoft_fast_element.ElementStyles;
3521
+ declare const styles$h: _microsoft_fast_element.ElementStyles;
3022
3522
 
3023
3523
  /**
3024
3524
  * The OverflowDivider component definition.
@@ -3026,7 +3526,7 @@ declare const styles$e: _microsoft_fast_element.ElementStyles;
3026
3526
  * @remarks
3027
3527
  * HTML Element: <fabric-overflow-divider>
3028
3528
  */
3029
- declare const definition$T: _microsoft_fast_element.FASTElementDefinition<typeof OverflowDivider>;
3529
+ declare const definition$W: _microsoft_fast_element.FASTElementDefinition<typeof OverflowDivider>;
3030
3530
 
3031
3531
  /**
3032
3532
  * Core types for Angular CDK-inspired positioning engine.
@@ -3530,11 +4030,11 @@ declare class Popover extends FASTElement {
3530
4030
  connectedCallback(): void;
3531
4031
  }
3532
4032
 
3533
- declare const definition$S: _microsoft_fast_element.FASTElementDefinition<typeof Popover>;
4033
+ declare const definition$V: _microsoft_fast_element.FASTElementDefinition<typeof Popover>;
3534
4034
 
3535
- declare const template$a: ElementViewTemplate<Popover>;
4035
+ declare const template$d: ElementViewTemplate<Popover>;
3536
4036
 
3537
- declare const styles$d: _microsoft_fast_element.ElementStyles;
4037
+ declare const styles$g: _microsoft_fast_element.ElementStyles;
3538
4038
 
3539
4039
  /**
3540
4040
  * Supported visual variants for `fabric-pagination`.
@@ -3791,7 +4291,7 @@ declare class Pagination extends FASTElement {
3791
4291
  /**
3792
4292
  * FAST element definition for `fabric-pagination`.
3793
4293
  */
3794
- declare const definition$R: _microsoft_fast_element.FASTElementDefinition<typeof Pagination>;
4294
+ declare const definition$U: _microsoft_fast_element.FASTElementDefinition<typeof Pagination>;
3795
4295
 
3796
4296
  /**
3797
4297
  * Registers the pagination element and all of its internal dependencies
@@ -4019,7 +4519,7 @@ declare class SvgIcon extends FASTElement {
4019
4519
  * @remarks
4020
4520
  * HTML Element: <fabric-svg-icon>
4021
4521
  */
4022
- declare const definition$Q: _microsoft_fast_element.FASTElementDefinition<typeof SvgIcon>;
4522
+ declare const definition$T: _microsoft_fast_element.FASTElementDefinition<typeof SvgIcon>;
4023
4523
 
4024
4524
  type TableCellRenderFunction = (data: unknown) => string | HTMLElement | Promise<string | HTMLElement>;
4025
4525
  type TableColumnData = {
@@ -4306,11 +4806,11 @@ declare class Table extends FASTElement {
4306
4806
  * @remarks
4307
4807
  * HTML Element: `<fabric-table>`
4308
4808
  */
4309
- declare const definition$P: FabricElementDefinition;
4809
+ declare const definition$S: FabricElementDefinition;
4310
4810
 
4311
- declare const template$9: ElementViewTemplate<Table>;
4811
+ declare const template$c: ElementViewTemplate<Table>;
4312
4812
 
4313
- declare const styles$c: _microsoft_fast_element.ElementStyles;
4813
+ declare const styles$f: _microsoft_fast_element.ElementStyles;
4314
4814
 
4315
4815
  /**
4316
4816
  * Simple Table
@@ -4364,7 +4864,7 @@ declare class SimpleTable extends FASTElement {
4364
4864
  * @remarks
4365
4865
  * HTML Element: <fabric-simple-table>
4366
4866
  */
4367
- declare const definition$O: _microsoft_fast_element.FASTElementDefinition<typeof SimpleTable>;
4867
+ declare const definition$R: _microsoft_fast_element.FASTElementDefinition<typeof SimpleTable>;
4368
4868
 
4369
4869
  /**
4370
4870
  * TableCell
@@ -4431,11 +4931,11 @@ type TableCellSize = ValuesOf<typeof TableCellSizes>;
4431
4931
  * @remarks
4432
4932
  * HTML Element: <fabric-table-cell>
4433
4933
  */
4434
- declare const definition$N: _microsoft_fast_element.FASTElementDefinition<typeof TableCell>;
4934
+ declare const definition$Q: _microsoft_fast_element.FASTElementDefinition<typeof TableCell>;
4435
4935
 
4436
- declare const styles$b: _microsoft_fast_element.ElementStyles;
4936
+ declare const styles$e: _microsoft_fast_element.ElementStyles;
4437
4937
 
4438
- declare const template$8: ElementViewTemplate<TableCell>;
4938
+ declare const template$b: ElementViewTemplate<TableCell>;
4439
4939
 
4440
4940
  /** Size values for {@link Tag}. */
4441
4941
  declare const TagSizes: {
@@ -4705,7 +5205,7 @@ declare class Tag extends FASTElement {
4705
5205
  * @remarks
4706
5206
  * HTML Element: `<fabric-tag>`
4707
5207
  */
4708
- declare const definition$M: FabricElementDefinition;
5208
+ declare const definition$P: FabricElementDefinition;
4709
5209
 
4710
5210
  /**
4711
5211
  * The size variations for the teaching bubble component
@@ -5007,7 +5507,7 @@ declare class TeachingBubble extends FASTElement {
5007
5507
  * @remarks
5008
5508
  * HTML Element: <fabric-teaching-bubble>
5009
5509
  */
5010
- declare const definition$L: _microsoft_fast_element.FASTElementDefinition<typeof TeachingBubble>;
5510
+ declare const definition$O: _microsoft_fast_element.FASTElementDefinition<typeof TeachingBubble>;
5011
5511
 
5012
5512
  /**
5013
5513
  * The state variations for the WizardStep component
@@ -5694,7 +6194,7 @@ declare class Wizard extends FASTElement {
5694
6194
  * @remarks
5695
6195
  * HTML Element: <fabric-wizard>
5696
6196
  */
5697
- declare const definition$K: _microsoft_fast_element.FASTElementDefinition<typeof Wizard>;
6197
+ declare const definition$N: _microsoft_fast_element.FASTElementDefinition<typeof Wizard>;
5698
6198
 
5699
6199
  declare const WizardEvents: {
5700
6200
  readonly wizardChange: "wizard-change";
@@ -5836,7 +6336,7 @@ declare class WizardPanel extends FASTElement {
5836
6336
  * @remarks
5837
6337
  * HTML Element: <fabric-wizard-panel>
5838
6338
  */
5839
- declare const definition$J: _microsoft_fast_element.FASTElementDefinition<typeof WizardPanel>;
6339
+ declare const definition$M: _microsoft_fast_element.FASTElementDefinition<typeof WizardPanel>;
5840
6340
 
5841
6341
  /**
5842
6342
  *
@@ -5844,7 +6344,7 @@ declare const definition$J: _microsoft_fast_element.FASTElementDefinition<typeof
5844
6344
  * @remarks
5845
6345
  * HTML Element: <fabric-wizard-step>
5846
6346
  */
5847
- declare const definition$I: _microsoft_fast_element.FASTElementDefinition<typeof WizardStep>;
6347
+ declare const definition$L: _microsoft_fast_element.FASTElementDefinition<typeof WizardStep>;
5848
6348
 
5849
6349
  /**
5850
6350
  * AccordionItem
@@ -5915,7 +6415,7 @@ type AccordionItemMarkerPosition = ValuesOf<typeof AccordionItemMarkerPositions>
5915
6415
  * @remarks
5916
6416
  * HTML Element: <fabric-accordion-item>
5917
6417
  */
5918
- declare const definition$H: _microsoft_fast_element.FASTElementDefinition<typeof AccordionItem>;
6418
+ declare const definition$K: _microsoft_fast_element.FASTElementDefinition<typeof AccordionItem>;
5919
6419
 
5920
6420
  /**
5921
6421
  * Accordion
@@ -5957,7 +6457,7 @@ declare class Accordion extends Accordion$1 {
5957
6457
  * @remarks
5958
6458
  * HTML Element: <fabric-accordion>
5959
6459
  */
5960
- declare const definition$G: _microsoft_fast_element.FASTElementDefinition<typeof Accordion>;
6460
+ declare const definition$J: _microsoft_fast_element.FASTElementDefinition<typeof Accordion>;
5961
6461
 
5962
6462
  /** Expand mode values for {@link Accordion}. */
5963
6463
  declare const AccordionExpandModes: {
@@ -6071,7 +6571,7 @@ declare const AnchorTarget: {
6071
6571
  *
6072
6572
  * @public
6073
6573
  */
6074
- declare const definition$F: _microsoft_fast_element.FASTElementDefinition<typeof Link>;
6574
+ declare const definition$I: _microsoft_fast_element.FASTElementDefinition<typeof Link>;
6075
6575
 
6076
6576
  /**
6077
6577
  * Avatar
@@ -6327,7 +6827,7 @@ declare const AvatarSize: {
6327
6827
  *
6328
6828
  * @public
6329
6829
  */
6330
- declare const definition$E: _microsoft_fast_element.FASTElementDefinition<typeof Avatar>;
6830
+ declare const definition$H: _microsoft_fast_element.FASTElementDefinition<typeof Avatar>;
6331
6831
 
6332
6832
  /**
6333
6833
  * Badge
@@ -6440,9 +6940,9 @@ declare const BadgeSize: {
6440
6940
  *
6441
6941
  * @public
6442
6942
  */
6443
- declare const definition$D: _microsoft_fast_element.FASTElementDefinition<typeof Badge>;
6943
+ declare const definition$G: _microsoft_fast_element.FASTElementDefinition<typeof Badge>;
6444
6944
 
6445
- declare const styles$a: _microsoft_fast_element.ElementStyles;
6945
+ declare const styles$d: _microsoft_fast_element.ElementStyles;
6446
6946
 
6447
6947
  /**
6448
6948
  *
@@ -6450,7 +6950,7 @@ declare const styles$a: _microsoft_fast_element.ElementStyles;
6450
6950
  * @remarks
6451
6951
  * HTML Element: <fabric-button>
6452
6952
  */
6453
- declare const definition$C: _microsoft_fast_element.FASTElementDefinition<typeof Button>;
6953
+ declare const definition$F: _microsoft_fast_element.FASTElementDefinition<typeof Button>;
6454
6954
 
6455
6955
  /**
6456
6956
  * Checkbox
@@ -6517,7 +7017,7 @@ type CheckboxSize = ValuesOf<typeof CheckboxSizes>;
6517
7017
  *
6518
7018
  * @public
6519
7019
  */
6520
- declare const definition$B: _microsoft_fast_element.FASTElementDefinition<typeof Checkbox>;
7020
+ declare const definition$E: _microsoft_fast_element.FASTElementDefinition<typeof Checkbox>;
6521
7021
 
6522
7022
  /**
6523
7023
  * CounterBadge
@@ -6537,289 +7037,868 @@ declare const definition$B: _microsoft_fast_element.FASTElementDefinition<typeof
6537
7037
  * @attr {boolean} show-zero - If the badge should be shown when count is 0.
6538
7038
  * @attr {boolean} dot - If a dot should be displayed without the count.
6539
7039
  *
6540
- * @prop {number} count - The numeric value for the badge. If not set, defaults to 0.
6541
- * @prop {number} overflowCount - The maximum number to display before showing '+'. Defaults to 99.
6542
- * @prop {boolean} showZero - Determines whether the badge is shown when the count is 0. Defaults to false.
6543
- * @prop {boolean} dot - Displays a dot instead of the count when set to true. Defaults to false.
7040
+ * @prop {number} count - The numeric value for the badge. If not set, defaults to 0.
7041
+ * @prop {number} overflowCount - The maximum number to display before showing '+'. Defaults to 99.
7042
+ * @prop {boolean} showZero - Determines whether the badge is shown when the count is 0. Defaults to false.
7043
+ * @prop {boolean} dot - Displays a dot instead of the count when set to true. Defaults to false.
7044
+ *
7045
+ * @extends FluentCounterBadge
7046
+ * @tagname fabric-counter-badge
7047
+ * @public
7048
+ */
7049
+ declare class CounterBadge extends CounterBadge$1 {
7050
+ }
7051
+
7052
+ /**
7053
+ * Appearances for {@link CounterBadge}.
7054
+ * @public
7055
+ */
7056
+ declare const CounterBadgeAppearances: {
7057
+ readonly filled: "filled";
7058
+ readonly ghost: "ghost";
7059
+ };
7060
+ /**
7061
+ * Type describing appearance options for {@link CounterBadge}.
7062
+ * @public
7063
+ */
7064
+ type CounterBadgeAppearance = ValuesOf<typeof CounterBadgeAppearances>;
7065
+ /**
7066
+ * Colors for {@link CounterBadge}.
7067
+ * @public
7068
+ */
7069
+ declare const CounterBadgeColors: {
7070
+ readonly brand: "brand";
7071
+ readonly danger: "danger";
7072
+ readonly important: "important";
7073
+ readonly informative: "informative";
7074
+ readonly severe: "severe";
7075
+ readonly subtle: "subtle";
7076
+ readonly success: "success";
7077
+ readonly warning: "warning";
7078
+ };
7079
+ /**
7080
+ * Type describing color options for {@link CounterBadge}.
7081
+ * @public
7082
+ */
7083
+ type CounterBadgeColor = ValuesOf<typeof CounterBadgeColors>;
7084
+ /**
7085
+ * Shapes for {@link CounterBadge}.
7086
+ * @public
7087
+ */
7088
+ declare const CounterBadgeShapes: {
7089
+ readonly circular: "circular";
7090
+ readonly rounded: "rounded";
7091
+ };
7092
+ /**
7093
+ * Type describing shape options for {@link CounterBadge}.
7094
+ * @public
7095
+ */
7096
+ type CounterBadgeShape = ValuesOf<typeof CounterBadgeShapes>;
7097
+ /**
7098
+ * Sizes for {@link CounterBadge}.
7099
+ * @public
7100
+ */
7101
+ declare const CounterBadgeSizes: {
7102
+ readonly tiny: "tiny";
7103
+ readonly extraSmall: "extra-small";
7104
+ readonly small: "small";
7105
+ readonly medium: "medium";
7106
+ readonly large: "large";
7107
+ readonly extraLarge: "extra-large";
7108
+ };
7109
+ /**
7110
+ * Type describing size options for {@link CounterBadge}.
7111
+ * @public
7112
+ */
7113
+ type CounterBadgeSize = ValuesOf<typeof CounterBadgeSizes>;
7114
+
7115
+ /**
7116
+ * The Fabric Counter Badge component.
7117
+ *
7118
+ * @public
7119
+ */
7120
+ declare const definition$D: _microsoft_fast_element.FASTElementDefinition<typeof CounterBadge>;
7121
+
7122
+ declare const styles$c: _microsoft_fast_element.ElementStyles;
7123
+
7124
+ /**
7125
+ * The Fabric Dialog component.
7126
+ *
7127
+ * @public
7128
+ */
7129
+ declare const definition$C: _microsoft_fast_element.FASTElementDefinition<typeof Dialog>;
7130
+
7131
+ /**
7132
+ * Dialog modal type
7133
+ * @public
7134
+ */
7135
+ declare const DialogTypes: {
7136
+ readonly modal: "modal";
7137
+ readonly nonModal: "non-modal";
7138
+ readonly alert: "alert";
7139
+ };
7140
+ type DialogType = ValuesOf$1<typeof DialogTypes>;
7141
+
7142
+ /**
7143
+ * DialogBody
7144
+ * @summary Dialog Body component that extends the FASTElement class, providing slots for title, title-action, content, and actions.
7145
+ *
7146
+ * @example
7147
+ * ```html
7148
+ * <fabric-dialog-body no-title-action="false">
7149
+ * <span slot="title">Title</span>
7150
+ * <span slot="title-action">Action</span>
7151
+ * <div>Content of the dialog body</div>
7152
+ * <span slot="action">Action buttons</span>
7153
+ * </fabric-dialog-body>
7154
+ * ```
7155
+ *
7156
+ * @attr {boolean} no-title-action - Indicates if the title action should be displayed.
7157
+ *
7158
+ * @prop {boolean} noTitleAction - Indicates whether the dialog has a title action.
7159
+ *
7160
+ * @slot title - Slot for the dialog title.
7161
+ * @slot title-action - Slot for the dialog title action, typically a close button.
7162
+ * @slot - The default slot for dialog content.
7163
+ * @slot action - Slot for dialog actions, such as buttons.
7164
+ *
7165
+ * @csspart title - The dialog title container.
7166
+ * @csspart content - The dialog content container.
7167
+ * @csspart actions - The dialog actions container.
7168
+ * @csspart title-action - The dialog title action container.
7169
+ *
7170
+ * @extends FluentDialogBody
7171
+ * @tagname fabric-dialog-body
7172
+ * @public
7173
+ */
7174
+ declare class DialogBody extends DialogBody$1 {
7175
+ }
7176
+
7177
+ /**
7178
+ * The Fabric Dialog Body component.
7179
+ *
7180
+ * @public
7181
+ */
7182
+ declare const definition$B: _microsoft_fast_element.FASTElementDefinition<typeof DialogBody>;
7183
+
7184
+ /**
7185
+ * Divider
7186
+ * @summary A Divider Custom HTML Element that semantically separates content or serves for visual presentation.
7187
+ *
7188
+ * @example
7189
+ * ```html
7190
+ * <fabric-divider role="separator" orientation="vertical" align-content="center" appearance="strong" inset></fabric-divider>
7191
+ * ```
7192
+ *
7193
+ * @attr {DividerRole} role - The role of the element, either 'separator' or 'presentation'.
7194
+ * @attr {DividerOrientation} orientation - The orientation of the divider, either 'horizontal' or 'vertical'.
7195
+ * @attr {DividerAlignContent} alignContent - Align content within divider, options are 'center', 'start', 'end'.
7196
+ * @attr {DividerAppearance} appearance - Divider appearance, options are 'strong', 'brand', 'subtle'.
7197
+ * @attr {boolean} inset - Whether the divider should be inset.
7198
+ *
7199
+ * @prop {DividerRole} role - The role of the element, either 'separator' or 'presentation'.
7200
+ * @prop {DividerOrientation} orientation - The orientation of the divider, either 'horizontal' or 'vertical'.
7201
+ * @prop {DividerAlignContent} alignContent - Align content within divider, options are 'center', 'start', 'end'.
7202
+ * @prop {DividerAppearance} appearance - Divider appearance, options are 'strong', 'brand', 'subtle'.
7203
+ * @prop {boolean} inset - Whether the divider should be inset.
7204
+ *
7205
+ * @slot - The default slot for the divider content.
7206
+ *
7207
+ * @extends FluentDivider
7208
+ * @tagname fabric-divider
7209
+ * @public
7210
+ */
7211
+ declare class Divider extends Divider$1 {
7212
+ }
7213
+
7214
+ /**
7215
+ * Align-content values supported by {@link Divider}.
7216
+ * @public
7217
+ */
7218
+ declare const DividerAlignContents: {
7219
+ readonly center: "center";
7220
+ readonly start: "start";
7221
+ readonly end: "end";
7222
+ };
7223
+ /**
7224
+ * Type describing alignment options for {@link Divider}.
7225
+ * @public
7226
+ */
7227
+ type DividerAlignContent = ValuesOf<typeof DividerAlignContents>;
7228
+ /**
7229
+ * Appearance values supported by {@link Divider}.
7230
+ * @public
7231
+ */
7232
+ declare const DividerAppearances: {
7233
+ readonly strong: "strong";
7234
+ readonly brand: "brand";
7235
+ readonly subtle: "subtle";
7236
+ };
7237
+ /**
7238
+ * Type describing appearance options for {@link Divider}.
7239
+ * @public
7240
+ */
7241
+ type DividerAppearance = ValuesOf<typeof DividerAppearances>;
7242
+ /**
7243
+ * Orientation values supported by {@link Divider}.
7244
+ * @public
7245
+ */
7246
+ declare const DividerOrientations: {
7247
+ readonly horizontal: "horizontal";
7248
+ readonly vertical: "vertical";
7249
+ };
7250
+ /**
7251
+ * Type describing orientation options for {@link Divider}.
7252
+ * @public
7253
+ */
7254
+ type DividerOrientation = ValuesOf<typeof DividerOrientations>;
7255
+ /**
7256
+ * Role values supported by {@link Divider}.
7257
+ * @public
7258
+ */
7259
+ declare const DividerRoles: {
7260
+ readonly separator: "separator";
7261
+ readonly presentation: "presentation";
7262
+ };
7263
+ /**
7264
+ * Type describing ARIA roles available to {@link Divider}.
7265
+ * @public
7266
+ */
7267
+ type DividerRole = ValuesOf<typeof DividerRoles>;
7268
+
7269
+ declare const styles$b: _microsoft_fast_element.ElementStyles;
7270
+
7271
+ /**
7272
+ * Template for the {@link Divider} component.
7273
+ * @public
7274
+ */
7275
+ declare const template$a: _microsoft_fast_element.ElementViewTemplate<_fluentui_web_components.Divider, any>;
7276
+
7277
+ /**
7278
+ * The Fabric Divider component.
7279
+ *
7280
+ * @public
7281
+ */
7282
+ declare const definition$A: _microsoft_fast_element.FASTElementDefinition<typeof Divider>;
7283
+
7284
+ /**
7285
+ * Dynamic Tab
7286
+ * @summary A dismissible tab component for use in dynamic tab lists, similar to browser tabs.
7287
+ *
7288
+ * @example
7289
+ * ```html
7290
+ * <fabric-dynamic-tab id="tab-1" selected>
7291
+ * <fabric-svg-icon slot="icon" name="document-20-regular"></fabric-svg-icon>
7292
+ * Document.docx
7293
+ * </fabric-dynamic-tab>
7294
+ * ```
7295
+ *
7296
+ * @attr {boolean} selected - Whether the tab is currently selected.
7297
+ * @attr {boolean} disabled - Whether the tab is disabled.
7298
+ * @attr {boolean} no-dismiss - When present, prevents the tab from being dismissed/closed.
7299
+ * @attr {boolean} no-rename - When present, prevents the tab from being renamed.
7300
+ * @attr {boolean} modified - Whether the tab has unsaved changes (shows indicator instead of dismiss).
7301
+ *
7302
+ * @slot icon - Optional icon displayed before the label (defaults to document icon).
7303
+ * @slot dismiss-icon - Optional custom icon for the dismiss button.
7304
+ * @slot - The tab label text.
7305
+ *
7306
+ * @fires dismiss - Fires when the dismiss button is clicked.
7307
+ * @fires select - Fires when the tab is clicked to select.
7308
+ * @fires rename-request - Fires when rename is requested via F2 key.
6544
7309
  *
6545
- * @extends FluentCounterBadge
6546
- * @tagname fabric-counter-badge
7310
+ * @extends FASTElement
7311
+ * @tagname fabric-dynamic-tab
6547
7312
  * @public
6548
7313
  */
6549
- declare class CounterBadge extends CounterBadge$1 {
7314
+ declare class DynamicTab extends FASTElement {
7315
+ /**
7316
+ * Static counter for generating unique internal IDs.
7317
+ * @internal
7318
+ */
7319
+ private static idCounter;
7320
+ /**
7321
+ * Internal unique ID used when no id attribute is provided.
7322
+ * Ensures aria-describedby references don't collide across instances.
7323
+ * @internal
7324
+ */
7325
+ private readonly internalId;
7326
+ /**
7327
+ * Returns the effective ID for ARIA references.
7328
+ * Uses the consumer-provided id attribute if set, otherwise falls back to internal ID.
7329
+ * @internal
7330
+ */
7331
+ get effectiveId(): string;
7332
+ /**
7333
+ * Whether the tab is currently selected.
7334
+ * @public
7335
+ * @remarks
7336
+ * HTML Attribute: `selected`
7337
+ */
7338
+ selected: boolean;
7339
+ /**
7340
+ * Whether the tab is disabled.
7341
+ * @public
7342
+ * @remarks
7343
+ * HTML Attribute: `disabled`
7344
+ */
7345
+ disabled: boolean;
7346
+ /**
7347
+ * When present, prevents the tab from being dismissed/closed.
7348
+ * @public
7349
+ * @remarks
7350
+ * HTML Attribute: `no-dismiss`
7351
+ */
7352
+ noDismiss: boolean;
7353
+ /**
7354
+ * When present, prevents the tab from being renamed.
7355
+ * @public
7356
+ * @remarks
7357
+ * HTML Attribute: `no-rename`
7358
+ */
7359
+ noRename: boolean;
7360
+ /**
7361
+ * Whether the tab has unsaved changes.
7362
+ * When true, shows a modified indicator instead of the dismiss button.
7363
+ * @public
7364
+ * @remarks
7365
+ * HTML Attribute: `modified`
7366
+ */
7367
+ modified: boolean;
7368
+ /**
7369
+ * Accessible label for the close/dismiss button.
7370
+ * Override for i18n/localization.
7371
+ * @public
7372
+ * @remarks
7373
+ * HTML Attribute: `close-tab-label`
7374
+ */
7375
+ closeTabLabel: string;
7376
+ /**
7377
+ * Accessible label for the modified indicator.
7378
+ * Override for i18n/localization.
7379
+ * @public
7380
+ * @remarks
7381
+ * HTML Attribute: `modified-label`
7382
+ */
7383
+ modifiedLabel: string;
7384
+ /**
7385
+ * Accessible hint text for dismissible tabs.
7386
+ * Override for i18n/localization.
7387
+ * @public
7388
+ * @remarks
7389
+ * HTML Attribute: `close-hint-label`
7390
+ */
7391
+ closeHintLabel: string;
7392
+ /**
7393
+ * Handles click events on the tab.
7394
+ * @internal
7395
+ */
7396
+ handleClick(_event: MouseEvent): void;
7397
+ /**
7398
+ * Handles keyboard events.
7399
+ * @internal
7400
+ */
7401
+ handleKeydown(event: KeyboardEvent): boolean;
7402
+ /**
7403
+ * Handles dismiss button click.
7404
+ * @internal
7405
+ */
7406
+ handleDismissClick(event: MouseEvent): void;
7407
+ /**
7408
+ * Emits the dismiss event.
7409
+ * Can be called programmatically to trigger tab dismissal.
7410
+ * @public
7411
+ */
7412
+ emitDismiss(): void;
7413
+ /**
7414
+ * Emits the select event.
7415
+ * @internal
7416
+ */
7417
+ private emitSelect;
7418
+ /**
7419
+ * Emits the rename-request event.
7420
+ * @internal
7421
+ */
7422
+ private emitRenameRequest;
6550
7423
  }
6551
7424
 
6552
7425
  /**
6553
- * Appearances for {@link CounterBadge}.
7426
+ * Event names for {@link DynamicTab}.
6554
7427
  * @public
6555
7428
  */
6556
- declare const CounterBadgeAppearances: {
6557
- readonly filled: "filled";
6558
- readonly ghost: "ghost";
7429
+ declare const DynamicTabEventNames: {
7430
+ readonly dismiss: "dismiss";
7431
+ readonly select: "select";
7432
+ readonly "rename-request": "rename-request";
6559
7433
  };
7434
+
6560
7435
  /**
6561
- * Type describing appearance options for {@link CounterBadge}.
7436
+ * The template for the DynamicTab component.
6562
7437
  * @public
6563
7438
  */
6564
- type CounterBadgeAppearance = ValuesOf<typeof CounterBadgeAppearances>;
7439
+ declare const template$9: ElementViewTemplate<DynamicTab>;
7440
+
6565
7441
  /**
6566
- * Colors for {@link CounterBadge}.
7442
+ * Styles for the DynamicTab component.
6567
7443
  * @public
6568
7444
  */
6569
- declare const CounterBadgeColors: {
6570
- readonly brand: "brand";
6571
- readonly danger: "danger";
6572
- readonly important: "important";
6573
- readonly informative: "informative";
6574
- readonly severe: "severe";
6575
- readonly subtle: "subtle";
6576
- readonly success: "success";
6577
- readonly warning: "warning";
6578
- };
7445
+ declare const styles$a: _microsoft_fast_element.ElementStyles;
7446
+
6579
7447
  /**
6580
- * Type describing color options for {@link CounterBadge}.
7448
+ * Composed element definition for `<fabric-dynamic-tab>`, registering the
7449
+ * `fabric-button` dependency before the element itself.
7450
+ *
6581
7451
  * @public
7452
+ * @remarks
7453
+ * HTML Element: `<fabric-dynamic-tab>`
6582
7454
  */
6583
- type CounterBadgeColor = ValuesOf<typeof CounterBadgeColors>;
7455
+ declare const definition$z: FabricElementDefinition;
7456
+
6584
7457
  /**
6585
- * Shapes for {@link CounterBadge}.
7458
+ * Dynamic Tab List orientations.
6586
7459
  * @public
6587
7460
  */
6588
- declare const CounterBadgeShapes: {
6589
- readonly circular: "circular";
6590
- readonly rounded: "rounded";
7461
+ declare const DynamicTabListOrientations: {
7462
+ readonly horizontal: "horizontal";
7463
+ readonly vertical: "vertical";
6591
7464
  };
6592
7465
  /**
6593
- * Type describing shape options for {@link CounterBadge}.
7466
+ * Type describing orientation options for {@link DynamicTabList}.
6594
7467
  * @public
6595
7468
  */
6596
- type CounterBadgeShape = ValuesOf<typeof CounterBadgeShapes>;
7469
+ type DynamicTabListOrientation = ValuesOf<typeof DynamicTabListOrientations>;
6597
7470
  /**
6598
- * Sizes for {@link CounterBadge}.
7471
+ * Event names for {@link DynamicTabList}.
6599
7472
  * @public
6600
7473
  */
6601
- declare const CounterBadgeSizes: {
6602
- readonly tiny: "tiny";
6603
- readonly extraSmall: "extra-small";
6604
- readonly small: "small";
6605
- readonly medium: "medium";
6606
- readonly large: "large";
6607
- readonly extraLarge: "extra-large";
7474
+ declare const DynamicTabListEventNames: {
7475
+ readonly "tab-dismiss": "tab-dismiss";
7476
+ readonly "tab-select": "tab-select";
7477
+ readonly "context-menu": "context-menu";
6608
7478
  };
7479
+
6609
7480
  /**
6610
- * Type describing size options for {@link CounterBadge}.
7481
+ * Dynamic Tab List
7482
+ * @summary A structural container for dynamic tabs with public methods for tab management.
7483
+ *
7484
+ * @remarks
7485
+ * This component provides structure, emits events, and offers public helper methods
7486
+ * for common tab operations (close, closeOthers, closeToRight, etc.).
7487
+ * Context menus should be implemented by the consumer using the native Popover API,
7488
+ * listening to the `context-menu` event for positioning coordinates.
7489
+ *
7490
+ * @example
7491
+ * ```html
7492
+ * <fabric-dynamic-tab-list activeid="tab-1" show-managed-tabs>
7493
+ * <fabric-dynamic-tab id="tab-1" selected>Document.docx</fabric-dynamic-tab>
7494
+ * <fabric-dynamic-tab id="tab-2">Photo.png</fabric-dynamic-tab>
7495
+ * <button slot="actions">+</button>
7496
+ * <button slot="manage-tabs">☰</button>
7497
+ * </fabric-dynamic-tab-list>
7498
+ * ```
7499
+ *
7500
+ * @attr {string} activeid - The id of the currently active/selected tab.
7501
+ * @attr {DynamicTabListOrientation} orientation - The layout orientation.
7502
+ * @attr {boolean} show-managed-tabs - When true, renders built-in manage tabs menu.
7503
+ * @attr {string} close-unmodified-label - Label for "Close unmodified tabs" menu item (i18n).
7504
+ * @attr {string} close-all-label - Label for "Close all tabs" menu item (i18n).
7505
+ *
7506
+ * @slot - Container for fabric-dynamic-tab elements.
7507
+ * @slot actions - Optional action buttons between tabs and manage-tabs button.
7508
+ * @slot manage-tabs - Trigger button for manage tabs menu (used when show-managed-tabs is true).
7509
+ *
7510
+ * @csspart tabs-container - The scrollable container for tab elements.
7511
+ * @csspart actions-container - The container for action buttons and manage-tabs.
7512
+ *
7513
+ * @fires tab-dismiss - Fires when a tab's dismiss button is clicked or closeTab() is called.
7514
+ * @fires tab-select - Fires when a tab is selected.
7515
+ * @fires context-menu - Fires when a tab is right-clicked. Detail includes { id, clientX, clientY }.
7516
+ *
7517
+ * @extends FASTElement
7518
+ * @tagname fabric-dynamic-tab-list
6611
7519
  * @public
6612
7520
  */
6613
- type CounterBadgeSize = ValuesOf<typeof CounterBadgeSizes>;
7521
+ declare class DynamicTabList extends FASTElement {
7522
+ /**
7523
+ * The id of the currently active tab.
7524
+ * @public
7525
+ * @remarks
7526
+ * HTML Attribute: `activeid`
7527
+ */
7528
+ activeid?: string;
7529
+ /**
7530
+ * The layout orientation of the tab list.
7531
+ * @public
7532
+ * @remarks
7533
+ * HTML Attribute: `orientation`
7534
+ */
7535
+ orientation: DynamicTabListOrientation;
7536
+ /**
7537
+ * When true, renders a built-in manage tabs menu with "Close unmodified tabs",
7538
+ * "Close all tabs" actions, and a list of all open tabs.
7539
+ * @public
7540
+ * @remarks
7541
+ * HTML Attribute: `show-managed-tabs`
7542
+ */
7543
+ showManagedTabs: boolean;
7544
+ /**
7545
+ * Label for the "Close unmodified tabs" menu item.
7546
+ * Override for i18n/localization.
7547
+ * @public
7548
+ * @remarks
7549
+ * HTML Attribute: `close-unmodified-label`
7550
+ */
7551
+ closeUnmodifiedLabel: string;
7552
+ /**
7553
+ * Label for the "Close all tabs" menu item.
7554
+ * Override for i18n/localization.
7555
+ * @public
7556
+ * @remarks
7557
+ * HTML Attribute: `close-all-label`
7558
+ */
7559
+ closeAllLabel: string;
7560
+ /**
7561
+ * Label for the manage tabs button (accessibility).
7562
+ * Override for i18n/localization.
7563
+ * @public
7564
+ * @remarks
7565
+ * HTML Attribute: `manage-tabs-label`
7566
+ */
7567
+ manageTabsLabel: string;
7568
+ /**
7569
+ * The slotted tab elements.
7570
+ * Exposed as public so consumers can access the tab list for their menu rendering.
7571
+ * @public
7572
+ */
7573
+ tabs: DynamicTab[];
7574
+ /**
7575
+ * The ID of the tab that triggered the context menu.
7576
+ * Exposed as public so consumers can access it for conditional menu rendering.
7577
+ * @public
7578
+ */
7579
+ contextMenuTargetId: string | null;
7580
+ /**
7581
+ * Whether the context menu is currently open.
7582
+ * @public
7583
+ */
7584
+ contextMenuOpen: boolean;
7585
+ /**
7586
+ * The X coordinate where the context menu was triggered.
7587
+ * @public
7588
+ */
7589
+ contextMenuX: number;
7590
+ /**
7591
+ * The Y coordinate where the context menu was triggered.
7592
+ * @public
7593
+ */
7594
+ contextMenuY: number;
7595
+ /**
7596
+ * Slotted manage-tabs trigger element(s).
7597
+ * @internal
7598
+ */
7599
+ slottedManageTabsTrigger: HTMLElement[];
7600
+ /**
7601
+ * Whether the manage-tabs trigger should be interactive.
7602
+ * True when the built-in menu is enabled or a custom trigger is slotted.
7603
+ * @internal
7604
+ */
7605
+ get hasTrigger(): boolean;
7606
+ /**
7607
+ * Whether the manage tabs menu is currently open.
7608
+ * Used for aria-expanded on the trigger.
7609
+ * @internal
7610
+ */
7611
+ manageTabsMenuOpen: boolean;
7612
+ /**
7613
+ * Reference to the manage-tabs-menu popover element.
7614
+ * @internal
7615
+ */
7616
+ private manageTabsMenuEl;
7617
+ /**
7618
+ * Roving focus controller for keyboard navigation.
7619
+ * @internal
7620
+ */
7621
+ private focusController;
7622
+ /**
7623
+ * Flag to track if activeid change is from user gesture.
7624
+ * Used to prevent emitting tab-select on programmatic changes.
7625
+ * @internal
7626
+ */
7627
+ private isUserSelection;
7628
+ /**
7629
+ * Lifecycle callback - initialize focus controller.
7630
+ * @internal
7631
+ */
7632
+ connectedCallback(): void;
7633
+ /**
7634
+ * Lifecycle callback - cleanup.
7635
+ * @internal
7636
+ */
7637
+ disconnectedCallback(): void;
7638
+ /**
7639
+ * Bound handler for manage tabs menu light dismiss.
7640
+ * @internal
7641
+ */
7642
+ private handleManageTabsLightDismiss;
7643
+ /**
7644
+ * Bound handler for manage tabs menu Escape key.
7645
+ * @internal
7646
+ */
7647
+ private handleManageTabsEscape;
7648
+ /**
7649
+ * Set up light dismiss listeners for manage tabs menu.
7650
+ * @internal
7651
+ */
7652
+ private setupManageTabsMenuListeners;
7653
+ /**
7654
+ * Remove light dismiss listeners for manage tabs menu.
7655
+ * Optionally returns focus to the trigger button.
7656
+ * @internal
7657
+ */
7658
+ private removeManageTabsMenuListeners;
7659
+ /**
7660
+ * Initialize the roving focus controller.
7661
+ * @internal
7662
+ */
7663
+ private initializeFocusController;
7664
+ /**
7665
+ * Called when tabs change.
7666
+ * Filters to only DynamicTab elements (excludes text nodes and other elements).
7667
+ * Reconciles activeid if the active tab was removed externally.
7668
+ * @internal
7669
+ */
7670
+ tabsChanged(): void;
7671
+ /**
7672
+ * Called when activeid changes.
7673
+ * @internal
7674
+ */
7675
+ activeidChanged(oldValue: string | undefined, newValue: string | undefined): void;
7676
+ /**
7677
+ * Called when orientation changes - reinitialize focus controller.
7678
+ * @internal
7679
+ */
7680
+ orientationChanged(): void;
7681
+ /**
7682
+ * Updates the selected state on all child tabs.
7683
+ * @internal
7684
+ */
7685
+ private updateTabStates;
7686
+ /**
7687
+ * Handles tab dismiss events from child tabs.
7688
+ * Manages focus transfer and re-emits the event with index for consumer handling.
7689
+ * @internal
7690
+ */
7691
+ handleTabDismiss(event: CustomEvent<{
7692
+ id: string;
7693
+ }>): void;
7694
+ /**
7695
+ * Handles tab select events from child tabs.
7696
+ * @internal
7697
+ */
7698
+ handleTabSelect(event: CustomEvent<{
7699
+ id: string;
7700
+ }>): void;
7701
+ /**
7702
+ * Handles right-click on tabs.
7703
+ * Emits context-menu event with tab ID and cursor coordinates.
7704
+ * Consumer implements their own context menu using native Popover API.
7705
+ * @internal
7706
+ */
7707
+ handleTabContextMenu(event: MouseEvent): boolean;
7708
+ /**
7709
+ * Handles keyboard navigation using roving focus controller.
7710
+ * @internal
7711
+ */
7712
+ handleKeydown(event: KeyboardEvent): boolean;
7713
+ /**
7714
+ * Handles focusin events to sync the focus controller.
7715
+ * @internal
7716
+ */
7717
+ handleFocusin(event: FocusEvent): void;
7718
+ /**
7719
+ * Emits the tab-select event.
7720
+ * @internal
7721
+ */
7722
+ private emitTabSelect;
7723
+ /**
7724
+ * Gets the tab that triggered the context menu.
7725
+ * Useful for consumers to render menu items based on tab state.
7726
+ * @public
7727
+ */
7728
+ getContextMenuTab(): DynamicTab | null;
7729
+ /**
7730
+ * Clears the context menu target ID and state.
7731
+ * Call this when closing your context menu to reset state.
7732
+ * @public
7733
+ */
7734
+ clearContextMenuTarget(): void;
7735
+ /**
7736
+ * Closes the context menu and resets all context menu state.
7737
+ * @public
7738
+ */
7739
+ closeContextMenu(): void;
7740
+ /**
7741
+ * Toggles the manage tabs menu popover.
7742
+ * @public
7743
+ */
7744
+ toggleManageTabsMenu(): void;
7745
+ /**
7746
+ * Closes the manage tabs menu.
7747
+ * @public
7748
+ */
7749
+ closeManageTabsMenu(): void;
7750
+ /**
7751
+ * Requests closing a tab by ID.
7752
+ * Emits `tab-dismiss` event for the consumer to handle DOM removal.
7753
+ * If the tab had focus, moves focus to an adjacent tab.
7754
+ * @param id - The ID of the tab to close
7755
+ * @public
7756
+ */
7757
+ closeTab(id: string): void;
7758
+ /**
7759
+ * Requests closing all tabs except the specified one.
7760
+ * Emits `tab-dismiss` events for each tab to close.
7761
+ * @param id - The ID of the tab to keep open
7762
+ * @public
7763
+ */
7764
+ closeOtherTabs(id: string): void;
7765
+ /**
7766
+ * Requests closing all tabs to the right of the specified tab.
7767
+ * Emits `tab-dismiss` events for each tab to close.
7768
+ * @param id - The ID of the anchor tab
7769
+ * @public
7770
+ */
7771
+ closeTabsToRight(id: string): void;
7772
+ /**
7773
+ * Requests closing all tabs to the left of the specified tab.
7774
+ * Emits `tab-dismiss` events for each tab to close.
7775
+ * @param id - The ID of the anchor tab
7776
+ * @public
7777
+ */
7778
+ closeTabsToLeft(id: string): void;
7779
+ /**
7780
+ * Requests closing all tabs.
7781
+ * Emits `tab-dismiss` events for each tab.
7782
+ * @public
7783
+ */
7784
+ closeAllTabs(): void;
7785
+ /**
7786
+ * Selects the next available tab after a tab is closed.
7787
+ * Prefers the tab at the same index, then previous tabs.
7788
+ * @param closedIndex - The index of the tab that was closed
7789
+ * @internal
7790
+ */
7791
+ private selectNextAvailableTab;
7792
+ /**
7793
+ * Requests closing all tabs that are not marked as modified.
7794
+ * Emits `tab-dismiss` events for each unmodified tab.
7795
+ * Tabs with `modified === true` are preserved.
7796
+ * @public
7797
+ */
7798
+ closeUnmodifiedTabs(): void;
7799
+ /**
7800
+ * Selects a tab from the manage tabs menu, focuses it, and closes the menu.
7801
+ * @param tab - The tab to select
7802
+ * @internal
7803
+ */
7804
+ selectTabFromManageMenu(tab: DynamicTab): void;
7805
+ /**
7806
+ * Closes the manage tabs menu popover and cleans up listeners.
7807
+ * Used internally by built-in menu actions.
7808
+ * @param restoreFocus - When true, returns focus to the trigger button.
7809
+ * @internal
7810
+ */
7811
+ closeManageTabsMenuInternal(restoreFocus?: boolean): void;
7812
+ /**
7813
+ * Gets the display label for a tab in the manage tabs menu.
7814
+ * Reads only the default slot's assigned content for a clean label,
7815
+ * excluding named-slot content (icons, dismiss-icon) and shadow DOM text (hint spans).
7816
+ * Falls back through: default slot text → aria-label → id
7817
+ * @param tab - The tab to get the label for
7818
+ * @returns The display label string
7819
+ * @internal
7820
+ */
7821
+ getTabDisplayLabel(tab: DynamicTab): string;
7822
+ /**
7823
+ * Gets the filtered array of DynamicTab elements from the tabs slot.
7824
+ * Filters out text nodes and non-tab elements.
7825
+ * @returns Array of DynamicTab elements
7826
+ * @public
7827
+ */
7828
+ getTabElements(): DynamicTab[];
7829
+ /**
7830
+ * Handles "Close all tabs" action from the built-in menu.
7831
+ * Closes all tabs and then closes the menu.
7832
+ * @internal
7833
+ */
7834
+ handleCloseAllFromMenu(): void;
7835
+ }
6614
7836
 
6615
7837
  /**
6616
- * The Fabric Counter Badge component.
6617
- *
7838
+ * The template for the DynamicTabList component.
6618
7839
  * @public
6619
7840
  */
6620
- declare const definition$A: _microsoft_fast_element.FASTElementDefinition<typeof CounterBadge>;
7841
+ declare const template$8: ElementViewTemplate<DynamicTabList>;
6621
7842
 
6622
7843
  /**
6623
- * Dialog
6624
- * @summary A Dialog Custom HTML Element that provides modal, non-modal, and alert dialog types with accessible attributes.
6625
- *
6626
- * @example
6627
- * ```html
6628
- * <fabric-dialog type="modal" aria-labelledby="dialog-label" aria-describedby="dialog-desc">
6629
- * <span slot="title">Title</span>
6630
- * <div>Content of the dialog body</div>
6631
- * <span slot="action">Action buttons</span>
6632
- * </fabric-dialog>
6633
- * ```
6634
- *
6635
- * @attr {string} aria-describedby - Identifies the element (or elements) that describes the object.
6636
- * @attr {string} aria-labelledby - Identifies the element (or elements) that labels the current element.
6637
- * @attr {DialogType} type - The type of dialog ('modal', 'non-modal', 'alert').
6638
- *
6639
- * @prop {HTMLElement} dialog - The internal dialog element reference.
6640
- * @prop {string} ariaDescribedby - Reflects the 'aria-describedby' attribute to associate the dialog with descriptive text.
6641
- * @prop {string} ariaLabelledby - Reflects the 'aria-labelledby' attribute to associate the dialog with its label.
6642
- * @prop {DialogType} type - The type of dialog, which can be 'modal', 'non-modal', or 'alert'.
6643
- *
6644
- * @slot - The default slot for dialog content.
6645
- *
6646
- * @csspart dialog - The dialog container.
6647
- *
6648
- * @method show() - Opens the dialog.
6649
- * @method hide() - Closes the dialog.
6650
- * @method clickHandler() - Handles click events on the dialog.
6651
- *
6652
- * @fires {CustomEvent} beforetoggle - Event emitted before the dialog's open state changes.
6653
- * @fires {CustomEvent} toggle - Event emitted after the dialog's open state changes.
6654
- *
6655
- * @extends FluentDialog
6656
- * @tagname fabric-dialog
7844
+ * Styles for the DynamicTabList component.
6657
7845
  * @public
6658
7846
  */
6659
- declare class Dialog extends Dialog$1 {
6660
- }
6661
-
6662
7847
  declare const styles$9: _microsoft_fast_element.ElementStyles;
6663
7848
 
6664
7849
  /**
6665
- * The Fabric Dialog component.
6666
- *
6667
- * @public
6668
- */
6669
- declare const definition$z: _microsoft_fast_element.FASTElementDefinition<typeof Dialog>;
6670
-
6671
- /**
6672
- * Dialog modal type
7850
+ * The Fabric DynamicTabList component definition.
6673
7851
  * @public
6674
7852
  */
6675
- declare const DialogTypes: {
6676
- readonly modal: "modal";
6677
- readonly nonModal: "non-modal";
6678
- readonly alert: "alert";
6679
- };
6680
- type DialogType = ValuesOf$1<typeof DialogTypes>;
7853
+ declare const definition$y: _microsoft_fast_element.FASTElementDefinition<typeof DynamicTabList>;
6681
7854
 
6682
7855
  /**
6683
- * DialogBody
6684
- * @summary Dialog Body component that extends the FASTElement class, providing slots for title, title-action, content, and actions.
7856
+ * EmptyState
7857
+ * @summary A component for displaying empty states with optional illustration, title, body, link, and action.
6685
7858
  *
6686
7859
  * @example
6687
7860
  * ```html
6688
- * <fabric-dialog-body no-title-action="false">
6689
- * <span slot="title">Title</span>
6690
- * <span slot="title-action">Action</span>
6691
- * <div>Content of the dialog body</div>
6692
- * <span slot="action">Action buttons</span>
6693
- * </fabric-dialog-body>
7861
+ * <fabric-empty-state>
7862
+ * <img slot="illustration" src="illustration.svg" alt="" aria-hidden="true" />
7863
+ * <span slot="title">No items yet</span>
7864
+ * <span slot="body">Create an item to get started</span>
7865
+ * <fabric-link slot="link" href="#">Learn more</fabric-link>
7866
+ * <fabric-button slot="action">Create item</fabric-button>
7867
+ * </fabric-empty-state>
6694
7868
  * ```
6695
7869
  *
6696
- * @attr {boolean} no-title-action - Indicates if the title action should be displayed.
6697
- *
6698
- * @prop {boolean} noTitleAction - Indicates whether the dialog has a title action.
6699
- *
6700
- * @slot title - Slot for the dialog title.
6701
- * @slot title-action - Slot for the dialog title action, typically a close button.
6702
- * @slot - The default slot for dialog content.
6703
- * @slot action - Slot for dialog actions, such as buttons.
7870
+ * @slot illustration - Slot for an optional illustration or image.
7871
+ * @slot title - Slot for the main title text.
7872
+ * @slot body - Slot for optional body/description text.
7873
+ * @slot link - Slot for an optional help or learn-more link.
7874
+ * @slot action - Slot for an optional call-to-action button.
6704
7875
  *
6705
- * @csspart title - The dialog title container.
6706
- * @csspart content - The dialog content container.
6707
- * @csspart actions - The dialog actions container.
6708
- * @csspart title-action - The dialog title action container.
7876
+ * @csspart illustration - The illustration container.
7877
+ * @csspart content - The text and action content container.
6709
7878
  *
6710
- * @extends FluentDialogBody
6711
- * @tagname fabric-dialog-body
7879
+ * @extends FASTElement
7880
+ * @tagname fabric-empty-state
6712
7881
  * @public
6713
7882
  */
6714
- declare class DialogBody extends DialogBody$1 {
7883
+ declare class EmptyState extends FASTElement {
6715
7884
  }
6716
7885
 
6717
7886
  /**
6718
- * The Fabric Dialog Body component.
6719
- *
6720
- * @public
6721
- */
6722
- declare const definition$y: _microsoft_fast_element.FASTElementDefinition<typeof DialogBody>;
6723
-
6724
- /**
6725
- * Divider
6726
- * @summary A Divider Custom HTML Element that semantically separates content or serves for visual presentation.
6727
- *
6728
- * @example
6729
- * ```html
6730
- * <fabric-divider role="separator" orientation="vertical" align-content="center" appearance="strong" inset></fabric-divider>
6731
- * ```
6732
- *
6733
- * @attr {DividerRole} role - The role of the element, either 'separator' or 'presentation'.
6734
- * @attr {DividerOrientation} orientation - The orientation of the divider, either 'horizontal' or 'vertical'.
6735
- * @attr {DividerAlignContent} alignContent - Align content within divider, options are 'center', 'start', 'end'.
6736
- * @attr {DividerAppearance} appearance - Divider appearance, options are 'strong', 'brand', 'subtle'.
6737
- * @attr {boolean} inset - Whether the divider should be inset.
6738
- *
6739
- * @prop {DividerRole} role - The role of the element, either 'separator' or 'presentation'.
6740
- * @prop {DividerOrientation} orientation - The orientation of the divider, either 'horizontal' or 'vertical'.
6741
- * @prop {DividerAlignContent} alignContent - Align content within divider, options are 'center', 'start', 'end'.
6742
- * @prop {DividerAppearance} appearance - Divider appearance, options are 'strong', 'brand', 'subtle'.
6743
- * @prop {boolean} inset - Whether the divider should be inset.
6744
- *
6745
- * @slot - The default slot for the divider content.
7887
+ * The Fabric EmptyState component.
6746
7888
  *
6747
- * @extends FluentDivider
6748
- * @tagname fabric-divider
6749
7889
  * @public
7890
+ * @remarks
7891
+ * HTML Element: <fabric-empty-state>
6750
7892
  */
6751
- declare class Divider extends Divider$1 {
6752
- }
7893
+ declare const definition$x: _microsoft_fast_element.FASTElementDefinition<typeof EmptyState>;
6753
7894
 
6754
7895
  /**
6755
- * Align-content values supported by {@link Divider}.
6756
- * @public
6757
- */
6758
- declare const DividerAlignContents: {
6759
- readonly center: "center";
6760
- readonly start: "start";
6761
- readonly end: "end";
6762
- };
6763
- /**
6764
- * Type describing alignment options for {@link Divider}.
6765
- * @public
6766
- */
6767
- type DividerAlignContent = ValuesOf<typeof DividerAlignContents>;
6768
- /**
6769
- * Appearance values supported by {@link Divider}.
6770
- * @public
6771
- */
6772
- declare const DividerAppearances: {
6773
- readonly strong: "strong";
6774
- readonly brand: "brand";
6775
- readonly subtle: "subtle";
6776
- };
6777
- /**
6778
- * Type describing appearance options for {@link Divider}.
6779
- * @public
6780
- */
6781
- type DividerAppearance = ValuesOf<typeof DividerAppearances>;
6782
- /**
6783
- * Orientation values supported by {@link Divider}.
6784
- * @public
6785
- */
6786
- declare const DividerOrientations: {
6787
- readonly horizontal: "horizontal";
6788
- readonly vertical: "vertical";
6789
- };
6790
- /**
6791
- * Type describing orientation options for {@link Divider}.
6792
- * @public
6793
- */
6794
- type DividerOrientation = ValuesOf<typeof DividerOrientations>;
6795
- /**
6796
- * Role values supported by {@link Divider}.
6797
- * @public
6798
- */
6799
- declare const DividerRoles: {
6800
- readonly separator: "separator";
6801
- readonly presentation: "presentation";
6802
- };
6803
- /**
6804
- * Type describing ARIA roles available to {@link Divider}.
7896
+ * Styles for the {@link EmptyState} component.
6805
7897
  * @public
6806
7898
  */
6807
- type DividerRole = ValuesOf<typeof DividerRoles>;
6808
-
6809
7899
  declare const styles$8: _microsoft_fast_element.ElementStyles;
6810
7900
 
6811
- /**
6812
- * Template for the {@link Divider} component.
6813
- * @public
6814
- */
6815
- declare const template$7: _microsoft_fast_element.ElementViewTemplate<_fluentui_web_components.Divider, any>;
6816
-
6817
- /**
6818
- * The Fabric Divider component.
6819
- *
6820
- * @public
6821
- */
6822
- declare const definition$x: _microsoft_fast_element.FASTElementDefinition<typeof Divider>;
7901
+ declare const template$7: ElementViewTemplate<EmptyState>;
6823
7902
 
6824
7903
  /**
6825
7904
  * Drawer
@@ -7288,19 +8367,52 @@ declare const definition$s: _microsoft_fast_element.FASTElementDefinition<typeof
7288
8367
  * @public
7289
8368
  */
7290
8369
  declare class Field extends Field$1 {
8370
+ /**
8371
+ * Tracks slotted label elements that have had a click-forwarding listener
8372
+ * attached, so we can detach the listener when the label is no longer slotted
8373
+ * and avoid attaching duplicates on repeat invocations.
8374
+ *
8375
+ * @internal
8376
+ */
8377
+ private readonly _wiredLabelClickHandlers;
7291
8378
  /**
7292
8379
  * Sets ARIA and form-related attributes on slotted label elements.
7293
8380
  * Extends the base implementation to support custom label elements (e.g., fabric-label)
7294
8381
  * in addition to native HTMLLabelElement.
7295
8382
  *
7296
8383
  * @remarks
7297
- * The base FluentUI implementation only handles native `<label>` elements.
7298
- * This method ensures that custom elements like `<fabric-label>` are properly
7299
- * associated with the input via `aria-labelledby`, enabling screen reader support.
8384
+ * The base FluentUI implementation only handles native `<label>` elements,
8385
+ * which the browser natively wires for both `aria-labelledby` association
8386
+ * and click-to-focus / click-to-toggle behavior via `<label htmlFor>`.
8387
+ *
8388
+ * Custom label elements like `<fabric-label>` extend `HTMLElement` rather
8389
+ * than `HTMLLabelElement`, so neither piece is wired by the upstream
8390
+ * implementation. This method:
8391
+ *
8392
+ * 1. Assigns `aria-labelledby` on the input so screen readers announce the
8393
+ * custom label as the input's accessible name.
8394
+ * 2. Attaches a click listener to each non-native label that forwards the
8395
+ * click to the slotted input, emulating native `<label htmlFor>`
8396
+ * semantics (e.g., clicking the label toggles the radio/checkbox).
7300
8397
  *
7301
8398
  * @internal
7302
8399
  */
7303
8400
  private setLabelPropertiesExtended;
8401
+ /**
8402
+ * Attaches a click listener to a non-native label that forwards clicks to
8403
+ * the slotted input, mirroring native `<label htmlFor>` click-to-toggle
8404
+ * behavior. Idempotent — repeat calls with the same label are no-ops.
8405
+ *
8406
+ * @internal
8407
+ */
8408
+ private wireLabelClickForwarding;
8409
+ /**
8410
+ * Removes the click-forwarding listener from a label that is no longer
8411
+ * slotted into this field.
8412
+ *
8413
+ * @internal
8414
+ */
8415
+ private unwireLabelClickForwarding;
7304
8416
  /**
7305
8417
  * Updates attributes on the slotted label elements.
7306
8418
  * Overrides base to add support for custom label elements.
@@ -7310,6 +8422,14 @@ declare class Field extends Field$1 {
7310
8422
  * @internal
7311
8423
  */
7312
8424
  labelSlotChanged(prev: Node[], next: Node[]): void;
8425
+ /**
8426
+ * Detaches any remaining click-forwarding listeners when the field is
8427
+ * removed from the DOM. The listeners close over `this`, so without this
8428
+ * cleanup a still-connected label could keep the field instance alive.
8429
+ *
8430
+ * @internal
8431
+ */
8432
+ disconnectedCallback(): void;
7313
8433
  /**
7314
8434
  * Updates the field's states and label properties when the assigned input changes.
7315
8435
  * Overrides base to add support for custom label elements.
@@ -7658,7 +8778,7 @@ declare const definition$n: _microsoft_fast_element.FASTElementDefinition<typeof
7658
8778
  * @attr {MenuButtonAppearances | undefined} appearance - Indicates the styled appearance of the button.
7659
8779
  * @attr {MenuButtonShape | undefined} shape - The shape of the button.
7660
8780
  * @attr {MenuButtonSize | undefined} size - The size of the button.
7661
- * @attr {boolean | undefined} icon-only - Indicates that the button should only display as an icon with no text content.
8781
+ * @attr {boolean | undefined} icon-only - Indicates that the button should only display as an icon with no text content. When set, the built-in chevron icon is removed.
7662
8782
  * @attr {boolean | undefined} autofocus - Indicates the button should be focused when the page is loaded.
7663
8783
  * @attr {boolean | undefined} disabled-focusable - Indicates that the button is focusable while disabled.
7664
8784
  * @attr {number | undefined} tabindex - Sets that the button tabindex attribute.
@@ -7675,7 +8795,7 @@ declare const definition$n: _microsoft_fast_element.FASTElementDefinition<typeof
7675
8795
  * @prop {MenuButtonAppearances | undefined} appearance - Indicates the styled appearance of the button.
7676
8796
  * @prop {MenuButtonShape | undefined} shape - The shape of the button.
7677
8797
  * @prop {MenuButtonSize | undefined} size - The size of the button.
7678
- * @prop {boolean | undefined} iconOnly - Indicates that the button should only display as an icon with no text content.
8798
+ * @prop {boolean | undefined} iconOnly - Indicates that the button should only display as an icon with no text content. When set, the built-in chevron icon is removed.
7679
8799
  * @prop {boolean | undefined} autofocus - Indicates the button should be focused when the page is loaded.
7680
8800
  * @prop {boolean | undefined} disabledFocusable - Indicates that the button is focusable while disabled.
7681
8801
  * @prop {number | undefined} tabindex - Sets that the button tabindex attribute.
@@ -8107,6 +9227,21 @@ declare const MenuPositions: {
8107
9227
  * @public
8108
9228
  */
8109
9229
  type MenuPosition = ValuesOf<typeof MenuPositions>;
9230
+ /**
9231
+ * The horizontal alignment variations for the menu component.
9232
+ * Controls which edge of the menu list is anchored to the trigger
9233
+ * (`"start"` = left in LTR / right in RTL, `"end"` = right in LTR / left in RTL).
9234
+ * @public
9235
+ */
9236
+ declare const MenuAlignments: {
9237
+ readonly start: "start";
9238
+ readonly end: "end";
9239
+ };
9240
+ /**
9241
+ * The types for menu alignments
9242
+ * @public
9243
+ */
9244
+ type MenuAlignment = ValuesOf<typeof MenuAlignments>;
8110
9245
  /**
8111
9246
  * Reposition modes for the menu
8112
9247
  * @public
@@ -8150,6 +9285,9 @@ type MenuRepositionMode = ValuesOf<typeof MenuRepositionModes>;
8150
9285
  * @attr {boolean | undefined} persist-on-item-click - Determines if the menu open state should persist on click of a menu item.
8151
9286
  * @attr {boolean | undefined} split - Determines if the menu is in split state (for split button pattern).
8152
9287
  * @attr {MenuPosition | undefined} menu-position - Determines whether the menu list is above or below the trigger. Defaults to `"below"`.
9288
+ * @attr {MenuAlignment | undefined} menu-alignment - Horizontal edge of the menu list that is anchored to the
9289
+ * trigger. Not flipped by `reposition-mode="auto"` — pick the side that keeps the menu inside the viewport.
9290
+ * Defaults to `"start"`.
8153
9291
  * @attr {MenuRepositionMode | undefined} reposition-mode - Controls JS-based repositioning. `"auto"` enables
8154
9292
  * `FlexiblePositionStrategy` which detects collisions and flips the menu to the best-fitting position on
8155
9293
  * every resize/scroll cycle. `"none"` (default) disables JS repositioning and relies on CSS anchored positioning.
@@ -8163,6 +9301,8 @@ type MenuRepositionMode = ValuesOf<typeof MenuRepositionModes>;
8163
9301
  * @prop {HTMLElement[]} slottedTriggers - Holds the slotted triggers.
8164
9302
  * @prop {MenuPosition | undefined} menuPosition - Reflects the active resolved position (`"above"` or `"below"`). May
8165
9303
  * differ from the authored `menu-position` attribute when `reposition-mode="auto"` has flipped the menu.
9304
+ * @prop {MenuAlignment | undefined} menuAlignment - Authored horizontal edge of the menu list. Not flipped by
9305
+ * `reposition-mode="auto"`.
8166
9306
  * @prop {MenuRepositionMode | undefined} repositionMode - The active repositioning mode (`"auto"` | `"none"`).
8167
9307
  * @prop {HTMLElement | undefined} overflowBoundary - An optional scrolling container used by the
8168
9308
  * `FlexiblePositionStrategy` as the collision boundary instead of the viewport. Only relevant when
@@ -8233,6 +9373,17 @@ declare class Menu extends FASTElement {
8233
9373
  * @public
8234
9374
  */
8235
9375
  menuPositionChanged(): void;
9376
+ /**
9377
+ * Horizontal edge of the menu list that is anchored to the trigger.
9378
+ * Not flipped by `reposition-mode="auto"`.
9379
+ * @public
9380
+ */
9381
+ menuAlignment?: MenuAlignment;
9382
+ /**
9383
+ * Handles changes to the menuAlignment attribute.
9384
+ * @public
9385
+ */
9386
+ menuAlignmentChanged(): void;
8236
9387
  /**
8237
9388
  * The mode for repositioning the menu when it overflows the boundary.
8238
9389
  *
@@ -8730,6 +9881,21 @@ type ProgressBarValidationState = ValuesOf<typeof ProgressBarValidationStates>;
8730
9881
  * @public
8731
9882
  */
8732
9883
  declare class RadioGroup extends RadioGroup$1 {
9884
+ /**
9885
+ * Re-collects `this.radios` from slotted children, restricted to elements
9886
+ * that have already upgraded to the `Radio` class.
9887
+ *
9888
+ * @remarks
9889
+ * The upstream implementation collects every descendant whose tag name
9890
+ * ends in `-radio` (via `isRadio`), which matches bare `HTMLElement`s
9891
+ * that haven't been upgraded yet.
9892
+ *
9893
+ * Filtering with `instanceof Radio` excludes pre-upgrade elements, so we
9894
+ * never write through their shadowed accessors.
9895
+ *
9896
+ * @internal
9897
+ */
9898
+ slottedRadiosChanged(): void;
8733
9899
  }
8734
9900
 
8735
9901
  /** Orientation values for {@link RadioGroup}. */
@@ -9636,6 +10802,8 @@ declare const SearchBoxEventNames: {
9636
10802
  * @prop {SliderMode | undefined} mode - The selection mode.
9637
10803
  *
9638
10804
  * @slot thumb - The slot for a custom thumb element.
10805
+ * @slot start-label - The slot for a label at the start (min) end of the track.
10806
+ * @slot end-label - The slot for a label at the end (max) end of the track.
9639
10807
  *
9640
10808
  * @csspart track-container - The container element of the track.
9641
10809
  * @csspart thumb-container - The container element of the thumb.
@@ -11565,6 +12733,6 @@ declare function staticallyCompose<TSource = unknown, TParent = unknown>(item: S
11565
12733
  */
11566
12734
  declare const whitespaceFilter: ElementsFilter;
11567
12735
 
11568
- export { Accordion, definition$G as AccordionDefinition, AccordionExpandModes, AccordionItem, definition$H as AccordionItemDefinition, AccordionItemMarkerPositions, AccordionItemSizes, AccordionMenu, definition$1a as AccordionMenuDefinition, AccordionMenuExpandModes, AccordionMenuPanel, definition$19 as AccordionMenuPanelDefinition, AccordionMenuPanelMarkerPositions, AccordionMenuPanelSizes, styles$n as AccordionMenuPanelStyles, template$h as AccordionMenuPanelTemplate, styles$o as AccordionMenuStyles, template$i as AccordionMenuTemplate, AnchorButton, AnchorButtonAppearance, AnchorButtonAppearances, definition$o as AnchorButtonDefinition, AnchorButtonShape, AnchorButtonShapes, AnchorButtonSize, AnchorButtonSizes, AnchorTarget, AnchorTargets, Avatar, AvatarActive, AvatarActives, AvatarAppearance, AvatarAppearances, AvatarColor, AvatarColors, definition$E as AvatarDefinition, AvatarNamedColor, AvatarNamedColors, AvatarShape, AvatarShapes, AvatarSize, AvatarSizes, Badge, BadgeAppearance, BadgeAppearances, BadgeColor, BadgeColors, definition$D as BadgeDefinition, BadgeShape, BadgeShapes, BadgeSize, BadgeSizes, Button, ButtonAppearances, definition$C as ButtonDefinition, ButtonFormTargets, ButtonShapes, ButtonSizes, styles$a as ButtonStyles, ButtonTypes, Card, CardAppearance, CardAppearances, CardCarousel, definition$10 as CardCarouselDefinition, styles$h as CardCarouselStyles, template$b as CardCarouselTemplate, definition$18 as CardDefinition, CardEventNames, CardFocusMode, CardFocusModes, CardFooter, definition$17 as CardFooterDefinition, CardHeader, definition$16 as CardHeaderDefinition, CardOrientation, CardOrientations, CardPreview, definition$15 as CardPreviewDefinition, styles$m as CardStyles, template$g as CardTemplate, Carousel, definition$14 as CarouselDefinition, CarouselEventNames, CarouselItem, definition$13 as CarouselItemDefinition, styles$k as CarouselItemStyles, template$e as CarouselItemTemplate, CarouselNav, CarouselNavButtonPlacements, definition$12 as CarouselNavDefinition, CarouselNavEventNames, CarouselNavItem, definition$11 as CarouselNavItemDefinition, styles$i as CarouselNavItemStyles, template$c as CarouselNavItemTemplate, CarouselNavPositions, styles$j as CarouselNavStyles, template$d as CarouselNavTemplate, styles$l as CarouselStyles, template$f as CarouselTemplate, Checkbox, definition$B as CheckboxDefinition, CheckboxShapes, CheckboxSizes, CollisionEdges, CompoundButton, CompoundButtonAppearances, definition$_ as CompoundButtonDefinition, CompoundButtonFormTargets, CompoundButtonShapes, CompoundButtonSizes, CompoundButtonTypes, CounterBadge, CounterBadgeAppearances, CounterBadgeColors, definition$A as CounterBadgeDefinition, CounterBadgeShapes, CounterBadgeSizes, Dialog, DialogBody, definition$y as DialogBodyDefinition, definition$z as DialogDefinition, styles$9 as DialogStyles, DialogTypes, DirectionDetector, Divider, DividerAlignContents, DividerAppearances, definition$x as DividerDefinition, DividerOrientations, DividerRoles, styles$8 as DividerStyles, template$7 as DividerTemplate, Drawer, DrawerBody, definition$v as DrawerBodyDefinition, definition$w as DrawerDefinition, DrawerPositions, DrawerSizes, DrawerTypes, Dropdown, DropdownAppearances, definition$u as DropdownDefinition, DropdownOption, definition$t as DropdownOptionDefinition, DropdownSizes, DropdownTypes, DesignSystem as FabricDesignSystem, Field, definition$r as FieldDefinition, FieldLabelPosition, FieldLabelPositions, styles$7 as FieldStyles, FilterPill, FilterPillAppearances, definition$$ as FilterPillDefinition, FilterPillEventNames, FilterPillFormTargets, FilterPillShapes, FilterPillSizes, FilterPillTypes, Image, definition$q as ImageDefinition, ImageFits, ImageShapes, ImplicitSubmissionBlockingTypes$1 as ImplicitSubmissionBlockingTypes, Label, definition$p as LabelDefinition, LabelPositions, LabelSizes, LabelWeights, Link, LinkAppearance, LinkAppearances, definition$F as LinkDefinition, LinkTarget, LinkTargets, Listbox, definition$s as ListboxDefinition, LoadingButton, definition$Z as LoadingButtonDefinition, Menu, MenuButton, MenuButtonAppearances, definition$m as MenuButtonDefinition, MenuButtonShapes, MenuButtonSizes, definition$j as MenuDefinition, MenuGroupRoles, MenuItem, MenuItemAppearances, definition$l as MenuItemDefinition, MenuItemRoles, styles$6 as MenuItemStyles, template$6 as MenuItemTemplate, MenuList, definition$k as MenuListDefinition, styles$5 as MenuListStyles, template$5 as MenuListTemplate, MenuPositions, MenuRepositionModes, styles$4 as MenuStyles, template$4 as MenuTemplate, MessageBar, definition$n as MessageBarDefinition, MockElementInternals, MultiView, MultiViewController, definition$X as MultiViewControllerDefinition, definition$Y as MultiViewDefinition, MultiViewEventNames, MultiViewGroup, definition$W as MultiViewGroupDefinition, MultiViewGroupPositions, OptionGroup, definition$i as OptionGroupDefinition, Overflow, OverflowAxisValues, definition$V as OverflowDefinition, OverflowDirections, OverflowDivider, definition$T as OverflowDividerDefinition, styles$e as OverflowDividerStyles, OverflowEventNames, OverflowItem, definition$U as OverflowItemDefinition, styles$f as OverflowItemStyles, styles$g as OverflowStyles, Pagination, definition$R as PaginationDefinition, PaginationEventNames, PaginationVariants, Popover, definition$S as PopoverDefinition, PopoverEventNames, PopoverPositions, PopoverRepositionModes, styles$d as PopoverStyles, template$a as PopoverTemplate, PositioningShorthand, ProgressBar, definition$h as ProgressBarDefinition, ProgressBarShapes, ProgressBarThicknesses, ProgressBarValidationStates, Radio, definition$f as RadioDefinition, RadioGroup, definition$g as RadioGroupDefinition, RadioGroupOrientations, RatingDisplay, RatingDisplayColors, definition$e as RatingDisplayDefinition, RatingDisplaySizes, SearchBox, SearchBoxAppearances, SearchBoxControlSizes, definition$d as SearchBoxDefinition, SearchBoxEventNames, ImplicitSubmissionBlockingTypes as SearchBoxImplicitSubmissionBlockingTypes, SearchBoxTypes, SimpleTable, definition$O as SimpleTableDefinition, Slider, definition$c as SliderDefinition, SliderEventNames, SliderModes, SliderOrientations, SliderSizes, SlottableInputs, SortDirections, SpinButton, SpinButtonAppearances, SpinButtonBounds, SpinButtonControlSizes, definition$b as SpinButtonDefinition, SpinButtonEventNames, SpinButtonSpinStates, styles$2 as SpinButtonStyles, template$2 as SpinButtonTemplate, Spinner, SpinnerAppearances, definition$a as SpinnerDefinition, SpinnerSizes, SvgIcon, definition$Q as SvgIconDefinition, Switch, definition$9 as SwitchDefinition, Tab, definition$8 as TabDefinition, Table, TableCell, definition$N as TableCellDefinition, TableCellSizes, styles$b as TableCellStyles, template$8 as TableCellTemplate, definition$P as TableDefinition, styles$c as TableStyles, template$9 as TableTemplate, Tablist, TablistAppearances, definition$7 as TablistDefinition, TablistEventNames, TablistOrientations, TablistSizes, Tag, TagAppearances, definition$M as TagDefinition, TagEventNames, TagShapes, TagSizes, TagTextSizes, TeachingBubble, definition$L as TeachingBubbleDefinition, TeachingBubbleEventNames, TeachingBubblePlacements, TeachingBubbleSizes, Text, TextAligns, TextArea, TextareaAppearances as TextAreaAppearances, TextareaAppearancesForDisplayShadows as TextAreaAppearancesForDisplayShadows, TextareaAutocompletes as TextAreaAutocompletes, definition$6 as TextAreaDefinition, TextareaResizes as TextAreaResizes, TextareaSizes as TextAreaSizes, definition$4 as TextDefinition, TextFonts, TextInput, TextInputAppearances, TextInputControlSizes, definition$5 as TextInputDefinition, styles$1 as TextInputStyles, template$1 as TextInputTemplate, TextInputTypes, TextSizes, TextWeights, ToggleButton, ToggleButtonAppearances, definition$1 as ToggleButtonDefinition, ToggleButtonFormTargets, ToggleButtonShapes, ToggleButtonSizes, ToggleButtonTypes, Tooltip, definition as TooltipDefinition, TooltipPositioningOptions, Tree, definition$3 as TreeDefinition, TreeItem, definition$2 as TreeItemDefinition, styles as TreeItemStyles, template as TreeItemTemplate, ValidationFlags, Wizard, definition$K as WizardDefinition, WizardEvents, WizardPanel, definition$J as WizardPanelDefinition, WizardPanelEventNames, WizardPanelStates, WizardStep, definition$I as WizardStepDefinition, WizardStepEvents, WizardStepStates, applyMixins, attachMockElementInternals, clamp, composeDefinitions, createRovingFocusController, createUniqueId, debounce, debug, defineCarousel, definePagination, disabledState, expandedState, fromFAST, getDirection, getOptionsFromElement, globalDirectionDetector, inputElementMethods, isActionModifierKey, isDisabledElement, isFocusableElement, isHiddenElement, isOptionGroup, isRtl, styles$3 as optionGroupStyles, template$3 as optionGroupTemplate, precisionRound, roleForMenuGroup, roleForMenuItem, setAttributes, setChildrenFocusability, setGlobalDirectionDetector, staticallyCompose, toggleState, whitespaceFilter };
11569
- export type { AccordionExpandMode, AccordionItemMarkerPosition, AccordionItemSize, AccordionMenuExpandMode, AccordionMenuPanelMarkerPosition, AccordionMenuPanelSize, ButtonAppearance, ButtonFormTarget, ButtonShape, ButtonSize, ButtonType, CarouselEventName, CarouselNavButtonPlacement, CarouselNavEventName, CarouselNavPosition, CheckboxShape, CheckboxSize, CollisionEdge, CompoundButtonAppearance, CompoundButtonFormTarget, CompoundButtonShape, CompoundButtonSize, CompoundButtonType, CounterBadgeAppearance, CounterBadgeColor, CounterBadgeShape, CounterBadgeSize, DialogType, DirectionDetectorOptions, DirectionObserver, DirectionOrNull, DirectionStrategy, DividerAlignContent, DividerAppearance, DividerOrientation, DividerRole, DrawerPosition, DrawerSize, DrawerType, DropdownAppearance, DropdownSize, DropdownType, FabricElementDefinition, FilterPillAppearance, FilterPillFormTarget, FilterPillShape, FilterPillSize, FilterPillType, HTMLPopoverElement, ImageFit, ImageShape, LabelPosition, LabelSize, LabelWeight, MenuButtonAppearance, MenuButtonShape, MenuButtonSize, MenuGroupRole, MenuItemAppearance, MenuItemColumnCount, MenuItemRole, MenuPosition, MenuRepositionMode, MultiViewGroupPosition, OverflowAxisValue, OverflowChangeEventDetail, OverflowDirection, PaginationPageChangeDetail, PaginationVariant, PopoverEventData, PopoverMode, PopoverRepositionMode, PopoverSize, PositioningShorthandKeys, PositioningShorthandValues, ProgressBarShape, ProgressBarThickness, ProgressBarValidationState, RadioGroupOrientation, RatingDisplayColor, RatingDisplaySize, RovingFocusController, RovingFocusOptions, SearchBoxAppearance, SearchBoxControlSize, SearchBoxType, SliderMode, SliderOrientation, SliderSize, SlottableInput, SortDirection, SpinButtonAppearance, SpinButtonBound, SpinButtonControlSize, SpinButtonSpinState, SpinnerAppearance, SpinnerSize, StaticallyComposableHTML, TableCellRenderFunction, TableCellSize, TableColumnData, TableRowData, TablistAppearance, TablistOrientation, TablistSize, TagAppearance, TagShape, TagSize, TagTextSize, TeachingBubblePlacement, TeachingBubbleSize, TextAlign, TextareaAppearance as TextAreaAppearance, TextareaAppearancesForDisplayShadow as TextAreaAppearancesForDisplayShadow, TextareaAutocomplete as TextAreaAutocomplete, TextareaResize as TextAreaResize, TextareaSize as TextAreaSize, TextFont, TextInputAppearance, TextInputControlSize, TextInputOptions, TextInputType, TextSize, TextWeight, ToggleButtonAppearance, ToggleButtonFormTarget, ToggleButtonShape, ToggleButtonSize, ToggleButtonType, TooltipPositioningOption, ValidationFlag, ValuesOf, WizardEvent, WizardPanelState, WizardStepEvent, WizardStepState };
12736
+ export { Accordion, definition$J as AccordionDefinition, AccordionExpandModes, AccordionItem, definition$K as AccordionItemDefinition, AccordionItemMarkerPositions, AccordionItemSizes, AccordionMenu, definition$1f as AccordionMenuDefinition, AccordionMenuExpandModes, AccordionMenuPanel, definition$1e as AccordionMenuPanelDefinition, AccordionMenuPanelMarkerPositions, AccordionMenuPanelSizes, styles$r as AccordionMenuPanelStyles, template$l as AccordionMenuPanelTemplate, styles$s as AccordionMenuStyles, template$m as AccordionMenuTemplate, AnchorButton, AnchorButtonAppearance, AnchorButtonAppearances, definition$o as AnchorButtonDefinition, AnchorButtonShape, AnchorButtonShapes, AnchorButtonSize, AnchorButtonSizes, AnchorTarget, AnchorTargets, Avatar, AvatarActive, AvatarActives, AvatarAppearance, AvatarAppearances, AvatarColor, AvatarColors, definition$H as AvatarDefinition, AvatarNamedColor, AvatarNamedColors, AvatarShape, AvatarShapes, AvatarSize, AvatarSizes, Badge, BadgeAppearance, BadgeAppearances, BadgeColor, BadgeColors, definition$G as BadgeDefinition, BadgeShape, BadgeShapes, BadgeSize, BadgeSizes, Button, ButtonAppearances, definition$F as ButtonDefinition, ButtonFormTargets, ButtonShapes, ButtonSizes, styles$d as ButtonStyles, ButtonTypes, Card, CardAppearance, CardAppearances, CardCarousel, definition$14 as CardCarouselDefinition, styles$k as CardCarouselStyles, template$e as CardCarouselTemplate, definition$1d as CardDefinition, CardEventNames, CardFocusMode, CardFocusModes, CardFooter, definition$1c as CardFooterDefinition, CardHeader, definition$1b as CardHeaderDefinition, CardOrientation, CardOrientations, CardPreview, definition$1a as CardPreviewDefinition, styles$q as CardStyles, template$k as CardTemplate, Carousel, definition$19 as CarouselDefinition, CarouselEventNames, CarouselItem, definition$18 as CarouselItemDefinition, styles$o as CarouselItemStyles, template$i as CarouselItemTemplate, CarouselNav, CarouselNavButtonPlacements, definition$17 as CarouselNavDefinition, CarouselNavEventNames, CarouselNavItem, definition$16 as CarouselNavItemDefinition, styles$m as CarouselNavItemStyles, template$g as CarouselNavItemTemplate, CarouselNavPositions, styles$n as CarouselNavStyles, template$h as CarouselNavTemplate, styles$p as CarouselStyles, template$j as CarouselTemplate, CarouselViewport, definition$15 as CarouselViewportDefinition, styles$l as CarouselViewportStyles, template$f as CarouselViewportTemplate, Checkbox, definition$E as CheckboxDefinition, CheckboxShapes, CheckboxSizes, CollisionEdges, CompoundButton, CompoundButtonAppearances, definition$11 as CompoundButtonDefinition, CompoundButtonFormTargets, CompoundButtonShapes, CompoundButtonSizes, CompoundButtonTypes, CounterBadge, CounterBadgeAppearances, CounterBadgeColors, definition$D as CounterBadgeDefinition, CounterBadgeShapes, CounterBadgeSizes, Dialog, DialogBody, definition$B as DialogBodyDefinition, definition$C as DialogDefinition, styles$c as DialogStyles, DialogTypes, DirectionDetector, Divider, DividerAlignContents, DividerAppearances, definition$A as DividerDefinition, DividerOrientations, DividerRoles, styles$b as DividerStyles, template$a as DividerTemplate, Drawer, DrawerBody, definition$v as DrawerBodyDefinition, definition$w as DrawerDefinition, DrawerPositions, DrawerSizes, DrawerTypes, Dropdown, DropdownAppearances, definition$u as DropdownDefinition, DropdownOption, definition$t as DropdownOptionDefinition, DropdownSizes, DropdownTypes, DynamicTab, definition$z as DynamicTabDefinition, DynamicTabEventNames, DynamicTabList, definition$y as DynamicTabListDefinition, DynamicTabListEventNames, DynamicTabListOrientations, styles$9 as DynamicTabListStyles, template$8 as DynamicTabListTemplate, styles$a as DynamicTabStyles, template$9 as DynamicTabTemplate, EmptyState, definition$x as EmptyStateDefinition, styles$8 as EmptyStateStyles, template$7 as EmptyStateTemplate, DesignSystem as FabricDesignSystem, Field, definition$r as FieldDefinition, FieldLabelPosition, FieldLabelPositions, styles$7 as FieldStyles, FilterPill, FilterPillAppearances, definition$13 as FilterPillDefinition, FilterPillEventNames, FilterPillFormTargets, FilterPillShapes, FilterPillSizes, FilterPillTypes, Image, definition$q as ImageDefinition, ImageFits, ImageShapes, ImplicitSubmissionBlockingTypes$1 as ImplicitSubmissionBlockingTypes, Label, definition$p as LabelDefinition, LabelPositions, LabelSizes, LabelWeights, Link, LinkAppearance, LinkAppearances, definition$I as LinkDefinition, LinkTarget, LinkTargets, Listbox, definition$s as ListboxDefinition, LoadingButton, definition$10 as LoadingButtonDefinition, Menu, MenuButton, MenuButtonAppearances, definition$m as MenuButtonDefinition, MenuButtonShapes, MenuButtonSizes, definition$j as MenuDefinition, MenuGroupRoles, MenuItem, MenuItemAppearances, definition$l as MenuItemDefinition, MenuItemRoles, styles$6 as MenuItemStyles, template$6 as MenuItemTemplate, MenuList, definition$k as MenuListDefinition, styles$5 as MenuListStyles, template$5 as MenuListTemplate, MenuPositions, MenuRepositionModes, styles$4 as MenuStyles, template$4 as MenuTemplate, MessageBar, definition$n as MessageBarDefinition, MockElementInternals, Modal, definition$12 as ModalDefinition, ModalEventNames, ModalFreItem, modalFreItemDefinition as ModalFreItemDefinition, ModalModes, MultiView, MultiViewController, definition$_ as MultiViewControllerDefinition, definition$$ as MultiViewDefinition, MultiViewEventNames, MultiViewGroup, definition$Z as MultiViewGroupDefinition, MultiViewGroupPositions, OptionGroup, definition$i as OptionGroupDefinition, Overflow, OverflowAxisValues, definition$Y as OverflowDefinition, OverflowDirections, OverflowDivider, definition$W as OverflowDividerDefinition, styles$h as OverflowDividerStyles, OverflowEventNames, OverflowItem, definition$X as OverflowItemDefinition, styles$i as OverflowItemStyles, styles$j as OverflowStyles, Pagination, definition$U as PaginationDefinition, PaginationEventNames, PaginationVariants, Popover, definition$V as PopoverDefinition, PopoverEventNames, PopoverPositions, PopoverRepositionModes, styles$g as PopoverStyles, template$d as PopoverTemplate, PositioningShorthand, ProgressBar, definition$h as ProgressBarDefinition, ProgressBarShapes, ProgressBarThicknesses, ProgressBarValidationStates, Radio, definition$f as RadioDefinition, RadioGroup, definition$g as RadioGroupDefinition, RadioGroupOrientations, RatingDisplay, RatingDisplayColors, definition$e as RatingDisplayDefinition, RatingDisplaySizes, SearchBox, SearchBoxAppearances, SearchBoxControlSizes, definition$d as SearchBoxDefinition, SearchBoxEventNames, ImplicitSubmissionBlockingTypes as SearchBoxImplicitSubmissionBlockingTypes, SearchBoxTypes, SimpleTable, definition$R as SimpleTableDefinition, Slider, definition$c as SliderDefinition, SliderEventNames, SliderModes, SliderOrientations, SliderSizes, SlottableInputs, SortDirections, SpinButton, SpinButtonAppearances, SpinButtonBounds, SpinButtonControlSizes, definition$b as SpinButtonDefinition, SpinButtonEventNames, SpinButtonSpinStates, styles$2 as SpinButtonStyles, template$2 as SpinButtonTemplate, Spinner, SpinnerAppearances, definition$a as SpinnerDefinition, SpinnerSizes, SvgIcon, definition$T as SvgIconDefinition, Switch, definition$9 as SwitchDefinition, Tab, definition$8 as TabDefinition, Table, TableCell, definition$Q as TableCellDefinition, TableCellSizes, styles$e as TableCellStyles, template$b as TableCellTemplate, definition$S as TableDefinition, styles$f as TableStyles, template$c as TableTemplate, Tablist, TablistAppearances, definition$7 as TablistDefinition, TablistEventNames, TablistOrientations, TablistSizes, Tag, TagAppearances, definition$P as TagDefinition, TagEventNames, TagShapes, TagSizes, TagTextSizes, TeachingBubble, definition$O as TeachingBubbleDefinition, TeachingBubbleEventNames, TeachingBubblePlacements, TeachingBubbleSizes, Text, TextAligns, TextArea, TextareaAppearances as TextAreaAppearances, TextareaAppearancesForDisplayShadows as TextAreaAppearancesForDisplayShadows, TextareaAutocompletes as TextAreaAutocompletes, definition$6 as TextAreaDefinition, TextareaResizes as TextAreaResizes, TextareaSizes as TextAreaSizes, definition$4 as TextDefinition, TextFonts, TextInput, TextInputAppearances, TextInputControlSizes, definition$5 as TextInputDefinition, styles$1 as TextInputStyles, template$1 as TextInputTemplate, TextInputTypes, TextSizes, TextWeights, ToggleButton, ToggleButtonAppearances, definition$1 as ToggleButtonDefinition, ToggleButtonFormTargets, ToggleButtonShapes, ToggleButtonSizes, ToggleButtonTypes, Tooltip, definition as TooltipDefinition, TooltipPositioningOptions, Tree, definition$3 as TreeDefinition, TreeItem, definition$2 as TreeItemDefinition, styles as TreeItemStyles, template as TreeItemTemplate, ValidationFlags, Wizard, definition$N as WizardDefinition, WizardEvents, WizardPanel, definition$M as WizardPanelDefinition, WizardPanelEventNames, WizardPanelStates, WizardStep, definition$L as WizardStepDefinition, WizardStepEvents, WizardStepStates, applyMixins, attachMockElementInternals, clamp, composeDefinitions, createRovingFocusController, createUniqueId, debounce, debug, defineCarousel, definePagination, disabledState, expandedState, fromFAST, getDirection, getOptionsFromElement, globalDirectionDetector, inputElementMethods, isActionModifierKey, isDisabledElement, isFocusableElement, isHiddenElement, isOptionGroup, isRtl, styles$3 as optionGroupStyles, template$3 as optionGroupTemplate, precisionRound, roleForMenuGroup, roleForMenuItem, setAttributes, setChildrenFocusability, setGlobalDirectionDetector, staticallyCompose, toggleState, whitespaceFilter };
12737
+ export type { AccordionExpandMode, AccordionItemMarkerPosition, AccordionItemSize, AccordionMenuExpandMode, AccordionMenuPanelMarkerPosition, AccordionMenuPanelSize, ButtonAppearance, ButtonFormTarget, ButtonShape, ButtonSize, ButtonType, CarouselEventName, CarouselNavButtonPlacement, CarouselNavEventName, CarouselNavPosition, CheckboxShape, CheckboxSize, CollisionEdge, CompoundButtonAppearance, CompoundButtonFormTarget, CompoundButtonShape, CompoundButtonSize, CompoundButtonType, CounterBadgeAppearance, CounterBadgeColor, CounterBadgeShape, CounterBadgeSize, DialogType, DirectionDetectorOptions, DirectionObserver, DirectionOrNull, DirectionStrategy, DividerAlignContent, DividerAppearance, DividerOrientation, DividerRole, DrawerPosition, DrawerSize, DrawerType, DropdownAppearance, DropdownSize, DropdownType, DynamicTabListOrientation, FabricElementDefinition, FilterPillAppearance, FilterPillFormTarget, FilterPillShape, FilterPillSize, FilterPillType, HTMLPopoverElement, ImageFit, ImageShape, LabelPosition, LabelSize, LabelWeight, MenuButtonAppearance, MenuButtonShape, MenuButtonSize, MenuGroupRole, MenuItemAppearance, MenuItemColumnCount, MenuItemRole, MenuPosition, MenuRepositionMode, ModalDismissEventDetail, ModalEventName, ModalMode, MultiViewGroupPosition, OverflowAxisValue, OverflowChangeEventDetail, OverflowDirection, PaginationPageChangeDetail, PaginationVariant, PopoverEventData, PopoverMode, PopoverRepositionMode, PopoverSize, PositioningShorthandKeys, PositioningShorthandValues, ProgressBarShape, ProgressBarThickness, ProgressBarValidationState, RadioGroupOrientation, RatingDisplayColor, RatingDisplaySize, RovingFocusController, RovingFocusOptions, SearchBoxAppearance, SearchBoxControlSize, SearchBoxType, SliderMode, SliderOrientation, SliderSize, SlottableInput, SortDirection, SpinButtonAppearance, SpinButtonBound, SpinButtonControlSize, SpinButtonSpinState, SpinnerAppearance, SpinnerSize, StaticallyComposableHTML, TableCellRenderFunction, TableCellSize, TableColumnData, TableRowData, TablistAppearance, TablistOrientation, TablistSize, TagAppearance, TagShape, TagSize, TagTextSize, TeachingBubblePlacement, TeachingBubbleSize, TextAlign, TextareaAppearance as TextAreaAppearance, TextareaAppearancesForDisplayShadow as TextAreaAppearancesForDisplayShadow, TextareaAutocomplete as TextAreaAutocomplete, TextareaResize as TextAreaResize, TextareaSize as TextAreaSize, TextFont, TextInputAppearance, TextInputControlSize, TextInputOptions, TextInputType, TextSize, TextWeight, ToggleButtonAppearance, ToggleButtonFormTarget, ToggleButtonShape, ToggleButtonSize, ToggleButtonType, TooltipPositioningOption, ValidationFlag, ValuesOf, WizardEvent, WizardPanelState, WizardStepEvent, WizardStepState };
11570
12738
  //# sourceMappingURL=index.d.ts.map