@fluentui/web-components 3.0.0-rc.3 → 3.0.0-rc.30

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 (1294) hide show
  1. package/CHANGELOG.md +263 -2
  2. package/README.md +26 -0
  3. package/custom-elements.json +9516 -7846
  4. package/dist/esm/accordion/accordion.bench.d.ts +2 -0
  5. package/dist/esm/accordion/accordion.bench.js +2 -5
  6. package/dist/esm/accordion/accordion.bench.js.map +1 -1
  7. package/dist/esm/accordion/accordion.d.ts +12 -9
  8. package/dist/esm/accordion/accordion.definition-async.d.ts +10 -0
  9. package/dist/esm/accordion/accordion.definition-async.js +14 -0
  10. package/dist/esm/accordion/accordion.definition-async.js.map +1 -0
  11. package/dist/esm/accordion/accordion.definition.d.ts +4 -4
  12. package/dist/esm/accordion/accordion.definition.js +8 -7
  13. package/dist/esm/accordion/accordion.definition.js.map +1 -1
  14. package/dist/esm/accordion/accordion.js +48 -47
  15. package/dist/esm/accordion/accordion.js.map +1 -1
  16. package/dist/esm/accordion/accordion.options.d.ts +7 -1
  17. package/dist/esm/accordion/accordion.options.js +7 -0
  18. package/dist/esm/accordion/accordion.options.js.map +1 -1
  19. package/dist/esm/accordion/accordion.styles.css +12 -0
  20. package/dist/esm/accordion/accordion.styles.js +1 -1
  21. package/dist/esm/accordion/accordion.styles.js.map +1 -1
  22. package/dist/esm/accordion/accordion.template.html +6 -0
  23. package/dist/esm/accordion/define-async.js +5 -0
  24. package/dist/esm/accordion/define-async.js.map +1 -0
  25. package/dist/esm/accordion/define.js +2 -2
  26. package/dist/esm/accordion/define.js.map +1 -1
  27. package/dist/esm/accordion/index.d.ts +1 -0
  28. package/dist/esm/accordion/index.js +1 -0
  29. package/dist/esm/accordion/index.js.map +1 -1
  30. package/dist/esm/accordion-item/accordion-item.base.d.ts +0 -8
  31. package/dist/esm/accordion-item/accordion-item.base.js +3 -12
  32. package/dist/esm/accordion-item/accordion-item.base.js.map +1 -1
  33. package/dist/esm/accordion-item/accordion-item.bench.d.ts +1 -0
  34. package/dist/esm/accordion-item/accordion-item.bench.js +1 -3
  35. package/dist/esm/accordion-item/accordion-item.bench.js.map +1 -1
  36. package/dist/esm/accordion-item/accordion-item.d.ts +4 -6
  37. package/dist/esm/accordion-item/accordion-item.definition-async.d.ts +10 -0
  38. package/dist/esm/accordion-item/accordion-item.definition-async.js +14 -0
  39. package/dist/esm/accordion-item/accordion-item.definition-async.js.map +1 -0
  40. package/dist/esm/accordion-item/accordion-item.definition.d.ts +3 -4
  41. package/dist/esm/accordion-item/accordion-item.definition.js +7 -7
  42. package/dist/esm/accordion-item/accordion-item.definition.js.map +1 -1
  43. package/dist/esm/accordion-item/accordion-item.js +3 -1
  44. package/dist/esm/accordion-item/accordion-item.js.map +1 -1
  45. package/dist/esm/accordion-item/accordion-item.options.d.ts +17 -1
  46. package/dist/esm/accordion-item/accordion-item.options.js +19 -0
  47. package/dist/esm/accordion-item/accordion-item.options.js.map +1 -1
  48. package/dist/esm/accordion-item/accordion-item.styles.css +174 -0
  49. package/dist/esm/accordion-item/accordion-item.styles.js +4 -2
  50. package/dist/esm/accordion-item/accordion-item.styles.js.map +1 -1
  51. package/dist/esm/accordion-item/accordion-item.template.html +54 -0
  52. package/dist/esm/accordion-item/accordion-item.template.js +7 -7
  53. package/dist/esm/accordion-item/accordion-item.template.js.map +1 -1
  54. package/dist/esm/accordion-item/define-async.js +5 -0
  55. package/dist/esm/accordion-item/define-async.js.map +1 -0
  56. package/dist/esm/accordion-item/define.js +2 -2
  57. package/dist/esm/accordion-item/define.js.map +1 -1
  58. package/dist/esm/accordion-item/index.d.ts +1 -0
  59. package/dist/esm/accordion-item/index.js +1 -0
  60. package/dist/esm/accordion-item/index.js.map +1 -1
  61. package/dist/esm/anchor-button/anchor-button.base.d.ts +1 -1
  62. package/dist/esm/anchor-button/anchor-button.base.js +9 -6
  63. package/dist/esm/anchor-button/anchor-button.base.js.map +1 -1
  64. package/dist/esm/anchor-button/anchor-button.bench.d.ts +1 -0
  65. package/dist/esm/anchor-button/anchor-button.bench.js +1 -3
  66. package/dist/esm/anchor-button/anchor-button.bench.js.map +1 -1
  67. package/dist/esm/anchor-button/anchor-button.d.ts +3 -4
  68. package/dist/esm/anchor-button/anchor-button.definition-async.d.ts +10 -0
  69. package/dist/esm/anchor-button/anchor-button.definition-async.js +14 -0
  70. package/dist/esm/anchor-button/anchor-button.definition-async.js.map +1 -0
  71. package/dist/esm/anchor-button/anchor-button.definition.d.ts +4 -4
  72. package/dist/esm/anchor-button/anchor-button.definition.js +8 -7
  73. package/dist/esm/anchor-button/anchor-button.definition.js.map +1 -1
  74. package/dist/esm/anchor-button/anchor-button.js +3 -1
  75. package/dist/esm/anchor-button/anchor-button.js.map +1 -1
  76. package/dist/esm/anchor-button/anchor-button.options.d.ts +7 -1
  77. package/dist/esm/anchor-button/anchor-button.options.js +7 -0
  78. package/dist/esm/anchor-button/anchor-button.options.js.map +1 -1
  79. package/dist/esm/anchor-button/anchor-button.styles.css +226 -0
  80. package/dist/esm/anchor-button/anchor-button.styles.js +4 -3
  81. package/dist/esm/anchor-button/anchor-button.styles.js.map +1 -1
  82. package/dist/esm/anchor-button/anchor-button.template.html +10 -0
  83. package/dist/esm/anchor-button/anchor-button.template.js +1 -1
  84. package/dist/esm/anchor-button/anchor-button.template.js.map +1 -1
  85. package/dist/esm/anchor-button/define-async.d.ts +1 -0
  86. package/dist/esm/anchor-button/define-async.js +5 -0
  87. package/dist/esm/anchor-button/define-async.js.map +1 -0
  88. package/dist/esm/anchor-button/define.js +2 -2
  89. package/dist/esm/anchor-button/define.js.map +1 -1
  90. package/dist/esm/anchor-button/index.d.ts +1 -0
  91. package/dist/esm/anchor-button/index.js +1 -0
  92. package/dist/esm/anchor-button/index.js.map +1 -1
  93. package/dist/esm/avatar/avatar.base.d.ts +64 -10
  94. package/dist/esm/avatar/avatar.base.js +100 -27
  95. package/dist/esm/avatar/avatar.base.js.map +1 -1
  96. package/dist/esm/avatar/avatar.bench.d.ts +1 -0
  97. package/dist/esm/avatar/avatar.bench.js +1 -3
  98. package/dist/esm/avatar/avatar.bench.js.map +1 -1
  99. package/dist/esm/avatar/avatar.d.ts +2 -0
  100. package/dist/esm/avatar/avatar.definition-async.d.ts +10 -0
  101. package/dist/esm/avatar/avatar.definition-async.js +14 -0
  102. package/dist/esm/avatar/avatar.definition-async.js.map +1 -0
  103. package/dist/esm/avatar/avatar.definition.d.ts +3 -5
  104. package/dist/esm/avatar/avatar.definition.js +7 -8
  105. package/dist/esm/avatar/avatar.definition.js.map +1 -1
  106. package/dist/esm/avatar/avatar.js +3 -1
  107. package/dist/esm/avatar/avatar.js.map +1 -1
  108. package/dist/esm/avatar/avatar.options.d.ts +7 -1
  109. package/dist/esm/avatar/avatar.options.js +7 -0
  110. package/dist/esm/avatar/avatar.options.js.map +1 -1
  111. package/dist/esm/avatar/avatar.styles.css +480 -0
  112. package/dist/esm/avatar/avatar.styles.js +25 -8
  113. package/dist/esm/avatar/avatar.styles.js.map +1 -1
  114. package/dist/esm/avatar/avatar.template.html +13 -0
  115. package/dist/esm/avatar/avatar.template.js +4 -3
  116. package/dist/esm/avatar/avatar.template.js.map +1 -1
  117. package/dist/esm/avatar/define-async.d.ts +1 -0
  118. package/dist/esm/avatar/define-async.js +5 -0
  119. package/dist/esm/avatar/define-async.js.map +1 -0
  120. package/dist/esm/avatar/define.js +2 -2
  121. package/dist/esm/avatar/define.js.map +1 -1
  122. package/dist/esm/avatar/index.d.ts +1 -0
  123. package/dist/esm/avatar/index.js +1 -0
  124. package/dist/esm/avatar/index.js.map +1 -1
  125. package/dist/esm/badge/badge.bench.d.ts +1 -0
  126. package/dist/esm/badge/badge.bench.js +1 -3
  127. package/dist/esm/badge/badge.bench.js.map +1 -1
  128. package/dist/esm/badge/badge.d.ts +7 -2
  129. package/dist/esm/badge/badge.definition-async.d.ts +10 -0
  130. package/dist/esm/badge/badge.definition-async.js +14 -0
  131. package/dist/esm/badge/badge.definition-async.js.map +1 -0
  132. package/dist/esm/badge/badge.definition.d.ts +3 -4
  133. package/dist/esm/badge/badge.definition.js +7 -7
  134. package/dist/esm/badge/badge.definition.js.map +1 -1
  135. package/dist/esm/badge/badge.js +7 -2
  136. package/dist/esm/badge/badge.js.map +1 -1
  137. package/dist/esm/badge/badge.options.d.ts +12 -3
  138. package/dist/esm/badge/badge.options.js +7 -0
  139. package/dist/esm/badge/badge.options.js.map +1 -1
  140. package/dist/esm/badge/badge.styles.css +266 -0
  141. package/dist/esm/badge/badge.styles.js +5 -4
  142. package/dist/esm/badge/badge.styles.js.map +1 -1
  143. package/dist/esm/badge/badge.template.html +8 -0
  144. package/dist/esm/badge/badge.template.js +1 -1
  145. package/dist/esm/badge/badge.template.js.map +1 -1
  146. package/dist/esm/badge/define-async.d.ts +1 -0
  147. package/dist/esm/badge/define-async.js +5 -0
  148. package/dist/esm/badge/define-async.js.map +1 -0
  149. package/dist/esm/badge/define.js +2 -2
  150. package/dist/esm/badge/define.js.map +1 -1
  151. package/dist/esm/badge/index.d.ts +3 -3
  152. package/dist/esm/badge/index.js +3 -3
  153. package/dist/esm/badge/index.js.map +1 -1
  154. package/dist/esm/button/button.base.d.ts +15 -10
  155. package/dist/esm/button/button.base.js +30 -29
  156. package/dist/esm/button/button.base.js.map +1 -1
  157. package/dist/esm/button/button.bench.d.ts +1 -0
  158. package/dist/esm/button/button.bench.js +1 -3
  159. package/dist/esm/button/button.bench.js.map +1 -1
  160. package/dist/esm/button/button.d.ts +1 -1
  161. package/dist/esm/button/button.definition-async.d.ts +10 -0
  162. package/dist/esm/button/button.definition-async.js +14 -0
  163. package/dist/esm/button/button.definition-async.js.map +1 -0
  164. package/dist/esm/button/button.definition.d.ts +3 -5
  165. package/dist/esm/button/button.definition.js +7 -8
  166. package/dist/esm/button/button.definition.js.map +1 -1
  167. package/dist/esm/button/button.js +1 -1
  168. package/dist/esm/button/button.js.map +1 -1
  169. package/dist/esm/button/button.options.d.ts +8 -2
  170. package/dist/esm/button/button.options.js +7 -0
  171. package/dist/esm/button/button.options.js.map +1 -1
  172. package/dist/esm/button/button.styles.css +268 -0
  173. package/dist/esm/button/button.styles.js +5 -3
  174. package/dist/esm/button/button.styles.js.map +1 -1
  175. package/dist/esm/button/button.template.d.ts +3 -3
  176. package/dist/esm/button/button.template.html +10 -0
  177. package/dist/esm/button/button.template.js +1 -1
  178. package/dist/esm/button/button.template.js.map +1 -1
  179. package/dist/esm/button/define-async.d.ts +1 -0
  180. package/dist/esm/button/define-async.js +5 -0
  181. package/dist/esm/button/define-async.js.map +1 -0
  182. package/dist/esm/button/define.js +2 -2
  183. package/dist/esm/button/define.js.map +1 -1
  184. package/dist/esm/button/index.d.ts +1 -0
  185. package/dist/esm/button/index.js +1 -0
  186. package/dist/esm/button/index.js.map +1 -1
  187. package/dist/esm/checkbox/checkbox.base.d.ts +3 -9
  188. package/dist/esm/checkbox/checkbox.base.js +14 -10
  189. package/dist/esm/checkbox/checkbox.base.js.map +1 -1
  190. package/dist/esm/checkbox/checkbox.bench.d.ts +1 -0
  191. package/dist/esm/checkbox/checkbox.bench.js +1 -3
  192. package/dist/esm/checkbox/checkbox.bench.js.map +1 -1
  193. package/dist/esm/checkbox/checkbox.d.ts +2 -2
  194. package/dist/esm/checkbox/checkbox.definition-async.d.ts +10 -0
  195. package/dist/esm/checkbox/checkbox.definition-async.js +14 -0
  196. package/dist/esm/checkbox/checkbox.definition-async.js.map +1 -0
  197. package/dist/esm/checkbox/checkbox.definition.d.ts +3 -5
  198. package/dist/esm/checkbox/checkbox.definition.js +7 -8
  199. package/dist/esm/checkbox/checkbox.definition.js.map +1 -1
  200. package/dist/esm/checkbox/checkbox.js +2 -2
  201. package/dist/esm/checkbox/checkbox.options.d.ts +6 -0
  202. package/dist/esm/checkbox/checkbox.options.js +7 -0
  203. package/dist/esm/checkbox/checkbox.options.js.map +1 -1
  204. package/dist/esm/checkbox/checkbox.styles.css +172 -0
  205. package/dist/esm/checkbox/checkbox.styles.js +4 -3
  206. package/dist/esm/checkbox/checkbox.styles.js.map +1 -1
  207. package/dist/esm/checkbox/checkbox.template.html +29 -0
  208. package/dist/esm/checkbox/define-async.d.ts +1 -0
  209. package/dist/esm/checkbox/define-async.js +5 -0
  210. package/dist/esm/checkbox/define-async.js.map +1 -0
  211. package/dist/esm/checkbox/define.js +2 -2
  212. package/dist/esm/checkbox/define.js.map +1 -1
  213. package/dist/esm/checkbox/index.d.ts +1 -0
  214. package/dist/esm/checkbox/index.js +1 -0
  215. package/dist/esm/checkbox/index.js.map +1 -1
  216. package/dist/esm/compound-button/compound-button.bench.d.ts +1 -0
  217. package/dist/esm/compound-button/compound-button.bench.js +1 -3
  218. package/dist/esm/compound-button/compound-button.bench.js.map +1 -1
  219. package/dist/esm/compound-button/compound-button.d.ts +3 -0
  220. package/dist/esm/compound-button/compound-button.definition-async.d.ts +10 -0
  221. package/dist/esm/compound-button/compound-button.definition-async.js +14 -0
  222. package/dist/esm/compound-button/compound-button.definition-async.js.map +1 -0
  223. package/dist/esm/compound-button/compound-button.definition.d.ts +4 -4
  224. package/dist/esm/compound-button/compound-button.definition.js +8 -7
  225. package/dist/esm/compound-button/compound-button.definition.js.map +1 -1
  226. package/dist/esm/compound-button/compound-button.js +3 -0
  227. package/dist/esm/compound-button/compound-button.js.map +1 -1
  228. package/dist/esm/compound-button/compound-button.options.d.ts +7 -1
  229. package/dist/esm/compound-button/compound-button.options.js +7 -0
  230. package/dist/esm/compound-button/compound-button.options.js.map +1 -1
  231. package/dist/esm/compound-button/compound-button.styles.css +370 -0
  232. package/dist/esm/compound-button/compound-button.styles.js +4 -3
  233. package/dist/esm/compound-button/compound-button.styles.js.map +1 -1
  234. package/dist/esm/compound-button/compound-button.template.d.ts +3 -1
  235. package/dist/esm/compound-button/compound-button.template.html +11 -0
  236. package/dist/esm/compound-button/compound-button.template.js +8 -3
  237. package/dist/esm/compound-button/compound-button.template.js.map +1 -1
  238. package/dist/esm/compound-button/define-async.d.ts +1 -0
  239. package/dist/esm/compound-button/define-async.js +5 -0
  240. package/dist/esm/compound-button/define-async.js.map +1 -0
  241. package/dist/esm/compound-button/define.js +2 -2
  242. package/dist/esm/compound-button/define.js.map +1 -1
  243. package/dist/esm/compound-button/index.d.ts +1 -0
  244. package/dist/esm/compound-button/index.js +1 -0
  245. package/dist/esm/compound-button/index.js.map +1 -1
  246. package/dist/esm/counter-badge/counter-badge.base.d.ts +55 -0
  247. package/dist/esm/counter-badge/counter-badge.base.js +84 -0
  248. package/dist/esm/counter-badge/counter-badge.base.js.map +1 -0
  249. package/dist/esm/counter-badge/counter-badge.bench.d.ts +1 -0
  250. package/dist/esm/counter-badge/counter-badge.bench.js +1 -3
  251. package/dist/esm/counter-badge/counter-badge.bench.js.map +1 -1
  252. package/dist/esm/counter-badge/counter-badge.d.ts +8 -57
  253. package/dist/esm/counter-badge/counter-badge.definition-async.d.ts +10 -0
  254. package/dist/esm/counter-badge/counter-badge.definition-async.js +14 -0
  255. package/dist/esm/counter-badge/counter-badge.definition-async.js.map +1 -0
  256. package/dist/esm/counter-badge/counter-badge.definition.d.ts +4 -4
  257. package/dist/esm/counter-badge/counter-badge.definition.js +8 -7
  258. package/dist/esm/counter-badge/counter-badge.definition.js.map +1 -1
  259. package/dist/esm/counter-badge/counter-badge.js +9 -76
  260. package/dist/esm/counter-badge/counter-badge.js.map +1 -1
  261. package/dist/esm/counter-badge/counter-badge.options.d.ts +26 -12
  262. package/dist/esm/counter-badge/counter-badge.options.js +15 -4
  263. package/dist/esm/counter-badge/counter-badge.options.js.map +1 -1
  264. package/dist/esm/counter-badge/counter-badge.styles.css +177 -0
  265. package/dist/esm/counter-badge/counter-badge.styles.js +1 -1
  266. package/dist/esm/counter-badge/counter-badge.styles.js.map +1 -1
  267. package/dist/esm/counter-badge/counter-badge.template.d.ts +9 -1
  268. package/dist/esm/counter-badge/counter-badge.template.html +8 -0
  269. package/dist/esm/counter-badge/counter-badge.template.js +15 -7
  270. package/dist/esm/counter-badge/counter-badge.template.js.map +1 -1
  271. package/dist/esm/counter-badge/define-async.d.ts +1 -0
  272. package/dist/esm/counter-badge/define-async.js +5 -0
  273. package/dist/esm/counter-badge/define-async.js.map +1 -0
  274. package/dist/esm/counter-badge/define.js +2 -2
  275. package/dist/esm/counter-badge/define.js.map +1 -1
  276. package/dist/esm/counter-badge/index.d.ts +4 -3
  277. package/dist/esm/counter-badge/index.js +4 -3
  278. package/dist/esm/counter-badge/index.js.map +1 -1
  279. package/dist/esm/define-all.d.ts +42 -0
  280. package/dist/esm/define-all.js +43 -0
  281. package/dist/esm/define-all.js.map +1 -0
  282. package/dist/esm/dialog/define-async.d.ts +1 -0
  283. package/dist/esm/dialog/define-async.js +5 -0
  284. package/dist/esm/dialog/define-async.js.map +1 -0
  285. package/dist/esm/dialog/define.js +2 -2
  286. package/dist/esm/dialog/define.js.map +1 -1
  287. package/dist/esm/dialog/dialog.bench.d.ts +1 -0
  288. package/dist/esm/dialog/dialog.bench.js +1 -3
  289. package/dist/esm/dialog/dialog.bench.js.map +1 -1
  290. package/dist/esm/dialog/dialog.d.ts +63 -11
  291. package/dist/esm/dialog/dialog.definition-async.d.ts +10 -0
  292. package/dist/esm/dialog/dialog.definition-async.js +14 -0
  293. package/dist/esm/dialog/dialog.definition-async.js.map +1 -0
  294. package/dist/esm/dialog/dialog.definition.d.ts +3 -5
  295. package/dist/esm/dialog/dialog.definition.js +8 -9
  296. package/dist/esm/dialog/dialog.definition.js.map +1 -1
  297. package/dist/esm/dialog/dialog.js +94 -33
  298. package/dist/esm/dialog/dialog.js.map +1 -1
  299. package/dist/esm/dialog/dialog.options.d.ts +7 -1
  300. package/dist/esm/dialog/dialog.options.js +7 -0
  301. package/dist/esm/dialog/dialog.options.js.map +1 -1
  302. package/dist/esm/dialog/dialog.styles.css +84 -0
  303. package/dist/esm/dialog/dialog.styles.js +4 -4
  304. package/dist/esm/dialog/dialog.styles.js.map +1 -1
  305. package/dist/esm/dialog/dialog.template.d.ts +5 -0
  306. package/dist/esm/dialog/dialog.template.html +20 -0
  307. package/dist/esm/dialog/dialog.template.js +11 -3
  308. package/dist/esm/dialog/dialog.template.js.map +1 -1
  309. package/dist/esm/dialog/index.d.ts +1 -0
  310. package/dist/esm/dialog/index.js +1 -0
  311. package/dist/esm/dialog/index.js.map +1 -1
  312. package/dist/esm/dialog-body/define-async.d.ts +1 -0
  313. package/dist/esm/dialog-body/define-async.js +5 -0
  314. package/dist/esm/dialog-body/define-async.js.map +1 -0
  315. package/dist/esm/dialog-body/define.js +2 -2
  316. package/dist/esm/dialog-body/define.js.map +1 -1
  317. package/dist/esm/dialog-body/dialog-body.bench.d.ts +1 -0
  318. package/dist/esm/dialog-body/dialog-body.bench.js +1 -3
  319. package/dist/esm/dialog-body/dialog-body.bench.js.map +1 -1
  320. package/dist/esm/dialog-body/dialog-body.d.ts +9 -0
  321. package/dist/esm/dialog-body/dialog-body.definition-async.d.ts +10 -0
  322. package/dist/esm/dialog-body/dialog-body.definition-async.js +14 -0
  323. package/dist/esm/dialog-body/dialog-body.definition-async.js.map +1 -0
  324. package/dist/esm/dialog-body/dialog-body.definition.d.ts +3 -5
  325. package/dist/esm/dialog-body/dialog-body.definition.js +8 -9
  326. package/dist/esm/dialog-body/dialog-body.definition.js.map +1 -1
  327. package/dist/esm/dialog-body/dialog-body.js +9 -0
  328. package/dist/esm/dialog-body/dialog-body.js.map +1 -1
  329. package/dist/esm/dialog-body/dialog-body.options.d.ts +6 -0
  330. package/dist/esm/dialog-body/dialog-body.options.js +8 -0
  331. package/dist/esm/dialog-body/dialog-body.options.js.map +1 -0
  332. package/dist/esm/dialog-body/dialog-body.styles.css +92 -0
  333. package/dist/esm/dialog-body/dialog-body.styles.js +2 -1
  334. package/dist/esm/dialog-body/dialog-body.styles.js.map +1 -1
  335. package/dist/esm/dialog-body/dialog-body.template.html +12 -0
  336. package/dist/esm/dialog-body/index.d.ts +1 -0
  337. package/dist/esm/dialog-body/index.js +1 -0
  338. package/dist/esm/dialog-body/index.js.map +1 -1
  339. package/dist/esm/divider/define-async.d.ts +1 -0
  340. package/dist/esm/divider/define-async.js +5 -0
  341. package/dist/esm/divider/define-async.js.map +1 -0
  342. package/dist/esm/divider/define.js +2 -2
  343. package/dist/esm/divider/define.js.map +1 -1
  344. package/dist/esm/divider/divider.bench.d.ts +1 -0
  345. package/dist/esm/divider/divider.bench.js +1 -3
  346. package/dist/esm/divider/divider.bench.js.map +1 -1
  347. package/dist/esm/divider/divider.definition-async.d.ts +10 -0
  348. package/dist/esm/divider/divider.definition-async.js +14 -0
  349. package/dist/esm/divider/divider.definition-async.js.map +1 -0
  350. package/dist/esm/divider/divider.definition.d.ts +3 -5
  351. package/dist/esm/divider/divider.definition.js +8 -9
  352. package/dist/esm/divider/divider.definition.js.map +1 -1
  353. package/dist/esm/divider/divider.options.d.ts +7 -1
  354. package/dist/esm/divider/divider.options.js +8 -1
  355. package/dist/esm/divider/divider.options.js.map +1 -1
  356. package/dist/esm/divider/divider.styles.css +123 -0
  357. package/dist/esm/divider/divider.styles.js +5 -3
  358. package/dist/esm/divider/divider.styles.js.map +1 -1
  359. package/dist/esm/divider/divider.template.html +6 -0
  360. package/dist/esm/divider/index.d.ts +1 -0
  361. package/dist/esm/divider/index.js +1 -0
  362. package/dist/esm/divider/index.js.map +1 -1
  363. package/dist/esm/drawer/define-async.d.ts +1 -0
  364. package/dist/esm/drawer/define-async.js +5 -0
  365. package/dist/esm/drawer/define-async.js.map +1 -0
  366. package/dist/esm/drawer/define.js +2 -2
  367. package/dist/esm/drawer/define.js.map +1 -1
  368. package/dist/esm/drawer/drawer.d.ts +65 -27
  369. package/dist/esm/drawer/drawer.definition-async.d.ts +10 -0
  370. package/dist/esm/drawer/drawer.definition-async.js +14 -0
  371. package/dist/esm/drawer/drawer.definition-async.js.map +1 -0
  372. package/dist/esm/drawer/drawer.definition.d.ts +3 -4
  373. package/dist/esm/drawer/drawer.definition.js +7 -7
  374. package/dist/esm/drawer/drawer.definition.js.map +1 -1
  375. package/dist/esm/drawer/drawer.js +94 -58
  376. package/dist/esm/drawer/drawer.js.map +1 -1
  377. package/dist/esm/drawer/drawer.options.d.ts +7 -1
  378. package/dist/esm/drawer/drawer.options.js +7 -0
  379. package/dist/esm/drawer/drawer.options.js.map +1 -1
  380. package/dist/esm/drawer/drawer.styles.css +133 -0
  381. package/dist/esm/drawer/drawer.styles.js +17 -18
  382. package/dist/esm/drawer/drawer.styles.js.map +1 -1
  383. package/dist/esm/drawer/drawer.template.html +21 -0
  384. package/dist/esm/drawer/drawer.template.js +5 -3
  385. package/dist/esm/drawer/drawer.template.js.map +1 -1
  386. package/dist/esm/drawer/index.d.ts +1 -0
  387. package/dist/esm/drawer/index.js +1 -0
  388. package/dist/esm/drawer/index.js.map +1 -1
  389. package/dist/esm/drawer-body/define-async.d.ts +1 -0
  390. package/dist/esm/drawer-body/define-async.js +5 -0
  391. package/dist/esm/drawer-body/define-async.js.map +1 -0
  392. package/dist/esm/drawer-body/define.js +2 -2
  393. package/dist/esm/drawer-body/define.js.map +1 -1
  394. package/dist/esm/drawer-body/drawer-body.definition-async.d.ts +10 -0
  395. package/dist/esm/drawer-body/drawer-body.definition-async.js +14 -0
  396. package/dist/esm/drawer-body/drawer-body.definition-async.js.map +1 -0
  397. package/dist/esm/drawer-body/drawer-body.definition.d.ts +3 -4
  398. package/dist/esm/drawer-body/drawer-body.definition.js +7 -7
  399. package/dist/esm/drawer-body/drawer-body.definition.js.map +1 -1
  400. package/dist/esm/drawer-body/drawer-body.options.d.ts +6 -0
  401. package/dist/esm/drawer-body/drawer-body.options.js +8 -0
  402. package/dist/esm/drawer-body/drawer-body.options.js.map +1 -0
  403. package/dist/esm/drawer-body/drawer-body.styles.css +36 -0
  404. package/dist/esm/drawer-body/drawer-body.styles.js +1 -1
  405. package/dist/esm/drawer-body/drawer-body.styles.js.map +1 -1
  406. package/dist/esm/drawer-body/drawer-body.template.html +15 -0
  407. package/dist/esm/drawer-body/index.d.ts +1 -0
  408. package/dist/esm/drawer-body/index.js +1 -0
  409. package/dist/esm/drawer-body/index.js.map +1 -1
  410. package/dist/esm/dropdown/define-async.d.ts +1 -0
  411. package/dist/esm/dropdown/define-async.js +5 -0
  412. package/dist/esm/dropdown/define-async.js.map +1 -0
  413. package/dist/esm/dropdown/define.js +2 -2
  414. package/dist/esm/dropdown/define.js.map +1 -1
  415. package/dist/esm/dropdown/dropdown.base.d.ts +33 -0
  416. package/dist/esm/dropdown/dropdown.base.js +113 -31
  417. package/dist/esm/dropdown/dropdown.base.js.map +1 -1
  418. package/dist/esm/dropdown/dropdown.definition-async.d.ts +10 -0
  419. package/dist/esm/dropdown/dropdown.definition-async.js +14 -0
  420. package/dist/esm/dropdown/dropdown.definition-async.js.map +1 -0
  421. package/dist/esm/dropdown/dropdown.definition.d.ts +3 -5
  422. package/dist/esm/dropdown/dropdown.definition.js +7 -8
  423. package/dist/esm/dropdown/dropdown.definition.js.map +1 -1
  424. package/dist/esm/dropdown/dropdown.options.d.ts +6 -0
  425. package/dist/esm/dropdown/dropdown.options.js +7 -0
  426. package/dist/esm/dropdown/dropdown.options.js.map +1 -1
  427. package/dist/esm/dropdown/dropdown.styles.css +222 -0
  428. package/dist/esm/dropdown/dropdown.styles.js +3 -1
  429. package/dist/esm/dropdown/dropdown.styles.js.map +1 -1
  430. package/dist/esm/dropdown/dropdown.template.html +28 -0
  431. package/dist/esm/dropdown/index.d.ts +1 -0
  432. package/dist/esm/dropdown/index.js +1 -0
  433. package/dist/esm/dropdown/index.js.map +1 -1
  434. package/dist/esm/field/define-async.d.ts +1 -0
  435. package/dist/esm/field/define-async.js +5 -0
  436. package/dist/esm/field/define-async.js.map +1 -0
  437. package/dist/esm/field/define.js +2 -2
  438. package/dist/esm/field/define.js.map +1 -1
  439. package/dist/esm/field/field.base.js +1 -1
  440. package/dist/esm/field/field.base.js.map +1 -1
  441. package/dist/esm/field/field.bench.d.ts +1 -0
  442. package/dist/esm/field/field.bench.js +1 -3
  443. package/dist/esm/field/field.bench.js.map +1 -1
  444. package/dist/esm/field/field.d.ts +7 -0
  445. package/dist/esm/field/field.definition-async.d.ts +10 -0
  446. package/dist/esm/field/field.definition-async.js +17 -0
  447. package/dist/esm/field/field.definition-async.js.map +1 -0
  448. package/dist/esm/field/field.definition.d.ts +3 -5
  449. package/dist/esm/field/field.definition.js +8 -9
  450. package/dist/esm/field/field.definition.js.map +1 -1
  451. package/dist/esm/field/field.js +7 -0
  452. package/dist/esm/field/field.js.map +1 -1
  453. package/dist/esm/field/field.options.d.ts +6 -0
  454. package/dist/esm/field/field.options.js +7 -0
  455. package/dist/esm/field/field.options.js.map +1 -1
  456. package/dist/esm/field/field.styles.css +125 -0
  457. package/dist/esm/field/field.template.html +13 -0
  458. package/dist/esm/field/index.d.ts +1 -0
  459. package/dist/esm/field/index.js +1 -0
  460. package/dist/esm/field/index.js.map +1 -1
  461. package/dist/esm/fluent-design-system.js +1 -1
  462. package/dist/esm/fluent-design-system.js.map +1 -1
  463. package/dist/esm/image/define-async.d.ts +1 -0
  464. package/dist/esm/image/define-async.js +5 -0
  465. package/dist/esm/image/define-async.js.map +1 -0
  466. package/dist/esm/image/define.js +2 -2
  467. package/dist/esm/image/define.js.map +1 -1
  468. package/dist/esm/image/image.bench.d.ts +1 -0
  469. package/dist/esm/image/image.bench.js +1 -3
  470. package/dist/esm/image/image.bench.js.map +1 -1
  471. package/dist/esm/image/image.d.ts +2 -0
  472. package/dist/esm/image/image.definition-async.d.ts +10 -0
  473. package/dist/esm/image/image.definition-async.js +14 -0
  474. package/dist/esm/image/image.definition-async.js.map +1 -0
  475. package/dist/esm/image/image.definition.d.ts +3 -5
  476. package/dist/esm/image/image.definition.js +8 -9
  477. package/dist/esm/image/image.definition.js.map +1 -1
  478. package/dist/esm/image/image.js +2 -0
  479. package/dist/esm/image/image.js.map +1 -1
  480. package/dist/esm/image/image.options.d.ts +7 -1
  481. package/dist/esm/image/image.options.js +7 -0
  482. package/dist/esm/image/image.options.js.map +1 -1
  483. package/dist/esm/image/image.styles.css +50 -0
  484. package/dist/esm/image/image.template.html +6 -0
  485. package/dist/esm/image/index.d.ts +1 -0
  486. package/dist/esm/image/index.js +1 -0
  487. package/dist/esm/image/index.js.map +1 -1
  488. package/dist/esm/index-all-rollup.d.ts +2 -0
  489. package/dist/esm/index-all-rollup.js +9 -0
  490. package/dist/esm/index-all-rollup.js.map +1 -0
  491. package/dist/esm/index-rollup.d.ts +1 -44
  492. package/dist/esm/index-rollup.js +6 -44
  493. package/dist/esm/index-rollup.js.map +1 -1
  494. package/dist/esm/index.d.ts +6 -9
  495. package/dist/esm/index.js +6 -8
  496. package/dist/esm/index.js.map +1 -1
  497. package/dist/esm/label/define-async.d.ts +1 -0
  498. package/dist/esm/label/define-async.js +5 -0
  499. package/dist/esm/label/define-async.js.map +1 -0
  500. package/dist/esm/label/define.js +2 -2
  501. package/dist/esm/label/define.js.map +1 -1
  502. package/dist/esm/label/index.d.ts +1 -0
  503. package/dist/esm/label/index.js +1 -0
  504. package/dist/esm/label/index.js.map +1 -1
  505. package/dist/esm/label/label.bench.d.ts +1 -0
  506. package/dist/esm/label/label.bench.js +1 -3
  507. package/dist/esm/label/label.bench.js.map +1 -1
  508. package/dist/esm/label/label.d.ts +3 -0
  509. package/dist/esm/label/label.definition-async.d.ts +10 -0
  510. package/dist/esm/label/label.definition-async.js +14 -0
  511. package/dist/esm/label/label.definition-async.js.map +1 -0
  512. package/dist/esm/label/label.definition.d.ts +3 -6
  513. package/dist/esm/label/label.definition.js +7 -9
  514. package/dist/esm/label/label.definition.js.map +1 -1
  515. package/dist/esm/label/label.js +3 -0
  516. package/dist/esm/label/label.js.map +1 -1
  517. package/dist/esm/label/label.options.d.ts +7 -1
  518. package/dist/esm/label/label.options.js +7 -0
  519. package/dist/esm/label/label.options.js.map +1 -1
  520. package/dist/esm/label/label.styles.css +40 -0
  521. package/dist/esm/label/label.styles.js +1 -1
  522. package/dist/esm/label/label.styles.js.map +1 -1
  523. package/dist/esm/label/label.template.html +7 -0
  524. package/dist/esm/link/define-async.d.ts +1 -0
  525. package/dist/esm/link/define-async.js +5 -0
  526. package/dist/esm/link/define-async.js.map +1 -0
  527. package/dist/esm/link/define.js +2 -2
  528. package/dist/esm/link/define.js.map +1 -1
  529. package/dist/esm/link/index.d.ts +1 -0
  530. package/dist/esm/link/index.js +1 -0
  531. package/dist/esm/link/index.js.map +1 -1
  532. package/dist/esm/link/link.bench.d.ts +1 -0
  533. package/dist/esm/link/link.bench.js +1 -3
  534. package/dist/esm/link/link.bench.js.map +1 -1
  535. package/dist/esm/link/link.definition-async.d.ts +10 -0
  536. package/dist/esm/link/link.definition-async.js +14 -0
  537. package/dist/esm/link/link.definition-async.js.map +1 -0
  538. package/dist/esm/link/link.definition.d.ts +4 -4
  539. package/dist/esm/link/link.definition.js +8 -7
  540. package/dist/esm/link/link.definition.js.map +1 -1
  541. package/dist/esm/link/link.options.d.ts +7 -1
  542. package/dist/esm/link/link.options.js +7 -0
  543. package/dist/esm/link/link.options.js.map +1 -1
  544. package/dist/esm/link/link.styles.css +72 -0
  545. package/dist/esm/link/link.styles.js +5 -3
  546. package/dist/esm/link/link.styles.js.map +1 -1
  547. package/dist/esm/link/link.template.html +6 -0
  548. package/dist/esm/listbox/define-async.d.ts +1 -0
  549. package/dist/esm/listbox/define-async.js +5 -0
  550. package/dist/esm/listbox/define-async.js.map +1 -0
  551. package/dist/esm/listbox/define.js +2 -2
  552. package/dist/esm/listbox/define.js.map +1 -1
  553. package/dist/esm/listbox/index.d.ts +1 -0
  554. package/dist/esm/listbox/index.js +1 -0
  555. package/dist/esm/listbox/index.js.map +1 -1
  556. package/dist/esm/listbox/listbox.d.ts +12 -7
  557. package/dist/esm/listbox/listbox.definition-async.d.ts +10 -0
  558. package/dist/esm/listbox/listbox.definition-async.js +14 -0
  559. package/dist/esm/listbox/listbox.definition-async.js.map +1 -0
  560. package/dist/esm/listbox/listbox.definition.d.ts +3 -5
  561. package/dist/esm/listbox/listbox.definition.js +7 -8
  562. package/dist/esm/listbox/listbox.definition.js.map +1 -1
  563. package/dist/esm/listbox/listbox.js +27 -17
  564. package/dist/esm/listbox/listbox.js.map +1 -1
  565. package/dist/esm/listbox/listbox.options.d.ts +6 -0
  566. package/dist/esm/listbox/listbox.options.js +7 -0
  567. package/dist/esm/listbox/listbox.options.js.map +1 -1
  568. package/dist/esm/listbox/listbox.styles.css +49 -0
  569. package/dist/esm/listbox/listbox.styles.js +9 -15
  570. package/dist/esm/listbox/listbox.styles.js.map +1 -1
  571. package/dist/esm/listbox/listbox.template.html +6 -0
  572. package/dist/esm/listbox/listbox.template.js +2 -3
  573. package/dist/esm/listbox/listbox.template.js.map +1 -1
  574. package/dist/esm/menu/define-async.d.ts +1 -0
  575. package/dist/esm/menu/define-async.js +5 -0
  576. package/dist/esm/menu/define-async.js.map +1 -0
  577. package/dist/esm/menu/define.js +2 -2
  578. package/dist/esm/menu/define.js.map +1 -1
  579. package/dist/esm/menu/index.d.ts +1 -0
  580. package/dist/esm/menu/index.js +1 -0
  581. package/dist/esm/menu/index.js.map +1 -1
  582. package/dist/esm/menu/menu.bench.d.ts +4 -0
  583. package/dist/esm/menu/menu.bench.js +4 -9
  584. package/dist/esm/menu/menu.bench.js.map +1 -1
  585. package/dist/esm/menu/menu.d.ts +35 -19
  586. package/dist/esm/menu/menu.definition-async.d.ts +10 -0
  587. package/dist/esm/menu/menu.definition-async.js +14 -0
  588. package/dist/esm/menu/menu.definition-async.js.map +1 -0
  589. package/dist/esm/menu/menu.definition.d.ts +3 -5
  590. package/dist/esm/menu/menu.definition.js +7 -8
  591. package/dist/esm/menu/menu.definition.js.map +1 -1
  592. package/dist/esm/menu/menu.js +78 -79
  593. package/dist/esm/menu/menu.js.map +1 -1
  594. package/dist/esm/menu/menu.options.d.ts +6 -0
  595. package/dist/esm/menu/menu.options.js +8 -0
  596. package/dist/esm/menu/menu.options.js.map +1 -0
  597. package/dist/esm/menu/menu.styles.css +56 -0
  598. package/dist/esm/menu/menu.styles.js +8 -9
  599. package/dist/esm/menu/menu.styles.js.map +1 -1
  600. package/dist/esm/menu/menu.template.html +8 -0
  601. package/dist/esm/menu/menu.template.js +1 -7
  602. package/dist/esm/menu/menu.template.js.map +1 -1
  603. package/dist/esm/menu-button/define-async.d.ts +1 -0
  604. package/dist/esm/menu-button/define-async.js +5 -0
  605. package/dist/esm/menu-button/define-async.js.map +1 -0
  606. package/dist/esm/menu-button/define.js +2 -2
  607. package/dist/esm/menu-button/define.js.map +1 -1
  608. package/dist/esm/menu-button/index.d.ts +1 -0
  609. package/dist/esm/menu-button/index.js +1 -0
  610. package/dist/esm/menu-button/index.js.map +1 -1
  611. package/dist/esm/menu-button/menu-button.bench.d.ts +1 -0
  612. package/dist/esm/menu-button/menu-button.bench.js +1 -3
  613. package/dist/esm/menu-button/menu-button.bench.js.map +1 -1
  614. package/dist/esm/menu-button/menu-button.definition-async.d.ts +10 -0
  615. package/dist/esm/menu-button/menu-button.definition-async.js +14 -0
  616. package/dist/esm/menu-button/menu-button.definition-async.js.map +1 -0
  617. package/dist/esm/menu-button/menu-button.definition.d.ts +4 -4
  618. package/dist/esm/menu-button/menu-button.definition.js +9 -8
  619. package/dist/esm/menu-button/menu-button.definition.js.map +1 -1
  620. package/dist/esm/menu-button/menu-button.options.d.ts +7 -1
  621. package/dist/esm/menu-button/menu-button.options.js +7 -0
  622. package/dist/esm/menu-button/menu-button.options.js.map +1 -1
  623. package/dist/esm/menu-button/menu-button.styles.css +268 -0
  624. package/dist/esm/{tab-panel/tab-panel.styles.d.ts → menu-button/menu-button.styles.d.ts} +5 -0
  625. package/dist/esm/menu-button/menu-button.styles.js +8 -0
  626. package/dist/esm/menu-button/menu-button.styles.js.map +1 -0
  627. package/dist/esm/menu-button/menu-button.template.html +25 -0
  628. package/dist/esm/menu-item/define-async.d.ts +1 -0
  629. package/dist/esm/menu-item/define-async.js +5 -0
  630. package/dist/esm/menu-item/define-async.js.map +1 -0
  631. package/dist/esm/menu-item/define.js +2 -2
  632. package/dist/esm/menu-item/define.js.map +1 -1
  633. package/dist/esm/menu-item/index.d.ts +1 -0
  634. package/dist/esm/menu-item/index.js +1 -0
  635. package/dist/esm/menu-item/index.js.map +1 -1
  636. package/dist/esm/menu-item/menu-item.bench.d.ts +1 -0
  637. package/dist/esm/menu-item/menu-item.bench.js +1 -3
  638. package/dist/esm/menu-item/menu-item.bench.js.map +1 -1
  639. package/dist/esm/menu-item/menu-item.d.ts +4 -2
  640. package/dist/esm/menu-item/menu-item.definition-async.d.ts +10 -0
  641. package/dist/esm/menu-item/menu-item.definition-async.js +14 -0
  642. package/dist/esm/menu-item/menu-item.definition-async.js.map +1 -0
  643. package/dist/esm/menu-item/menu-item.definition.d.ts +4 -4
  644. package/dist/esm/menu-item/menu-item.definition.js +8 -7
  645. package/dist/esm/menu-item/menu-item.definition.js.map +1 -1
  646. package/dist/esm/menu-item/menu-item.js +26 -13
  647. package/dist/esm/menu-item/menu-item.js.map +1 -1
  648. package/dist/esm/menu-item/menu-item.options.d.ts +7 -1
  649. package/dist/esm/menu-item/menu-item.options.js +7 -0
  650. package/dist/esm/menu-item/menu-item.options.js.map +1 -1
  651. package/dist/esm/menu-item/menu-item.styles.css +159 -0
  652. package/dist/esm/menu-item/menu-item.styles.js +15 -10
  653. package/dist/esm/menu-item/menu-item.styles.js.map +1 -1
  654. package/dist/esm/menu-item/menu-item.template.html +50 -0
  655. package/dist/esm/menu-item/menu-item.template.js +3 -2
  656. package/dist/esm/menu-item/menu-item.template.js.map +1 -1
  657. package/dist/esm/menu-list/define-async.d.ts +1 -0
  658. package/dist/esm/menu-list/define-async.js +5 -0
  659. package/dist/esm/menu-list/define-async.js.map +1 -0
  660. package/dist/esm/menu-list/define.js +2 -2
  661. package/dist/esm/menu-list/define.js.map +1 -1
  662. package/dist/esm/menu-list/index.d.ts +2 -0
  663. package/dist/esm/menu-list/index.js +2 -0
  664. package/dist/esm/menu-list/index.js.map +1 -1
  665. package/dist/esm/menu-list/menu-list.base.d.ts +57 -0
  666. package/dist/esm/menu-list/menu-list.base.js +155 -0
  667. package/dist/esm/menu-list/menu-list.base.js.map +1 -0
  668. package/dist/esm/menu-list/menu-list.bench.d.ts +2 -0
  669. package/dist/esm/menu-list/menu-list.bench.js +2 -5
  670. package/dist/esm/menu-list/menu-list.bench.js.map +1 -1
  671. package/dist/esm/menu-list/menu-list.d.ts +6 -69
  672. package/dist/esm/menu-list/menu-list.definition-async.d.ts +10 -0
  673. package/dist/esm/menu-list/menu-list.definition-async.js +14 -0
  674. package/dist/esm/menu-list/menu-list.definition-async.js.map +1 -0
  675. package/dist/esm/menu-list/menu-list.definition.d.ts +4 -4
  676. package/dist/esm/menu-list/menu-list.definition.js +8 -7
  677. package/dist/esm/menu-list/menu-list.definition.js.map +1 -1
  678. package/dist/esm/menu-list/menu-list.js +18 -237
  679. package/dist/esm/menu-list/menu-list.js.map +1 -1
  680. package/dist/esm/menu-list/menu-list.options.d.ts +6 -0
  681. package/dist/esm/menu-list/menu-list.options.js +8 -0
  682. package/dist/esm/menu-list/menu-list.options.js.map +1 -0
  683. package/dist/esm/menu-list/menu-list.styles.css +20 -0
  684. package/dist/esm/menu-list/menu-list.styles.js +1 -1
  685. package/dist/esm/menu-list/menu-list.styles.js.map +1 -1
  686. package/dist/esm/menu-list/menu-list.template.html +6 -0
  687. package/dist/esm/menu-list/menu-list.template.js +1 -5
  688. package/dist/esm/menu-list/menu-list.template.js.map +1 -1
  689. package/dist/esm/message-bar/define-async.d.ts +1 -0
  690. package/dist/esm/message-bar/define-async.js +5 -0
  691. package/dist/esm/message-bar/define-async.js.map +1 -0
  692. package/dist/esm/message-bar/define.js +2 -2
  693. package/dist/esm/message-bar/define.js.map +1 -1
  694. package/dist/esm/message-bar/index.d.ts +1 -0
  695. package/dist/esm/message-bar/index.js +1 -0
  696. package/dist/esm/message-bar/index.js.map +1 -1
  697. package/dist/esm/message-bar/message-bar.bench.d.ts +2 -0
  698. package/dist/esm/message-bar/message-bar.bench.js +2 -5
  699. package/dist/esm/message-bar/message-bar.bench.js.map +1 -1
  700. package/dist/esm/message-bar/message-bar.d.ts +4 -1
  701. package/dist/esm/message-bar/message-bar.definition-async.d.ts +10 -0
  702. package/dist/esm/message-bar/message-bar.definition-async.js +14 -0
  703. package/dist/esm/message-bar/message-bar.definition-async.js.map +1 -0
  704. package/dist/esm/message-bar/message-bar.definition.d.ts +3 -5
  705. package/dist/esm/message-bar/message-bar.definition.js +7 -11
  706. package/dist/esm/message-bar/message-bar.definition.js.map +1 -1
  707. package/dist/esm/message-bar/message-bar.js +4 -1
  708. package/dist/esm/message-bar/message-bar.js.map +1 -1
  709. package/dist/esm/message-bar/message-bar.options.d.ts +12 -3
  710. package/dist/esm/message-bar/message-bar.options.js +13 -3
  711. package/dist/esm/message-bar/message-bar.options.js.map +1 -1
  712. package/dist/esm/message-bar/message-bar.styles.css +97 -0
  713. package/dist/esm/message-bar/message-bar.styles.js +1 -0
  714. package/dist/esm/message-bar/message-bar.styles.js.map +1 -1
  715. package/dist/esm/message-bar/message-bar.template.d.ts +3 -3
  716. package/dist/esm/message-bar/message-bar.template.html +13 -0
  717. package/dist/esm/message-bar/message-bar.template.js +3 -3
  718. package/dist/esm/option/define-async.d.ts +1 -0
  719. package/dist/esm/option/define-async.js +5 -0
  720. package/dist/esm/option/define-async.js.map +1 -0
  721. package/dist/esm/option/define.js +2 -2
  722. package/dist/esm/option/define.js.map +1 -1
  723. package/dist/esm/option/index.d.ts +1 -0
  724. package/dist/esm/option/index.js +1 -0
  725. package/dist/esm/option/index.js.map +1 -1
  726. package/dist/esm/option/option.d.ts +3 -0
  727. package/dist/esm/option/option.definition-async.d.ts +10 -0
  728. package/dist/esm/option/option.definition-async.js +14 -0
  729. package/dist/esm/option/option.definition-async.js.map +1 -0
  730. package/dist/esm/option/option.definition.d.ts +3 -5
  731. package/dist/esm/option/option.definition.js +7 -8
  732. package/dist/esm/option/option.definition.js.map +1 -1
  733. package/dist/esm/option/option.js +4 -1
  734. package/dist/esm/option/option.js.map +1 -1
  735. package/dist/esm/option/option.options.d.ts +6 -0
  736. package/dist/esm/option/option.options.js +7 -0
  737. package/dist/esm/option/option.options.js.map +1 -1
  738. package/dist/esm/option/option.styles.css +134 -0
  739. package/dist/esm/option/option.template.html +24 -0
  740. package/dist/esm/patterns/start-end.d.ts +1 -1
  741. package/dist/esm/patterns/start-end.js +1 -1
  742. package/dist/esm/patterns/start-end.js.map +1 -1
  743. package/dist/esm/progress-bar/define-async.d.ts +1 -0
  744. package/dist/esm/progress-bar/define-async.js +5 -0
  745. package/dist/esm/progress-bar/define-async.js.map +1 -0
  746. package/dist/esm/progress-bar/define.js +2 -2
  747. package/dist/esm/progress-bar/define.js.map +1 -1
  748. package/dist/esm/progress-bar/index.d.ts +1 -0
  749. package/dist/esm/progress-bar/index.js +1 -0
  750. package/dist/esm/progress-bar/index.js.map +1 -1
  751. package/dist/esm/progress-bar/progress-bar.base.d.ts +35 -8
  752. package/dist/esm/progress-bar/progress-bar.base.js +41 -20
  753. package/dist/esm/progress-bar/progress-bar.base.js.map +1 -1
  754. package/dist/esm/progress-bar/progress-bar.bench.d.ts +1 -0
  755. package/dist/esm/progress-bar/progress-bar.bench.js +1 -3
  756. package/dist/esm/progress-bar/progress-bar.bench.js.map +1 -1
  757. package/dist/esm/progress-bar/progress-bar.d.ts +9 -2
  758. package/dist/esm/progress-bar/progress-bar.definition-async.d.ts +10 -0
  759. package/dist/esm/progress-bar/progress-bar.definition-async.js +14 -0
  760. package/dist/esm/progress-bar/progress-bar.definition-async.js.map +1 -0
  761. package/dist/esm/progress-bar/progress-bar.definition.d.ts +3 -6
  762. package/dist/esm/progress-bar/progress-bar.definition.js +7 -9
  763. package/dist/esm/progress-bar/progress-bar.definition.js.map +1 -1
  764. package/dist/esm/progress-bar/progress-bar.js +1 -0
  765. package/dist/esm/progress-bar/progress-bar.js.map +1 -1
  766. package/dist/esm/progress-bar/progress-bar.options.d.ts +7 -1
  767. package/dist/esm/progress-bar/progress-bar.options.js +7 -0
  768. package/dist/esm/progress-bar/progress-bar.options.js.map +1 -1
  769. package/dist/esm/progress-bar/progress-bar.styles.css +103 -0
  770. package/dist/esm/progress-bar/progress-bar.styles.js +5 -3
  771. package/dist/esm/progress-bar/progress-bar.styles.js.map +1 -1
  772. package/dist/esm/progress-bar/progress-bar.template.html +6 -0
  773. package/dist/esm/radio/define-async.d.ts +1 -0
  774. package/dist/esm/radio/define-async.js +5 -0
  775. package/dist/esm/radio/define-async.js.map +1 -0
  776. package/dist/esm/radio/define.js +2 -2
  777. package/dist/esm/radio/define.js.map +1 -1
  778. package/dist/esm/radio/index.d.ts +1 -0
  779. package/dist/esm/radio/index.js +1 -0
  780. package/dist/esm/radio/index.js.map +1 -1
  781. package/dist/esm/radio/radio.bench.d.ts +1 -0
  782. package/dist/esm/radio/radio.bench.js +1 -3
  783. package/dist/esm/radio/radio.bench.js.map +1 -1
  784. package/dist/esm/radio/radio.d.ts +4 -3
  785. package/dist/esm/radio/radio.definition-async.d.ts +10 -0
  786. package/dist/esm/radio/radio.definition-async.js +14 -0
  787. package/dist/esm/radio/radio.definition-async.js.map +1 -0
  788. package/dist/esm/radio/radio.definition.d.ts +3 -6
  789. package/dist/esm/radio/radio.definition.js +7 -9
  790. package/dist/esm/radio/radio.definition.js.map +1 -1
  791. package/dist/esm/radio/radio.js +4 -3
  792. package/dist/esm/radio/radio.js.map +1 -1
  793. package/dist/esm/radio/radio.options.d.ts +15 -0
  794. package/dist/esm/radio/radio.options.js +19 -1
  795. package/dist/esm/radio/radio.options.js.map +1 -1
  796. package/dist/esm/radio/radio.styles.css +119 -0
  797. package/dist/esm/radio/radio.styles.js +4 -3
  798. package/dist/esm/radio/radio.styles.js.map +1 -1
  799. package/dist/esm/radio/radio.template.html +8 -0
  800. package/dist/esm/radio/radio.template.js +1 -1
  801. package/dist/esm/radio/radio.template.js.map +1 -1
  802. package/dist/esm/radio-group/define-async.d.ts +1 -0
  803. package/dist/esm/radio-group/define-async.js +5 -0
  804. package/dist/esm/radio-group/define-async.js.map +1 -0
  805. package/dist/esm/radio-group/define.js +2 -2
  806. package/dist/esm/radio-group/define.js.map +1 -1
  807. package/dist/esm/radio-group/index.d.ts +2 -0
  808. package/dist/esm/radio-group/index.js +2 -0
  809. package/dist/esm/radio-group/index.js.map +1 -1
  810. package/dist/esm/radio-group/radio-group.base.d.ts +274 -0
  811. package/dist/esm/radio-group/radio-group.base.js +440 -0
  812. package/dist/esm/radio-group/radio-group.base.js.map +1 -0
  813. package/dist/esm/radio-group/radio-group.bench.d.ts +2 -0
  814. package/dist/esm/radio-group/radio-group.bench.js +2 -5
  815. package/dist/esm/radio-group/radio-group.bench.js.map +1 -1
  816. package/dist/esm/radio-group/radio-group.d.ts +9 -273
  817. package/dist/esm/radio-group/radio-group.definition-async.d.ts +10 -0
  818. package/dist/esm/radio-group/radio-group.definition-async.js +14 -0
  819. package/dist/esm/radio-group/radio-group.definition-async.js.map +1 -0
  820. package/dist/esm/radio-group/radio-group.definition.d.ts +3 -6
  821. package/dist/esm/radio-group/radio-group.definition.js +7 -9
  822. package/dist/esm/radio-group/radio-group.definition.js.map +1 -1
  823. package/dist/esm/radio-group/radio-group.js +21 -492
  824. package/dist/esm/radio-group/radio-group.js.map +1 -1
  825. package/dist/esm/radio-group/radio-group.options.d.ts +7 -1
  826. package/dist/esm/radio-group/radio-group.options.js +8 -1
  827. package/dist/esm/radio-group/radio-group.options.js.map +1 -1
  828. package/dist/esm/radio-group/radio-group.styles.css +45 -0
  829. package/dist/esm/radio-group/radio-group.styles.js +1 -1
  830. package/dist/esm/radio-group/radio-group.styles.js.map +1 -1
  831. package/dist/esm/radio-group/radio-group.template.html +13 -0
  832. package/dist/esm/radio-group/radio-group.template.js +3 -3
  833. package/dist/esm/radio-group/radio-group.template.js.map +1 -1
  834. package/dist/esm/rating-display/define-async.d.ts +1 -0
  835. package/dist/esm/rating-display/define-async.js +5 -0
  836. package/dist/esm/rating-display/define-async.js.map +1 -0
  837. package/dist/esm/rating-display/define.js +2 -2
  838. package/dist/esm/rating-display/define.js.map +1 -1
  839. package/dist/esm/rating-display/index.d.ts +1 -0
  840. package/dist/esm/rating-display/index.js +1 -0
  841. package/dist/esm/rating-display/index.js.map +1 -1
  842. package/dist/esm/rating-display/rating-display.base.d.ts +11 -1
  843. package/dist/esm/rating-display/rating-display.base.js +24 -11
  844. package/dist/esm/rating-display/rating-display.base.js.map +1 -1
  845. package/dist/esm/rating-display/rating-display.definition-async.d.ts +10 -0
  846. package/dist/esm/rating-display/rating-display.definition-async.js +14 -0
  847. package/dist/esm/rating-display/rating-display.definition-async.js.map +1 -0
  848. package/dist/esm/rating-display/rating-display.definition.d.ts +3 -5
  849. package/dist/esm/rating-display/rating-display.definition.js +7 -8
  850. package/dist/esm/rating-display/rating-display.definition.js.map +1 -1
  851. package/dist/esm/rating-display/rating-display.options.d.ts +7 -1
  852. package/dist/esm/rating-display/rating-display.options.js +7 -0
  853. package/dist/esm/rating-display/rating-display.options.js.map +1 -1
  854. package/dist/esm/rating-display/rating-display.styles.css +142 -0
  855. package/dist/esm/rating-display/rating-display.styles.js +5 -3
  856. package/dist/esm/rating-display/rating-display.styles.js.map +1 -1
  857. package/dist/esm/rating-display/rating-display.template.html +9 -0
  858. package/dist/esm/slider/define-async.d.ts +1 -0
  859. package/dist/esm/slider/define-async.js +5 -0
  860. package/dist/esm/slider/define-async.js.map +1 -0
  861. package/dist/esm/slider/define.js +2 -2
  862. package/dist/esm/slider/define.js.map +1 -1
  863. package/dist/esm/slider/index.d.ts +1 -0
  864. package/dist/esm/slider/index.js +1 -0
  865. package/dist/esm/slider/index.js.map +1 -1
  866. package/dist/esm/slider/slider-utilities.d.ts +1 -1
  867. package/dist/esm/slider/slider-utilities.js +2 -1
  868. package/dist/esm/slider/slider-utilities.js.map +1 -1
  869. package/dist/esm/slider/slider.bench.d.ts +1 -0
  870. package/dist/esm/slider/slider.bench.js +1 -3
  871. package/dist/esm/slider/slider.bench.js.map +1 -1
  872. package/dist/esm/slider/slider.d.ts +10 -5
  873. package/dist/esm/slider/slider.definition-async.d.ts +10 -0
  874. package/dist/esm/slider/slider.definition-async.js +14 -0
  875. package/dist/esm/slider/slider.definition-async.js.map +1 -0
  876. package/dist/esm/slider/slider.definition.d.ts +3 -6
  877. package/dist/esm/slider/slider.definition.js +7 -9
  878. package/dist/esm/slider/slider.definition.js.map +1 -1
  879. package/dist/esm/slider/slider.js +58 -36
  880. package/dist/esm/slider/slider.js.map +1 -1
  881. package/dist/esm/slider/slider.options.d.ts +9 -2
  882. package/dist/esm/slider/slider.options.js +8 -1
  883. package/dist/esm/slider/slider.options.js.map +1 -1
  884. package/dist/esm/slider/slider.styles.css +193 -0
  885. package/dist/esm/slider/slider.styles.js +5 -3
  886. package/dist/esm/slider/slider.styles.js.map +1 -1
  887. package/dist/esm/slider/slider.template.html +15 -0
  888. package/dist/esm/spinner/define-async.d.ts +1 -0
  889. package/dist/esm/spinner/define-async.js +5 -0
  890. package/dist/esm/spinner/define-async.js.map +1 -0
  891. package/dist/esm/spinner/define.js +2 -2
  892. package/dist/esm/spinner/define.js.map +1 -1
  893. package/dist/esm/spinner/index.d.ts +1 -0
  894. package/dist/esm/spinner/index.js +1 -0
  895. package/dist/esm/spinner/index.js.map +1 -1
  896. package/dist/esm/spinner/spinner.bench.d.ts +1 -0
  897. package/dist/esm/spinner/spinner.bench.js +1 -3
  898. package/dist/esm/spinner/spinner.bench.js.map +1 -1
  899. package/dist/esm/spinner/spinner.definition-async.d.ts +10 -0
  900. package/dist/esm/spinner/spinner.definition-async.js +14 -0
  901. package/dist/esm/spinner/spinner.definition-async.js.map +1 -0
  902. package/dist/esm/spinner/spinner.definition.d.ts +4 -4
  903. package/dist/esm/spinner/spinner.definition.js +8 -7
  904. package/dist/esm/spinner/spinner.definition.js.map +1 -1
  905. package/dist/esm/spinner/spinner.options.d.ts +7 -1
  906. package/dist/esm/spinner/spinner.options.js +7 -0
  907. package/dist/esm/spinner/spinner.options.js.map +1 -1
  908. package/dist/esm/spinner/spinner.styles.css +159 -0
  909. package/dist/esm/spinner/spinner.styles.js +5 -3
  910. package/dist/esm/spinner/spinner.styles.js.map +1 -1
  911. package/dist/esm/spinner/spinner.template.html +18 -0
  912. package/dist/esm/styles/index.d.ts +2 -1
  913. package/dist/esm/styles/index.js +2 -1
  914. package/dist/esm/styles/index.js.map +1 -1
  915. package/dist/esm/styles/partials/badge.partials.d.ts +2 -1
  916. package/dist/esm/styles/partials/badge.partials.js +3 -2
  917. package/dist/esm/styles/partials/badge.partials.js.map +1 -1
  918. package/dist/esm/switch/define-async.d.ts +1 -0
  919. package/dist/esm/switch/define-async.js +5 -0
  920. package/dist/esm/switch/define-async.js.map +1 -0
  921. package/dist/esm/switch/define.js +2 -2
  922. package/dist/esm/switch/define.js.map +1 -1
  923. package/dist/esm/switch/index.d.ts +1 -0
  924. package/dist/esm/switch/index.js +1 -0
  925. package/dist/esm/switch/index.js.map +1 -1
  926. package/dist/esm/switch/switch.bench.d.ts +1 -0
  927. package/dist/esm/switch/switch.bench.js +1 -3
  928. package/dist/esm/switch/switch.bench.js.map +1 -1
  929. package/dist/esm/switch/switch.d.ts +2 -1
  930. package/dist/esm/switch/switch.definition-async.d.ts +10 -0
  931. package/dist/esm/switch/switch.definition-async.js +14 -0
  932. package/dist/esm/switch/switch.definition-async.js.map +1 -0
  933. package/dist/esm/switch/switch.definition.d.ts +3 -5
  934. package/dist/esm/switch/switch.definition.js +8 -9
  935. package/dist/esm/switch/switch.definition.js.map +1 -1
  936. package/dist/esm/switch/switch.js +1 -0
  937. package/dist/esm/switch/switch.js.map +1 -1
  938. package/dist/esm/switch/switch.options.d.ts +7 -1
  939. package/dist/esm/switch/switch.options.js +7 -0
  940. package/dist/esm/switch/switch.options.js.map +1 -1
  941. package/dist/esm/switch/switch.styles.css +125 -0
  942. package/dist/esm/switch/switch.styles.js +4 -3
  943. package/dist/esm/switch/switch.styles.js.map +1 -1
  944. package/dist/esm/switch/switch.template.html +11 -0
  945. package/dist/esm/switch/switch.template.js +1 -1
  946. package/dist/esm/switch/switch.template.js.map +1 -1
  947. package/dist/esm/tab/define-async.d.ts +1 -0
  948. package/dist/esm/tab/define-async.js +5 -0
  949. package/dist/esm/tab/define-async.js.map +1 -0
  950. package/dist/esm/tab/define.js +2 -2
  951. package/dist/esm/tab/define.js.map +1 -1
  952. package/dist/esm/tab/index.d.ts +1 -0
  953. package/dist/esm/tab/index.js +1 -0
  954. package/dist/esm/tab/index.js.map +1 -1
  955. package/dist/esm/tab/tab.bench.d.ts +1 -0
  956. package/dist/esm/tab/tab.bench.js +1 -3
  957. package/dist/esm/tab/tab.bench.js.map +1 -1
  958. package/dist/esm/tab/tab.d.ts +15 -1
  959. package/dist/esm/tab/tab.definition-async.d.ts +10 -0
  960. package/dist/esm/tab/tab.definition-async.js +14 -0
  961. package/dist/esm/tab/tab.definition-async.js.map +1 -0
  962. package/dist/esm/tab/tab.definition.d.ts +7 -2
  963. package/dist/esm/tab/tab.definition.js +12 -6
  964. package/dist/esm/tab/tab.definition.js.map +1 -1
  965. package/dist/esm/tab/tab.js +28 -2
  966. package/dist/esm/tab/tab.js.map +1 -1
  967. package/dist/esm/tab/tab.options.d.ts +6 -0
  968. package/dist/esm/tab/tab.options.js +7 -0
  969. package/dist/esm/tab/tab.options.js.map +1 -1
  970. package/dist/esm/tab/tab.styles.css +122 -0
  971. package/dist/esm/tab/tab.styles.js +23 -3
  972. package/dist/esm/tab/tab.styles.js.map +1 -1
  973. package/dist/esm/tab/tab.template.html +8 -0
  974. package/dist/esm/tab/tab.template.js +2 -2
  975. package/dist/esm/tab/tab.template.js.map +1 -1
  976. package/dist/esm/tablist/define-async.d.ts +1 -0
  977. package/dist/esm/tablist/define-async.js +5 -0
  978. package/dist/esm/tablist/define-async.js.map +1 -0
  979. package/dist/esm/tablist/define.js +2 -2
  980. package/dist/esm/tablist/define.js.map +1 -1
  981. package/dist/esm/tablist/index.d.ts +1 -0
  982. package/dist/esm/tablist/index.js +1 -0
  983. package/dist/esm/tablist/index.js.map +1 -1
  984. package/dist/esm/tablist/tablist.base.d.ts +15 -46
  985. package/dist/esm/tablist/tablist.base.js +114 -209
  986. package/dist/esm/tablist/tablist.base.js.map +1 -1
  987. package/dist/esm/tablist/tablist.bench.d.ts +2 -0
  988. package/dist/esm/tablist/tablist.bench.js +2 -5
  989. package/dist/esm/tablist/tablist.bench.js.map +1 -1
  990. package/dist/esm/tablist/tablist.d.ts +8 -74
  991. package/dist/esm/tablist/tablist.definition-async.d.ts +10 -0
  992. package/dist/esm/tablist/tablist.definition-async.js +14 -0
  993. package/dist/esm/tablist/tablist.definition-async.js.map +1 -0
  994. package/dist/esm/tablist/tablist.definition.d.ts +4 -4
  995. package/dist/esm/tablist/tablist.definition.js +9 -8
  996. package/dist/esm/tablist/tablist.definition.js.map +1 -1
  997. package/dist/esm/tablist/tablist.js +23 -132
  998. package/dist/esm/tablist/tablist.js.map +1 -1
  999. package/dist/esm/tablist/tablist.options.d.ts +7 -1
  1000. package/dist/esm/tablist/tablist.options.js +8 -1
  1001. package/dist/esm/tablist/tablist.options.js.map +1 -1
  1002. package/dist/esm/tablist/tablist.styles.css +207 -0
  1003. package/dist/esm/tablist/tablist.styles.js +83 -65
  1004. package/dist/esm/tablist/tablist.styles.js.map +1 -1
  1005. package/dist/esm/tablist/tablist.template.html +6 -0
  1006. package/dist/esm/tablist/tablist.template.js +5 -1
  1007. package/dist/esm/tablist/tablist.template.js.map +1 -1
  1008. package/dist/esm/text/define-async.d.ts +1 -0
  1009. package/dist/esm/text/define-async.js +5 -0
  1010. package/dist/esm/text/define-async.js.map +1 -0
  1011. package/dist/esm/text/define.js +2 -2
  1012. package/dist/esm/text/define.js.map +1 -1
  1013. package/dist/esm/text/index.d.ts +1 -0
  1014. package/dist/esm/text/index.js +1 -0
  1015. package/dist/esm/text/index.js.map +1 -1
  1016. package/dist/esm/text/text.bench.d.ts +1 -0
  1017. package/dist/esm/text/text.bench.js +1 -3
  1018. package/dist/esm/text/text.bench.js.map +1 -1
  1019. package/dist/esm/text/text.d.ts +2 -0
  1020. package/dist/esm/text/text.definition-async.d.ts +10 -0
  1021. package/dist/esm/text/text.definition-async.js +14 -0
  1022. package/dist/esm/text/text.definition-async.js.map +1 -0
  1023. package/dist/esm/text/text.definition.d.ts +3 -6
  1024. package/dist/esm/text/text.definition.js +7 -9
  1025. package/dist/esm/text/text.definition.js.map +1 -1
  1026. package/dist/esm/text/text.js +2 -0
  1027. package/dist/esm/text/text.js.map +1 -1
  1028. package/dist/esm/text/text.options.d.ts +7 -1
  1029. package/dist/esm/text/text.options.js +7 -0
  1030. package/dist/esm/text/text.options.js.map +1 -1
  1031. package/dist/esm/text/text.styles.css +108 -0
  1032. package/dist/esm/text/text.styles.js +1 -1
  1033. package/dist/esm/text/text.styles.js.map +1 -1
  1034. package/dist/esm/text/text.template.html +6 -0
  1035. package/dist/esm/text-input/define-async.d.ts +1 -0
  1036. package/dist/esm/text-input/define-async.js +5 -0
  1037. package/dist/esm/text-input/define-async.js.map +1 -0
  1038. package/dist/esm/text-input/define.js +2 -2
  1039. package/dist/esm/text-input/define.js.map +1 -1
  1040. package/dist/esm/text-input/index.d.ts +1 -0
  1041. package/dist/esm/text-input/index.js +1 -0
  1042. package/dist/esm/text-input/index.js.map +1 -1
  1043. package/dist/esm/text-input/text-input.base.d.ts +4 -22
  1044. package/dist/esm/text-input/text-input.base.js +20 -34
  1045. package/dist/esm/text-input/text-input.base.js.map +1 -1
  1046. package/dist/esm/text-input/text-input.bench.d.ts +1 -0
  1047. package/dist/esm/text-input/text-input.bench.js +1 -3
  1048. package/dist/esm/text-input/text-input.bench.js.map +1 -1
  1049. package/dist/esm/text-input/text-input.d.ts +2 -0
  1050. package/dist/esm/text-input/text-input.definition-async.d.ts +10 -0
  1051. package/dist/esm/text-input/text-input.definition-async.js +17 -0
  1052. package/dist/esm/text-input/text-input.definition-async.js.map +1 -0
  1053. package/dist/esm/text-input/text-input.definition.d.ts +3 -5
  1054. package/dist/esm/text-input/text-input.definition.js +8 -9
  1055. package/dist/esm/text-input/text-input.definition.js.map +1 -1
  1056. package/dist/esm/text-input/text-input.js +2 -0
  1057. package/dist/esm/text-input/text-input.js.map +1 -1
  1058. package/dist/esm/text-input/text-input.options.d.ts +6 -0
  1059. package/dist/esm/text-input/text-input.options.js +7 -0
  1060. package/dist/esm/text-input/text-input.options.js.map +1 -1
  1061. package/dist/esm/text-input/text-input.styles.css +204 -0
  1062. package/dist/esm/text-input/text-input.template.d.ts +1 -1
  1063. package/dist/esm/text-input/text-input.template.html +35 -0
  1064. package/dist/esm/text-input/text-input.template.js +4 -15
  1065. package/dist/esm/text-input/text-input.template.js.map +1 -1
  1066. package/dist/esm/textarea/define-async.d.ts +1 -0
  1067. package/dist/esm/textarea/define-async.js +5 -0
  1068. package/dist/esm/textarea/define-async.js.map +1 -0
  1069. package/dist/esm/textarea/define.js +2 -2
  1070. package/dist/esm/textarea/define.js.map +1 -1
  1071. package/dist/esm/textarea/index.d.ts +1 -0
  1072. package/dist/esm/textarea/index.js +1 -0
  1073. package/dist/esm/textarea/index.js.map +1 -1
  1074. package/dist/esm/textarea/textarea.base.d.ts +14 -5
  1075. package/dist/esm/textarea/textarea.base.js +58 -36
  1076. package/dist/esm/textarea/textarea.base.js.map +1 -1
  1077. package/dist/esm/textarea/textarea.bench.d.ts +1 -0
  1078. package/dist/esm/textarea/textarea.bench.js +1 -3
  1079. package/dist/esm/textarea/textarea.bench.js.map +1 -1
  1080. package/dist/esm/textarea/textarea.definition-async.d.ts +10 -0
  1081. package/dist/esm/textarea/textarea.definition-async.js +17 -0
  1082. package/dist/esm/textarea/textarea.definition-async.js.map +1 -0
  1083. package/dist/esm/textarea/textarea.definition.d.ts +3 -5
  1084. package/dist/esm/textarea/textarea.definition.js +8 -9
  1085. package/dist/esm/textarea/textarea.definition.js.map +1 -1
  1086. package/dist/esm/textarea/textarea.options.d.ts +6 -0
  1087. package/dist/esm/textarea/textarea.options.js +7 -0
  1088. package/dist/esm/textarea/textarea.options.js.map +1 -1
  1089. package/dist/esm/textarea/textarea.styles.css +262 -0
  1090. package/dist/esm/textarea/textarea.styles.js +4 -3
  1091. package/dist/esm/textarea/textarea.styles.js.map +1 -1
  1092. package/dist/esm/textarea/textarea.template.html +30 -0
  1093. package/dist/esm/textarea/textarea.template.js +1 -1
  1094. package/dist/esm/textarea/textarea.template.js.map +1 -1
  1095. package/dist/esm/theme/design-tokens.d.ts +115 -0
  1096. package/dist/esm/theme/design-tokens.js +115 -0
  1097. package/dist/esm/theme/design-tokens.js.map +1 -1
  1098. package/dist/esm/theme/index.d.ts +1 -1
  1099. package/dist/esm/theme/index.js +1 -1
  1100. package/dist/esm/theme/index.js.map +1 -1
  1101. package/dist/esm/theme/set-theme.d.ts +2 -7
  1102. package/dist/esm/theme/set-theme.js +2 -9
  1103. package/dist/esm/theme/set-theme.js.map +1 -1
  1104. package/dist/esm/toggle-button/define-async.d.ts +1 -0
  1105. package/dist/esm/toggle-button/define-async.js +5 -0
  1106. package/dist/esm/toggle-button/define-async.js.map +1 -0
  1107. package/dist/esm/toggle-button/define.js +2 -2
  1108. package/dist/esm/toggle-button/define.js.map +1 -1
  1109. package/dist/esm/toggle-button/index.d.ts +1 -0
  1110. package/dist/esm/toggle-button/index.js +1 -0
  1111. package/dist/esm/toggle-button/index.js.map +1 -1
  1112. package/dist/esm/toggle-button/toggle-button.bench.d.ts +1 -0
  1113. package/dist/esm/toggle-button/toggle-button.bench.js +1 -3
  1114. package/dist/esm/toggle-button/toggle-button.bench.js.map +1 -1
  1115. package/dist/esm/toggle-button/toggle-button.definition-async.d.ts +10 -0
  1116. package/dist/esm/toggle-button/toggle-button.definition-async.js +14 -0
  1117. package/dist/esm/toggle-button/toggle-button.definition-async.js.map +1 -0
  1118. package/dist/esm/toggle-button/toggle-button.definition.d.ts +3 -4
  1119. package/dist/esm/toggle-button/toggle-button.definition.js +7 -7
  1120. package/dist/esm/toggle-button/toggle-button.definition.js.map +1 -1
  1121. package/dist/esm/toggle-button/toggle-button.js +2 -3
  1122. package/dist/esm/toggle-button/toggle-button.js.map +1 -1
  1123. package/dist/esm/toggle-button/toggle-button.options.d.ts +8 -2
  1124. package/dist/esm/toggle-button/toggle-button.options.js +7 -0
  1125. package/dist/esm/toggle-button/toggle-button.options.js.map +1 -1
  1126. package/dist/esm/toggle-button/toggle-button.styles.css +364 -0
  1127. package/dist/esm/toggle-button/toggle-button.styles.js +7 -3
  1128. package/dist/esm/toggle-button/toggle-button.styles.js.map +1 -1
  1129. package/dist/esm/toggle-button/toggle-button.template.html +10 -0
  1130. package/dist/esm/tooltip/define-async.d.ts +1 -0
  1131. package/dist/esm/tooltip/define-async.js +5 -0
  1132. package/dist/esm/tooltip/define-async.js.map +1 -0
  1133. package/dist/esm/tooltip/define.js +2 -2
  1134. package/dist/esm/tooltip/define.js.map +1 -1
  1135. package/dist/esm/tooltip/index.d.ts +1 -0
  1136. package/dist/esm/tooltip/index.js +1 -0
  1137. package/dist/esm/tooltip/index.js.map +1 -1
  1138. package/dist/esm/tooltip/tooltip.d.ts +13 -11
  1139. package/dist/esm/tooltip/tooltip.definition-async.d.ts +10 -0
  1140. package/dist/esm/tooltip/tooltip.definition-async.js +14 -0
  1141. package/dist/esm/tooltip/tooltip.definition-async.js.map +1 -0
  1142. package/dist/esm/tooltip/tooltip.definition.d.ts +3 -5
  1143. package/dist/esm/tooltip/tooltip.definition.js +7 -8
  1144. package/dist/esm/tooltip/tooltip.definition.js.map +1 -1
  1145. package/dist/esm/tooltip/tooltip.js +44 -10
  1146. package/dist/esm/tooltip/tooltip.js.map +1 -1
  1147. package/dist/esm/tooltip/tooltip.options.d.ts +6 -0
  1148. package/dist/esm/tooltip/tooltip.options.js +7 -0
  1149. package/dist/esm/tooltip/tooltip.options.js.map +1 -1
  1150. package/dist/esm/tooltip/tooltip.styles.css +90 -0
  1151. package/dist/esm/tooltip/tooltip.styles.js +1 -1
  1152. package/dist/esm/tooltip/tooltip.template.html +6 -0
  1153. package/dist/esm/tree/define-async.d.ts +1 -0
  1154. package/dist/esm/tree/define-async.js +5 -0
  1155. package/dist/esm/tree/define-async.js.map +1 -0
  1156. package/dist/esm/tree/define.js +2 -2
  1157. package/dist/esm/tree/define.js.map +1 -1
  1158. package/dist/esm/tree/index.d.ts +1 -0
  1159. package/dist/esm/tree/index.js +1 -0
  1160. package/dist/esm/tree/index.js.map +1 -1
  1161. package/dist/esm/tree/tree.base.d.ts +12 -27
  1162. package/dist/esm/tree/tree.base.js +36 -105
  1163. package/dist/esm/tree/tree.base.js.map +1 -1
  1164. package/dist/esm/tree/tree.bench.d.ts +1 -0
  1165. package/dist/esm/tree/tree.bench.js +1 -3
  1166. package/dist/esm/tree/tree.bench.js.map +1 -1
  1167. package/dist/esm/tree/tree.d.ts +13 -2
  1168. package/dist/esm/tree/tree.definition-async.d.ts +10 -0
  1169. package/dist/esm/tree/tree.definition-async.js +14 -0
  1170. package/dist/esm/tree/tree.definition-async.js.map +1 -0
  1171. package/dist/esm/tree/tree.definition.d.ts +3 -4
  1172. package/dist/esm/tree/tree.definition.js +10 -10
  1173. package/dist/esm/tree/tree.definition.js.map +1 -1
  1174. package/dist/esm/tree/tree.js +31 -2
  1175. package/dist/esm/tree/tree.js.map +1 -1
  1176. package/dist/esm/tree/tree.options.d.ts +6 -0
  1177. package/dist/esm/tree/tree.options.js +8 -0
  1178. package/dist/esm/tree/tree.options.js.map +1 -0
  1179. package/dist/esm/tree/tree.styles.css +10 -0
  1180. package/dist/esm/tree/tree.template.html +13 -0
  1181. package/dist/esm/tree/tree.template.js +2 -2
  1182. package/dist/esm/tree/tree.template.js.map +1 -1
  1183. package/dist/esm/tree-item/define-async.d.ts +1 -0
  1184. package/dist/esm/tree-item/define-async.js +5 -0
  1185. package/dist/esm/tree-item/define-async.js.map +1 -0
  1186. package/dist/esm/tree-item/define.js +2 -2
  1187. package/dist/esm/tree-item/define.js.map +1 -1
  1188. package/dist/esm/tree-item/index.d.ts +1 -0
  1189. package/dist/esm/tree-item/index.js +1 -0
  1190. package/dist/esm/tree-item/index.js.map +1 -1
  1191. package/dist/esm/tree-item/tree-item.base.d.ts +31 -5
  1192. package/dist/esm/tree-item/tree-item.base.js +69 -21
  1193. package/dist/esm/tree-item/tree-item.base.js.map +1 -1
  1194. package/dist/esm/tree-item/tree-item.bench.d.ts +1 -0
  1195. package/dist/esm/tree-item/tree-item.bench.js +1 -3
  1196. package/dist/esm/tree-item/tree-item.bench.js.map +1 -1
  1197. package/dist/esm/tree-item/tree-item.d.ts +15 -0
  1198. package/dist/esm/tree-item/tree-item.definition-async.d.ts +10 -0
  1199. package/dist/esm/tree-item/tree-item.definition-async.js +14 -0
  1200. package/dist/esm/tree-item/tree-item.definition-async.js.map +1 -0
  1201. package/dist/esm/tree-item/tree-item.definition.d.ts +3 -4
  1202. package/dist/esm/tree-item/tree-item.definition.js +10 -10
  1203. package/dist/esm/tree-item/tree-item.definition.js.map +1 -1
  1204. package/dist/esm/tree-item/tree-item.js +15 -0
  1205. package/dist/esm/tree-item/tree-item.js.map +1 -1
  1206. package/dist/esm/tree-item/tree-item.options.d.ts +6 -0
  1207. package/dist/esm/tree-item/tree-item.options.js +7 -0
  1208. package/dist/esm/tree-item/tree-item.options.js.map +1 -1
  1209. package/dist/esm/tree-item/tree-item.styles.css +161 -0
  1210. package/dist/esm/tree-item/tree-item.template.html +27 -0
  1211. package/dist/esm/tree-item/tree-item.template.js +1 -1
  1212. package/dist/esm/tree-item/tree-item.template.js.map +1 -1
  1213. package/dist/esm/utils/autofocus.d.ts +12 -0
  1214. package/dist/esm/utils/autofocus.js +25 -0
  1215. package/dist/esm/utils/autofocus.js.map +1 -0
  1216. package/dist/esm/utils/direction.d.ts +13 -1
  1217. package/dist/esm/utils/direction.js +8 -1
  1218. package/dist/esm/utils/direction.js.map +1 -1
  1219. package/dist/esm/utils/focusable-element.js +2 -1
  1220. package/dist/esm/utils/focusable-element.js.map +1 -1
  1221. package/dist/esm/utils/focusgroup.d.ts +22 -0
  1222. package/dist/esm/utils/focusgroup.js +42 -0
  1223. package/dist/esm/utils/focusgroup.js.map +1 -0
  1224. package/dist/esm/utils/index.d.ts +2 -1
  1225. package/dist/esm/utils/index.js +2 -1
  1226. package/dist/esm/utils/index.js.map +1 -1
  1227. package/dist/esm/utils/numbers.d.ts +5 -0
  1228. package/dist/esm/utils/numbers.js +9 -0
  1229. package/dist/esm/utils/numbers.js.map +1 -0
  1230. package/dist/esm/utils/orientation.d.ts +13 -0
  1231. package/dist/esm/utils/orientation.js +10 -0
  1232. package/dist/esm/utils/orientation.js.map +1 -0
  1233. package/dist/esm/utils/request-idle-callback.d.ts +15 -0
  1234. package/dist/esm/utils/request-idle-callback.js +11 -10
  1235. package/dist/esm/utils/request-idle-callback.js.map +1 -1
  1236. package/dist/esm/utils/typings.d.ts +12 -0
  1237. package/dist/esm/utils/typings.js +21 -1
  1238. package/dist/esm/utils/typings.js.map +1 -1
  1239. package/dist/web-components-all.js +15091 -0
  1240. package/dist/web-components-all.min.js +47 -0
  1241. package/dist/web-components.d.ts +1360 -1363
  1242. package/dist/web-components.js +8190 -7600
  1243. package/dist/web-components.min.js +28 -564
  1244. package/package.json +40 -13
  1245. package/dist/esm/tab-panel/define.js +0 -7
  1246. package/dist/esm/tab-panel/define.js.map +0 -1
  1247. package/dist/esm/tab-panel/index.d.ts +0 -4
  1248. package/dist/esm/tab-panel/index.js +0 -5
  1249. package/dist/esm/tab-panel/index.js.map +0 -1
  1250. package/dist/esm/tab-panel/tab-panel.bench.d.ts +0 -3
  1251. package/dist/esm/tab-panel/tab-panel.bench.js +0 -13
  1252. package/dist/esm/tab-panel/tab-panel.bench.js.map +0 -1
  1253. package/dist/esm/tab-panel/tab-panel.d.ts +0 -8
  1254. package/dist/esm/tab-panel/tab-panel.definition.d.ts +0 -5
  1255. package/dist/esm/tab-panel/tab-panel.definition.js +0 -13
  1256. package/dist/esm/tab-panel/tab-panel.definition.js.map +0 -1
  1257. package/dist/esm/tab-panel/tab-panel.js +0 -9
  1258. package/dist/esm/tab-panel/tab-panel.js.map +0 -1
  1259. package/dist/esm/tab-panel/tab-panel.styles.js +0 -12
  1260. package/dist/esm/tab-panel/tab-panel.styles.js.map +0 -1
  1261. package/dist/esm/tab-panel/tab-panel.template.d.ts +0 -7
  1262. package/dist/esm/tab-panel/tab-panel.template.js +0 -13
  1263. package/dist/esm/tab-panel/tab-panel.template.js.map +0 -1
  1264. package/dist/esm/tabs/define.js +0 -7
  1265. package/dist/esm/tabs/define.js.map +0 -1
  1266. package/dist/esm/tabs/index.d.ts +0 -6
  1267. package/dist/esm/tabs/index.js +0 -6
  1268. package/dist/esm/tabs/index.js.map +0 -1
  1269. package/dist/esm/tabs/tabs.base.d.ts +0 -90
  1270. package/dist/esm/tabs/tabs.base.js +0 -279
  1271. package/dist/esm/tabs/tabs.base.js.map +0 -1
  1272. package/dist/esm/tabs/tabs.bench.d.ts +0 -3
  1273. package/dist/esm/tabs/tabs.bench.js +0 -32
  1274. package/dist/esm/tabs/tabs.bench.js.map +0 -1
  1275. package/dist/esm/tabs/tabs.d.ts +0 -100
  1276. package/dist/esm/tabs/tabs.definition.d.ts +0 -5
  1277. package/dist/esm/tabs/tabs.definition.js +0 -13
  1278. package/dist/esm/tabs/tabs.definition.js.map +0 -1
  1279. package/dist/esm/tabs/tabs.js +0 -180
  1280. package/dist/esm/tabs/tabs.js.map +0 -1
  1281. package/dist/esm/tabs/tabs.options.d.ts +0 -32
  1282. package/dist/esm/tabs/tabs.options.js +0 -16
  1283. package/dist/esm/tabs/tabs.options.js.map +0 -1
  1284. package/dist/esm/tabs/tabs.styles.d.ts +0 -1
  1285. package/dist/esm/tabs/tabs.styles.js +0 -230
  1286. package/dist/esm/tabs/tabs.styles.js.map +0 -1
  1287. package/dist/esm/tabs/tabs.template.d.ts +0 -8
  1288. package/dist/esm/tabs/tabs.template.js +0 -19
  1289. package/dist/esm/tabs/tabs.template.js.map +0 -1
  1290. package/dist/esm/utils/behaviors/match-media-stylesheet-behavior.d.ts +0 -124
  1291. package/dist/esm/utils/behaviors/match-media-stylesheet-behavior.js +0 -142
  1292. package/dist/esm/utils/behaviors/match-media-stylesheet-behavior.js.map +0 -1
  1293. /package/dist/esm/{tabs/define.d.ts → accordion/define-async.d.ts} +0 -0
  1294. /package/dist/esm/{tab-panel/define.d.ts → accordion-item/define-async.d.ts} +0 -0
@@ -1,14 +1,10 @@
1
1
  import { CaptureType } from '@microsoft/fast-element';
2
2
  import { CSSDirective } from '@microsoft/fast-element';
3
- import { Direction } from '@microsoft/fast-web-utilities';
4
3
  import { ElementStyles } from '@microsoft/fast-element';
5
4
  import { ElementViewTemplate } from '@microsoft/fast-element';
6
5
  import { FASTElement } from '@microsoft/fast-element';
7
- import { FASTElementDefinition } from '@microsoft/fast-element';
8
- import type { HostBehavior } from '@microsoft/fast-element';
9
- import type { HostController } from '@microsoft/fast-element';
10
6
  import { HTMLDirective } from '@microsoft/fast-element';
11
- import { Orientation } from '@microsoft/fast-web-utilities';
7
+ import type { PartialFASTElementDefinition } from '@microsoft/fast-element';
12
8
  import { SyntheticViewTemplate } from '@microsoft/fast-element';
13
9
  import { ViewTemplate } from '@microsoft/fast-element';
14
10
 
@@ -19,7 +15,7 @@ import { ViewTemplate } from '@microsoft/fast-element';
19
15
  * @tag fluent-accordion
20
16
  *
21
17
  * @slot - The default slot for the accordion items
22
- * @fires change - Fires a custom 'change' event when the active item changes
18
+ * @fires { Event } change - Fires a custom 'change' event when the active item changes
23
19
  *
24
20
  * @public
25
21
  */
@@ -33,7 +29,7 @@ export declare class Accordion extends FASTElement {
33
29
  * HTML attribute: expand-mode
34
30
  */
35
31
  expandmode: AccordionExpandMode;
36
- expandmodeChanged(prev: AccordionExpandMode, next: AccordionExpandMode): void;
32
+ expandmodeChanged(prev: AccordionExpandMode | undefined, next: AccordionExpandMode): void;
37
33
  /**
38
34
  * @internal
39
35
  */
@@ -46,6 +42,11 @@ export declare class Accordion extends FASTElement {
46
42
  * @internal
47
43
  */
48
44
  slottedAccordionItemsChanged(oldValue: HTMLElement[], newValue: HTMLElement[]): void;
45
+ /**
46
+ * Guard flag to prevent re-entrant calls to setSingleExpandMode.
47
+ * @internal
48
+ */
49
+ private _isAdjusting;
49
50
  /**
50
51
  * Watch for changes to the slotted accordion items `disabled` and `expanded` attributes
51
52
  * @internal
@@ -54,45 +55,43 @@ export declare class Accordion extends FASTElement {
54
55
  private activeItemIndex;
55
56
  /**
56
57
  * Find the first expanded item in the accordion
57
- * @returns {void}
58
58
  */
59
59
  private findExpandedItem;
60
60
  /**
61
61
  * Resets event listeners and sets the `accordionItems` property
62
62
  * then rebinds event listeners to each non-disabled item
63
- * @returns {void}
64
63
  */
65
64
  private setItems;
66
65
  /**
67
66
  * Checks if the accordion is in single expand mode
68
- * @returns {boolean}
67
+ * @returns true if the accordion is in single expand mode.
69
68
  */
70
69
  private isSingleExpandMode;
71
70
  /**
72
71
  * Controls the behavior of the accordion in single expand mode
73
- * @param expandedItem The item to expand in single expand mode
74
- * @returns {void}
72
+ * @param expandedItem - The item to expand in single expand mode
75
73
  */
76
74
  private setSingleExpandMode;
77
75
  /**
78
76
  * Removes event listeners from the previous accordion items
79
- * @param oldValue An array of the previous accordion items
77
+ * @param oldValue - An array of the previous accordion items
80
78
  */
81
79
  private removeItemListeners;
82
80
  /**
83
81
  * Changes the expanded state of the accordion item
84
- * @param evt Click event
82
+ * @param evt - Click event
85
83
  * @returns
86
84
  */
87
85
  private expandedChangedHandler;
86
+ connectedCallback(): void;
88
87
  }
89
88
 
90
89
  /**
90
+ * The definition configuration for the `<fluent-accordion>` element.
91
+ *
91
92
  * @public
92
- * @remarks
93
- * HTML Element: \<fluent-accordion\>
94
93
  */
95
- export declare const accordionDefinition: FASTElementDefinition<typeof Accordion>;
94
+ export declare const accordionDefinition: PartialFASTElementDefinition;
96
95
 
97
96
  /**
98
97
  * Expand mode for {@link Accordion}
@@ -113,6 +112,8 @@ export declare type AccordionExpandMode = ValuesOf<typeof AccordionExpandMode>;
113
112
  * An Accordion Item Custom HTML Element.
114
113
  * Based on BaseAccordionItem and includes style and layout specific attributes
115
114
  *
115
+ * @tag fluent-accordion-item
116
+ *
116
117
  * @public
117
118
  */
118
119
  export declare class AccordionItem extends BaseAccordionItem {
@@ -152,12 +153,11 @@ export declare interface AccordionItem extends StartEnd {
152
153
  }
153
154
 
154
155
  /**
156
+ * The definition configuration for the `<fluent-accordion-item>` element.
155
157
  *
156
158
  * @public
157
- * @remarks
158
- * HTML Element: \<fluent-accordion-item\>
159
159
  */
160
- export declare const accordionItemDefinition: FASTElementDefinition<typeof AccordionItem>;
160
+ export declare const accordionItemDefinition: PartialFASTElementDefinition;
161
161
 
162
162
  /**
163
163
  * An Accordion Item expand/collapse icon can appear at the start or end of the accordion
@@ -176,8 +176,6 @@ export declare type AccordionItemMarkerPosition = ValuesOf<typeof AccordionItemM
176
176
  /**
177
177
  * Accordion Item configuration options
178
178
  *
179
- * @tag fluent-accordion-item
180
- *
181
179
  * @public
182
180
  */
183
181
  export declare type AccordionItemOptions = StartEndOptions<AccordionItem> & {
@@ -217,6 +215,8 @@ export declare const accordionTemplate: ElementViewTemplate<Accordion>;
217
215
  * An Anchor Custom HTML Element.
218
216
  * Based on BaseAnchor and includes style and layout specific attributes
219
217
  *
218
+ * @tag fluent-anchor-button
219
+ *
220
220
  * @public
221
221
  */
222
222
  export declare class AnchorButton extends BaseAnchor {
@@ -305,11 +305,11 @@ export declare const AnchorButtonAppearance: {
305
305
  export declare type AnchorButtonAppearance = ValuesOf<typeof AnchorButtonAppearance>;
306
306
 
307
307
  /**
308
+ * The definition for the `<fluent-anchor-button>` element.
309
+ *
308
310
  * @public
309
- * @remarks
310
- * HTML Element: \<fluent-anchor-button\>
311
311
  */
312
- export declare const AnchorButtonDefinition: FASTElementDefinition<typeof AnchorButton>;
312
+ export declare const AnchorButtonDefinition: PartialFASTElementDefinition;
313
313
 
314
314
  /**
315
315
  * An Anchor Button can be square, circular or rounded.
@@ -374,6 +374,8 @@ export declare type AnchorTarget = ValuesOf<typeof AnchorTarget>;
374
374
  *
375
375
  * @tag fluent-avatar
376
376
  *
377
+ * @slot badge - Optional badge content displayed with the avatar.
378
+ *
377
379
  * @public
378
380
  */
379
381
  export declare class Avatar extends BaseAvatar {
@@ -537,13 +539,11 @@ export declare const AvatarColor: {
537
539
  export declare type AvatarColor = ValuesOf<typeof AvatarColor>;
538
540
 
539
541
  /**
540
- * The Fluent Avatar Element.
542
+ * The definition for the `<fluent-avatar>` element.
541
543
  *
542
544
  * @public
543
- * @remarks
544
- * HTML Element: \<fluent-badge\>
545
545
  */
546
- export declare const AvatarDefinition: FASTElementDefinition<typeof Avatar>;
546
+ export declare const AvatarDefinition: PartialFASTElementDefinition;
547
547
 
548
548
  /**
549
549
  * A specific named color for the Avatar
@@ -636,13 +636,18 @@ export declare const AvatarTemplate: ElementViewTemplate<Avatar>;
636
636
 
637
637
  /**
638
638
  * The base class used for constructing a fluent-badge custom element
639
+ * @tag fluent-badge
640
+ *
641
+ * @slot - Content which can be provided inside the badge.
642
+ * @slot start - Content which can be provided before the badge content.
643
+ * @slot end - Content which can be provided after the badge content.
644
+ *
639
645
  * @public
640
646
  */
641
647
  export declare class Badge extends FASTElement {
642
648
  /**
643
649
  * The appearance the badge should have.
644
650
  *
645
- * @tag fluent-badge
646
651
  *
647
652
  * @public
648
653
  * @remarks
@@ -723,12 +728,11 @@ export declare const BadgeColor: {
723
728
  export declare type BadgeColor = ValuesOf<typeof BadgeColor>;
724
729
 
725
730
  /**
731
+ * The definition for the `<fluent-badge>` element.
726
732
  *
727
733
  * @public
728
- * @remarks
729
- * HTML Element: \<fluent-badge\>
730
734
  */
731
- export declare const BadgeDefinition: FASTElementDefinition<typeof Badge>;
735
+ export declare const BadgeDefinition: PartialFASTElementDefinition;
732
736
 
733
737
  /**
734
738
  * A Badge can be square, circular or rounded.
@@ -817,14 +821,6 @@ export declare class BaseAccordionItem extends FASTElement {
817
821
  * HTML attribute: disabled
818
822
  */
819
823
  disabled: boolean;
820
- /**
821
- * The item ID
822
- *
823
- * @public
824
- * @remarks
825
- * HTML Attribute: id
826
- */
827
- id: string;
828
824
  /**
829
825
  * @internal
830
826
  */
@@ -960,7 +956,7 @@ export declare class BaseAnchor extends FASTElement {
960
956
  keydownHandler(e: KeyboardEvent): boolean | void;
961
957
  /**
962
958
  * Handles navigation based on input
963
- * If the metaKey is pressed, opens the href in a new window, if false, uses the click on the proxy
959
+ * If a modified activation requests a new tab, opens the href in a new window.
964
960
  * @internal
965
961
  */
966
962
  private handleNavigation;
@@ -980,16 +976,50 @@ export declare class BaseAnchor extends FASTElement {
980
976
  */
981
977
  export declare class BaseAvatar extends FASTElement {
982
978
  /**
983
- * Signal to remove event listeners when the component is disconnected.
979
+ * Reference to the default slot element.
984
980
  *
985
981
  * @internal
986
982
  */
987
- private abortSignal?;
983
+ defaultSlot: HTMLSlotElement;
988
984
  /**
989
- * Reference to the default slot element.
985
+ * Handles changes to the default slot element reference.
986
+ *
987
+ * Toggles the `has-slotted` class on the slot element for browsers that do not
988
+ * support the `:has-slotted` CSS selector. Defers cleanup using
989
+ * `Updates.enqueue` to avoid DOM mutations during hydration that could
990
+ * corrupt binding markers.
991
+ *
990
992
  * @internal
991
993
  */
992
- defaultSlot: HTMLSlotElement;
994
+ defaultSlotChanged(): void;
995
+ /**
996
+ * Reference to the monogram element that displays generated initials.
997
+ *
998
+ * @internal
999
+ */
1000
+ monogram: HTMLElement;
1001
+ /**
1002
+ * Updates the monogram text content when the ref is captured.
1003
+ *
1004
+ * @internal
1005
+ */
1006
+ protected monogramChanged(): void;
1007
+ /**
1008
+ * The slotted content nodes assigned to the default slot.
1009
+ *
1010
+ * @internal
1011
+ */
1012
+ slottedDefaults: Node[];
1013
+ /**
1014
+ * Handles changes to the slotted default content.
1015
+ *
1016
+ * Normalizes the DOM, toggles the `has-slotted` class on the default slot element
1017
+ * for browsers that do not support the `:has-slotted` CSS selector, and removes
1018
+ * empty text nodes from the default slot to keep the DOM clean.
1019
+ *
1020
+ * @internal
1021
+ */
1022
+ protected slottedDefaultsChanged(): void;
993
1023
  /**
994
1024
  * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
995
1025
  *
@@ -1004,24 +1034,44 @@ export declare class BaseAvatar extends FASTElement {
1004
1034
  * HTML Attribute: name
1005
1035
  */
1006
1036
  name?: string | undefined;
1037
+ /**
1038
+ * Handles changes to the name attribute.
1039
+ * @internal
1040
+ */
1041
+ protected nameChanged(): void;
1007
1042
  /**
1008
1043
  * Provide custom initials rather than one generated via the name
1009
1044
  *
1010
1045
  * @public
1011
1046
  * @remarks
1012
- * HTML Attribute: name
1047
+ * HTML Attribute: initials
1013
1048
  */
1014
1049
  initials?: string | undefined;
1015
- connectedCallback(): void;
1050
+ /**
1051
+ * Handles changes to the initials attribute.
1052
+ * @internal
1053
+ */
1054
+ protected initialsChanged(): void;
1016
1055
  constructor();
1017
- disconnectedCallback(): void;
1018
1056
  /**
1019
- * Removes any empty text nodes from the default slot when the slotted content changes.
1057
+ * Generates and sets the initials for the template.
1058
+ * Subclasses should override this to provide custom initials logic.
1059
+ *
1060
+ * @internal
1061
+ */
1062
+ generateInitials(): string | void;
1063
+ /**
1064
+ * Updates the monogram element's text content with the generated initials.
1065
+ *
1066
+ * @internal
1067
+ */
1068
+ protected updateMonogram(): void;
1069
+ /**
1070
+ * Normalizes the DOM and removes empty text nodes from the default slot.
1020
1071
  *
1021
- * @param e - The event object
1022
1072
  * @internal
1023
1073
  */
1024
- slotchangeHandler(): void;
1074
+ protected cleanupSlottedContent(): void;
1025
1075
  }
1026
1076
 
1027
1077
  /**
@@ -1036,15 +1086,6 @@ export declare class BaseAvatar extends FASTElement {
1036
1086
  * @public
1037
1087
  */
1038
1088
  export declare class BaseButton extends FASTElement {
1039
- /**
1040
- * Indicates the button should be focused when the page is loaded.
1041
- * @see The {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#autofocus | `autofocus`} attribute
1042
- *
1043
- * @public
1044
- * @remarks
1045
- * HTML Attribute: `autofocus`
1046
- */
1047
- autofocus: boolean;
1048
1089
  /**
1049
1090
  * Default slotted content.
1050
1091
  *
@@ -1060,7 +1101,15 @@ export declare class BaseButton extends FASTElement {
1060
1101
  * HTML Attribute: `disabled`
1061
1102
  */
1062
1103
  disabled: boolean;
1063
- protected disabledChanged(): void;
1104
+ /**
1105
+ * Handles changes to the disabled attribute. If the button is disabled, it
1106
+ * should not be focusable.
1107
+ *
1108
+ * @param previous - the previous disabled value
1109
+ * @param next - the new disabled value
1110
+ * @internal
1111
+ */
1112
+ disabledChanged(): void;
1064
1113
  /**
1065
1114
  * Indicates that the button is focusable while disabled.
1066
1115
  *
@@ -1250,6 +1299,12 @@ export declare class BaseButton extends FASTElement {
1250
1299
  * @public
1251
1300
  */
1252
1301
  resetForm(): void;
1302
+ /**
1303
+ * Sets the `tabindex` attribute based on the disabled state of the button.
1304
+ *
1305
+ * @internal
1306
+ */
1307
+ protected setTabIndex(): void;
1253
1308
  /**
1254
1309
  * Submits the associated form.
1255
1310
  *
@@ -1261,18 +1316,12 @@ export declare class BaseButton extends FASTElement {
1261
1316
  /**
1262
1317
  * The base class for a component with a toggleable checked state.
1263
1318
  *
1319
+ * @fires { Event } change - Fires a custom 'change' event when the checked state changes
1320
+ * @fires { Event } input - Fires a custom 'input' event when the checked state changes
1321
+ *
1264
1322
  * @public
1265
1323
  */
1266
1324
  export declare class BaseCheckbox extends FASTElement {
1267
- /**
1268
- * Indicates that the element should get focus after the page finishes loading.
1269
- * @see The {@link https://developer.mozilla.org/docs/Web/HTML/Element/input#autofocus | `autofocus`} attribute
1270
- *
1271
- * @public
1272
- * @remarks
1273
- * HTML Attribute: `autofocus`
1274
- */
1275
- autofocus: boolean;
1276
1325
  /**
1277
1326
  * The element's current checked state.
1278
1327
  *
@@ -1555,6 +1604,61 @@ export declare class BaseCheckbox extends FASTElement {
1555
1604
  toggleChecked(force?: boolean): void;
1556
1605
  }
1557
1606
 
1607
+ /**
1608
+ * The base class used for constructing a fluent-counter-badge custom element.
1609
+ * Contains the count-related state and display logic, without any visual
1610
+ * appearance attributes.
1611
+ *
1612
+ * @public
1613
+ */
1614
+ export declare class BaseCounterBadge extends FASTElement {
1615
+ /**
1616
+ * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
1617
+ *
1618
+ * @internal
1619
+ */
1620
+ elementInternals: ElementInternals;
1621
+ /**
1622
+ * The count to be displayed in the badge.
1623
+ *
1624
+ * @public
1625
+ * @remarks
1626
+ * HTML Attribute: `count`
1627
+ */
1628
+ count: number;
1629
+ /**
1630
+ * The maximum count to be displayed before showing the overflow count (e.g. "99+").
1631
+ *
1632
+ * @public
1633
+ * @remarks
1634
+ * HTML Attribute: `overflow-count`
1635
+ */
1636
+ overflowCount: number;
1637
+ /**
1638
+ * Whether to show the badge when the count is zero. By default, the badge will be hidden when the count is zero.
1639
+ *
1640
+ * @public
1641
+ * @remarks
1642
+ * HTML Attribute: `show-zero`
1643
+ */
1644
+ showZero: boolean;
1645
+ /**
1646
+ * Whether to display the badge as a dot. When true, the badge will be displayed as a dot and the count will not be
1647
+ * shown.
1648
+ *
1649
+ * @public
1650
+ * @remarks
1651
+ * HTML Attribute: `dot`
1652
+ */
1653
+ dot: boolean;
1654
+ /**
1655
+ * The value to be displayed in the badge, which is determined by the `count`, `overflow-count`, and `show-zero` attributes.
1656
+ *
1657
+ * @public
1658
+ */
1659
+ get displayValue(): string | undefined;
1660
+ }
1661
+
1558
1662
  /**
1559
1663
  * A Divider Custom HTML Element.
1560
1664
  * A divider groups sections of content to create visual rhythm and hierarchy. Use dividers along with spacing and headers to organize content in your layout.
@@ -1616,6 +1720,8 @@ export declare class BaseDivider extends FASTElement {
1616
1720
  * @slot indicator - The indicator slot.
1617
1721
  * @slot control - The control slot. This slot is automatically populated and should not be manually manipulated.
1618
1722
  *
1723
+ * @fires { Event } change - Fires a custom 'change' event when the selected option changes
1724
+ *
1619
1725
  * @public
1620
1726
  */
1621
1727
  export declare class BaseDropdown extends FASTElement {
@@ -2019,6 +2125,11 @@ export declare class BaseDropdown extends FASTElement {
2019
2125
  * @public
2020
2126
  */
2021
2127
  inputHandler(e: InputEvent): boolean | void;
2128
+ /**
2129
+ * Guard flag to prevent reentrant calls to `insertControl`.
2130
+ * @internal
2131
+ */
2132
+ private _insertingControl;
2022
2133
  /**
2023
2134
  * Inserts the control element based on the dropdown type.
2024
2135
  *
@@ -2027,6 +2138,31 @@ export declare class BaseDropdown extends FASTElement {
2027
2138
  * This method can be overridden in derived classes to provide custom control elements, though this is not recommended.
2028
2139
  */
2029
2140
  protected insertControl(): void;
2141
+ /**
2142
+ * The duration in milliseconds after the last character search keystroke before the search string is cleared.
2143
+ */
2144
+ protected searchTimeoutMs: number;
2145
+ /**
2146
+ * The accumulated search string used to match option labels by prefix when printable characters are typed.
2147
+ *
2148
+ * @internal
2149
+ */
2150
+ private searchString;
2151
+ /**
2152
+ * The timeout id used to reset the search string.
2153
+ *
2154
+ * @internal
2155
+ */
2156
+ private searchTimeout?;
2157
+ /**
2158
+ * Handles printable character input by moving {@link Dropdown#activeIndex} to the next option whose label matches the
2159
+ * accumulated search string. When the string is a single character (or the same character repeated), matching
2160
+ * options are cycled through; otherwise the string is treated as a prefix match.
2161
+ *
2162
+ * @param char - the printable character that was pressed
2163
+ * @internal
2164
+ */
2165
+ private handleSearchCharacter;
2030
2166
  /**
2031
2167
  * Handles the keydown events for the dropdown.
2032
2168
  *
@@ -2083,6 +2219,7 @@ export declare class BaseDropdown extends FASTElement {
2083
2219
  * @internal
2084
2220
  */
2085
2221
  protected updateFreeformOption(value?: string): void;
2222
+ connectedCallback(): void;
2086
2223
  disconnectedCallback(): void;
2087
2224
  /**
2088
2225
  * When anchor positioning isn't supported, an intersection observer is used to flip the listbox when it hits the
@@ -2215,6 +2352,62 @@ export declare class BaseField extends FASTElement {
2215
2352
  setValidationStates(): void;
2216
2353
  }
2217
2354
 
2355
+ /**
2356
+ * A Base MenuList Custom HTML Element.
2357
+ * Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#menu | ARIA menu }.
2358
+ *
2359
+ * @public
2360
+ */
2361
+ export declare class BaseMenuList extends FASTElement {
2362
+ /**
2363
+ * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
2364
+ *
2365
+ * @internal
2366
+ */
2367
+ elementInternals: ElementInternals;
2368
+ /**
2369
+ * @internal
2370
+ */
2371
+ items: HTMLElement[];
2372
+ protected itemsChanged(oldValue: HTMLElement[], newValue: HTMLElement[]): void;
2373
+ protected menuChildren: HTMLElement[] | undefined;
2374
+ protected menuItems: MenuItem[] | undefined;
2375
+ private static focusableElementRoles;
2376
+ constructor();
2377
+ /**
2378
+ * @internal
2379
+ */
2380
+ connectedCallback(): void;
2381
+ /**
2382
+ * @internal
2383
+ */
2384
+ disconnectedCallback(): void;
2385
+ /**
2386
+ * @internal
2387
+ */
2388
+ readonly isNestedMenu: () => boolean;
2389
+ /**
2390
+ * Focuses the first item in the menu.
2391
+ *
2392
+ * @public
2393
+ */
2394
+ focus(): void;
2395
+ private static elementIndent;
2396
+ protected setItems(): void;
2397
+ /**
2398
+ * Method for Observable changes to the hidden attribute of child elements
2399
+ */
2400
+ handleChange(source: any, propertyName: string): void;
2401
+ /**
2402
+ * Handle change from child MenuItem element and set radio group behavior
2403
+ */
2404
+ private changedMenuItemHandler;
2405
+ /**
2406
+ * check if the item is a menu item
2407
+ */
2408
+ protected isMenuItemElement(el: Element): el is MenuItem;
2409
+ }
2410
+
2218
2411
  /**
2219
2412
  * A Progress HTML Element.
2220
2413
  * Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#progressbar | ARIA progressbar }.
@@ -2222,8 +2415,17 @@ export declare class BaseField extends FASTElement {
2222
2415
  * @public
2223
2416
  */
2224
2417
  export declare class BaseProgressBar extends FASTElement {
2225
- /** @internal */
2226
- indicator: HTMLElement;
2418
+ /**
2419
+ * Reference to the indicator element which visually represents the progress.
2420
+ *
2421
+ * @internal
2422
+ */
2423
+ indicator?: HTMLElement;
2424
+ /**
2425
+ * Updates the indicator width after the element is connected to the DOM via the template.
2426
+ * @internal
2427
+ */
2428
+ protected indicatorChanged(): void;
2227
2429
  /**
2228
2430
  * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
2229
2431
  *
@@ -2232,8 +2434,11 @@ export declare class BaseProgressBar extends FASTElement {
2232
2434
  elementInternals: ElementInternals;
2233
2435
  /**
2234
2436
  * The validation state of the progress bar
2235
- * @public
2437
+ * The validation state of the progress bar
2438
+ *
2236
2439
  * HTML Attribute: `validation-state`
2440
+ *
2441
+ * @public
2237
2442
  */
2238
2443
  validationState: ProgressBarValidationState | null;
2239
2444
  /**
@@ -2244,8 +2449,11 @@ export declare class BaseProgressBar extends FASTElement {
2244
2449
  validationStateChanged(prev: ProgressBarValidationState | undefined, next: ProgressBarValidationState | undefined): void;
2245
2450
  /**
2246
2451
  * The value of the progress
2247
- * @internal
2452
+ * The value of the progress
2453
+ *
2248
2454
  * HTML Attribute: `value`
2455
+ *
2456
+ * @public
2249
2457
  */
2250
2458
  value?: number;
2251
2459
  /**
@@ -2256,8 +2464,11 @@ export declare class BaseProgressBar extends FASTElement {
2256
2464
  protected valueChanged(prev: number | undefined, next: number | undefined): void;
2257
2465
  /**
2258
2466
  * The minimum value
2259
- * @internal
2467
+ * The minimum value
2468
+ *
2260
2469
  * HTML Attribute: `min`
2470
+ *
2471
+ * @public
2261
2472
  */
2262
2473
  min?: number;
2263
2474
  /**
@@ -2269,8 +2480,11 @@ export declare class BaseProgressBar extends FASTElement {
2269
2480
  protected minChanged(prev: number | undefined, next: number | undefined): void;
2270
2481
  /**
2271
2482
  * The maximum value
2272
- * @internal
2483
+ * The maximum value
2484
+ *
2273
2485
  * HTML Attribute: `max`
2486
+ *
2487
+ * @public
2274
2488
  */
2275
2489
  max?: number;
2276
2490
  /**
@@ -2282,313 +2496,297 @@ export declare class BaseProgressBar extends FASTElement {
2282
2496
  */
2283
2497
  protected maxChanged(prev: number | undefined, next: number | undefined): void;
2284
2498
  constructor();
2285
- connectedCallback(): void;
2286
- private setIndicatorWidth;
2499
+ /**
2500
+ * Sets the width of the indicator element based on the value, min, and max
2501
+ * properties. If the browser supports `width: attr(value)`, this method does
2502
+ * nothing and allows CSS to handle the width.
2503
+ *
2504
+ * @internal
2505
+ */
2506
+ protected setIndicatorWidth(): void;
2287
2507
  }
2288
2508
 
2289
2509
  /**
2290
- * The base class used for constructing a fluent-rating-display custom element
2510
+ * A Base Radio Group Custom HTML Element.
2511
+ * Implements the {@link https://w3c.github.io/aria/#radiogroup | ARIA `radiogroup` role}.
2291
2512
  *
2292
- * @slot icon - SVG element used as the rating icon
2513
+ * @fires { Event } change - Fires a custom 'change' event when the checked radio changes
2293
2514
  *
2294
2515
  * @public
2295
2516
  */
2296
- export declare class BaseRatingDisplay extends FASTElement {
2297
- private numberFormatter;
2517
+ export declare class BaseRadioGroup extends FASTElement {
2518
+ private isNavigating;
2298
2519
  /**
2299
- * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
2520
+ * The index of the checked radio, scoped to the enabled radios.
2300
2521
  *
2301
2522
  * @internal
2302
2523
  */
2303
- elementInternals: ElementInternals;
2304
- /** @internal */
2305
- iconSlot: HTMLSlotElement;
2306
- protected defaultCustomIconViewBox: string;
2524
+ protected checkedIndex: number;
2307
2525
  /**
2308
- * The element that displays the rating icons.
2526
+ * Sets the checked state of the nearest enabled radio when the `checkedIndex` changes.
2527
+ *
2528
+ * @param prev - the previous index
2529
+ * @param next - the current index
2309
2530
  * @internal
2310
2531
  */
2311
- display: HTMLElement;
2532
+ protected checkedIndexChanged(prev: number | undefined, next: number): void;
2312
2533
  /**
2313
- * The number of ratings.
2314
- *
2315
- * @public
2316
- * @remarks
2317
- * HTML Attribute: `count`
2534
+ * Indicates that the value has been changed by the user.
2318
2535
  */
2319
- count?: number;
2536
+ private dirtyState;
2320
2537
  /**
2321
- * The `viewBox` attribute of the icon <svg> element.
2538
+ * Disables the radio group and child radios.
2322
2539
  *
2323
2540
  * @public
2324
2541
  * @remarks
2325
- * HTML Attribute: `icon-view-box`
2326
- * @deprecated Add `viewBox` attribute on the custom SVG directly.
2542
+ * HTML Attribute: `disabled`
2327
2543
  */
2328
- iconViewBox?: string;
2544
+ disabled: boolean;
2329
2545
  /**
2330
- * The maximum possible value of the rating.
2331
- * This attribute determines the number of icons displayed.
2332
- * Must be a whole number greater than 1.
2546
+ * Sets the `disabled` attribute on all child radios when the `disabled` property changes.
2333
2547
  *
2334
- * @public
2335
- * @remarks
2336
- * HTML Attribute: `max`
2548
+ * @param prev - the previous disabled value
2549
+ * @param next - the current disabled value
2550
+ * @internal
2337
2551
  */
2338
- max?: number;
2339
- protected maxChanged(): void;
2552
+ protected disabledChanged(prev?: boolean, next?: boolean): void;
2340
2553
  /**
2341
- * The value of the rating.
2554
+ * The value of the checked radio.
2342
2555
  *
2343
2556
  * @public
2344
2557
  * @remarks
2345
2558
  * HTML Attribute: `value`
2346
2559
  */
2347
- value?: number;
2348
- protected valueChanged(): void;
2349
- constructor();
2350
- connectedCallback(): void;
2560
+ initialValue?: string;
2351
2561
  /**
2352
- * Returns "count" as string, formatted according to the locale.
2562
+ * Sets the matching radio to checked when the value changes. If no radio matches the value, no radio will be checked.
2353
2563
  *
2354
- * @internal
2564
+ * @param prev - the previous value
2565
+ * @param next - the current value
2355
2566
  */
2356
- get formattedCount(): string;
2357
- /** @internal */
2358
- handleSlotChange(): void;
2359
- protected renderSlottedIcon(svg: SVGSVGElement | null): void;
2360
- protected setCustomPropertyValue(propertyName: PropertyNameForCalculation): void;
2361
- }
2362
-
2363
- /**
2364
- * The base class used for constructing a fluent-spinner custom element
2365
- * @public
2366
- */
2367
- export declare class BaseSpinner extends FASTElement {
2567
+ initialValueChanged(prev: string | undefined, next: string | undefined): void;
2368
2568
  /**
2369
- * The internal {@link https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
2569
+ * The name of the radio group.
2370
2570
  *
2371
- * @internal
2571
+ * @public
2572
+ * @remarks
2573
+ * HTML Attribute: `name`
2372
2574
  */
2373
- elementInternals: ElementInternals;
2374
- constructor();
2375
- }
2376
-
2377
- /**
2378
- * A Tablist element that wraps a collection of tab elements
2379
- * @public
2380
- */
2381
- export declare class BaseTablist extends FASTElement {
2575
+ name: string;
2382
2576
  /**
2383
- * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
2577
+ * Sets the `name` attribute on all child radios when the `name` property changes.
2384
2578
  *
2385
2579
  * @internal
2386
2580
  */
2387
- elementInternals: ElementInternals;
2581
+ protected nameChanged(prev: string | undefined, next: string | undefined): void;
2388
2582
  /**
2389
- * Used for disabling all click and keyboard events for the tabs, child tab elements.
2583
+ * The orientation of the group.
2584
+ *
2390
2585
  * @public
2391
2586
  * @remarks
2392
- * HTML Attribute: disabled.
2587
+ * HTML Attribute: `orientation`
2393
2588
  */
2394
- disabled: boolean;
2589
+ orientation?: RadioGroupOrientation;
2395
2590
  /**
2396
- * Handles disabled changes
2397
- * @param prev - previous value
2398
- * @param next - next value
2591
+ * Sets the ariaOrientation attribute when the orientation changes.
2399
2592
  *
2593
+ * @param prev - the previous orientation
2594
+ * @param next - the current orientation
2400
2595
  * @internal
2401
2596
  */
2402
- protected disabledChanged(prev: boolean, next: boolean): void;
2597
+ orientationChanged(prev: RadioGroupOrientation | undefined, next: RadioGroupOrientation | undefined): void;
2403
2598
  /**
2404
- * The orientation
2599
+ * The collection of all child radios.
2600
+ *
2405
2601
  * @public
2406
- * @remarks
2407
- * HTML Attribute: orientation
2408
2602
  */
2409
- orientation: TablistOrientation;
2603
+ radios: Radio[];
2410
2604
  /**
2411
- * @internal
2605
+ * Updates the enabled radios collection when properties on the child radios change.
2606
+ *
2607
+ * @param prev - the previous radios
2608
+ * @param next - the current radios
2412
2609
  */
2413
- protected orientationChanged(prev: TablistOrientation, next: TablistOrientation): void;
2610
+ radiosChanged(prev: Radio[] | undefined, next: Radio[] | undefined): void;
2414
2611
  /**
2415
- * The id of the active tab
2612
+ * Indicates whether the radio group is required.
2416
2613
  *
2417
2614
  * @public
2418
2615
  * @remarks
2419
- * HTML Attribute: activeid
2616
+ * HTML Attribute: `required`
2420
2617
  */
2421
- activeid: string;
2618
+ required: boolean;
2422
2619
  /**
2423
- * @internal
2620
+ *
2621
+ * @param prev - the previous required value
2622
+ * @param next - the current required value
2424
2623
  */
2425
- protected activeidChanged(oldValue: string, newValue: string): void;
2624
+ requiredChanged(prev: boolean, next: boolean): void;
2426
2625
  /**
2427
- * Content slotted in the tab slot.
2626
+ * The collection of radios that are slotted into the default slot.
2627
+ *
2428
2628
  * @internal
2429
2629
  */
2430
- slottedTabs: Node[];
2630
+ slottedRadios: Radio[];
2431
2631
  /**
2432
- * Updates the tabs property when content in the tabs slot changes.
2433
- * @internal
2632
+ * Updates the radios collection when the slotted radios change.
2633
+ *
2634
+ * @param prev - the previous slotted radios
2635
+ * @param next - the current slotted radios
2434
2636
  */
2435
- slottedTabsChanged(prev: Node[] | undefined, next: Node[] | undefined): void;
2637
+ slottedRadiosChanged(prev: Radio[] | undefined, next: Radio[]): void;
2436
2638
  /**
2639
+ * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
2640
+ *
2437
2641
  * @internal
2438
2642
  */
2439
- tabs: Tab[];
2643
+ elementInternals: ElementInternals;
2440
2644
  /**
2645
+ * A collection of child radios that are not disabled.
2646
+ *
2441
2647
  * @internal
2442
2648
  */
2443
- protected tabsChanged(): void;
2649
+ get enabledRadios(): Radio[];
2444
2650
  /**
2445
- * A reference to the active tab
2651
+ * The form-associated flag.
2652
+ * @see {@link https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-face-example | Form-associated custom elements}
2653
+ *
2446
2654
  * @public
2447
2655
  */
2448
- activetab: Tab;
2449
- private prevActiveTabIndex;
2450
- private activeTabIndex;
2451
- private tabIds;
2452
- private tabPanelMap;
2453
- private change;
2454
- private getActiveIndex;
2656
+ static formAssociated: boolean;
2455
2657
  /**
2456
- * Function that is invoked whenever the selected tab or the tab collection changes.
2658
+ * The fallback validation message, taken from a native checkbox `<input>` element.
2457
2659
  *
2458
- * @public
2660
+ * @internal
2661
+ */
2662
+ private _validationFallbackMessage;
2663
+ /**
2664
+ * The validation message. Uses the browser's default validation message for native checkboxes if not otherwise
2665
+ * specified (e.g., via `setCustomValidity`).
2666
+ *
2667
+ * @internal
2459
2668
  */
2460
- protected setTabs(): void;
2461
- private getTabIds;
2462
- private setComponent;
2463
- private handleTabClick;
2464
- private isHorizontal;
2465
- private handleTabKeyDown;
2669
+ get validationMessage(): string;
2466
2670
  /**
2467
- * The adjust method for FASTTabs
2671
+ * The element's validity state.
2672
+ *
2468
2673
  * @public
2469
2674
  * @remarks
2470
- * This method allows the active index to be adjusted by numerical increments
2675
+ * Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/validity | `ElementInternals.validity`} property.
2471
2676
  */
2472
- adjust(adjustment: number): void;
2473
- private activateTabByIndex;
2474
- private focusTab;
2677
+ get validity(): ValidityState;
2475
2678
  /**
2476
- * @internal
2679
+ * The current value of the checked radio.
2680
+ *
2681
+ * @public
2477
2682
  */
2478
- connectedCallback(): void;
2479
- }
2480
-
2481
- /**
2482
- * A Tabs component that wraps a collection of tab and tab panel elements.
2483
- *
2484
- * @deprecated - use tablist instead
2485
- */
2486
- declare class BaseTabs extends FASTElement {
2683
+ get value(): string | null;
2684
+ set value(next: string | null);
2487
2685
  /**
2488
- * The orientation
2489
- * @public
2490
- * @remarks
2491
- * HTML Attribute: orientation
2686
+ * Sets the checked state of all radios when any radio emits a `change` event.
2687
+ *
2688
+ * @param e - the change event
2492
2689
  */
2493
- orientation: TabsOrientation;
2690
+ changeHandler(e: Event): boolean | void;
2494
2691
  /**
2692
+ * Checks the radio at the specified index.
2693
+ *
2694
+ * @param index - the index of the radio to check
2495
2695
  * @internal
2496
2696
  */
2497
- orientationChanged(): void;
2697
+ checkRadio(index?: number, shouldEmit?: boolean): void;
2498
2698
  /**
2499
- * The id of the active tab
2699
+ * Checks the validity of the element and returns the result.
2500
2700
  *
2501
2701
  * @public
2502
2702
  * @remarks
2503
- * HTML Attribute: activeid
2504
- */
2505
- activeid: string;
2506
- /**
2507
- * @internal
2703
+ * Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/checkValidity | `HTMLInputElement.checkValidity()`} method.
2508
2704
  */
2509
- activeidChanged(oldValue: string, newValue: string): void;
2705
+ checkValidity(): boolean;
2510
2706
  /**
2707
+ * Handles click events for the radio group.
2708
+ *
2709
+ * @param e - the click event
2511
2710
  * @internal
2512
2711
  */
2513
- tabs: HTMLElement[];
2712
+ clickHandler(e: MouseEvent): boolean | void;
2713
+ constructor();
2514
2714
  /**
2715
+ * Focuses the checked radio or the first enabled radio.
2716
+ *
2515
2717
  * @internal
2516
2718
  */
2517
- tabsChanged(): void;
2719
+ focus(): void;
2720
+ formResetCallback(): void;
2518
2721
  /**
2722
+ * Enables tabbing through the radio group when the group receives focus.
2723
+ *
2724
+ * @param e - the focus event
2519
2725
  * @internal
2520
2726
  */
2521
- tabpanels: HTMLElement[];
2727
+ focusinHandler(e: FocusEvent): boolean | void;
2522
2728
  /**
2729
+ * Handles keydown events for the radio group.
2730
+ *
2731
+ * @param e - the keyboard event
2523
2732
  * @internal
2524
2733
  */
2525
- tabpanelsChanged(): void;
2734
+ keydownHandler(e: KeyboardEvent): boolean | void;
2526
2735
  /**
2527
- * A reference to the active tab
2528
- * @public
2736
+ *
2737
+ * @param e - the disabled event
2529
2738
  */
2530
- activetab: HTMLElement;
2531
- private prevActiveTabIndex;
2532
- private activeTabIndex;
2533
- private tabIds;
2534
- private tabpanelIds;
2535
- private change;
2536
- private isDisabledElement;
2537
- private isHiddenElement;
2538
- private isFocusableElement;
2539
- private getActiveIndex;
2739
+ disabledRadioHandler(e: CustomEvent): void;
2540
2740
  /**
2541
- * Function that is invoked whenever the selected tab or the tab collection changes.
2741
+ * Reports the validity of the element.
2542
2742
  *
2543
2743
  * @public
2744
+ * @remarks
2745
+ * Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/reportValidity | `HTMLInputElement.reportValidity()`} method.
2544
2746
  */
2545
- protected setTabs(): void;
2546
- private setTabPanels;
2547
- private getTabIds;
2548
- private getTabPanelIds;
2549
- private setComponent;
2550
- private handleTabClick;
2551
- private isHorizontal;
2552
- private handleTabKeyDown;
2747
+ reportValidity(): boolean;
2553
2748
  /**
2554
- * The adjust method for FASTTabs
2555
- * @public
2556
- * @remarks
2557
- * This method allows the active index to be adjusted by numerical increments
2749
+ * Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/setFormValue | `ElementInternals.setFormValue()`} method.
2750
+ *
2751
+ * @internal
2558
2752
  */
2559
- adjust(adjustment: number): void;
2560
- private adjustForward;
2561
- private adjustBackward;
2562
- private moveToTabByIndex;
2563
- private focusTab;
2753
+ setFormValue(value: File | string | FormData | null, state?: File | string | FormData | null): void;
2564
2754
  /**
2755
+ * Sets the validity of the element.
2756
+ *
2757
+ * @param flags - Validity flags to set.
2758
+ * @param message - Optional message to supply. If not provided, the element's `validationMessage` will be used.
2759
+ * @param anchor - Optional anchor to use for the validation message.
2760
+ *
2565
2761
  * @internal
2762
+ * @remarks
2763
+ * RadioGroup validation is reported through the individual Radio elements rather than the RadioGroup itself.
2764
+ * This is necessary because:
2765
+ * 1. Each Radio is form-associated (extends BaseCheckbox which has `formAssociated = true`)
2766
+ * 2. Browser validation UIs and screen readers announce validation against individual form controls
2767
+ * 3. For groups like RadioGroup, the browser needs to report the error on a specific member of the group
2768
+ * 4. We anchor the error to the first Radio so it receives focus and announcement
2769
+ *
2770
+ * When the group is invalid (required but no selection):
2771
+ * - Only the first Radio gets the invalid state with the validation message
2772
+ * - Other Radios are kept valid since selecting any of them would satisfy the requirement
2773
+ *
2774
+ * When the group becomes valid (user selects any Radio):
2775
+ * - All Radios are cleared back to valid state
2776
+ * - This allows form submission to proceed
2566
2777
  */
2567
- connectedCallback(): void;
2778
+ setValidity(flags?: Partial<ValidityState>, message?: string, anchor?: HTMLElement): void;
2568
2779
  }
2569
2780
 
2570
2781
  /**
2571
- * A Text Area Custom HTML Element.
2572
- * Based largely on the {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea | `<textarea>`} element.
2782
+ * The base class used for constructing a fluent-rating-display custom element
2573
2783
  *
2574
- * @slot - The default content/value of the component.
2575
- * @slot label - The content for the `<label>`, it should be a `<fluent-label>` element.
2576
- * @csspart label - The `<label>` element.
2577
- * @csspart root - The container element of the `<textarea>` element.
2578
- * @csspart control - The internal `<textarea>` element.
2579
- * @fires change - Fires after the control loses focus, if the content has changed.
2580
- * @fires select - Fires when the `select()` method is called.
2784
+ * @slot icon - SVG element used as the rating icon
2581
2785
  *
2582
2786
  * @public
2583
2787
  */
2584
- export declare class BaseTextArea extends FASTElement {
2585
- /**
2586
- * The form-associated flag.
2587
- * @see {@link https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-face-example | Form-associated custom elements}
2588
- *
2589
- * @public
2590
- */
2591
- static readonly formAssociated = true;
2788
+ export declare class BaseRatingDisplay extends FASTElement {
2789
+ private numberFormatter;
2592
2790
  /**
2593
2791
  * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
2594
2792
  *
@@ -2596,15 +2794,211 @@ export declare class BaseTextArea extends FASTElement {
2596
2794
  */
2597
2795
  elementInternals: ElementInternals;
2598
2796
  /**
2599
- * The `<label>` element.
2797
+ * Reference to the slot element used for the rating icon.
2798
+ *
2600
2799
  * @internal
2601
2800
  */
2602
- labelEl: HTMLLabelElement;
2801
+ iconSlot: HTMLSlotElement;
2802
+ /**
2803
+ * Updates the icon when the referenced slot is bound in the template.
2804
+ *
2805
+ * @internal
2806
+ */
2807
+ iconSlotChanged(): void;
2808
+ protected defaultCustomIconViewBox: string;
2809
+ /**
2810
+ * The element that displays the rating icons.
2811
+ * @internal
2812
+ */
2813
+ display: HTMLElement;
2814
+ /**
2815
+ * The number of ratings.
2816
+ *
2817
+ * @public
2818
+ * @remarks
2819
+ * HTML Attribute: `count`
2820
+ */
2821
+ count?: number;
2822
+ /**
2823
+ * The `viewBox` attribute of the icon <svg> element.
2824
+ *
2825
+ * @public
2826
+ * @remarks
2827
+ * HTML Attribute: `icon-view-box`
2828
+ * @deprecated Add `viewBox` attribute on the custom SVG directly.
2829
+ */
2830
+ iconViewBox?: string;
2831
+ /**
2832
+ * The maximum possible value of the rating.
2833
+ * This attribute determines the number of icons displayed.
2834
+ * Must be a whole number greater than 1.
2835
+ *
2836
+ * @public
2837
+ * @remarks
2838
+ * HTML Attribute: `max`
2839
+ */
2840
+ max?: number;
2841
+ protected maxChanged(): void;
2842
+ /**
2843
+ * The value of the rating.
2844
+ *
2845
+ * @public
2846
+ * @remarks
2847
+ * HTML Attribute: `value`
2848
+ */
2849
+ value?: number;
2850
+ protected valueChanged(): void;
2851
+ constructor();
2852
+ connectedCallback(): void;
2853
+ /**
2854
+ * Returns "count" as string, formatted according to the locale.
2855
+ *
2856
+ * @internal
2857
+ */
2858
+ get formattedCount(): string;
2859
+ /** @internal */
2860
+ handleSlotChange(): void;
2861
+ protected renderSlottedIcon(svg: SVGSVGElement | null): void;
2862
+ protected setCustomPropertyValue(propertyName: PropertyNameForCalculation): void;
2863
+ }
2864
+
2865
+ /**
2866
+ * The base class used for constructing a fluent-spinner custom element
2867
+ * @public
2868
+ */
2869
+ export declare class BaseSpinner extends FASTElement {
2870
+ /**
2871
+ * The internal {@link https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
2872
+ *
2873
+ * @internal
2874
+ */
2875
+ elementInternals: ElementInternals;
2876
+ constructor();
2877
+ }
2878
+
2879
+ /**
2880
+ * A Tablist element that wraps a collection of tab elements
2881
+ * @public
2882
+ */
2883
+ export declare class BaseTablist extends FASTElement {
2884
+ /**
2885
+ * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
2886
+ *
2887
+ * @internal
2888
+ */
2889
+ elementInternals: ElementInternals;
2890
+ /**
2891
+ * Used for disabling all click and keyboard events for the tabs, child tab elements.
2892
+ * @public
2893
+ * @remarks
2894
+ * HTML Attribute: disabled.
2895
+ */
2896
+ disabled: boolean;
2897
+ /** @internal */
2898
+ protected disabledChanged(prev: boolean, next: boolean): void;
2899
+ /**
2900
+ * The orientation
2901
+ * @public
2902
+ * @remarks
2903
+ * HTML Attribute: orientation
2904
+ */
2905
+ orientation: TablistOrientation;
2906
+ protected orientationChanged(prev: TablistOrientation, next: TablistOrientation): void;
2907
+ /**
2908
+ * The id of the active tab
2909
+ *
2910
+ * @public
2911
+ * @remarks
2912
+ * HTML Attribute: activeid
2913
+ */
2914
+ activeid: string;
2915
+ /** @internal */
2916
+ protected activeidChanged(oldValue: string, newValue: string): void;
2917
+ /**
2918
+ * Content slotted in the tab slot.
2919
+ * @internal
2920
+ */
2921
+ slottedTabs: Node[];
2922
+ /** @internal */
2923
+ protected slottedTabsChanged(prev: Node[] | undefined, next: Node[] | undefined): void;
2924
+ /** @internal */
2925
+ tabs: Tab[];
2926
+ /** @internal */
2927
+ protected tabsChanged(prev: Tab[] | undefined, next: Tab[] | undefined): void;
2928
+ /**
2929
+ * A reference to the active tab
2930
+ * @public
2931
+ */
2932
+ activetab: Tab;
2933
+ private tabPanelMap;
2934
+ private change;
2935
+ /**
2936
+ * Function that is invoked whenever the selected tab or the tab collection changes.
2937
+ */
2938
+ protected setTabs({ connectToPanel, forceDisabled }?: {
2939
+ connectToPanel?: boolean | undefined;
2940
+ forceDisabled?: boolean | undefined;
2941
+ }): void;
2942
+ /** @internal */
2943
+ handleFocusIn(event: FocusEvent): void;
2944
+ private changeTab;
2945
+ constructor();
2946
+ /**
2947
+ * @internal
2948
+ */
2949
+ connectedCallback(): void;
2950
+ }
2951
+
2952
+ /**
2953
+ * A Text Area Custom HTML Element.
2954
+ * Based largely on the {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea | `<textarea>`} element.
2955
+ *
2956
+ * @slot - The default content/value of the component.
2957
+ * @slot label - The content for the `<label>`, it should be a `<fluent-label>` element.
2958
+ * @csspart label - The `<label>` element.
2959
+ * @csspart root - The container element of the `<textarea>` element.
2960
+ * @csspart control - The internal `<textarea>` element.
2961
+ * @fires { Event } change - Fires after the control loses focus, if the content has changed.
2962
+ * @fires { Event } select - Fires when the `select()` method is called.
2963
+ *
2964
+ * @public
2965
+ */
2966
+ export declare class BaseTextArea extends FASTElement {
2967
+ /**
2968
+ * The form-associated flag.
2969
+ * @see {@link https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-face-example | Form-associated custom elements}
2970
+ *
2971
+ * @public
2972
+ */
2973
+ static readonly formAssociated = true;
2974
+ /**
2975
+ * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
2976
+ *
2977
+ * @internal
2978
+ */
2979
+ elementInternals: ElementInternals;
2980
+ /**
2981
+ * The `<label>` element.
2982
+ * @internal
2983
+ */
2984
+ labelEl: HTMLLabelElement;
2985
+ /**
2986
+ * The root container element.
2987
+ * @internal
2988
+ */
2989
+ rootEl: HTMLDivElement;
2603
2990
  /**
2604
2991
  * The `<textarea>` element.
2605
2992
  * @internal
2606
2993
  */
2607
2994
  controlEl: HTMLTextAreaElement;
2995
+ /**
2996
+ * Sets up a mutation observer to watch for changes to the control element's
2997
+ * attributes that could affect validity, and binds an input event listener to detect user interaction.
2998
+ *
2999
+ * @internal
3000
+ */
3001
+ protected controlElChanged(): void;
2608
3002
  /**
2609
3003
  * @internal
2610
3004
  */
@@ -2889,13 +3283,10 @@ export declare class BaseTextArea extends FASTElement {
2889
3283
  * @public
2890
3284
  */
2891
3285
  select(): void;
2892
- private setDefaultValue;
2893
- private bindEvents;
2894
3286
  /**
2895
3287
  * Gets the content inside the light DOM, if any HTML element is present, use its `outerHTML` value.
2896
3288
  */
2897
3289
  private getContent;
2898
- private observeControlElAttrs;
2899
3290
  private setDisabledSideEffect;
2900
3291
  private toggleUserValidityState;
2901
3292
  private maybeCreateAutoSizerEl;
@@ -2923,6 +3314,10 @@ export declare class BaseTextArea extends FASTElement {
2923
3314
  * @csspart label - The internal `<label>` element
2924
3315
  * @csspart root - the root container for the internal control
2925
3316
  * @csspart control - The internal `<input>` control
3317
+ *
3318
+ * @fires { Event } change - Fires a custom 'change' event when the value changes and the input loses focus
3319
+ * @fires { Event } select - Fires when the `select()` method is called.
3320
+ *
2926
3321
  * @public
2927
3322
  */
2928
3323
  export declare class BaseTextInput extends FASTElement {
@@ -2935,15 +3330,6 @@ export declare class BaseTextInput extends FASTElement {
2935
3330
  * HTML Attribute: `autocomplete`
2936
3331
  */
2937
3332
  autocomplete?: string;
2938
- /**
2939
- * Indicates that the element should get focus after the page finishes loading.
2940
- * @see The {@link https://developer.mozilla.org/docs/Web/HTML/Element/input#autofocus | `autofocus`} attribute
2941
- *
2942
- * @public
2943
- * @remarks
2944
- * HTML Attribute: `autofocus`
2945
- */
2946
- autofocus: boolean;
2947
3333
  /**
2948
3334
  * The current value of the input.
2949
3335
  * @public
@@ -3209,12 +3595,6 @@ export declare class BaseTextInput extends FASTElement {
3209
3595
  * Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/form | `ElementInternals.form`} property.
3210
3596
  */
3211
3597
  get form(): HTMLFormElement | null;
3212
- /**
3213
- * Handles the internal control's `keypress` event.
3214
- *
3215
- * @internal
3216
- */
3217
- beforeinputHandler(e: InputEvent): boolean | void;
3218
3598
  /**
3219
3599
  * Change event handler for inner control.
3220
3600
  *
@@ -3239,13 +3619,6 @@ export declare class BaseTextInput extends FASTElement {
3239
3619
  */
3240
3620
  clickHandler(e: MouseEvent): boolean | void;
3241
3621
  connectedCallback(): void;
3242
- /**
3243
- * Focuses the inner control when the component is focused.
3244
- *
3245
- * @param e - the event object
3246
- * @public
3247
- */
3248
- focusinHandler(e: FocusEvent): boolean | void;
3249
3622
  /**
3250
3623
  * Resets the value to its initial value when the form is reset.
3251
3624
  *
@@ -3320,12 +3693,6 @@ export declare class BaseTree extends FASTElement {
3320
3693
  * @public
3321
3694
  */
3322
3695
  currentSelected: HTMLElement | null;
3323
- /**
3324
- * The tree item that is designated to be in the tab queue.
3325
- *
3326
- * @internal
3327
- */
3328
- private currentFocused;
3329
3696
  /**
3330
3697
  * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
3331
3698
  *
@@ -3334,6 +3701,13 @@ export declare class BaseTree extends FASTElement {
3334
3701
  elementInternals: ElementInternals;
3335
3702
  /** @internal */
3336
3703
  defaultSlot: HTMLSlotElement;
3704
+ /**
3705
+ * Calls the slot change handler when the `defaultSlot` reference is updated
3706
+ * by the template binding.
3707
+ *
3708
+ * @internal
3709
+ */
3710
+ defaultSlotChanged(): void;
3337
3711
  constructor();
3338
3712
  /** @internal */
3339
3713
  childTreeItems: BaseTreeItem[];
@@ -3349,18 +3723,6 @@ export declare class BaseTree extends FASTElement {
3349
3723
  * @internal
3350
3724
  */
3351
3725
  keydownHandler(e: KeyboardEvent): boolean | void;
3352
- /**
3353
- * Handle focus events
3354
- *
3355
- * @internal
3356
- */
3357
- focusHandler(e: FocusEvent): void;
3358
- /**
3359
- * Handle blur events
3360
- *
3361
- * @internal
3362
- */
3363
- blurHandler(e: FocusEvent): void;
3364
3726
  /**
3365
3727
  * Handles click events bubbling up
3366
3728
  *
@@ -3374,19 +3736,24 @@ export declare class BaseTree extends FASTElement {
3374
3736
  * @internal
3375
3737
  */
3376
3738
  changeHandler(e: Event): boolean | void;
3377
- /**
3378
- * checks if there are any nested tree items
3379
- */
3380
- private getValidFocusableItem;
3381
- private getVisibleNodes;
3382
- /**
3383
- * Move focus to a tree item based on its offset from the provided item
3384
- */
3385
- private focusNextNode;
3386
3739
  /** @internal */
3387
3740
  handleDefaultSlotChange(): void;
3741
+ /**
3742
+ * All descendant tree items in DOM order, recursively flattened from
3743
+ * `childTreeItems`.
3744
+ */
3745
+ protected get descendantTreeItems(): BaseTreeItem[];
3388
3746
  }
3389
3747
 
3748
+ /**
3749
+ * Base class for Tree Item Custom HTML Element.
3750
+ * Based largely on the {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li | `<li>`} element.
3751
+ *
3752
+ * @fires { ToggleEvent } toggle - Fires when the expanded state changes
3753
+ * @fires { Event } change - Fires when the selected state changes
3754
+ *
3755
+ * @public
3756
+ */
3390
3757
  declare class BaseTreeItem extends FASTElement {
3391
3758
  /**
3392
3759
  * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
@@ -3396,11 +3763,22 @@ declare class BaseTreeItem extends FASTElement {
3396
3763
  elementInternals: ElementInternals;
3397
3764
  /** @internal */
3398
3765
  itemSlot: HTMLSlotElement;
3766
+ /**
3767
+ * Calls the slot change handler when the `itemSlot` reference is updated
3768
+ * by the template binding.
3769
+ *
3770
+ * @internal
3771
+ */
3772
+ itemSlotChanged(): void;
3399
3773
  constructor();
3774
+ connectedCallback(): void;
3400
3775
  /**
3401
3776
  * When true, the control will be appear expanded by user interaction.
3402
- * @public
3777
+ * When true, the control will be appear expanded by user interaction.
3778
+ *
3403
3779
  * HTML Attribute: `expanded`
3780
+ *
3781
+ * @public
3404
3782
  */
3405
3783
  expanded: boolean;
3406
3784
  /**
@@ -3428,8 +3806,11 @@ declare class BaseTreeItem extends FASTElement {
3428
3806
  protected selectedChanged(prev: boolean, next: boolean): void;
3429
3807
  /**
3430
3808
  * When true, the control has no child tree items
3431
- * @public
3809
+ * When true, the control has no child tree items
3810
+ *
3432
3811
  * HTML Attribute: empty
3812
+ *
3813
+ * @public
3433
3814
  */
3434
3815
  empty: boolean;
3435
3816
  private styles;
@@ -3448,7 +3829,6 @@ declare class BaseTreeItem extends FASTElement {
3448
3829
  * @public
3449
3830
  */
3450
3831
  childTreeItemsChanged(): void;
3451
- connectedCallback(): void;
3452
3832
  /**
3453
3833
  * Updates the childrens indent
3454
3834
  *
@@ -3466,53 +3846,87 @@ declare class BaseTreeItem extends FASTElement {
3466
3846
  */
3467
3847
  toggleExpansion(): void;
3468
3848
  /**
3469
- * Whether the tree is nested
3849
+ * Whether the tree item is nested
3470
3850
  * @internal
3471
3851
  */
3472
3852
  get isNestedItem(): boolean;
3473
- protected updateTabindexBySelected(): void;
3853
+ /**
3854
+ * Whether the tree item is nested in a collapsed tree item.
3855
+ * @internal
3856
+ */
3857
+ get isHidden(): boolean;
3474
3858
  /** @internal */
3475
3859
  handleItemSlotChange(): void;
3476
3860
  }
3477
3861
 
3478
3862
  /**
3479
- * CSS custom property value for the {@link @fluentui/tokens#borderRadiusCircular | `borderRadiusCircular`} design token.
3863
+ * CSS custom property value for the {@link @fluentui/tokens#borderRadius2XLarge | `borderRadius2XLarge`} design token.
3480
3864
  * @public
3481
3865
  */
3482
- export declare const borderRadiusCircular = "var(--borderRadiusCircular)";
3866
+ export declare const borderRadius2XLarge = "var(--borderRadius2XLarge)";
3483
3867
 
3484
3868
  /**
3485
- * CSS custom property value for the {@link @fluentui/tokens#borderRadiusLarge | `borderRadiusLarge`} design token.
3869
+ * CSS custom property value for the {@link @fluentui/tokens#borderRadius3XLarge | `borderRadius3XLarge`} design token.
3486
3870
  * @public
3487
3871
  */
3488
- export declare const borderRadiusLarge = "var(--borderRadiusLarge)";
3872
+ export declare const borderRadius3XLarge = "var(--borderRadius3XLarge)";
3489
3873
 
3490
3874
  /**
3491
- * CSS custom property value for the {@link @fluentui/tokens#borderRadiusMedium | `borderRadiusMedium`} design token.
3875
+ * CSS custom property value for the {@link @fluentui/tokens#borderRadius4XLarge | `borderRadius4XLarge`} design token.
3492
3876
  * @public
3493
3877
  */
3494
- export declare const borderRadiusMedium = "var(--borderRadiusMedium)";
3878
+ export declare const borderRadius4XLarge = "var(--borderRadius4XLarge)";
3495
3879
 
3496
3880
  /**
3497
- * CSS custom property value for the {@link @fluentui/tokens#borderRadiusNone | `borderRadiusNone`} design token.
3881
+ * CSS custom property value for the {@link @fluentui/tokens#borderRadius5XLarge | `borderRadius5XLarge`} design token.
3498
3882
  * @public
3499
3883
  */
3500
- export declare const borderRadiusNone = "var(--borderRadiusNone)";
3884
+ export declare const borderRadius5XLarge = "var(--borderRadius5XLarge)";
3501
3885
 
3502
3886
  /**
3503
- * CSS custom property value for the {@link @fluentui/tokens#borderRadiusSmall | `borderRadiusSmall`} design token.
3887
+ * CSS custom property value for the {@link @fluentui/tokens#borderRadius6XLarge | `borderRadius6XLarge`} design token.
3504
3888
  * @public
3505
3889
  */
3506
- export declare const borderRadiusSmall = "var(--borderRadiusSmall)";
3890
+ export declare const borderRadius6XLarge = "var(--borderRadius6XLarge)";
3507
3891
 
3508
3892
  /**
3509
- * CSS custom property value for the {@link @fluentui/tokens#borderRadiusXLarge | `borderRadiusXLarge`} design token.
3893
+ * CSS custom property value for the {@link @fluentui/tokens#borderRadiusCircular | `borderRadiusCircular`} design token.
3510
3894
  * @public
3511
3895
  */
3512
- export declare const borderRadiusXLarge = "var(--borderRadiusXLarge)";
3896
+ export declare const borderRadiusCircular = "var(--borderRadiusCircular)";
3513
3897
 
3514
3898
  /**
3515
- * A Button Custom HTML Element.
3899
+ * CSS custom property value for the {@link @fluentui/tokens#borderRadiusLarge | `borderRadiusLarge`} design token.
3900
+ * @public
3901
+ */
3902
+ export declare const borderRadiusLarge = "var(--borderRadiusLarge)";
3903
+
3904
+ /**
3905
+ * CSS custom property value for the {@link @fluentui/tokens#borderRadiusMedium | `borderRadiusMedium`} design token.
3906
+ * @public
3907
+ */
3908
+ export declare const borderRadiusMedium = "var(--borderRadiusMedium)";
3909
+
3910
+ /**
3911
+ * CSS custom property value for the {@link @fluentui/tokens#borderRadiusNone | `borderRadiusNone`} design token.
3912
+ * @public
3913
+ */
3914
+ export declare const borderRadiusNone = "var(--borderRadiusNone)";
3915
+
3916
+ /**
3917
+ * CSS custom property value for the {@link @fluentui/tokens#borderRadiusSmall | `borderRadiusSmall`} design token.
3918
+ * @public
3919
+ */
3920
+ export declare const borderRadiusSmall = "var(--borderRadiusSmall)";
3921
+
3922
+ /**
3923
+ * CSS custom property value for the {@link @fluentui/tokens#borderRadiusXLarge | `borderRadiusXLarge`} design token.
3924
+ * @public
3925
+ */
3926
+ export declare const borderRadiusXLarge = "var(--borderRadiusXLarge)";
3927
+
3928
+ /**
3929
+ * A Button Custom HTML Element.
3516
3930
  * Based on BaseButton and includes style and layout specific attributes
3517
3931
  *
3518
3932
  * @tag fluent-button
@@ -3581,13 +3995,11 @@ export declare const ButtonAppearance: {
3581
3995
  export declare type ButtonAppearance = ValuesOf<typeof ButtonAppearance>;
3582
3996
 
3583
3997
  /**
3584
- * The definition for the Fluent Button component.
3998
+ * The definition for the `<fluent-button>` element.
3585
3999
  *
3586
4000
  * @public
3587
- * @remarks
3588
- * HTML Element: `<fluent-button>`
3589
4001
  */
3590
- export declare const ButtonDefinition: FASTElementDefinition<typeof Button>;
4002
+ export declare const ButtonDefinition: PartialFASTElementDefinition;
3591
4003
 
3592
4004
  /**
3593
4005
  * Button `formtarget` attribute values.
@@ -3652,7 +4064,7 @@ export declare type ButtonSize = ValuesOf<typeof ButtonSize>;
3652
4064
  *
3653
4065
  * @public
3654
4066
  */
3655
- export declare const ButtonTemplate: ElementViewTemplate<Button>;
4067
+ export declare const ButtonTemplate: ElementViewTemplate<BaseButton>;
3656
4068
 
3657
4069
  /**
3658
4070
  * Button type values.
@@ -3680,8 +4092,8 @@ export declare type ButtonType = ValuesOf<typeof ButtonType>;
3680
4092
  *
3681
4093
  * @slot checked-indicator - The checked indicator
3682
4094
  * @slot indeterminate-indicator - The indeterminate indicator
3683
- * @fires change - Emits a custom change event when the checked state changes
3684
- * @fires input - Emits a custom input event when the checked state changes
4095
+ * @fires { Event } change - Emits a custom change event when the checked state changes
4096
+ * @fires { Event } input - Emits a custom input event when the checked state changes
3685
4097
  *
3686
4098
  * @public
3687
4099
  */
@@ -3734,13 +4146,11 @@ export declare class Checkbox extends BaseCheckbox {
3734
4146
  }
3735
4147
 
3736
4148
  /**
3737
- * The Fluent Checkbox Element
4149
+ * The definition for the `<fluent-checkbox>` element.
3738
4150
  *
3739
4151
  * @public
3740
- * @remarks
3741
- * HTML Element: \<fluent-checkbox\>
3742
4152
  */
3743
- export declare const CheckboxDefinition: FASTElementDefinition<typeof Checkbox>;
4153
+ export declare const CheckboxDefinition: PartialFASTElementDefinition;
3744
4154
 
3745
4155
  /**
3746
4156
  * Checkbox configuration options
@@ -4189,6 +4599,36 @@ export declare const colorNeutralBackground5Selected = "var(--colorNeutralBackgr
4189
4599
  */
4190
4600
  export declare const colorNeutralBackground6 = "var(--colorNeutralBackground6)";
4191
4601
 
4602
+ /**
4603
+ * CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackground7 | `colorNeutralBackground7`} design token.
4604
+ * @public
4605
+ */
4606
+ export declare const colorNeutralBackground7 = "var(--colorNeutralBackground7)";
4607
+
4608
+ /**
4609
+ * CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackground7Hover | `colorNeutralBackground7Hover`} design token.
4610
+ * @public
4611
+ */
4612
+ export declare const colorNeutralBackground7Hover = "var(--colorNeutralBackground7Hover)";
4613
+
4614
+ /**
4615
+ * CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackground7Pressed | `colorNeutralBackground7Pressed`} design token.
4616
+ * @public
4617
+ */
4618
+ export declare const colorNeutralBackground7Pressed = "var(--colorNeutralBackground7Pressed)";
4619
+
4620
+ /**
4621
+ * CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackground7Selected | `colorNeutralBackground7Selected`} design token.
4622
+ * @public
4623
+ */
4624
+ export declare const colorNeutralBackground7Selected = "var(--colorNeutralBackground7Selected)";
4625
+
4626
+ /**
4627
+ * CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackground8 | `colorNeutralBackground8`} design token.
4628
+ * @public
4629
+ */
4630
+ export declare const colorNeutralBackground8 = "var(--colorNeutralBackground8)";
4631
+
4192
4632
  /**
4193
4633
  * CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackgroundAlpha | `colorNeutralBackgroundAlpha`} design token.
4194
4634
  * @public
@@ -4207,6 +4647,12 @@ export declare const colorNeutralBackgroundAlpha2 = "var(--colorNeutralBackgroun
4207
4647
  */
4208
4648
  export declare const colorNeutralBackgroundDisabled = "var(--colorNeutralBackgroundDisabled)";
4209
4649
 
4650
+ /**
4651
+ * CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackgroundDisabled2 | `colorNeutralBackgroundDisabled2`} design token.
4652
+ * @public
4653
+ */
4654
+ export declare const colorNeutralBackgroundDisabled2 = "var(--colorNeutralBackgroundDisabled2)";
4655
+
4210
4656
  /**
4211
4657
  * CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackgroundInverted | `colorNeutralBackgroundInverted`} design token.
4212
4658
  * @public
@@ -4219,6 +4665,24 @@ export declare const colorNeutralBackgroundInverted = "var(--colorNeutralBackgro
4219
4665
  */
4220
4666
  export declare const colorNeutralBackgroundInvertedDisabled = "var(--colorNeutralBackgroundInvertedDisabled)";
4221
4667
 
4668
+ /**
4669
+ * CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackgroundInvertedHover | `colorNeutralBackgroundInvertedHover`} design token.
4670
+ * @public
4671
+ */
4672
+ export declare const colorNeutralBackgroundInvertedHover = "var(--colorNeutralBackgroundInvertedHover)";
4673
+
4674
+ /**
4675
+ * CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackgroundInvertedPressed | `colorNeutralBackgroundInvertedPressed`} design token.
4676
+ * @public
4677
+ */
4678
+ export declare const colorNeutralBackgroundInvertedPressed = "var(--colorNeutralBackgroundInvertedPressed)";
4679
+
4680
+ /**
4681
+ * CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackgroundInvertedSelected | `colorNeutralBackgroundInvertedSelected`} design token.
4682
+ * @public
4683
+ */
4684
+ export declare const colorNeutralBackgroundInvertedSelected = "var(--colorNeutralBackgroundInvertedSelected)";
4685
+
4222
4686
  /**
4223
4687
  * CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackgroundStatic | `colorNeutralBackgroundStatic`} design token.
4224
4688
  * @public
@@ -4399,6 +4863,30 @@ export declare const colorNeutralForeground3Selected = "var(--colorNeutralForegr
4399
4863
  */
4400
4864
  export declare const colorNeutralForeground4 = "var(--colorNeutralForeground4)";
4401
4865
 
4866
+ /**
4867
+ * CSS custom property value for the {@link @fluentui/tokens#colorNeutralForeground5 | `colorNeutralForeground5`} design token.
4868
+ * @public
4869
+ */
4870
+ export declare const colorNeutralForeground5 = "var(--colorNeutralForeground5)";
4871
+
4872
+ /**
4873
+ * CSS custom property value for the {@link @fluentui/tokens#colorNeutralForeground5Hover | `colorNeutralForeground5Hover`} design token.
4874
+ * @public
4875
+ */
4876
+ export declare const colorNeutralForeground5Hover = "var(--colorNeutralForeground5Hover)";
4877
+
4878
+ /**
4879
+ * CSS custom property value for the {@link @fluentui/tokens#colorNeutralForeground5Pressed | `colorNeutralForeground5Pressed`} design token.
4880
+ * @public
4881
+ */
4882
+ export declare const colorNeutralForeground5Pressed = "var(--colorNeutralForeground5Pressed)";
4883
+
4884
+ /**
4885
+ * CSS custom property value for the {@link @fluentui/tokens#colorNeutralForeground5Selected | `colorNeutralForeground5Selected`} design token.
4886
+ * @public
4887
+ */
4888
+ export declare const colorNeutralForeground5Selected = "var(--colorNeutralForeground5Selected)";
4889
+
4402
4890
  /**
4403
4891
  * CSS custom property value for the {@link @fluentui/tokens#colorNeutralForegroundDisabled | `colorNeutralForegroundDisabled`} design token.
4404
4892
  * @public
@@ -4573,6 +5061,30 @@ export declare const colorNeutralStroke2 = "var(--colorNeutralStroke2)";
4573
5061
  */
4574
5062
  export declare const colorNeutralStroke3 = "var(--colorNeutralStroke3)";
4575
5063
 
5064
+ /**
5065
+ * CSS custom property value for the {@link @fluentui/tokens#colorNeutralStroke4 | `colorNeutralStroke4`} design token.
5066
+ * @public
5067
+ */
5068
+ export declare const colorNeutralStroke4 = "var(--colorNeutralStroke4)";
5069
+
5070
+ /**
5071
+ * CSS custom property value for the {@link @fluentui/tokens#colorNeutralStroke4Hover | `colorNeutralStroke4Hover`} design token.
5072
+ * @public
5073
+ */
5074
+ export declare const colorNeutralStroke4Hover = "var(--colorNeutralStroke4Hover)";
5075
+
5076
+ /**
5077
+ * CSS custom property value for the {@link @fluentui/tokens#colorNeutralStroke4Pressed | `colorNeutralStroke4Pressed`} design token.
5078
+ * @public
5079
+ */
5080
+ export declare const colorNeutralStroke4Pressed = "var(--colorNeutralStroke4Pressed)";
5081
+
5082
+ /**
5083
+ * CSS custom property value for the {@link @fluentui/tokens#colorNeutralStroke4Selected | `colorNeutralStroke4Selected`} design token.
5084
+ * @public
5085
+ */
5086
+ export declare const colorNeutralStroke4Selected = "var(--colorNeutralStroke4Selected)";
5087
+
4576
5088
  /**
4577
5089
  * CSS custom property value for the {@link @fluentui/tokens#colorNeutralStrokeAccessible | `colorNeutralStrokeAccessible`} design token.
4578
5090
  * @public
@@ -4615,6 +5127,12 @@ export declare const colorNeutralStrokeAlpha2 = "var(--colorNeutralStrokeAlpha2)
4615
5127
  */
4616
5128
  export declare const colorNeutralStrokeDisabled = "var(--colorNeutralStrokeDisabled)";
4617
5129
 
5130
+ /**
5131
+ * CSS custom property value for the {@link @fluentui/tokens#colorNeutralStrokeDisabled2 | `colorNeutralStrokeDisabled2`} design token.
5132
+ * @public
5133
+ */
5134
+ export declare const colorNeutralStrokeDisabled2 = "var(--colorNeutralStrokeDisabled2)";
5135
+
4618
5136
  /**
4619
5137
  * CSS custom property value for the {@link @fluentui/tokens#colorNeutralStrokeInvertedDisabled | `colorNeutralStrokeInvertedDisabled`} design token.
4620
5138
  * @public
@@ -5880,6 +6398,9 @@ export declare const colorTransparentStrokeInteractive = "var(--colorTransparent
5880
6398
  *
5881
6399
  * @tag fluent-compound-button
5882
6400
  *
6401
+ * @slot - The default slot for the main content of the compound button
6402
+ * @slot description - The description of the compound button, shown below the main content
6403
+ *
5883
6404
  * @public
5884
6405
  */
5885
6406
  export declare class CompoundButton extends Button {
@@ -5903,11 +6424,11 @@ export declare const CompoundButtonAppearance: {
5903
6424
  export declare type CompoundButtonAppearance = ValuesOf<typeof CompoundButtonAppearance>;
5904
6425
 
5905
6426
  /**
6427
+ * The definition for the `<fluent-compound-button>` element.
6428
+ *
5906
6429
  * @public
5907
- * @remarks
5908
- * HTML Element: \<fluent-comopund-button\>
5909
6430
  */
5910
- export declare const CompoundButtonDefinition: FASTElementDefinition<typeof CompoundButton>;
6431
+ export declare const CompoundButtonDefinition: PartialFASTElementDefinition;
5911
6432
 
5912
6433
  /**
5913
6434
  * A Compound Button can be square, circular or rounded.
@@ -5945,24 +6466,23 @@ export declare const CompoundButtonStyles: ElementStyles;
5945
6466
 
5946
6467
  /**
5947
6468
  * The template for the Button component.
6469
+ *
5948
6470
  * @public
5949
6471
  */
5950
6472
  export declare const CompoundButtonTemplate: ElementViewTemplate<CompoundButton>;
5951
6473
 
5952
6474
  /**
5953
- * The base class used for constructing a fluent-badge custom element
6475
+ * A CounterBadge Custom HTML Element.
6476
+ * Based on BaseCounterBadge and includes style and layout specific attributes.
5954
6477
  *
5955
6478
  * @tag fluent-counter-badge
5956
6479
  *
6480
+ * @slot start - Content which can be provided before the badge content.
6481
+ * @slot end - Content which can be provided after the badge content.
6482
+ *
5957
6483
  * @public
5958
6484
  */
5959
- export declare class CounterBadge extends FASTElement {
5960
- /**
5961
- * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
5962
- *
5963
- * @internal
5964
- */
5965
- elementInternals: ElementInternals;
6485
+ export declare class CounterBadge extends BaseCounterBadge {
5966
6486
  /**
5967
6487
  * The appearance the badge should have.
5968
6488
  *
@@ -5995,60 +6515,14 @@ export declare class CounterBadge extends FASTElement {
5995
6515
  * HTML Attribute: size
5996
6516
  */
5997
6517
  size?: CounterBadgeSize;
5998
- /**
5999
- * The count the badge should have.
6000
- *
6001
- * @public
6002
- * @remarks
6003
- * HTML Attribute: count
6004
- */
6005
- count: number;
6006
- protected countChanged(): void;
6007
- /**
6008
- * Max number to be displayed
6009
- *
6010
- * @public
6011
- * @remarks
6012
- * HTML Attribute: overflow-count
6013
- */
6014
- overflowCount: number;
6015
- protected overflowCountChanged(): void;
6016
- /**
6017
- * If the badge should be shown when count is 0
6018
- *
6019
- * @public
6020
- * @remarks
6021
- * HTML Attribute: show-zero
6022
- */
6023
- showZero: boolean;
6024
- /**
6025
- * If a dot should be displayed without the count
6026
- *
6027
- * @public
6028
- * @remarks
6029
- * HTML Attribute: dot
6030
- */
6031
- dot: boolean;
6032
- /**
6033
- * @internal
6034
- * Function to set the count
6035
- * This is the default slotted content for the counter badge
6036
- * If children are slotted, that will override the value returned
6037
- */
6038
- setCount(): string | void;
6039
6518
  }
6040
6519
 
6041
- /**
6042
- * Mark internal because exporting class and interface of the same name
6043
- * confuses API extractor.
6044
- * TODO: Below will be unnecessary when Badge class gets updated
6045
- * @internal
6046
- */
6047
6520
  export declare interface CounterBadge extends StartEnd {
6048
6521
  }
6049
6522
 
6050
6523
  /**
6051
- * CounterBadgeAppearance constants
6524
+ * Values for the `appearance` attribute on CounterBadge elements.
6525
+ *
6052
6526
  * @public
6053
6527
  */
6054
6528
  export declare const CounterBadgeAppearance: {
@@ -6057,13 +6531,14 @@ export declare const CounterBadgeAppearance: {
6057
6531
  };
6058
6532
 
6059
6533
  /**
6060
- * A CounterBadge can have an appearance of filled or ghost
6534
+ * Type for the `appearance` attribute on CounterBadge elements, based on the CounterBadgeAppearance constants.
6061
6535
  * @public
6062
6536
  */
6063
6537
  export declare type CounterBadgeAppearance = ValuesOf<typeof CounterBadgeAppearance>;
6064
6538
 
6065
6539
  /**
6066
- * CounterBadgeColor constants
6540
+ * Values for the `color` attribute on CounterBadge elements.
6541
+ *
6067
6542
  * @public
6068
6543
  */
6069
6544
  export declare const CounterBadgeColor: {
@@ -6078,20 +6553,21 @@ export declare const CounterBadgeColor: {
6078
6553
  };
6079
6554
 
6080
6555
  /**
6081
- * A CounterBadge can be one of preset colors
6556
+ * Type for the `color` attribute on CounterBadge elements, based on the CounterBadgeColor constants.
6082
6557
  * @public
6083
6558
  */
6084
6559
  export declare type CounterBadgeColor = ValuesOf<typeof CounterBadgeColor>;
6085
6560
 
6086
6561
  /**
6562
+ * The definition for the `<fluent-counter-badge>` element.
6563
+ *
6087
6564
  * @public
6088
- * @remarks
6089
- * HTML Element: \<fluent-counter-badge\>
6090
6565
  */
6091
- export declare const CounterBadgeDefinition: FASTElementDefinition<typeof CounterBadge>;
6566
+ export declare const CounterBadgeDefinition: PartialFASTElementDefinition;
6092
6567
 
6093
6568
  /**
6094
- * A CounterBadge shape can be circular or rounded.
6569
+ * Values for the `shape` attribute on CounterBadge elements.
6570
+ *
6095
6571
  * @public
6096
6572
  */
6097
6573
  export declare const CounterBadgeShape: {
@@ -6100,13 +6576,15 @@ export declare const CounterBadgeShape: {
6100
6576
  };
6101
6577
 
6102
6578
  /**
6103
- * A CounterBadge can be one of preset colors
6579
+ * Type for the `shape` attribute on CounterBadge elements, based on the CounterBadgeShape constants.
6580
+ *
6104
6581
  * @public
6105
6582
  */
6106
6583
  export declare type CounterBadgeShape = ValuesOf<typeof CounterBadgeShape>;
6107
6584
 
6108
6585
  /**
6109
- * A CounterBadge can be square, circular or rounded.
6586
+ * Values for the `size` attribute on CounterBadge elements.
6587
+ *
6110
6588
  * @public
6111
6589
  */
6112
6590
  export declare const CounterBadgeSize: {
@@ -6119,7 +6597,8 @@ export declare const CounterBadgeSize: {
6119
6597
  };
6120
6598
 
6121
6599
  /**
6122
- * A CounterBadge can be on of several preset sizes.
6600
+ * Type for the `size` attribute on CounterBadge elements, based on the CounterBadgeSize constants.
6601
+ *
6123
6602
  * @public
6124
6603
  */
6125
6604
  export declare type CounterBadgeSize = ValuesOf<typeof CounterBadgeSize>;
@@ -6130,7 +6609,15 @@ export declare type CounterBadgeSize = ValuesOf<typeof CounterBadgeSize>;
6130
6609
  export declare const CounterBadgeStyles: ElementStyles;
6131
6610
 
6132
6611
  /**
6133
- * The template for the Counter Badge component.
6612
+ * The tag name for the counter badge element.
6613
+ *
6614
+ * @public
6615
+ */
6616
+ export declare const CounterBadgeTagName: "fluent-counter-badge";
6617
+
6618
+ /**
6619
+ * The template for the fluent-counter-badge component.
6620
+ *
6134
6621
  * @public
6135
6622
  */
6136
6623
  export declare const CounterBadgeTemplate: ElementViewTemplate<CounterBadge>;
@@ -6195,68 +6682,114 @@ export declare const curveEasyEaseMax = "var(--curveEasyEaseMax)";
6195
6682
  */
6196
6683
  export declare const curveLinear = "var(--curveLinear)";
6197
6684
 
6198
- /**
6199
- * This can be used to construct a behavior to apply a prefers color scheme: dark only stylesheet.
6200
- * @public
6201
- */
6202
- export declare const darkModeStylesheetBehavior: (styles: ElementStyles) => MatchMediaStyleSheetBehavior;
6203
-
6204
6685
  /**
6205
6686
  * A Dialog Custom HTML Element.
6206
6687
  *
6207
6688
  * @tag fluent-dialog
6208
6689
  *
6690
+ * @fires { ToggleEvent } toggle - Event emitted after the dialog's open state changes.
6691
+ * @fires { ToggleEvent } beforetoggle - Event emitted before the dialog's open state changes.
6692
+ * @slot - The default slot. {@link (DialogBody:class)} element recommended.
6693
+ *
6209
6694
  * @public
6210
6695
  */
6211
6696
  export declare class Dialog extends FASTElement {
6212
6697
  /**
6213
- * @public
6214
6698
  * The dialog element
6699
+ *
6700
+ * @public
6215
6701
  */
6216
6702
  dialog: HTMLDialogElement;
6217
6703
  /**
6218
- * @public
6219
6704
  * The ID of the element that describes the dialog
6705
+ *
6706
+ * @public
6220
6707
  */
6221
6708
  ariaDescribedby?: string;
6222
6709
  /**
6223
- * @public
6224
6710
  * The ID of the element that labels the dialog
6711
+ *
6712
+ * @public
6225
6713
  */
6226
6714
  ariaLabelledby?: string;
6227
6715
  /**
6716
+ * The label of the dialog
6717
+ *
6228
6718
  * @public
6719
+ */
6720
+ ariaLabel: string | null;
6721
+ /**
6229
6722
  * The type of the dialog modal
6723
+ *
6724
+ * @public
6230
6725
  */
6231
6726
  type: DialogType;
6232
- protected typeChanged(prev: DialogType | undefined, next: DialogType | undefined): void;
6233
- /** @internal */
6727
+ /**
6728
+ * The `aria-describedby` attribute value for the dialog, which is determined by the `ariaDescribedby` property. This
6729
+ * is used to ensure that the dialog's accessible description is properly announced by assistive technologies.
6730
+ *
6731
+ * @internal
6732
+ */
6733
+ get dialogDescribedby(): string | undefined;
6734
+ /**
6735
+ * The `aria-label` attribute value for the dialog, which is determined by the `ariaLabel` property. This is used to
6736
+ * ensure that the dialog's accessible name is properly announced by assistive technologies.
6737
+ *
6738
+ * @internal
6739
+ */
6740
+ get dialogLabel(): string | null | undefined;
6741
+ /**
6742
+ * The `aria-labelledby` attribute value for the dialog, which is determined by the `ariaLabelledby` property. This is
6743
+ * used to ensure that the dialog's accessible name is properly announced by assistive technologies.
6744
+ *
6745
+ * @internal
6746
+ */
6747
+ get dialogLabelledby(): string | undefined;
6748
+ /**
6749
+ * The modal state of the dialog, which is determined by the `type` property. If the dialog is not a non-modal dialog,
6750
+ * the modal state will be true, otherwise it will be undefined.
6751
+ *
6752
+ * @internal
6753
+ */
6754
+ get dialogModal(): boolean | undefined;
6755
+ /**
6756
+ * The role of the dialog, which is determined by the `type` property. If the dialog is an alert dialog, the role will
6757
+ * be 'alertdialog', otherwise it will be undefined.
6758
+ *
6759
+ * @internal
6760
+ */
6761
+ get dialogRole(): string | undefined;
6234
6762
  connectedCallback(): void;
6235
6763
  /**
6236
- * @public
6237
6764
  * Method to emit an event before the dialog's open state changes
6238
6765
  * HTML spec proposal: https://github.com/whatwg/html/issues/9733
6766
+ *
6767
+ * @public
6239
6768
  */
6240
- emitBeforeToggle: () => void;
6769
+ emitBeforeToggle(): void;
6241
6770
  /**
6242
- * @public
6243
6771
  * Method to emit an event after the dialog's open state changes
6244
6772
  * HTML spec proposal: https://github.com/whatwg/html/issues/9733
6773
+ *
6774
+ * @public
6245
6775
  */
6246
6776
  emitToggle: () => void;
6247
6777
  /**
6248
- * @public
6249
6778
  * Method to show the dialog
6779
+ *
6780
+ * @public
6250
6781
  */
6251
6782
  show(): void;
6252
6783
  /**
6253
- * @public
6254
6784
  * Method to hide the dialog
6785
+ *
6786
+ * @public
6255
6787
  */
6256
6788
  hide(): void;
6257
6789
  /**
6258
- * @public
6259
6790
  * Handles click events on the dialog overlay for light-dismiss
6791
+ *
6792
+ * @public
6260
6793
  * @param event - The click event
6261
6794
  * @returns boolean
6262
6795
  */
@@ -6268,6 +6801,15 @@ export declare class Dialog extends FASTElement {
6268
6801
  *
6269
6802
  * @tag fluent-dialog-body
6270
6803
  *
6804
+ * @slot title - Content for the dialog title.
6805
+ * @slot title-action - Content for actions shown near the title.
6806
+ * @slot close - Content for the close action.
6807
+ * @slot action - Content for footer actions.
6808
+ * @slot - Default dialog body content.
6809
+ * @csspart title - The title container.
6810
+ * @csspart content - The content container.
6811
+ * @csspart actions - The actions container.
6812
+ *
6271
6813
  * @public
6272
6814
  * @extends FASTElement
6273
6815
  */
@@ -6282,13 +6824,11 @@ export declare class DialogBody extends FASTElement {
6282
6824
  }
6283
6825
 
6284
6826
  /**
6285
- * The Fluent Dialog Body Element
6827
+ * The definition for the `<fluent-dialog-body>` element.
6286
6828
  *
6287
6829
  * @public
6288
- * @remarks
6289
- * HTML Element: \<fluent-dialog-body\>
6290
6830
  */
6291
- export declare const DialogBodyDefinition: FASTElementDefinition<typeof DialogBody>;
6831
+ export declare const DialogBodyDefinition: PartialFASTElementDefinition;
6292
6832
 
6293
6833
  /** Dialog Body styles
6294
6834
  * @public
@@ -6302,13 +6842,11 @@ export declare const DialogBodyStyles: ElementStyles;
6302
6842
  export declare const DialogBodyTemplate: ElementViewTemplate;
6303
6843
 
6304
6844
  /**
6305
- * The Fluent Dialog Element
6845
+ * The definition for the `<fluent-dialog>` element.
6306
6846
  *
6307
6847
  * @public
6308
- * @remarks
6309
- * HTML Element: \<fluent-dialog\>
6310
6848
  */
6311
- export declare const DialogDefinition: FASTElementDefinition<typeof Dialog>;
6849
+ export declare const DialogDefinition: PartialFASTElementDefinition;
6312
6850
 
6313
6851
  /** Dialog styles
6314
6852
  * @public
@@ -6317,6 +6855,11 @@ export declare const DialogStyles: ElementStyles;
6317
6855
 
6318
6856
  /**
6319
6857
  * Template for the Dialog component
6858
+ *
6859
+ * Note: The empty `<div tabindex="-1">` element above the `<slot>` element is
6860
+ * for working around a dialog focus issue, learn more at
6861
+ * https://github.com/microsoft/fluentui/pull/36278
6862
+ *
6320
6863
  * @public
6321
6864
  */
6322
6865
  export declare const DialogTemplate: ElementViewTemplate<Dialog>;
@@ -6333,6 +6876,21 @@ export declare const DialogType: {
6333
6876
 
6334
6877
  export declare type DialogType = ValuesOf<typeof DialogType>;
6335
6878
 
6879
+ /**
6880
+ * Expose ltr and rtl strings
6881
+ * @public
6882
+ */
6883
+ export declare const Direction: {
6884
+ readonly ltr: "ltr";
6885
+ readonly rtl: "rtl";
6886
+ };
6887
+
6888
+ /**
6889
+ * The direction type
6890
+ * @public
6891
+ */
6892
+ export declare type Direction = (typeof Direction)[keyof typeof Direction];
6893
+
6336
6894
  /**
6337
6895
  * Applies a CSS display property.
6338
6896
  * Also adds CSS rules to not display the element when the [hidden] attribute is applied to the element.
@@ -6403,13 +6961,11 @@ export declare const DividerAppearance: {
6403
6961
  export declare type DividerAppearance = ValuesOf<typeof DividerAppearance>;
6404
6962
 
6405
6963
  /**
6406
- * The Fluent Divider Element
6964
+ * The definition for the `<fluent-divider>` element.
6407
6965
  *
6408
6966
  * @public
6409
- * @remarks
6410
- * HTML Element: \<fluent-divider\>
6411
6967
  */
6412
- export declare const DividerDefinition: FASTElementDefinition<typeof Divider>;
6968
+ export declare const DividerDefinition: PartialFASTElementDefinition;
6413
6969
 
6414
6970
  /**
6415
6971
  * Divider orientation
@@ -6465,18 +7021,19 @@ export declare const DividerTemplate: ElementViewTemplate<Divider>;
6465
7021
  *
6466
7022
  * @extends FASTElement
6467
7023
  *
6468
- * @attr {DrawerType} type - Determines whether the drawer should be displayed as modal, non-modal, or alert.
6469
- * @attr {DrawerPosition} position - Sets the position of the drawer (start/end).
6470
- * @attr {DrawerSize} size - Sets the size of the drawer (small/medium/large).
6471
- * @attr {string} ariaDescribedby - The ID of the element that describes the drawer.
6472
- * @attr {string} ariaLabelledby - The ID of the element that labels the drawer.
7024
+ * @attr type - Determines whether the drawer should be displayed as modal, non-modal, or alert.
7025
+ * @attr position - Sets the position of the drawer (start/end).
7026
+ * @attr size - Sets the size of the drawer (small/medium/large).
7027
+ * @attr ariaDescribedby - The ID of the element that describes the drawer.
7028
+ * @attr ariaLabelledby - The ID of the element that labels the drawer.
6473
7029
  *
6474
7030
  * @csspart dialog - The dialog element of the drawer.
7031
+ * @cssprop --drawer-width - Sets the width of the drawer to a custom value (e.g., 300px).
6475
7032
  *
6476
7033
  * @slot - Default slot for the content of the drawer.
6477
7034
  *
6478
- * @fires toggle - Event emitted after the dialog's open state changes.
6479
- * @fires beforetoggle - Event emitted before the dialog's open state changes.
7035
+ * @fires { ToggleEvent } toggle - Event emitted after the dialog's open state changes.
7036
+ * @fires { ToggleEvent } beforetoggle - Event emitted before the dialog's open state changes.
6480
7037
  *
6481
7038
  * @method show - Method to show the drawer.
6482
7039
  * @method hide - Method to hide the drawer.
@@ -6486,34 +7043,35 @@ export declare const DividerTemplate: ElementViewTemplate<Divider>;
6486
7043
  * @method emitBeforeToggle - Emits an event before the dialog's open state changes.
6487
7044
  *
6488
7045
  * @summary A component that provides a drawer for displaying content in a side panel.
6489
- *
6490
- * @tag fluent-drawer
6491
7046
  */
6492
7047
  export declare class Drawer extends FASTElement {
6493
- protected roleAttrObserver: MutationObserver;
6494
7048
  /**
6495
- * @public
6496
7049
  * Determines whether the drawer should be displayed as modal or non-modal
6497
7050
  * When rendered as a modal, an overlay is applied over the rest of the view.
7051
+ *
7052
+ * @public
6498
7053
  */
6499
7054
  type: DrawerType;
6500
- protected typeChanged(): void;
6501
7055
  /**
6502
- * @public
6503
7056
  * The ID of the element that labels the drawer.
7057
+ *
7058
+ * @public
6504
7059
  */
6505
7060
  ariaLabelledby?: string;
6506
7061
  /**
6507
- * @public
6508
7062
  * The ID of the element that describes the drawer.
7063
+ *
7064
+ * @public
6509
7065
  */
6510
7066
  ariaDescribedby?: string;
6511
- /**""
7067
+ /**
7068
+ * Sets the position of the drawer (start/end).
7069
+ *
6512
7070
  * @public
6513
7071
  * @defaultValue start
6514
- * Sets the position of the drawer (start/end).
6515
7072
  */
6516
7073
  position: DrawerPosition;
7074
+ role: string | null;
6517
7075
  /**
6518
7076
  * @public
6519
7077
  * @defaultValue medium
@@ -6521,34 +7079,71 @@ export declare class Drawer extends FASTElement {
6521
7079
  */
6522
7080
  size: DrawerSize;
6523
7081
  /**
6524
- * @public
6525
7082
  * The dialog element.
7083
+ *
7084
+ * @public
6526
7085
  */
6527
7086
  dialog: HTMLDialogElement;
6528
- /** @internal */
6529
- connectedCallback(): void;
6530
- /** @internal */
6531
- disconnectedCallback(): void;
6532
7087
  /**
6533
- * @public
7088
+ * The `aria-describedby` attribute value for the dialog, which is determined by the `ariaDescribedby` property. This
7089
+ * is used to ensure that the dialog's accessible description is properly announced by assistive technologies.
7090
+ *
7091
+ * @internal
7092
+ */
7093
+ get dialogDescribedby(): string | undefined;
7094
+ /**
7095
+ * The `aria-label` attribute value for the dialog, which is determined by the `ariaLabel` property. This is used to
7096
+ * ensure that the dialog's accessible name is properly announced by assistive technologies.
7097
+ *
7098
+ * @internal
7099
+ */
7100
+ get dialogLabel(): string | null | undefined;
7101
+ /**
7102
+ * The `aria-labelledby` attribute value for the dialog, which is determined by the `ariaLabelledby` property. This is
7103
+ * used to ensure that the dialog's accessible name is properly announced by assistive technologies.
7104
+ *
7105
+ * @internal
7106
+ */
7107
+ get dialogLabelledby(): string | undefined;
7108
+ /**
7109
+ * The modal state of the dialog, which is determined by the `type` property. If the dialog is not a non-modal dialog,
7110
+ * the modal state will be true, otherwise it will be undefined.
7111
+ *
7112
+ * @internal
7113
+ */
7114
+ get dialogModal(): boolean | undefined;
7115
+ /**
7116
+ * The role of the dialog, which is determined by the `type` property. If the dialog is an alert dialog, the role will
7117
+ * be 'alertdialog', otherwise it will be undefined.
7118
+ *
7119
+ * @internal
7120
+ */
7121
+ get dialogRole(): string | null;
7122
+ connectedCallback(): void;
7123
+ /**
6534
7124
  * Method to emit an event after the dialog's open state changes
6535
7125
  * HTML spec proposal: https://github.com/whatwg/html/issues/9733
7126
+ *
7127
+ * @public
6536
7128
  */
6537
7129
  emitToggle: () => void;
6538
7130
  /**
6539
- * @public
6540
7131
  * Method to emit an event before the dialog's open state changes
6541
7132
  * HTML spec proposal: https://github.com/whatwg/html/issues/9733
7133
+ *
7134
+ * @public
6542
7135
  */
6543
7136
  emitBeforeToggle: () => void;
6544
7137
  /**
6545
- * @public
6546
7138
  * Method to show the drawer
7139
+ *
7140
+ * @public
6547
7141
  */
6548
7142
  show(): void;
6549
7143
  /**
6550
- * @public
6551
7144
  * Method to hide the drawer
7145
+ *
7146
+ * @public
6552
7147
  */
6553
7148
  hide(): void;
6554
7149
  /**
@@ -6559,12 +7154,11 @@ export declare class Drawer extends FASTElement {
6559
7154
  */
6560
7155
  clickHandler(event: Event): boolean;
6561
7156
  /**
6562
- * @public
6563
7157
  * Handles cancel events on the drawer.
7158
+ *
7159
+ * @public
6564
7160
  */
6565
7161
  cancelHandler(): void;
6566
- protected observeRoleAttr(): void;
6567
- protected updateDialogRole(): void;
6568
7162
  }
6569
7163
 
6570
7164
  /**
@@ -6598,12 +7192,11 @@ export declare class DrawerBody extends FASTElement {
6598
7192
  }
6599
7193
 
6600
7194
  /**
7195
+ * The definition for the `<fluent-drawer-body>` element.
6601
7196
  *
6602
7197
  * @public
6603
- * @remarks
6604
- * HTML Element: <fluent-drawer>
6605
7198
  */
6606
- export declare const DrawerBodyDefinition: FASTElementDefinition<typeof DrawerBody>;
7199
+ export declare const DrawerBodyDefinition: PartialFASTElementDefinition;
6607
7200
 
6608
7201
  /** Drawer styles
6609
7202
  * @public
@@ -6613,12 +7206,11 @@ export declare const DrawerBodyStyles: ElementStyles;
6613
7206
  export declare const DrawerBodyTemplate: ElementViewTemplate<DrawerBody>;
6614
7207
 
6615
7208
  /**
7209
+ * The definition for the `<fluent-drawer>` element.
6616
7210
  *
6617
7211
  * @public
6618
- * @remarks
6619
- * HTML Element: <fluent-drawer>
6620
7212
  */
6621
- export declare const DrawerDefinition: FASTElementDefinition<typeof Drawer>;
7213
+ export declare const DrawerDefinition: PartialFASTElementDefinition;
6622
7214
 
6623
7215
  /**
6624
7216
  * A drawer can be positioned on the left or right side of the viewport.
@@ -6727,13 +7319,11 @@ export declare type DropdownAppearance = ValuesOf<typeof DropdownAppearance>;
6727
7319
  export declare const dropdownButtonTemplate: ViewTemplate<BaseDropdown, any>;
6728
7320
 
6729
7321
  /**
6730
- * The Fluent Dropdown Element.
7322
+ * The definition for the `<fluent-dropdown>` element.
6731
7323
  *
6732
7324
  * @public
6733
- * @remarks
6734
- * HTML Element: `<fluent-dropdown>`
6735
7325
  */
6736
- export declare const DropdownDefinition: FASTElementDefinition<typeof Dropdown>;
7326
+ export declare const DropdownDefinition: PartialFASTElementDefinition;
6737
7327
 
6738
7328
  /**
6739
7329
  * The template partial for the dropdown input element. This template is used when the `type` property is set to "combobox".
@@ -6753,8 +7343,11 @@ export declare const dropdownInputTemplate: ViewTemplate<BaseDropdown, any>;
6753
7343
  * @tag fluent-dropdown-option
6754
7344
  *
6755
7345
  * @slot - The default slot for the option's content.
7346
+ * @slot start - Optional content shown at the start of the option.
6756
7347
  * @slot checked-indicator - The checked indicator.
6757
7348
  * @slot description - Optional description content.
7349
+ * @csspart content - The wrapper for the option content.
7350
+ * @csspart description - The wrapper for the option description.
6758
7351
  *
6759
7352
  * @remarks
6760
7353
  * To support single and multiple selection modes with the {@link (BaseDropdown:class)} element, the Option element
@@ -7008,13 +7601,11 @@ export declare class DropdownOption extends FASTElement implements Start {
7008
7601
  }
7009
7602
 
7010
7603
  /**
7011
- * The Fluent Option Element.
7604
+ * The definition for the `<fluent-option>` element.
7012
7605
  *
7013
7606
  * @public
7014
- * @remarks
7015
- * HTML Element: `<fluent-option>`
7016
7607
  */
7017
- export declare const DropdownOptionDefinition: FASTElementDefinition<typeof DropdownOption>;
7608
+ export declare const DropdownOptionDefinition: PartialFASTElementDefinition;
7018
7609
 
7019
7610
  /**
7020
7611
  * The options for the {@link DropdownOption} component.
@@ -7164,6 +7755,13 @@ export declare function endSlotTemplate<TSource extends StartEnd = StartEnd, TPa
7164
7755
  *
7165
7756
  * @tag fluent-field
7166
7757
  *
7758
+ * @slot label - Label content associated with the control.
7759
+ * @slot input - Input control content.
7760
+ * @slot message - Validation and helper message content.
7761
+ * @csspart label - The label slot container.
7762
+ * @csspart input - The input slot container.
7763
+ * @csspart message - The message slot container.
7764
+ *
7167
7765
  * @public
7168
7766
  */
7169
7767
  export declare class Field extends BaseField {
@@ -7178,13 +7776,11 @@ export declare class Field extends BaseField {
7178
7776
  }
7179
7777
 
7180
7778
  /**
7181
- * The Fluent Field Element
7779
+ * The definition for the `<fluent-field>` element.
7182
7780
  *
7183
7781
  * @public
7184
- * @remarks
7185
- * HTML Element: `<fluent-field>`
7186
7782
  */
7187
- export declare const FieldDefinition: FASTElementDefinition<typeof Field>;
7783
+ export declare const FieldDefinition: PartialFASTElementDefinition;
7188
7784
 
7189
7785
  /**
7190
7786
  * Label position values
@@ -7320,12 +7916,6 @@ export declare const fontWeightRegular = "var(--fontWeightRegular)";
7320
7916
  */
7321
7917
  export declare const fontWeightSemibold = "var(--fontWeightSemibold)";
7322
7918
 
7323
- /**
7324
- * This can be used to construct a behavior to apply a forced-colors only stylesheet.
7325
- * @public
7326
- */
7327
- export declare const forcedColorsStylesheetBehavior: (styles: ElementStyles) => MatchMediaStyleSheetBehavior;
7328
-
7329
7919
  /**
7330
7920
  * Determines the current localization direction of an element.
7331
7921
  *
@@ -7341,6 +7931,8 @@ export declare const getDirection: (rootNode: HTMLElement) => Direction;
7341
7931
  *
7342
7932
  * @tag fluent-image
7343
7933
  *
7934
+ * @slot - The default slot. Accepts any `<img>`, `<picture>`, `<video>`, or `<canvas>` element.
7935
+ *
7344
7936
  * @public
7345
7937
  */
7346
7938
  declare class Image_2 extends FASTElement {
@@ -7388,13 +7980,11 @@ declare class Image_2 extends FASTElement {
7388
7980
  export { Image_2 as Image }
7389
7981
 
7390
7982
  /**
7391
- * The Fluent Image Element
7983
+ * The definition for the `<fluent-image>` element.
7392
7984
  *
7393
7985
  * @public
7394
- * @remarks
7395
- * HTML Element: \<fluent-image\>
7396
7986
  */
7397
- export declare const ImageDefinition: FASTElementDefinition<typeof Image_2>;
7987
+ export declare const ImageDefinition: PartialFASTElementDefinition;
7398
7988
 
7399
7989
  /**
7400
7990
  * Image fit
@@ -7502,6 +8092,9 @@ export declare function isTreeItem(element?: Node | null, tagName?: string): ele
7502
8092
  *
7503
8093
  * @tag fluent-label
7504
8094
  *
8095
+ * @slot - The default slot. Accepts the content of the label.
8096
+ * @csspart asterisk - The required-field asterisk indicator.
8097
+ *
7505
8098
  * @public
7506
8099
  */
7507
8100
  export declare class Label extends FASTElement {
@@ -7540,14 +8133,11 @@ export declare class Label extends FASTElement {
7540
8133
  }
7541
8134
 
7542
8135
  /**
7543
- * The Fluent Label Element.
7544
- *
8136
+ * The definition for the `<fluent-label>` element.
7545
8137
  *
7546
8138
  * @public
7547
- * @remarks
7548
- * HTML Element: \<fluent-label\>
7549
8139
  */
7550
- export declare const LabelDefinition: FASTElementDefinition<typeof Label>;
8140
+ export declare const LabelDefinition: PartialFASTElementDefinition;
7551
8141
 
7552
8142
  /**
7553
8143
  * A Labels font size can be small, medium, or large
@@ -7585,12 +8175,6 @@ export declare const LabelWeight: {
7585
8175
  */
7586
8176
  export declare type LabelWeight = ValuesOf<typeof LabelWeight>;
7587
8177
 
7588
- /**
7589
- * This can be used to construct a behavior to apply a prefers color scheme: light only stylesheet.
7590
- * @public
7591
- */
7592
- export declare const lightModeStylesheetBehavior: (styles: ElementStyles) => MatchMediaStyleSheetBehavior;
7593
-
7594
8178
  /**
7595
8179
  * CSS custom property value for the {@link @fluentui/tokens#lineHeightBase100 | `lineHeightBase100`} design token.
7596
8180
  * @public
@@ -7700,11 +8284,11 @@ export declare const LinkAppearance: {
7700
8284
  export declare type LinkAppearance = ValuesOf<typeof LinkAppearance>;
7701
8285
 
7702
8286
  /**
8287
+ * The definition for the `<fluent-link>` element.
8288
+ *
7703
8289
  * @public
7704
- * @remarks
7705
- * HTML Element: \<fluent-link\>
7706
8290
  */
7707
- export declare const LinkDefinition: FASTElementDefinition<typeof Link>;
8291
+ export declare const LinkDefinition: PartialFASTElementDefinition;
7708
8292
 
7709
8293
  export declare const LinkStyles: ElementStyles;
7710
8294
 
@@ -7749,14 +8333,18 @@ export declare const LinkTemplate: ElementViewTemplate<Link>;
7749
8333
  */
7750
8334
  export declare class Listbox extends FASTElement {
7751
8335
  /**
7752
- * Sets the listbox ID to a unique value if one is not provided.
8336
+ * A reference to the default slot element.
7753
8337
  *
7754
- * @override
7755
- * @public
7756
- * @remarks
7757
- * HTML Attribute: `id`
8338
+ * @internal
7758
8339
  */
7759
- id: string;
8340
+ defaultSlot: HTMLSlotElement;
8341
+ /**
8342
+ * Calls the `slotchangeHandler` when the `defaultSlot` element is assigned
8343
+ * via the `ref` directive in the template.
8344
+ *
8345
+ * @internal
8346
+ */
8347
+ protected defaultSlotChanged(): void;
7760
8348
  /**
7761
8349
  * Indicates whether the listbox allows multiple selection.
7762
8350
  *
@@ -7829,6 +8417,7 @@ export declare class Listbox extends FASTElement {
7829
8417
  */
7830
8418
  clickHandler(e: PointerEvent): boolean | void;
7831
8419
  constructor();
8420
+ connectedCallback(): void;
7832
8421
  /**
7833
8422
  * Handles observable subscriptions for the listbox.
7834
8423
  *
@@ -7852,17 +8441,15 @@ export declare class Listbox extends FASTElement {
7852
8441
  * @param e - The slotchange event
7853
8442
  * @public
7854
8443
  */
7855
- slotchangeHandler(e: Event): void;
8444
+ slotchangeHandler(e?: Event): void;
7856
8445
  }
7857
8446
 
7858
8447
  /**
7859
- * The Fluent Listbox Element
8448
+ * The definition for the `<fluent-listbox>` element.
7860
8449
  *
7861
8450
  * @public
7862
- * @remarks
7863
- * HTML Element: `<fluent-listbox>`
7864
8451
  */
7865
- export declare const ListboxDefinition: FASTElementDefinition<typeof Listbox>;
8452
+ export declare const ListboxDefinition: PartialFASTElementDefinition;
7866
8453
 
7867
8454
  /**
7868
8455
  * Styles for the {@link (Listbox:class)} component.
@@ -7887,117 +8474,6 @@ export declare const ListboxTemplate: ElementViewTemplate<Listbox>;
7887
8474
  */
7888
8475
  export declare function listboxTemplate<T extends Listbox>(): ElementViewTemplate<T>;
7889
8476
 
7890
- /**
7891
- * An abstract behavior to react to media queries. Implementations should implement
7892
- * the `constructListener` method to perform some action based on media query changes.
7893
- *
7894
- * @public
7895
- */
7896
- export declare abstract class MatchMediaBehavior implements HostBehavior {
7897
- /**
7898
- * The behavior needs to operate on element instances but elements might share a behavior instance.
7899
- * To ensure proper attachment / detachment per instance, we construct a listener for
7900
- * each bind invocation and cache the listeners by element reference.
7901
- */
7902
- private listenerCache;
7903
- /**
7904
- * The media query that the behavior operates on.
7905
- */
7906
- readonly query: MediaQueryList;
7907
- /**
7908
- *
7909
- * @param query - The media query to operate from.
7910
- */
7911
- constructor(query: MediaQueryList);
7912
- /**
7913
- * Constructs a function that will be invoked with the MediaQueryList context
7914
- * @param controller - The host controller orchestrating this behavior.
7915
- */
7916
- protected abstract constructListener(controller: HostController): MediaQueryListListener;
7917
- /**
7918
- * Binds the behavior to the element.
7919
- * @param controller - The host controller orchestrating this behavior.
7920
- */
7921
- connectedCallback(controller: HostController): void;
7922
- /**
7923
- * Unbinds the behavior from the element.
7924
- * @param controller - The host controller orchestrating this behavior.
7925
- */
7926
- disconnectedCallback(controller: HostController): void;
7927
- }
7928
-
7929
- /**
7930
- * A behavior to add or remove a stylesheet from an element based on a media query. The behavior ensures that
7931
- * styles are applied while the a query matches the environment and that styles are not applied if the query does
7932
- * not match the environment.
7933
- *
7934
- * @public
7935
- */
7936
- export declare class MatchMediaStyleSheetBehavior extends MatchMediaBehavior {
7937
- /**
7938
- * The media query that the behavior operates on.
7939
- */
7940
- readonly query: MediaQueryList;
7941
- /**
7942
- * The styles object to be managed by the behavior.
7943
- */
7944
- readonly styles: ElementStyles;
7945
- /**
7946
- * Constructs a {@link MatchMediaStyleSheetBehavior} instance.
7947
- * @param query - The media query to operate from.
7948
- * @param styles - The styles to coordinate with the query.
7949
- */
7950
- constructor(query: MediaQueryList, styles: ElementStyles);
7951
- /**
7952
- * Defines a function to construct {@link MatchMediaStyleSheetBehavior | MatchMediaStyleSheetBehaviors} for
7953
- * a provided query.
7954
- * @param query - The media query to operate from.
7955
- *
7956
- * @public
7957
- * @example
7958
- *
7959
- * ```ts
7960
- * import { css } from "@microsoft/fast-element";
7961
- * import { MatchMediaStyleSheetBehavior } from "@fluentui/web-components";
7962
- *
7963
- * const landscapeBehavior = MatchMediaStyleSheetBehavior.with(
7964
- * window.matchMedia("(orientation: landscape)")
7965
- * );
7966
- *
7967
- * const styles = css`
7968
- * :host {
7969
- * width: 200px;
7970
- * height: 400px;
7971
- * }
7972
- * `
7973
- * .withBehaviors(landscapeBehavior(css`
7974
- * :host {
7975
- * width: 400px;
7976
- * height: 200px;
7977
- * }
7978
- * `))
7979
- * ```
7980
- */
7981
- static with(query: MediaQueryList): (styles: ElementStyles) => MatchMediaStyleSheetBehavior;
7982
- /**
7983
- * Constructs a match-media listener for a provided element.
7984
- * @param source - the element for which to attach or detach styles.
7985
- */
7986
- protected constructListener(controller: HostController): MediaQueryListListener;
7987
- /**
7988
- * Unbinds the behavior from the element.
7989
- * @param controller - The host controller orchestrating this behavior.
7990
- * @internal
7991
- */
7992
- removedCallback(controller: HostController<any>): void;
7993
- }
7994
-
7995
- /**
7996
- * An event listener fired by a {@link https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList | MediaQueryList }.
7997
- * @public
7998
- */
7999
- export declare type MediaQueryListListener = (this: MediaQueryList, ev?: MediaQueryListEvent) => void;
8000
-
8001
8477
  /**
8002
8478
  * A Menu component that provides a customizable menu element.
8003
8479
  *
@@ -8072,12 +8548,28 @@ export declare class Menu extends FASTElement {
8072
8548
  * Holds the slotted menu list.
8073
8549
  * @public
8074
8550
  */
8075
- slottedMenuList: MenuList[];
8551
+ slottedMenuList: HTMLElement[];
8552
+ /**
8553
+ * Sets up the component when the slotted menu list changes.
8554
+ * @param prev - The previous items in the slotted menu list.
8555
+ * @param next - The new items in the slotted menu list.
8556
+ * @internal
8557
+ */
8558
+ slottedMenuListChanged(prev: HTMLElement[] | undefined, next: HTMLElement[] | undefined): void;
8076
8559
  /**
8077
8560
  * Holds the slotted triggers.
8078
8561
  * @public
8079
8562
  */
8080
8563
  slottedTriggers: HTMLElement[];
8564
+ /**
8565
+ * Ensures the trigger is properly set up when the slotted triggers change.
8566
+ * This includes setting ARIA attributes and adding event listeners based on the current property values.
8567
+ *
8568
+ * @param prev - The previous items in the slotted triggers list.
8569
+ * @param next - The current items in the slotted triggers list.
8570
+ * @internal
8571
+ */
8572
+ slottedTriggersChanged(prev: HTMLElement[] | undefined, next: HTMLElement[] | undefined): void;
8081
8573
  /**
8082
8574
  * Holds the primary slot element.
8083
8575
  * @public
@@ -8087,17 +8579,25 @@ export declare class Menu extends FASTElement {
8087
8579
  * Defines whether the menu is open or not.
8088
8580
  * @internal
8089
8581
  */
8090
- private _open;
8582
+ protected _open: boolean;
8091
8583
  /**
8092
8584
  * The trigger element of the menu.
8093
8585
  * @internal
8094
8586
  */
8095
- private _trigger?;
8587
+ protected _trigger?: HTMLElement;
8096
8588
  /**
8097
8589
  * The menu list element of the menu which has the popover behavior.
8098
8590
  * @internal
8099
8591
  */
8100
- private _menuList?;
8592
+ protected _menuList?: HTMLElement;
8593
+ /**
8594
+ * @internal
8595
+ */
8596
+ protected _triggerAbortController?: AbortController;
8597
+ /**
8598
+ * @internal
8599
+ */
8600
+ protected _menuListAbortController?: AbortController;
8101
8601
  /**
8102
8602
  * Called when the element is connected to the DOM.
8103
8603
  * Sets up the component.
@@ -8112,7 +8612,8 @@ export declare class Menu extends FASTElement {
8112
8612
  disconnectedCallback(): void;
8113
8613
  /**
8114
8614
  * Sets the component.
8115
- * Sets the trigger and menu list elements and adds event listeners.
8615
+ * @deprecated This method is no longer used. Trigger and menu-list listeners are now
8616
+ * managed by their respective slot-changed callbacks.
8116
8617
  * @public
8117
8618
  */
8118
8619
  setComponent(): void;
@@ -8182,23 +8683,15 @@ export declare class Menu extends FASTElement {
8182
8683
  */
8183
8684
  closeOnScrollChanged(oldValue: boolean, newValue: boolean): void;
8184
8685
  /**
8185
- * Adds event listeners.
8186
- * Adds click and keydown event listeners to the trigger.
8187
- * Adds a 'toggle' event listener to the menu list.
8188
- * If 'openOnHover' is true, adds a 'mouseover' event listener to the trigger.
8189
- * If 'openOnContext' is true, adds a 'contextmenu' event listener to the trigger and a document 'click' event listener.
8686
+ * Adds trigger-related event listeners.
8190
8687
  * @internal
8191
8688
  */
8192
- private addListeners;
8689
+ protected addTriggerListeners(): void;
8193
8690
  /**
8194
- * Removes event listeners.
8195
- * Removes click and keydown event listeners from the trigger.
8196
- * Also removes toggle event listener from the menu list.
8197
- * Also removes 'mouseover' event listeners from the trigger.
8198
- * Also removes 'contextmenu' event listeners from the trigger and document 'click' event listeners.
8691
+ * Adds menu-list event listeners.
8199
8692
  * @internal
8200
8693
  */
8201
- private removeListeners;
8694
+ protected addMenuListListeners(): void;
8202
8695
  /**
8203
8696
  * Handles keyboard interaction for the menu. Closes the menu and focuses on the trigger when the Escape key is
8204
8697
  * pressed. Closes the menu when the Tab key is pressed.
@@ -8220,7 +8713,7 @@ export declare class Menu extends FASTElement {
8220
8713
  * @internal
8221
8714
  * @param e - The event triggered on document click.
8222
8715
  */
8223
- private documentClickHandler;
8716
+ protected documentClickHandler: (e: any) => void;
8224
8717
  }
8225
8718
 
8226
8719
  /**
@@ -8251,11 +8744,11 @@ export declare const MenuButtonAppearance: {
8251
8744
  export declare type MenuButtonAppearance = ValuesOf<typeof MenuButtonAppearance>;
8252
8745
 
8253
8746
  /**
8747
+ * The definition for the `<fluent-menu-button>` element.
8748
+ *
8254
8749
  * @public
8255
- * @remarks
8256
- * HTML Element: \<fluent-button\>
8257
8750
  */
8258
- export declare const MenuButtonDefinition: FASTElementDefinition<typeof MenuButton>;
8751
+ export declare const MenuButtonDefinition: PartialFASTElementDefinition;
8259
8752
 
8260
8753
  /**
8261
8754
  * A Menu Button can be square, circular or rounded.
@@ -8296,13 +8789,11 @@ export declare type MenuButtonSize = ValuesOf<typeof MenuButtonSize>;
8296
8789
  export declare const MenuButtonTemplate: ElementViewTemplate<MenuButton>;
8297
8790
 
8298
8791
  /**
8299
- * The Fluent Menu Element.
8792
+ * The definition for the `<fluent-menu>` element.
8300
8793
  *
8301
8794
  * @public
8302
- * @remarks
8303
- * HTML Element: <fluent-menu>
8304
8795
  */
8305
- export declare const MenuDefinition: FASTElementDefinition<typeof Menu>;
8796
+ export declare const MenuDefinition: PartialFASTElementDefinition;
8306
8797
 
8307
8798
  /**
8308
8799
  * A Switch Custom HTML Element.
@@ -8317,7 +8808,7 @@ export declare const MenuDefinition: FASTElementDefinition<typeof Menu>;
8317
8808
  * @slot submenu-glyph - The submenu expand/collapse indicator
8318
8809
  * @slot submenu - Used to nest menu's within menu items
8319
8810
  * @csspart content - The element wrapping the menu item content
8320
- * @fires change - Fires a custom 'change' event when a non-submenu item with a role of `menuitemcheckbox`, `menuitemradio`, or `menuitem` is invoked
8811
+ * @fires { Event } change - Fires a custom 'change' event when a non-submenu item with a role of `menuitemcheckbox`, `menuitemradio`, or `menuitem` is invoked
8321
8812
  *
8322
8813
  * @public
8323
8814
  */
@@ -8415,7 +8906,9 @@ export declare class MenuItem extends FASTElement {
8415
8906
  * Setup required ARIA on open/close
8416
8907
  * @internal
8417
8908
  */
8418
- toggleHandler: (e: Event) => void;
8909
+ handleToggle: (e: Event) => void;
8910
+ /** @internal */
8911
+ handleSubmenuFocusOut: (e: FocusEvent) => void;
8419
8912
  /**
8420
8913
  * @internal
8421
8914
  */
@@ -8439,11 +8932,11 @@ export declare interface MenuItem extends StartEnd {
8439
8932
  export declare type MenuItemColumnCount = 0 | 1 | 2;
8440
8933
 
8441
8934
  /**
8935
+ * The definition for the `<fluent-menu-item>` element.
8936
+ *
8442
8937
  * @public
8443
- * @remarks
8444
- * HTML Element: <fluent-menu-item>
8445
8938
  */
8446
- export declare const MenuItemDefinition: FASTElementDefinition<typeof MenuItem>;
8939
+ export declare const MenuItemDefinition: PartialFASTElementDefinition;
8447
8940
 
8448
8941
  /**
8449
8942
  * Menu Item configuration options
@@ -8487,7 +8980,7 @@ export declare const MenuItemStyles: ElementStyles;
8487
8980
  export declare const MenuItemTemplate: ElementViewTemplate<MenuItem>;
8488
8981
 
8489
8982
  /**
8490
- * A Menu Custom HTML Element.
8983
+ * A MenuList Custom HTML Element.
8491
8984
  * Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#menu | ARIA menu }.
8492
8985
  *
8493
8986
  * @tag fluent-menu-list
@@ -8496,82 +8989,19 @@ export declare const MenuItemTemplate: ElementViewTemplate<MenuItem>;
8496
8989
  *
8497
8990
  * @public
8498
8991
  */
8499
- export declare class MenuList extends FASTElement {
8500
- /**
8501
- * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
8502
- *
8503
- * @internal
8504
- */
8505
- elementInternals: ElementInternals;
8506
- /**
8507
- * @internal
8508
- */
8509
- items: HTMLElement[];
8510
- protected itemsChanged(oldValue: HTMLElement[], newValue: HTMLElement[]): void;
8511
- protected menuItems: Element[] | undefined;
8512
- /**
8513
- * The index of the focusable element in the items array
8514
- * defaults to -1
8515
- */
8516
- private focusIndex;
8517
- private static focusableElementRoles;
8518
- constructor();
8519
- /**
8520
- * @internal
8521
- */
8522
- connectedCallback(): void;
8523
- /**
8524
- * @internal
8525
- */
8992
+ export declare class MenuList extends BaseMenuList {
8993
+ private fg?;
8994
+ private fgItems?;
8526
8995
  disconnectedCallback(): void;
8527
- /**
8528
- * @internal
8529
- */
8530
- readonly isNestedMenu: () => boolean;
8531
- /**
8532
- * Focuses the first item in the menu.
8533
- *
8534
- * @public
8535
- */
8536
- focus(): void;
8537
- /**
8538
- * @internal
8539
- */
8540
- handleMenuKeyDown(e: KeyboardEvent): void | boolean;
8541
- /**
8542
- * if focus is moving out of the menu, reset to a stable initial state
8543
- * @internal
8544
- */
8545
- handleFocusOut: (e: FocusEvent) => void;
8546
- private handleItemFocus;
8547
- private removeItemListeners;
8548
- private static elementIndent;
8549
- protected setItems(): void;
8550
- /**
8551
- * Method for Observable changes to the hidden attribute of child elements
8552
- */
8553
- handleChange(source: any, propertyName: string): void;
8554
- /**
8555
- * Handle change from child MenuItem element and set radio group behavior
8556
- */
8557
- private changedMenuItemHandler;
8558
- /**
8559
- * check if the item is a menu item
8560
- */
8561
- protected isMenuItemElement: (el: Element) => el is HTMLElement;
8562
- /**
8563
- * check if the item is focusable
8564
- */
8565
- private isFocusableElement;
8566
- private setFocus;
8996
+ setItems(): void;
8567
8997
  }
8568
8998
 
8569
8999
  /**
9000
+ * The definition for the `<fluent-menu-list>` element.
9001
+ *
8570
9002
  * @public
8571
- * @remarks
8572
- * HTML Element: <fluent-menu-list>
8573
9003
  */
8574
- export declare const MenuListDefinition: FASTElementDefinition<typeof MenuList>;
9004
+ export declare const MenuListDefinition: PartialFASTElementDefinition;
8575
9005
 
8576
9006
  /** MenuList styles
8577
9007
  * @public
@@ -8594,7 +9024,9 @@ export declare const MenuTemplate: ElementViewTemplate<Menu>;
8594
9024
  *
8595
9025
  * @slot actions - Content that can be provided for the actions
8596
9026
  * @slot dismiss - Content that can be provided for the dismiss button
9027
+ * @slot icon - Content that can be provided for the leading icon
8597
9028
  * @slot - The default slot for the content
9029
+ * @fires { CustomEvent } dismiss - Fired when the message bar is dismissed.
8598
9030
  * @public
8599
9031
  */
8600
9032
  export declare class MessageBar extends FASTElement {
@@ -8630,24 +9062,24 @@ export declare class MessageBar extends FASTElement {
8630
9062
  */
8631
9063
  intent?: MessageBarIntent;
8632
9064
  /**
8633
- * @public
8634
9065
  * Method to emit a `dismiss` event when the message bar is dismissed
9066
+ *
9067
+ * @public
8635
9068
  */
8636
9069
  dismissMessageBar: () => void;
8637
9070
  }
8638
9071
 
8639
9072
  /**
8640
- * The Fluent MessageBar Element definition.
9073
+ * The definition for the `<fluent-message-bar>` element.
8641
9074
  *
8642
9075
  * @public
8643
- * @remarks
8644
- * HTML Element: `<fluent-message-bar>`
8645
9076
  */
8646
- export declare const MessageBarDefinition: FASTElementDefinition<typeof MessageBar>;
9077
+ export declare const MessageBarDefinition: PartialFASTElementDefinition;
8647
9078
 
8648
9079
  /**
8649
- * @public
8650
9080
  * The `intent` variations for the MessageBar component.
9081
+ *
9082
+ * @public
8651
9083
  */
8652
9084
  export declare const MessageBarIntent: {
8653
9085
  readonly success: "success";
@@ -8659,8 +9091,9 @@ export declare const MessageBarIntent: {
8659
9091
  export declare type MessageBarIntent = ValuesOf<typeof MessageBarIntent>;
8660
9092
 
8661
9093
  /**
8662
- * @public
8663
9094
  * The `layout` variations for the MessageBar component.
9095
+ *
9096
+ * @public
8664
9097
  */
8665
9098
  export declare const MessageBarLayout: {
8666
9099
  readonly multiline: "multiline";
@@ -8670,8 +9103,9 @@ export declare const MessageBarLayout: {
8670
9103
  export declare type MessageBarLayout = ValuesOf<typeof MessageBarLayout>;
8671
9104
 
8672
9105
  /**
8673
- * @public
8674
9106
  * The `shape` variations for the MessageBar component.
9107
+ *
9108
+ * @public
8675
9109
  */
8676
9110
  export declare const MessageBarShape: {
8677
9111
  readonly rounded: "rounded";
@@ -8689,15 +9123,31 @@ export declare const MessageBarStyles: ElementStyles;
8689
9123
 
8690
9124
  /**
8691
9125
  * The template for the MessageBar component.
8692
- * @type {ElementViewTemplate<MessageBar>}
9126
+ * @type ElementViewTemplate
8693
9127
  */
8694
9128
  export declare const MessageBarTemplate: ElementViewTemplate<MessageBar>;
8695
9129
 
9130
+ /**
9131
+ * Standard orientation values
9132
+ * @public
9133
+ */
9134
+ export declare const Orientation: {
9135
+ readonly horizontal: "horizontal";
9136
+ readonly vertical: "vertical";
9137
+ };
9138
+
9139
+ /**
9140
+ * The orientation type
9141
+ * @public
9142
+ */
9143
+ export declare type Orientation = (typeof Orientation)[keyof typeof Orientation];
9144
+
8696
9145
  /**
8697
9146
  * A Progress HTML Element.
8698
9147
  * Based on BaseProgressBar and includes style and layout specific attributes
8699
9148
  *
8700
9149
  * @tag fluent-progress-bar
9150
+ * @csspart indicator - The internal progress indicator element.
8701
9151
  *
8702
9152
  * @public
8703
9153
  */
@@ -8705,27 +9155,30 @@ export declare class ProgressBar extends BaseProgressBar {
8705
9155
  /**
8706
9156
  * The thickness of the progress bar
8707
9157
  *
8708
- * @public
9158
+ * The thickness of the progress bar
9159
+ *
8709
9160
  * HTML Attribute: `thickness`
9161
+ *
9162
+ * @public
8710
9163
  */
8711
9164
  thickness?: ProgressBarThickness;
8712
9165
  /**
8713
9166
  * The shape of the progress bar
8714
- * @public
9167
+ * The shape of the progress bar
9168
+ *
8715
9169
  * HTML Attribute: `shape`
9170
+ *
9171
+ * @public
8716
9172
  */
8717
9173
  shape?: ProgressBarShape;
8718
9174
  }
8719
9175
 
8720
9176
  /**
8721
- * The Fluent ProgressBar Element.
8722
- *
9177
+ * The definition for the `<fluent-progress-bar>` element.
8723
9178
  *
8724
9179
  * @public
8725
- * @remarks
8726
- * HTML Element: \<fluent-progress-bar\>
8727
9180
  */
8728
- export declare const ProgressBarDefinition: FASTElementDefinition<typeof ProgressBar>;
9181
+ export declare const ProgressBarDefinition: PartialFASTElementDefinition;
8729
9182
 
8730
9183
  /**
8731
9184
  * ProgressBarShape Constants
@@ -8789,8 +9242,9 @@ declare type PropertyNameForCalculation = 'max' | 'value';
8789
9242
  * @tag fluent-radio
8790
9243
  *
8791
9244
  * @slot checked-indicator - The checked indicator slot
8792
- * @fires change - Emits a custom change event when the checked state changes
8793
- * @fires input - Emits a custom input event when the checked state changes
9245
+ * @fires {Event} change - Emits a custom change event when the checked state changes
9246
+ * @fires {Event} input - Emits a custom input event when the checked state changes
9247
+ * @fires {CustomEvent} disabled - Emits a custom disabled event when the disabled state changes
8794
9248
  *
8795
9249
  * @public
8796
9250
  */
@@ -8811,7 +9265,7 @@ export declare class Radio extends BaseCheckbox {
8811
9265
  * @internal
8812
9266
  * @override
8813
9267
  * @remarks
8814
- * To make a group of radio controls required, see {@link RadioGroup.required}.
9268
+ * To make a group of radio controls required, see `RadioGroup.required`.
8815
9269
  */
8816
9270
  protected requiredChanged(): void;
8817
9271
  /**
@@ -8824,331 +9278,62 @@ export declare class Radio extends BaseCheckbox {
8824
9278
  */
8825
9279
  setFormValue(): void;
8826
9280
  /**
8827
- * Sets the validity of the control.
8828
- *
8829
- * @internal
8830
- * @override
8831
- * @remarks
8832
- * The radio component does not have a `required` attribute, so this method always sets the validity to `true`.
8833
- */
8834
- setValidity(): void;
8835
- /**
8836
- * Toggles the checked state of the control.
8837
- *
8838
- * @param force - Forces the element to be checked or unchecked
8839
- * @public
8840
- * @override
8841
- * @remarks
8842
- * The radio checked state is controlled by the `RadioGroup` component, so the `force` parameter defaults to `true`.
8843
- */
8844
- toggleChecked(force?: boolean): void;
8845
- }
8846
-
8847
- /**
8848
- * @public
8849
- */
8850
- export declare type RadioControl = Pick<HTMLInputElement, 'checked' | 'disabled' | 'focus' | 'setAttribute' | 'getAttribute'>;
8851
-
8852
- /**
8853
- * The Fluent Radio Element.
8854
- *
8855
- *
8856
- * @public
8857
- * @remarks
8858
- * HTML Element: \<fluent-radio\>
8859
- */
8860
- export declare const RadioDefinition: FASTElementDefinition<typeof Radio>;
8861
-
8862
- /**
8863
- * A Radio Group Custom HTML Element.
8864
- * Implements the {@link https://w3c.github.io/aria/#radiogroup | ARIA `radiogroup` role}.
8865
- *
8866
- * @tag fluent-radio-group
8867
- *
8868
- * @public
8869
- *
8870
- * @slot - The default slot for the radio group
8871
- */
8872
- export declare class RadioGroup extends FASTElement {
8873
- /**
8874
- * The index of the checked radio, scoped to the enabled radios.
8875
- *
8876
- * @internal
8877
- */
8878
- protected checkedIndex: number;
8879
- /**
8880
- * Sets the checked state of the nearest enabled radio when the `checkedIndex` changes.
8881
- *
8882
- * @param prev - the previous index
8883
- * @param next - the current index
8884
- * @internal
8885
- */
8886
- protected checkedIndexChanged(prev: number | undefined, next: number): void;
8887
- /**
8888
- * Indicates that the value has been changed by the user.
8889
- */
8890
- private dirtyState;
8891
- /**
8892
- * Disables the radio group and child radios.
8893
- *
8894
- * @public
8895
- * @remarks
8896
- * HTML Attribute: `disabled`
8897
- */
8898
- disabled: boolean;
8899
- /**
8900
- * Sets the `disabled` attribute on all child radios when the `disabled` property changes.
8901
- *
8902
- * @param prev - the previous disabled value
8903
- * @param next - the current disabled value
8904
- * @internal
8905
- */
8906
- protected disabledChanged(prev?: boolean, next?: boolean): void;
8907
- /**
8908
- * The value of the checked radio.
8909
- *
8910
- * @public
8911
- * @remarks
8912
- * HTML Attribute: `value`
8913
- */
8914
- initialValue?: string;
8915
- /**
8916
- * Sets the matching radio to checked when the value changes. If no radio matches the value, no radio will be checked.
8917
- *
8918
- * @param prev - the previous value
8919
- * @param next - the current value
8920
- */
8921
- initialValueChanged(prev: string | undefined, next: string | undefined): void;
8922
- /**
8923
- * The name of the radio group.
8924
- *
8925
- * @public
8926
- * @remarks
8927
- * HTML Attribute: `name`
8928
- */
8929
- name: string;
8930
- /**
8931
- * Sets the `name` attribute on all child radios when the `name` property changes.
8932
- *
8933
- * @internal
8934
- */
8935
- protected nameChanged(prev: string | undefined, next: string | undefined): void;
8936
- /**
8937
- * The orientation of the group.
8938
- *
8939
- * @public
8940
- * @remarks
8941
- * HTML Attribute: `orientation`
8942
- */
8943
- orientation?: RadioGroupOrientation;
8944
- /**
8945
- * Sets the ariaOrientation attribute when the orientation changes.
8946
- *
8947
- * @param prev - the previous orientation
8948
- * @param next - the current orientation
8949
- * @internal
8950
- */
8951
- orientationChanged(prev: RadioGroupOrientation | undefined, next: RadioGroupOrientation | undefined): void;
8952
- /**
8953
- * The collection of all child radios.
8954
- *
8955
- * @public
8956
- */
8957
- radios: Radio[];
8958
- /**
8959
- * Updates the enabled radios collection when properties on the child radios change.
8960
- *
8961
- * @param prev - the previous radios
8962
- * @param next - the current radios
8963
- */
8964
- radiosChanged(prev: Radio[] | undefined, next: Radio[] | undefined): void;
8965
- /**
8966
- * Indicates whether the radio group is required.
8967
- *
8968
- * @public
8969
- * @remarks
8970
- * HTML Attribute: `required`
8971
- */
8972
- required: boolean;
8973
- /**
8974
- *
8975
- * @param prev - the previous required value
8976
- * @param next - the current required value
8977
- */
8978
- requiredChanged(prev: boolean, next: boolean): void;
8979
- /**
8980
- * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
8981
- *
8982
- * @internal
8983
- */
8984
- elementInternals: ElementInternals;
8985
- /**
8986
- * A collection of child radios that are not disabled.
8987
- *
8988
- * @internal
8989
- */
8990
- get enabledRadios(): Radio[];
8991
- /**
8992
- * The form-associated flag.
8993
- * @see {@link https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-face-example | Form-associated custom elements}
8994
- *
8995
- * @public
8996
- */
8997
- static formAssociated: boolean;
8998
- /**
8999
- * The fallback validation message, taken from a native checkbox `<input>` element.
9000
- *
9001
- * @internal
9002
- */
9003
- private _validationFallbackMessage;
9004
- /**
9005
- * The validation message. Uses the browser's default validation message for native checkboxes if not otherwise
9006
- * specified (e.g., via `setCustomValidity`).
9007
- *
9008
- * @internal
9009
- */
9010
- get validationMessage(): string;
9011
- /**
9012
- * The element's validity state.
9013
- *
9014
- * @public
9015
- * @remarks
9016
- * Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/validity | `ElementInternals.validity`} property.
9017
- */
9018
- get validity(): ValidityState;
9019
- /**
9020
- * The current value of the checked radio.
9021
- *
9022
- * @public
9023
- */
9024
- get value(): string | null;
9025
- set value(next: string | null);
9026
- /**
9027
- * Sets the checked state of all radios when any radio emits a `change` event.
9028
- *
9029
- * @param e - the change event
9030
- */
9031
- changeHandler(e: Event): boolean | void;
9032
- /**
9033
- * Checks the radio at the specified index.
9034
- *
9035
- * @param index - the index of the radio to check
9036
- * @internal
9037
- */
9038
- checkRadio(index?: number, shouldEmit?: boolean): void;
9039
- /**
9040
- * Checks the validity of the element and returns the result.
9041
- *
9042
- * @public
9043
- * @remarks
9044
- * Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/checkValidity | `HTMLInputElement.checkValidity()`} method.
9045
- */
9046
- checkValidity(): boolean;
9047
- /**
9048
- * Handles click events for the radio group.
9049
- *
9050
- * @param e - the click event
9051
- * @internal
9052
- */
9053
- clickHandler(e: MouseEvent): boolean | void;
9054
- constructor();
9055
- /**
9056
- * Focuses the checked radio or the first enabled radio.
9057
- *
9058
- * @internal
9059
- */
9060
- focus(): void;
9061
- /**
9062
- * Enables tabbing through the radio group when the group receives focus.
9063
- *
9064
- * @param e - the focus event
9065
- * @internal
9066
- */
9067
- focusinHandler(e: FocusEvent): boolean | void;
9068
- /**
9069
- * Sets the tabindex of the radios based on the checked state when the radio group loses focus.
9070
- *
9071
- * @param e - the focusout event
9072
- * @internal
9073
- */
9074
- focusoutHandler(e: FocusEvent): boolean | void;
9075
- formResetCallback(): void;
9076
- private getEnabledIndexInBounds;
9077
- /**
9078
- * Handles keydown events for the radio group.
9079
- *
9080
- * @param e - the keyboard event
9081
- * @internal
9082
- */
9083
- keydownHandler(e: KeyboardEvent): boolean | void;
9084
- /**
9085
- *
9086
- * @param e - the disabled event
9087
- */
9088
- disabledRadioHandler(e: CustomEvent): void;
9089
- /**
9090
- * Reports the validity of the element.
9091
- *
9092
- * @public
9093
- * @remarks
9094
- * Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/reportValidity | `HTMLInputElement.reportValidity()`} method.
9095
- */
9096
- reportValidity(): boolean;
9097
- /**
9098
- * Resets the `tabIndex` for all child radios when the radio group loses focus.
9099
- *
9100
- * @internal
9101
- */
9102
- private restrictFocus;
9103
- /**
9104
- * Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/setFormValue | `ElementInternals.setFormValue()`} method.
9105
- *
9106
- * @internal
9107
- */
9108
- setFormValue(value: File | string | FormData | null, state?: File | string | FormData | null): void;
9109
- /**
9110
- * Sets the validity of the element.
9111
- *
9112
- * @param flags - Validity flags to set.
9113
- * @param message - Optional message to supply. If not provided, the element's `validationMessage` will be used.
9114
- * @param anchor - Optional anchor to use for the validation message.
9281
+ * Sets the validity of the control.
9115
9282
  *
9116
9283
  * @internal
9284
+ * @override
9117
9285
  * @remarks
9118
- * RadioGroup validation is reported through the individual Radio elements rather than the RadioGroup itself.
9119
- * This is necessary because:
9120
- * 1. Each Radio is form-associated (extends BaseCheckbox which has `formAssociated = true`)
9121
- * 2. Browser validation UIs and screen readers announce validation against individual form controls
9122
- * 3. For groups like RadioGroup, the browser needs to report the error on a specific member of the group
9123
- * 4. We anchor the error to the first Radio so it receives focus and announcement
9124
- *
9125
- * When the group is invalid (required but no selection):
9126
- * - Only the first Radio gets the invalid state with the validation message
9127
- * - Other Radios are kept valid since selecting any of them would satisfy the requirement
9128
- *
9129
- * When the group becomes valid (user selects any Radio):
9130
- * - All Radios are cleared back to valid state
9131
- * - This allows form submission to proceed
9286
+ * The radio component does not have a `required` attribute, so this method always sets the validity to `true`.
9132
9287
  */
9133
- setValidity(flags?: Partial<ValidityState>, message?: string, anchor?: HTMLElement): void;
9288
+ setValidity(): void;
9134
9289
  /**
9135
- * Updates the collection of child radios when the slot changes.
9290
+ * Toggles the checked state of the control.
9136
9291
  *
9137
- * @param e - the slot change event
9138
- * @internal
9292
+ * @param force - Forces the element to be checked or unchecked
9293
+ * @public
9294
+ * @override
9295
+ * @remarks
9296
+ * The radio checked state is controlled by the `RadioGroup` component, so the `force` parameter defaults to `true`.
9139
9297
  */
9140
- slotchangeHandler(e: Event): void;
9298
+ toggleChecked(force?: boolean): void;
9141
9299
  }
9142
9300
 
9143
9301
  /**
9144
- * The Fluent RadioGroup Element.
9302
+ * @public
9303
+ */
9304
+ export declare type RadioControl = Pick<HTMLInputElement, 'checked' | 'disabled' | 'focus' | 'setAttribute' | 'getAttribute'>;
9305
+
9306
+ /**
9307
+ * The definition for the `<fluent-radio>` element.
9308
+ *
9309
+ * @public
9310
+ */
9311
+ export declare const RadioDefinition: PartialFASTElementDefinition;
9312
+
9313
+ /**
9314
+ * A Radio Group Custom HTML Element.
9315
+ * Implements the {@link https://w3c.github.io/aria/#radiogroup | ARIA `radiogroup` role}.
9316
+ *
9317
+ * @tag fluent-radio-group
9318
+ *
9319
+ * @slot - The default slot for the radio group
9320
+ * @fires { Event } change - Fired when the selected radio changes.
9145
9321
  *
9322
+ * @public
9323
+ */
9324
+ export declare class RadioGroup extends BaseRadioGroup {
9325
+ private fg;
9326
+ private fgItems;
9327
+ disconnectedCallback(): void;
9328
+ radiosChanged(prev: Radio[] | undefined, next: Radio[] | undefined): void;
9329
+ }
9330
+
9331
+ /**
9332
+ * The definition for the `<fluent-radio-group>` element.
9146
9333
  *
9147
9334
  * @public
9148
- * @remarks
9149
- * HTML Element: \<fluent-radio-group\>
9150
9335
  */
9151
- export declare const RadioGroupDefinition: FASTElementDefinition<typeof RadioGroup>;
9336
+ export declare const RadioGroupDefinition: PartialFASTElementDefinition;
9152
9337
 
9153
9338
  /**
9154
9339
  * Radio Group orientation
@@ -9248,13 +9433,11 @@ export declare const RatingDisplayColor: {
9248
9433
  export declare type RatingDisplayColor = ValuesOf<typeof RatingDisplayColor>;
9249
9434
 
9250
9435
  /**
9251
- * The definition for the Fluent Rating Display component.
9436
+ * The definition for the `<fluent-rating-display>` element.
9252
9437
  *
9253
9438
  * @public
9254
- * @remarks
9255
- * HTML Element: `<fluent-rating-display>`
9256
9439
  */
9257
- export declare const RatingDisplayDefinition: FASTElementDefinition<typeof RatingDisplay>;
9440
+ export declare const RatingDisplayDefinition: PartialFASTElementDefinition;
9258
9441
 
9259
9442
  /**
9260
9443
  * The size of a Rating Display can be `small`, `medium`, or `large`.
@@ -9308,16 +9491,10 @@ export declare const roleForMenuItem: {
9308
9491
  * as each entry’s value is either a string or a number.
9309
9492
  * @param node - The node to set the theme on, defaults to `document` for
9310
9493
  * setting global theme.
9311
- * @internal
9494
+ * @public
9312
9495
  */
9313
9496
  export declare function setTheme(theme: Theme | null, node?: Document | HTMLElement): void;
9314
9497
 
9315
- /**
9316
- * @internal
9317
- * @deprecated Use `setTheme(theme, element)` instead.
9318
- */
9319
- export declare function setThemeFor(element: HTMLElement, theme: Theme | null): void;
9320
-
9321
9498
  /**
9322
9499
  * CSS custom property value for the {@link @fluentui/tokens#shadow16 | `shadow16`} design token.
9323
9500
  * @public
@@ -9398,7 +9575,7 @@ export declare const shadow8Brand = "var(--shadow8Brand)";
9398
9575
  * @slot thumb - The slot for a custom thumb element.
9399
9576
  * @csspart thumb-container - The container element of the thumb.
9400
9577
  * @csspart track-container - The container element of the track.
9401
- * @fires change - Fires a custom 'change' event when the value changes.
9578
+ * @fires { Event } change - Fires a custom 'change' event when the value changes.
9402
9579
  *
9403
9580
  * @public
9404
9581
  */
@@ -9608,6 +9785,13 @@ export declare class Slider extends FASTElement implements SliderConfiguration {
9608
9785
  */
9609
9786
  disabled: boolean;
9610
9787
  protected disabledChanged(): void;
9788
+ /**
9789
+ * Returns true if the component is disabled, taking into account the `disabled`
9790
+ * attribute, `aria-disabled` attribute, and the `:disabled` pseudo-class.
9791
+ *
9792
+ * @internal
9793
+ */
9794
+ protected get isDisabled(): boolean;
9611
9795
  /**
9612
9796
  * The minimum allowed value.
9613
9797
  *
@@ -9678,9 +9862,6 @@ export declare class Slider extends FASTElement implements SliderConfiguration {
9678
9862
  */
9679
9863
  mode: SliderMode;
9680
9864
  constructor();
9681
- /**
9682
- * @internal
9683
- */
9684
9865
  connectedCallback(): void;
9685
9866
  /**
9686
9867
  * @internal
@@ -9758,14 +9939,11 @@ export declare interface SliderConfiguration {
9758
9939
  }
9759
9940
 
9760
9941
  /**
9761
- * The Fluent Slider Element.
9762
- *
9942
+ * The definition for the `<fluent-slider>` element.
9763
9943
  *
9764
9944
  * @public
9765
- * @remarks
9766
- * HTML Element: \<fluent-slider\>
9767
9945
  */
9768
- export declare const SliderDefinition: FASTElementDefinition<typeof Slider>;
9946
+ export declare const SliderDefinition: PartialFASTElementDefinition;
9769
9947
 
9770
9948
  /**
9771
9949
  * @public
@@ -10011,11 +10189,11 @@ export declare const SpinnerAppearance: {
10011
10189
  export declare type SpinnerAppearance = ValuesOf<typeof SpinnerAppearance>;
10012
10190
 
10013
10191
  /**
10192
+ * The definition for the `<fluent-spinner>` element.
10193
+ *
10014
10194
  * @public
10015
- * @remarks
10016
- * HTML Element: \<fluent-spinner\>
10017
10195
  */
10018
- export declare const SpinnerDefinition: FASTElementDefinition<typeof Spinner>;
10196
+ export declare const SpinnerDefinition: PartialFASTElementDefinition;
10019
10197
 
10020
10198
  /**
10021
10199
  * SpinnerSize constants
@@ -10129,6 +10307,7 @@ export { styles as MenuButtonStyles }
10129
10307
  * Based on BaseCheckbox and includes style and layout specific attributes
10130
10308
  *
10131
10309
  * @tag fluent-switch
10310
+ * @csspart checked-indicator - The internal switch indicator element.
10132
10311
  *
10133
10312
  */
10134
10313
  export declare class Switch extends BaseCheckbox {
@@ -10136,13 +10315,11 @@ export declare class Switch extends BaseCheckbox {
10136
10315
  }
10137
10316
 
10138
10317
  /**
10139
- * The Fluent Switch Element.
10318
+ * The definition for the `<fluent-switch>` element.
10140
10319
  *
10141
10320
  * @public
10142
- * @remarks
10143
- * HTML Element: \<fluent-switch\>
10144
10321
  */
10145
- export declare const SwitchDefinition: FASTElementDefinition<typeof Switch>;
10322
+ export declare const SwitchDefinition: PartialFASTElementDefinition;
10146
10323
 
10147
10324
  /**
10148
10325
  * SwitchLabelPosition Constants
@@ -10181,43 +10358,43 @@ export declare class Tab extends FASTElement {
10181
10358
  * HTML Attribute: disabled
10182
10359
  */
10183
10360
  disabled: boolean;
10184
- private styles;
10361
+ protected disabledChanged(prev: boolean, next: boolean): void;
10362
+ /**
10363
+ * Internal text content stylesheet, used to set the content of the `::after`
10364
+ * pseudo element to prevent layout shift when the font weight changes on selection.
10365
+ * @internal
10366
+ */
10367
+ private styles?;
10368
+ /**
10369
+ * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
10370
+ *
10371
+ * @internal
10372
+ */
10373
+ elementInternals: ElementInternals;
10374
+ constructor();
10185
10375
  connectedCallback(): void;
10376
+ private setDisabledSideEffect;
10186
10377
  }
10187
10378
 
10188
10379
  export declare interface Tab extends StartEnd {
10189
10380
  }
10190
10381
 
10191
- export declare const TabDefinition: FASTElementDefinition<typeof Tab>;
10382
+ /**
10383
+ * The definition for the `<fluent-tab>` element.
10384
+ *
10385
+ * @public
10386
+ */
10387
+ export declare const TabDefinition: PartialFASTElementDefinition;
10192
10388
 
10193
10389
  /**
10194
- * A BaseTablist component with extra logic for handling the styled active tab indicator.
10390
+ * A Tablist component.
10195
10391
  *
10196
10392
  * @tag fluent-tablist
10393
+ * @fires { Event } change - Fired when the active tab changes.
10197
10394
  *
10198
10395
  * @public
10199
10396
  */
10200
10397
  export declare class Tablist extends BaseTablist {
10201
- /**
10202
- * activeTabData
10203
- * The positional coordinates and size dimensions of the active tab. Used for calculating the offset and scale of the tab active indicator.
10204
- */
10205
- private activeTabData;
10206
- /**
10207
- * previousActiveTabData
10208
- * The positional coordinates and size dimensions of the active tab. Used for calculating the offset and scale of the tab active indicator.
10209
- */
10210
- private previousActiveTabData;
10211
- /**
10212
- * activeTabOffset
10213
- * Used to position the active indicator for animations of the active indicator on active tab changes.
10214
- */
10215
- private activeTabOffset;
10216
- /**
10217
- * activeTabScale
10218
- * Used to scale the tab active indicator up or down as animations of the active indicator occur.
10219
- */
10220
- private activeTabScale;
10221
10398
  /**
10222
10399
  * appearance
10223
10400
  * There are two modes of appearance: transparent and subtle.
@@ -10229,58 +10406,10 @@ export declare class Tablist extends BaseTablist {
10229
10406
  * Used to set the size of all the tab controls, which effects text size and margins. Three sizes: small, medium and large.
10230
10407
  */
10231
10408
  size?: TablistSize;
10232
- /**
10233
- * calculateAnimationProperties
10234
- *
10235
- * Recalculates the active tab offset and scale.
10236
- * These values will be applied to css variables that control the tab active indicator position animations
10237
- */
10238
- private calculateAnimationProperties;
10239
- /**
10240
- * getSelectedTabPosition - gets the x or y coordinates of the tab
10241
- */
10242
- private getTabPosition;
10243
- /**
10244
- * getSelectedTabScale - gets the scale of the tab
10245
- */
10246
- private getTabScale;
10247
- /**
10248
- * Calculates and applies updated values to CSS variables.
10249
- *
10250
- * @param tab - the tab element to apply the updated values to
10251
- * @internal
10252
- */
10253
- private applyUpdatedCSSValues;
10254
- /**
10255
- * Runs through all the operations required for setting the tab active indicator to its starting location, ending
10256
- * location, and applying the animated css class to the tab.
10257
- *
10258
- * @param tab - the tab element to apply the updated values to
10259
- * @internal
10260
- */
10261
- private animationLoop;
10262
- /**
10263
- * Sets the data from the active tab onto the class. used for making all the animation calculations for the active
10264
- * tab indicator.
10265
- *
10266
- * @internal
10267
- */
10268
- private setTabData;
10269
- /**
10270
- * Sets the css variables for the active tab indicator.
10271
- * @internal
10272
- */
10273
- private setAnimationVars;
10274
- /**
10275
- * Initiates the active tab indicator animation loop when activeid changes.
10276
- * @param oldValue - the previous tabId
10277
- * @param newValue - the new tabId
10278
- */
10279
- activeidChanged(oldValue: string, newValue: string): void;
10280
- /**
10281
- * Initiates the active tab indicator animation loop when tabs change.
10282
- */
10283
- tabsChanged(): void;
10409
+ private fg?;
10410
+ private fgItems?;
10411
+ disconnectedCallback(): void;
10412
+ tabsChanged(prev: Tab[] | undefined, next: Tab[] | undefined): void;
10284
10413
  }
10285
10414
 
10286
10415
  /**
@@ -10299,11 +10428,11 @@ export declare const TablistAppearance: {
10299
10428
  export declare type TablistAppearance = ValuesOf<typeof TablistAppearance>;
10300
10429
 
10301
10430
  /**
10431
+ * The definition for the `<fluent-tablist>` element.
10432
+ *
10302
10433
  * @public
10303
- * @remarks
10304
- * HTML Element: \<fluent-tablist\>
10305
10434
  */
10306
- export declare const TablistDefinition: FASTElementDefinition<typeof Tablist>;
10435
+ export declare const TablistDefinition: PartialFASTElementDefinition;
10307
10436
 
10308
10437
  /**
10309
10438
  * The orientation of the component
@@ -10352,167 +10481,6 @@ export declare const TablistTemplate: ViewTemplate<Tablist, any>;
10352
10481
  */
10353
10482
  export declare type TabOptions = StartEndOptions<Tab>;
10354
10483
 
10355
- /**
10356
- * @deprecated - Use tablist instead
10357
- *
10358
- * @tag fluent-tab-panel
10359
- */
10360
- export declare class TabPanel extends FASTElement {
10361
- }
10362
-
10363
- /**
10364
- * @deprecated - Use tablist instead
10365
- */
10366
- export declare const TabPanelDefinition: FASTElementDefinition<typeof TabPanel>;
10367
-
10368
- export declare const TabPanelStyles: ElementStyles;
10369
-
10370
- export declare const TabPanelTemplate: ElementViewTemplate<TabPanel, any>;
10371
-
10372
- /**
10373
- * @deprecated - Use tablist instead
10374
- *
10375
- * @tag fluent-tabs
10376
- */
10377
- export declare class Tabs extends BaseTabs {
10378
- /**
10379
- * activeTabData
10380
- * The positional coordinates and size dimensions of the active tab. Used for calculating the offset and scale of the tab active indicator.
10381
- */
10382
- private activeTabData;
10383
- /**
10384
- * previousActiveTabData
10385
- * The positional coordinates and size dimensions of the active tab. Used for calculating the offset and scale of the tab active indicator.
10386
- */
10387
- private previousActiveTabData;
10388
- /**
10389
- * activeTabOffset
10390
- * Used to position the active indicator for animations of the active indicator on active tab changes.
10391
- */
10392
- private activeTabOffset;
10393
- /**
10394
- * activeTabScale
10395
- * Used to scale the tab active indicator up or down as animations of the active indicator occur.
10396
- */
10397
- private activeTabScale;
10398
- /**
10399
- * styles
10400
- * used in the class for storing the css variables required for animations
10401
- */
10402
- private styles;
10403
- /**
10404
- * appearance
10405
- * There are two modes of appearance: transparent and subtle.
10406
- */
10407
- appearance?: TabsAppearance;
10408
- /**
10409
- * disabled
10410
- * Used for disabling all click and keyboard events for the tabs, child tab elements and tab panel elements. UI styling of content and tabs will appear as "grayed out."
10411
- */
10412
- disabled?: boolean;
10413
- /**
10414
- * size
10415
- * defaults to medium.
10416
- * Used to set the size of all the tab controls, which effects text size and margins. Three sizes: small, medium and large.
10417
- */
10418
- size?: TabsSize;
10419
- /**
10420
- * calculateAnimationProperties
10421
- *
10422
- * Recalculates the active tab offset and scale.
10423
- * These values will be applied to css variables that control the tab active indicator position animations
10424
- */
10425
- private calculateAnimationProperties;
10426
- /**
10427
- * getSelectedTabPosition - gets the x or y coordinates of the tab
10428
- */
10429
- private getTabPosition;
10430
- /**
10431
- * getSelectedTabScale - gets the scale of the tab
10432
- */
10433
- private getTabScale;
10434
- /**
10435
- * Calculates and applies updated values to CSS variables.
10436
- *
10437
- * @param tab - the tab element to apply the updated values to
10438
- * @internal
10439
- */
10440
- private applyUpdatedCSSValues;
10441
- /**
10442
- * Runs through all the operations required for setting the tab active indicator to its starting location, ending
10443
- * location, and applying the animated css class to the tab.
10444
- *
10445
- * @param tab - the tab element to apply the updated values to
10446
- * @internal
10447
- */
10448
- private animationLoop;
10449
- /**
10450
- * Gets the position data for a tab element relative to its parent
10451
- * @param tab - The tab element to get position data for
10452
- * @returns The position data for the tab
10453
- */
10454
- private getTabPositionData;
10455
- /**
10456
- * Sets the data from the active tab onto the class. used for making all the animation calculations for the active
10457
- * tab indicator.
10458
- *
10459
- * @internal
10460
- */
10461
- private setTabData;
10462
- private setTabOffsetCSSVar;
10463
- private setTabScaleCSSVar;
10464
- activeidChanged(oldValue: string, newValue: string): void;
10465
- tabsChanged(): void;
10466
- }
10467
-
10468
- export declare interface Tabs extends StartEnd {
10469
- }
10470
-
10471
- export declare const TabsAppearance: {
10472
- readonly subtle: "subtle";
10473
- readonly transparent: "transparent";
10474
- };
10475
-
10476
- export declare type TabsAppearance = ValuesOf<typeof TabsAppearance>;
10477
-
10478
- /**
10479
- * @deprecated - Use tablist instead
10480
- */
10481
- export declare const TabsDefinition: FASTElementDefinition<typeof Tabs>;
10482
-
10483
- /**
10484
- * Tabs option configuration options
10485
- * @public
10486
- */
10487
- export declare type TabsOptions = StartEndOptions<Tabs>;
10488
-
10489
- /**
10490
- * The orientation of the component
10491
- * @public
10492
- */
10493
- export declare const TabsOrientation: {
10494
- readonly horizontal: "horizontal";
10495
- readonly vertical: "vertical";
10496
- };
10497
-
10498
- /**
10499
- * The types for the Tabs component
10500
- * @public
10501
- */
10502
- export declare type TabsOrientation = ValuesOf<typeof TabsOrientation>;
10503
-
10504
- export declare const TabsSize: {
10505
- readonly small: "small";
10506
- readonly medium: "medium";
10507
- readonly large: "large";
10508
- };
10509
-
10510
- export declare type TabsSize = ValuesOf<typeof TabsSize>;
10511
-
10512
- export declare const TabsStyles: ElementStyles;
10513
-
10514
- export declare const TabsTemplate: ElementViewTemplate<Tabs, any>;
10515
-
10516
10484
  export declare const TabStyles: ElementStyles;
10517
10485
 
10518
10486
  export declare const TabTemplate: ElementViewTemplate<Tab, any>;
@@ -10522,6 +10490,8 @@ export declare const TabTemplate: ElementViewTemplate<Tab, any>;
10522
10490
  *
10523
10491
  * @tag fluent-text
10524
10492
  *
10493
+ * @slot - The default slot for the text content of the component. Can be any valid HTML element, but is typically a semantic element such as a heading or paragraph.
10494
+ *
10525
10495
  * @public
10526
10496
  */
10527
10497
  declare class Text_2 extends FASTElement {
@@ -10713,13 +10683,11 @@ export declare const TextAreaAutocomplete: {
10713
10683
  export declare type TextAreaAutocomplete = ValuesOf<typeof TextAreaAutocomplete>;
10714
10684
 
10715
10685
  /**
10716
- * The Fluent Textarea Element definition.
10686
+ * The definition for the `<fluent-textarea>` element.
10717
10687
  *
10718
10688
  * @public
10719
- * @remarks
10720
- * HTML Element: `<fluent-textarea>`
10721
10689
  */
10722
- export declare const TextAreaDefinition: FASTElementDefinition<typeof TextArea>;
10690
+ export declare const TextAreaDefinition: PartialFASTElementDefinition;
10723
10691
 
10724
10692
  /**
10725
10693
  * Values for the `resize` attribute on TextArea elements.
@@ -10759,14 +10727,11 @@ export declare const TextAreaStyles: ElementStyles;
10759
10727
  export declare const TextAreaTemplate: ElementViewTemplate<TextArea>;
10760
10728
 
10761
10729
  /**
10762
- * The Fluent Text Element.
10763
- *
10730
+ * The definition for the `<fluent-text>` element.
10764
10731
  *
10765
10732
  * @public
10766
- * @remarks
10767
- * HTML Element: \<fluent-text\>
10768
10733
  */
10769
- export declare const TextDefinition: FASTElementDefinition<typeof Text_2>;
10734
+ export declare const TextDefinition: PartialFASTElementDefinition;
10770
10735
 
10771
10736
  /**
10772
10737
  * TextFont Constants
@@ -10789,6 +10754,8 @@ export declare type TextFont = ValuesOf<typeof TextFont>;
10789
10754
  * Based on BaseTextInput and includes style and layout specific attributes
10790
10755
  *
10791
10756
  * @tag fluent-text-input
10757
+ * @fires { Event } change - Fired when the input value is committed via a change event.
10758
+ * @fires { Event } select - Fires when the `select()` method is called.
10792
10759
  *
10793
10760
  * @public
10794
10761
  */
@@ -10849,13 +10816,11 @@ export declare const TextInputControlSize: {
10849
10816
  export declare type TextInputControlSize = ValuesOf<typeof TextInputControlSize>;
10850
10817
 
10851
10818
  /**
10852
- * The Fluent TextInput Element definition.
10819
+ * The definition for the `<fluent-text-input>` element.
10853
10820
  *
10854
10821
  * @public
10855
- * @remarks
10856
- * HTML Element: `<fluent-text-input>`
10857
10822
  */
10858
- export declare const TextInputDefinition: FASTElementDefinition<typeof TextInput>;
10823
+ export declare const TextInputDefinition: PartialFASTElementDefinition;
10859
10824
 
10860
10825
  /**
10861
10826
  * TextInput configuration options.
@@ -10945,7 +10910,7 @@ export declare type TextWeight = ValuesOf<typeof TextWeight>;
10945
10910
  /**
10946
10911
  * Not using the `Theme` type from `@fluentui/tokens` package to allow custom
10947
10912
  * tokens to be added.
10948
- * @internal
10913
+ * @public
10949
10914
  */
10950
10915
  export declare type Theme = Record<string, string | number>;
10951
10916
 
@@ -11020,12 +10985,11 @@ export declare const ToggleButtonAppearance: {
11020
10985
  export declare type ToggleButtonAppearance = ValuesOf<typeof ToggleButtonAppearance>;
11021
10986
 
11022
10987
  /**
10988
+ * The definition for the `<fluent-toggle-button>` element.
11023
10989
  *
11024
10990
  * @public
11025
- * @remarks
11026
- * HTML Element: \<fluent-toggle-button\>
11027
10991
  */
11028
- export declare const ToggleButtonDefinition: FASTElementDefinition<typeof ToggleButton>;
10992
+ export declare const ToggleButtonDefinition: PartialFASTElementDefinition;
11029
10993
 
11030
10994
  /**
11031
10995
  * A Toggle Button can be square, circular or rounded.
@@ -11080,6 +11044,8 @@ export declare const ToggleButtonTemplate: ElementViewTemplate<ToggleButton>;
11080
11044
  *
11081
11045
  * @tag fluent-tooltip
11082
11046
  *
11047
+ * @slot - The default slot. Accepts the content of the tooltip.
11048
+ *
11083
11049
  * @public
11084
11050
  */
11085
11051
  export declare class Tooltip extends FASTElement {
@@ -11133,13 +11099,13 @@ export declare class Tooltip extends FASTElement {
11133
11099
  disconnectedCallback(): void;
11134
11100
  /**
11135
11101
  * Shows the tooltip
11136
- * @param delay Number of milliseconds to delay showing the tooltip
11102
+ * @param delay - Number of milliseconds to delay showing the tooltip
11137
11103
  * @internal
11138
11104
  */
11139
11105
  showTooltip(delay?: number): void;
11140
11106
  /**
11141
11107
  * Hide the tooltip
11142
- * @param delay Number of milliseconds to delay hiding the tooltip
11108
+ * @param delay - Number of milliseconds to delay hiding the tooltip
11143
11109
  * @internal
11144
11110
  */
11145
11111
  hideTooltip(delay?: number): void;
@@ -11159,17 +11125,24 @@ export declare class Tooltip extends FASTElement {
11159
11125
  * Hide the tooltip on blur
11160
11126
  */
11161
11127
  blurAnchorHandler: () => void;
11128
+ /**
11129
+ * Indicates whether the tooltip styles have been applied for browsers that do not support anchor positioning.
11130
+ * @internal
11131
+ */
11132
+ private anchorPositioningReady;
11133
+ /**
11134
+ * Sets fallback styles for the tooltip for browsers that do not support CSS anchor positioning.
11135
+ * @internal
11136
+ */
11162
11137
  private setFallbackStyles;
11163
11138
  }
11164
11139
 
11165
11140
  /**
11166
- * The {@link Tooltip } custom element definition.
11141
+ * The definition for the `<fluent-tooltip>` element.
11167
11142
  *
11168
11143
  * @public
11169
- * @remarks
11170
- * HTML Element: `<fluent-tooltip>`
11171
11144
  */
11172
- export declare const TooltipDefinition: FASTElementDefinition<typeof Tooltip>;
11145
+ export declare const TooltipDefinition: PartialFASTElementDefinition;
11173
11146
 
11174
11147
  /**
11175
11148
  * The TooltipPositioning options and their corresponding CSS values
@@ -11217,43 +11190,68 @@ export declare const TooltipTemplate: ViewTemplate<Tooltip, any>;
11217
11190
  export declare class Tree extends BaseTree {
11218
11191
  /**
11219
11192
  * The size of the tree item element
11220
- * @public
11193
+ * The size of the tree item element
11194
+ *
11221
11195
  * HTML Attribute: size
11196
+ *
11197
+ * @public
11222
11198
  */
11223
11199
  size: TreeItemSize;
11224
11200
  protected sizeChanged(): void;
11225
11201
  /**
11226
11202
  * The appearance variants of the tree item element
11227
- * @public
11203
+ * The appearance variants of the tree item element
11204
+ *
11228
11205
  * HTML Attribute: appearance
11206
+ *
11207
+ * @public
11229
11208
  */
11230
11209
  appearance: TreeItemAppearance;
11231
11210
  protected appearanceChanged(): void;
11211
+ private fg?;
11212
+ private fgItems?;
11232
11213
  /**
11233
11214
  * child tree items supered change event
11234
11215
  * @internal
11235
11216
  */
11236
11217
  childTreeItemsChanged(): void;
11218
+ disconnectedCallback(): void;
11237
11219
  /**
11238
11220
  * 1. Update the child items' size based on the tree's size
11239
11221
  * 2. Update the child items' appearance based on the tree's appearance
11240
11222
  */
11241
11223
  updateSizeAndAppearance(): void;
11224
+ /** @internal */
11225
+ itemToggleHandler(): void;
11242
11226
  }
11243
11227
 
11244
11228
  /**
11229
+ * The definition for the `<fluent-tree>` element.
11245
11230
  *
11246
11231
  * @public
11247
- * @remarks
11248
- * HTML Element: \<fluent-tree\>
11249
11232
  */
11250
- export declare const TreeDefinition: FASTElementDefinition<typeof Tree>;
11233
+ export declare const TreeDefinition: PartialFASTElementDefinition;
11251
11234
 
11252
11235
  /**
11253
11236
  * The Fluent Tree Item Element. Implements {@link @microsoft/fast-foundation#BaseTreeItem}.
11254
11237
  *
11255
11238
  * @tag fluent-tree-item
11256
11239
  *
11240
+ * @slot - The default slot. Accepts the content of the tree item.
11241
+ * @slot start - Content shown before the item label.
11242
+ * @slot end - Content shown after the item label.
11243
+ * @slot aside - Content shown at the far end of the row.
11244
+ * @slot item - Child tree items.
11245
+ *
11246
+ * @csspart positioning-region - The container for item content and aside regions.
11247
+ * @csspart content - The item content region.
11248
+ * @csspart chevron - The expand/collapse indicator region.
11249
+ * @csspart aside - The trailing aside region.
11250
+ * @csspart items - The child items group region.
11251
+ *
11252
+ * @fires { ToggleEvent } toggle - Fired when expanded state toggles.
11253
+ * @fires { Event } change - Fired when selected state changes.
11254
+ *
11257
11255
  */
11258
11256
  export declare class TreeItem extends BaseTreeItem {
11259
11257
  /**
@@ -11301,12 +11299,11 @@ export declare const TreeItemAppearance: {
11301
11299
  export declare type TreeItemAppearance = ValuesOf<typeof TreeItemAppearance>;
11302
11300
 
11303
11301
  /**
11302
+ * The definition for the `<fluent-tree-item>` element.
11304
11303
  *
11305
11304
  * @public
11306
- * @remarks
11307
- * HTML Element: \<fluent-tree-item\>
11308
11305
  */
11309
- export declare const TreeItemDefinition: FASTElementDefinition<typeof TreeItem>;
11306
+ export declare const TreeItemDefinition: PartialFASTElementDefinition;
11310
11307
 
11311
11308
  export declare const TreeItemSize: {
11312
11309
  readonly small: "small";