@fluentui/web-components 3.0.0-rc.8 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1292) hide show
  1. package/CHANGELOG.md +237 -2
  2. package/README.md +68 -21
  3. package/custom-elements.json +9205 -8026
  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 +17 -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 +4 -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 +4 -3
  28. package/dist/esm/accordion/index.js +4 -3
  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 +17 -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 +4 -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 +4 -3
  59. package/dist/esm/accordion-item/index.js +4 -3
  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 -9
  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 +17 -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 +4 -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 +17 -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 +21 -4
  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 +4 -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 +17 -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 +4 -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 +17 -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 +4 -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 +17 -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 +4 -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 +17 -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 +4 -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 +17 -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 +4 -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 +4 -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 +60 -13
  291. package/dist/esm/dialog/dialog.definition-async.d.ts +10 -0
  292. package/dist/esm/dialog/dialog.definition-async.js +17 -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 +95 -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 +4 -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 +17 -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 +4 -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 +17 -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 +4 -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 +17 -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 +98 -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 +4 -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 +17 -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 +4 -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 +17 -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 +4 -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.d.ts +12 -1
  440. package/dist/esm/field/field.base.js +13 -5
  441. package/dist/esm/field/field.base.js.map +1 -1
  442. package/dist/esm/field/field.bench.d.ts +1 -0
  443. package/dist/esm/field/field.bench.js +1 -3
  444. package/dist/esm/field/field.bench.js.map +1 -1
  445. package/dist/esm/field/field.d.ts +7 -0
  446. package/dist/esm/field/field.definition-async.d.ts +10 -0
  447. package/dist/esm/field/field.definition-async.js +20 -0
  448. package/dist/esm/field/field.definition-async.js.map +1 -0
  449. package/dist/esm/field/field.definition.d.ts +3 -5
  450. package/dist/esm/field/field.definition.js +8 -9
  451. package/dist/esm/field/field.definition.js.map +1 -1
  452. package/dist/esm/field/field.js +7 -0
  453. package/dist/esm/field/field.js.map +1 -1
  454. package/dist/esm/field/field.options.d.ts +6 -0
  455. package/dist/esm/field/field.options.js +7 -0
  456. package/dist/esm/field/field.options.js.map +1 -1
  457. package/dist/esm/field/field.styles.css +125 -0
  458. package/dist/esm/field/field.template.html +13 -0
  459. package/dist/esm/field/index.d.ts +1 -0
  460. package/dist/esm/field/index.js +1 -0
  461. package/dist/esm/field/index.js.map +1 -1
  462. package/dist/esm/fluent-design-system.js +1 -1
  463. package/dist/esm/fluent-design-system.js.map +1 -1
  464. package/dist/esm/image/define-async.d.ts +1 -0
  465. package/dist/esm/image/define-async.js +4 -0
  466. package/dist/esm/image/define-async.js.map +1 -0
  467. package/dist/esm/image/define.js +2 -2
  468. package/dist/esm/image/define.js.map +1 -1
  469. package/dist/esm/image/image.bench.d.ts +1 -0
  470. package/dist/esm/image/image.bench.js +1 -3
  471. package/dist/esm/image/image.bench.js.map +1 -1
  472. package/dist/esm/image/image.d.ts +2 -0
  473. package/dist/esm/image/image.definition-async.d.ts +10 -0
  474. package/dist/esm/image/image.definition-async.js +17 -0
  475. package/dist/esm/image/image.definition-async.js.map +1 -0
  476. package/dist/esm/image/image.definition.d.ts +3 -5
  477. package/dist/esm/image/image.definition.js +8 -9
  478. package/dist/esm/image/image.definition.js.map +1 -1
  479. package/dist/esm/image/image.js +2 -0
  480. package/dist/esm/image/image.js.map +1 -1
  481. package/dist/esm/image/image.options.d.ts +7 -1
  482. package/dist/esm/image/image.options.js +7 -0
  483. package/dist/esm/image/image.options.js.map +1 -1
  484. package/dist/esm/image/image.styles.css +50 -0
  485. package/dist/esm/image/image.template.html +6 -0
  486. package/dist/esm/image/index.d.ts +1 -0
  487. package/dist/esm/image/index.js +1 -0
  488. package/dist/esm/image/index.js.map +1 -1
  489. package/dist/esm/index-all-rollup.d.ts +2 -0
  490. package/dist/esm/index-all-rollup.js +9 -0
  491. package/dist/esm/index-all-rollup.js.map +1 -0
  492. package/dist/esm/index-rollup.d.ts +1 -45
  493. package/dist/esm/index-rollup.js +6 -45
  494. package/dist/esm/index-rollup.js.map +1 -1
  495. package/dist/esm/index.d.ts +8 -11
  496. package/dist/esm/index.js +8 -10
  497. package/dist/esm/index.js.map +1 -1
  498. package/dist/esm/label/define-async.d.ts +1 -0
  499. package/dist/esm/label/define-async.js +4 -0
  500. package/dist/esm/label/define-async.js.map +1 -0
  501. package/dist/esm/label/define.js +2 -2
  502. package/dist/esm/label/define.js.map +1 -1
  503. package/dist/esm/label/index.d.ts +1 -0
  504. package/dist/esm/label/index.js +1 -0
  505. package/dist/esm/label/index.js.map +1 -1
  506. package/dist/esm/label/label.bench.d.ts +1 -0
  507. package/dist/esm/label/label.bench.js +1 -3
  508. package/dist/esm/label/label.bench.js.map +1 -1
  509. package/dist/esm/label/label.d.ts +3 -0
  510. package/dist/esm/label/label.definition-async.d.ts +10 -0
  511. package/dist/esm/label/label.definition-async.js +17 -0
  512. package/dist/esm/label/label.definition-async.js.map +1 -0
  513. package/dist/esm/label/label.definition.d.ts +3 -6
  514. package/dist/esm/label/label.definition.js +7 -9
  515. package/dist/esm/label/label.definition.js.map +1 -1
  516. package/dist/esm/label/label.js +3 -0
  517. package/dist/esm/label/label.js.map +1 -1
  518. package/dist/esm/label/label.options.d.ts +7 -1
  519. package/dist/esm/label/label.options.js +7 -0
  520. package/dist/esm/label/label.options.js.map +1 -1
  521. package/dist/esm/label/label.styles.css +40 -0
  522. package/dist/esm/label/label.styles.js +1 -1
  523. package/dist/esm/label/label.styles.js.map +1 -1
  524. package/dist/esm/label/label.template.html +7 -0
  525. package/dist/esm/link/define-async.d.ts +1 -0
  526. package/dist/esm/link/define-async.js +4 -0
  527. package/dist/esm/link/define-async.js.map +1 -0
  528. package/dist/esm/link/define.js +2 -2
  529. package/dist/esm/link/define.js.map +1 -1
  530. package/dist/esm/link/index.d.ts +1 -0
  531. package/dist/esm/link/index.js +1 -0
  532. package/dist/esm/link/index.js.map +1 -1
  533. package/dist/esm/link/link.bench.d.ts +1 -0
  534. package/dist/esm/link/link.bench.js +1 -3
  535. package/dist/esm/link/link.bench.js.map +1 -1
  536. package/dist/esm/link/link.definition-async.d.ts +10 -0
  537. package/dist/esm/link/link.definition-async.js +17 -0
  538. package/dist/esm/link/link.definition-async.js.map +1 -0
  539. package/dist/esm/link/link.definition.d.ts +4 -4
  540. package/dist/esm/link/link.definition.js +8 -7
  541. package/dist/esm/link/link.definition.js.map +1 -1
  542. package/dist/esm/link/link.options.d.ts +7 -1
  543. package/dist/esm/link/link.options.js +7 -0
  544. package/dist/esm/link/link.options.js.map +1 -1
  545. package/dist/esm/link/link.styles.css +72 -0
  546. package/dist/esm/link/link.styles.js +16 -5
  547. package/dist/esm/link/link.styles.js.map +1 -1
  548. package/dist/esm/link/link.template.html +6 -0
  549. package/dist/esm/listbox/define-async.d.ts +1 -0
  550. package/dist/esm/listbox/define-async.js +4 -0
  551. package/dist/esm/listbox/define-async.js.map +1 -0
  552. package/dist/esm/listbox/define.js +2 -2
  553. package/dist/esm/listbox/define.js.map +1 -1
  554. package/dist/esm/listbox/index.d.ts +1 -0
  555. package/dist/esm/listbox/index.js +1 -0
  556. package/dist/esm/listbox/index.js.map +1 -1
  557. package/dist/esm/listbox/listbox.d.ts +12 -7
  558. package/dist/esm/listbox/listbox.definition-async.d.ts +10 -0
  559. package/dist/esm/listbox/listbox.definition-async.js +17 -0
  560. package/dist/esm/listbox/listbox.definition-async.js.map +1 -0
  561. package/dist/esm/listbox/listbox.definition.d.ts +3 -5
  562. package/dist/esm/listbox/listbox.definition.js +7 -8
  563. package/dist/esm/listbox/listbox.definition.js.map +1 -1
  564. package/dist/esm/listbox/listbox.js +30 -18
  565. package/dist/esm/listbox/listbox.js.map +1 -1
  566. package/dist/esm/listbox/listbox.options.d.ts +6 -0
  567. package/dist/esm/listbox/listbox.options.js +7 -0
  568. package/dist/esm/listbox/listbox.options.js.map +1 -1
  569. package/dist/esm/listbox/listbox.styles.css +49 -0
  570. package/dist/esm/listbox/listbox.styles.js +9 -15
  571. package/dist/esm/listbox/listbox.styles.js.map +1 -1
  572. package/dist/esm/listbox/listbox.template.html +6 -0
  573. package/dist/esm/listbox/listbox.template.js +2 -3
  574. package/dist/esm/listbox/listbox.template.js.map +1 -1
  575. package/dist/esm/menu/define-async.d.ts +1 -0
  576. package/dist/esm/menu/define-async.js +4 -0
  577. package/dist/esm/menu/define-async.js.map +1 -0
  578. package/dist/esm/menu/define.js +2 -2
  579. package/dist/esm/menu/define.js.map +1 -1
  580. package/dist/esm/menu/index.d.ts +1 -0
  581. package/dist/esm/menu/index.js +1 -0
  582. package/dist/esm/menu/index.js.map +1 -1
  583. package/dist/esm/menu/menu.bench.d.ts +4 -0
  584. package/dist/esm/menu/menu.bench.js +4 -9
  585. package/dist/esm/menu/menu.bench.js.map +1 -1
  586. package/dist/esm/menu/menu.d.ts +35 -19
  587. package/dist/esm/menu/menu.definition-async.d.ts +10 -0
  588. package/dist/esm/menu/menu.definition-async.js +17 -0
  589. package/dist/esm/menu/menu.definition-async.js.map +1 -0
  590. package/dist/esm/menu/menu.definition.d.ts +3 -5
  591. package/dist/esm/menu/menu.definition.js +7 -8
  592. package/dist/esm/menu/menu.definition.js.map +1 -1
  593. package/dist/esm/menu/menu.js +78 -79
  594. package/dist/esm/menu/menu.js.map +1 -1
  595. package/dist/esm/menu/menu.options.d.ts +6 -0
  596. package/dist/esm/menu/menu.options.js +8 -0
  597. package/dist/esm/menu/menu.options.js.map +1 -0
  598. package/dist/esm/menu/menu.styles.css +56 -0
  599. package/dist/esm/menu/menu.styles.js +8 -9
  600. package/dist/esm/menu/menu.styles.js.map +1 -1
  601. package/dist/esm/menu/menu.template.html +8 -0
  602. package/dist/esm/menu/menu.template.js +1 -7
  603. package/dist/esm/menu/menu.template.js.map +1 -1
  604. package/dist/esm/menu-button/define-async.d.ts +1 -0
  605. package/dist/esm/menu-button/define-async.js +4 -0
  606. package/dist/esm/menu-button/define-async.js.map +1 -0
  607. package/dist/esm/menu-button/define.js +2 -2
  608. package/dist/esm/menu-button/define.js.map +1 -1
  609. package/dist/esm/menu-button/index.d.ts +1 -0
  610. package/dist/esm/menu-button/index.js +1 -0
  611. package/dist/esm/menu-button/index.js.map +1 -1
  612. package/dist/esm/menu-button/menu-button.bench.d.ts +1 -0
  613. package/dist/esm/menu-button/menu-button.bench.js +1 -3
  614. package/dist/esm/menu-button/menu-button.bench.js.map +1 -1
  615. package/dist/esm/menu-button/menu-button.definition-async.d.ts +10 -0
  616. package/dist/esm/menu-button/menu-button.definition-async.js +17 -0
  617. package/dist/esm/menu-button/menu-button.definition-async.js.map +1 -0
  618. package/dist/esm/menu-button/menu-button.definition.d.ts +4 -4
  619. package/dist/esm/menu-button/menu-button.definition.js +9 -8
  620. package/dist/esm/menu-button/menu-button.definition.js.map +1 -1
  621. package/dist/esm/menu-button/menu-button.options.d.ts +7 -1
  622. package/dist/esm/menu-button/menu-button.options.js +7 -0
  623. package/dist/esm/menu-button/menu-button.options.js.map +1 -1
  624. package/dist/esm/menu-button/menu-button.styles.css +268 -0
  625. package/dist/esm/{tab-panel/tab-panel.styles.d.ts → menu-button/menu-button.styles.d.ts} +5 -0
  626. package/dist/esm/menu-button/menu-button.styles.js +8 -0
  627. package/dist/esm/menu-button/menu-button.styles.js.map +1 -0
  628. package/dist/esm/menu-button/menu-button.template.html +25 -0
  629. package/dist/esm/menu-item/define-async.d.ts +1 -0
  630. package/dist/esm/menu-item/define-async.js +4 -0
  631. package/dist/esm/menu-item/define-async.js.map +1 -0
  632. package/dist/esm/menu-item/define.js +2 -2
  633. package/dist/esm/menu-item/define.js.map +1 -1
  634. package/dist/esm/menu-item/index.d.ts +1 -0
  635. package/dist/esm/menu-item/index.js +1 -0
  636. package/dist/esm/menu-item/index.js.map +1 -1
  637. package/dist/esm/menu-item/menu-item.bench.d.ts +1 -0
  638. package/dist/esm/menu-item/menu-item.bench.js +1 -3
  639. package/dist/esm/menu-item/menu-item.bench.js.map +1 -1
  640. package/dist/esm/menu-item/menu-item.d.ts +4 -2
  641. package/dist/esm/menu-item/menu-item.definition-async.d.ts +10 -0
  642. package/dist/esm/menu-item/menu-item.definition-async.js +17 -0
  643. package/dist/esm/menu-item/menu-item.definition-async.js.map +1 -0
  644. package/dist/esm/menu-item/menu-item.definition.d.ts +4 -4
  645. package/dist/esm/menu-item/menu-item.definition.js +8 -7
  646. package/dist/esm/menu-item/menu-item.definition.js.map +1 -1
  647. package/dist/esm/menu-item/menu-item.js +26 -13
  648. package/dist/esm/menu-item/menu-item.js.map +1 -1
  649. package/dist/esm/menu-item/menu-item.options.d.ts +7 -1
  650. package/dist/esm/menu-item/menu-item.options.js +7 -0
  651. package/dist/esm/menu-item/menu-item.options.js.map +1 -1
  652. package/dist/esm/menu-item/menu-item.styles.css +159 -0
  653. package/dist/esm/menu-item/menu-item.styles.js +15 -10
  654. package/dist/esm/menu-item/menu-item.styles.js.map +1 -1
  655. package/dist/esm/menu-item/menu-item.template.html +50 -0
  656. package/dist/esm/menu-item/menu-item.template.js +3 -2
  657. package/dist/esm/menu-item/menu-item.template.js.map +1 -1
  658. package/dist/esm/menu-list/define-async.d.ts +1 -0
  659. package/dist/esm/menu-list/define-async.js +4 -0
  660. package/dist/esm/menu-list/define-async.js.map +1 -0
  661. package/dist/esm/menu-list/define.js +2 -2
  662. package/dist/esm/menu-list/define.js.map +1 -1
  663. package/dist/esm/menu-list/index.d.ts +2 -0
  664. package/dist/esm/menu-list/index.js +2 -0
  665. package/dist/esm/menu-list/index.js.map +1 -1
  666. package/dist/esm/menu-list/menu-list.base.d.ts +57 -0
  667. package/dist/esm/menu-list/menu-list.base.js +155 -0
  668. package/dist/esm/menu-list/menu-list.base.js.map +1 -0
  669. package/dist/esm/menu-list/menu-list.bench.d.ts +2 -0
  670. package/dist/esm/menu-list/menu-list.bench.js +2 -5
  671. package/dist/esm/menu-list/menu-list.bench.js.map +1 -1
  672. package/dist/esm/menu-list/menu-list.d.ts +6 -69
  673. package/dist/esm/menu-list/menu-list.definition-async.d.ts +10 -0
  674. package/dist/esm/menu-list/menu-list.definition-async.js +17 -0
  675. package/dist/esm/menu-list/menu-list.definition-async.js.map +1 -0
  676. package/dist/esm/menu-list/menu-list.definition.d.ts +4 -4
  677. package/dist/esm/menu-list/menu-list.definition.js +8 -7
  678. package/dist/esm/menu-list/menu-list.definition.js.map +1 -1
  679. package/dist/esm/menu-list/menu-list.js +18 -237
  680. package/dist/esm/menu-list/menu-list.js.map +1 -1
  681. package/dist/esm/menu-list/menu-list.options.d.ts +6 -0
  682. package/dist/esm/menu-list/menu-list.options.js +8 -0
  683. package/dist/esm/menu-list/menu-list.options.js.map +1 -0
  684. package/dist/esm/menu-list/menu-list.styles.css +20 -0
  685. package/dist/esm/menu-list/menu-list.styles.js +1 -1
  686. package/dist/esm/menu-list/menu-list.styles.js.map +1 -1
  687. package/dist/esm/menu-list/menu-list.template.html +6 -0
  688. package/dist/esm/menu-list/menu-list.template.js +1 -5
  689. package/dist/esm/menu-list/menu-list.template.js.map +1 -1
  690. package/dist/esm/message-bar/define-async.d.ts +1 -0
  691. package/dist/esm/message-bar/define-async.js +4 -0
  692. package/dist/esm/message-bar/define-async.js.map +1 -0
  693. package/dist/esm/message-bar/define.js +2 -2
  694. package/dist/esm/message-bar/define.js.map +1 -1
  695. package/dist/esm/message-bar/index.d.ts +1 -0
  696. package/dist/esm/message-bar/index.js +1 -0
  697. package/dist/esm/message-bar/index.js.map +1 -1
  698. package/dist/esm/message-bar/message-bar.bench.d.ts +2 -0
  699. package/dist/esm/message-bar/message-bar.bench.js +2 -5
  700. package/dist/esm/message-bar/message-bar.bench.js.map +1 -1
  701. package/dist/esm/message-bar/message-bar.d.ts +4 -1
  702. package/dist/esm/message-bar/message-bar.definition-async.d.ts +10 -0
  703. package/dist/esm/message-bar/message-bar.definition-async.js +17 -0
  704. package/dist/esm/message-bar/message-bar.definition-async.js.map +1 -0
  705. package/dist/esm/message-bar/message-bar.definition.d.ts +3 -5
  706. package/dist/esm/message-bar/message-bar.definition.js +7 -11
  707. package/dist/esm/message-bar/message-bar.definition.js.map +1 -1
  708. package/dist/esm/message-bar/message-bar.js +4 -1
  709. package/dist/esm/message-bar/message-bar.js.map +1 -1
  710. package/dist/esm/message-bar/message-bar.options.d.ts +12 -3
  711. package/dist/esm/message-bar/message-bar.options.js +13 -3
  712. package/dist/esm/message-bar/message-bar.options.js.map +1 -1
  713. package/dist/esm/message-bar/message-bar.styles.css +97 -0
  714. package/dist/esm/message-bar/message-bar.styles.js +1 -0
  715. package/dist/esm/message-bar/message-bar.styles.js.map +1 -1
  716. package/dist/esm/message-bar/message-bar.template.d.ts +3 -3
  717. package/dist/esm/message-bar/message-bar.template.html +13 -0
  718. package/dist/esm/message-bar/message-bar.template.js +3 -3
  719. package/dist/esm/option/define-async.d.ts +1 -0
  720. package/dist/esm/option/define-async.js +4 -0
  721. package/dist/esm/option/define-async.js.map +1 -0
  722. package/dist/esm/option/define.js +2 -2
  723. package/dist/esm/option/define.js.map +1 -1
  724. package/dist/esm/option/index.d.ts +1 -0
  725. package/dist/esm/option/index.js +1 -0
  726. package/dist/esm/option/index.js.map +1 -1
  727. package/dist/esm/option/option.d.ts +3 -0
  728. package/dist/esm/option/option.definition-async.d.ts +10 -0
  729. package/dist/esm/option/option.definition-async.js +17 -0
  730. package/dist/esm/option/option.definition-async.js.map +1 -0
  731. package/dist/esm/option/option.definition.d.ts +3 -5
  732. package/dist/esm/option/option.definition.js +7 -8
  733. package/dist/esm/option/option.definition.js.map +1 -1
  734. package/dist/esm/option/option.js +4 -1
  735. package/dist/esm/option/option.js.map +1 -1
  736. package/dist/esm/option/option.options.d.ts +6 -0
  737. package/dist/esm/option/option.options.js +7 -0
  738. package/dist/esm/option/option.options.js.map +1 -1
  739. package/dist/esm/option/option.styles.css +134 -0
  740. package/dist/esm/option/option.template.html +24 -0
  741. package/dist/esm/patterns/start-end.d.ts +1 -1
  742. package/dist/esm/patterns/start-end.js +1 -1
  743. package/dist/esm/patterns/start-end.js.map +1 -1
  744. package/dist/esm/progress-bar/define-async.d.ts +1 -0
  745. package/dist/esm/progress-bar/define-async.js +4 -0
  746. package/dist/esm/progress-bar/define-async.js.map +1 -0
  747. package/dist/esm/progress-bar/define.js +2 -2
  748. package/dist/esm/progress-bar/define.js.map +1 -1
  749. package/dist/esm/progress-bar/index.d.ts +1 -0
  750. package/dist/esm/progress-bar/index.js +1 -0
  751. package/dist/esm/progress-bar/index.js.map +1 -1
  752. package/dist/esm/progress-bar/progress-bar.base.d.ts +35 -8
  753. package/dist/esm/progress-bar/progress-bar.base.js +41 -20
  754. package/dist/esm/progress-bar/progress-bar.base.js.map +1 -1
  755. package/dist/esm/progress-bar/progress-bar.bench.d.ts +1 -0
  756. package/dist/esm/progress-bar/progress-bar.bench.js +1 -3
  757. package/dist/esm/progress-bar/progress-bar.bench.js.map +1 -1
  758. package/dist/esm/progress-bar/progress-bar.d.ts +9 -2
  759. package/dist/esm/progress-bar/progress-bar.definition-async.d.ts +10 -0
  760. package/dist/esm/progress-bar/progress-bar.definition-async.js +17 -0
  761. package/dist/esm/progress-bar/progress-bar.definition-async.js.map +1 -0
  762. package/dist/esm/progress-bar/progress-bar.definition.d.ts +3 -6
  763. package/dist/esm/progress-bar/progress-bar.definition.js +7 -9
  764. package/dist/esm/progress-bar/progress-bar.definition.js.map +1 -1
  765. package/dist/esm/progress-bar/progress-bar.js +1 -0
  766. package/dist/esm/progress-bar/progress-bar.js.map +1 -1
  767. package/dist/esm/progress-bar/progress-bar.options.d.ts +7 -1
  768. package/dist/esm/progress-bar/progress-bar.options.js +7 -0
  769. package/dist/esm/progress-bar/progress-bar.options.js.map +1 -1
  770. package/dist/esm/progress-bar/progress-bar.styles.css +103 -0
  771. package/dist/esm/progress-bar/progress-bar.styles.js +5 -3
  772. package/dist/esm/progress-bar/progress-bar.styles.js.map +1 -1
  773. package/dist/esm/progress-bar/progress-bar.template.html +6 -0
  774. package/dist/esm/radio/define-async.d.ts +1 -0
  775. package/dist/esm/radio/define-async.js +4 -0
  776. package/dist/esm/radio/define-async.js.map +1 -0
  777. package/dist/esm/radio/define.js +2 -2
  778. package/dist/esm/radio/define.js.map +1 -1
  779. package/dist/esm/radio/index.d.ts +1 -0
  780. package/dist/esm/radio/index.js +1 -0
  781. package/dist/esm/radio/index.js.map +1 -1
  782. package/dist/esm/radio/radio.bench.d.ts +1 -0
  783. package/dist/esm/radio/radio.bench.js +1 -3
  784. package/dist/esm/radio/radio.bench.js.map +1 -1
  785. package/dist/esm/radio/radio.d.ts +4 -3
  786. package/dist/esm/radio/radio.definition-async.d.ts +10 -0
  787. package/dist/esm/radio/radio.definition-async.js +17 -0
  788. package/dist/esm/radio/radio.definition-async.js.map +1 -0
  789. package/dist/esm/radio/radio.definition.d.ts +3 -6
  790. package/dist/esm/radio/radio.definition.js +7 -9
  791. package/dist/esm/radio/radio.definition.js.map +1 -1
  792. package/dist/esm/radio/radio.js +4 -3
  793. package/dist/esm/radio/radio.js.map +1 -1
  794. package/dist/esm/radio/radio.options.d.ts +15 -0
  795. package/dist/esm/radio/radio.options.js +19 -1
  796. package/dist/esm/radio/radio.options.js.map +1 -1
  797. package/dist/esm/radio/radio.styles.css +119 -0
  798. package/dist/esm/radio/radio.styles.js +4 -3
  799. package/dist/esm/radio/radio.styles.js.map +1 -1
  800. package/dist/esm/radio/radio.template.html +8 -0
  801. package/dist/esm/radio/radio.template.js +1 -1
  802. package/dist/esm/radio/radio.template.js.map +1 -1
  803. package/dist/esm/radio-group/define-async.d.ts +1 -0
  804. package/dist/esm/radio-group/define-async.js +4 -0
  805. package/dist/esm/radio-group/define-async.js.map +1 -0
  806. package/dist/esm/radio-group/define.js +2 -2
  807. package/dist/esm/radio-group/define.js.map +1 -1
  808. package/dist/esm/radio-group/index.d.ts +2 -0
  809. package/dist/esm/radio-group/index.js +2 -0
  810. package/dist/esm/radio-group/index.js.map +1 -1
  811. package/dist/esm/radio-group/radio-group.base.d.ts +274 -0
  812. package/dist/esm/radio-group/radio-group.base.js +442 -0
  813. package/dist/esm/radio-group/radio-group.base.js.map +1 -0
  814. package/dist/esm/radio-group/radio-group.bench.d.ts +2 -0
  815. package/dist/esm/radio-group/radio-group.bench.js +2 -5
  816. package/dist/esm/radio-group/radio-group.bench.js.map +1 -1
  817. package/dist/esm/radio-group/radio-group.d.ts +9 -273
  818. package/dist/esm/radio-group/radio-group.definition-async.d.ts +10 -0
  819. package/dist/esm/radio-group/radio-group.definition-async.js +17 -0
  820. package/dist/esm/radio-group/radio-group.definition-async.js.map +1 -0
  821. package/dist/esm/radio-group/radio-group.definition.d.ts +3 -6
  822. package/dist/esm/radio-group/radio-group.definition.js +7 -9
  823. package/dist/esm/radio-group/radio-group.definition.js.map +1 -1
  824. package/dist/esm/radio-group/radio-group.js +21 -492
  825. package/dist/esm/radio-group/radio-group.js.map +1 -1
  826. package/dist/esm/radio-group/radio-group.options.d.ts +7 -1
  827. package/dist/esm/radio-group/radio-group.options.js +8 -1
  828. package/dist/esm/radio-group/radio-group.options.js.map +1 -1
  829. package/dist/esm/radio-group/radio-group.styles.css +45 -0
  830. package/dist/esm/radio-group/radio-group.styles.js +1 -1
  831. package/dist/esm/radio-group/radio-group.styles.js.map +1 -1
  832. package/dist/esm/radio-group/radio-group.template.html +13 -0
  833. package/dist/esm/radio-group/radio-group.template.js +3 -3
  834. package/dist/esm/radio-group/radio-group.template.js.map +1 -1
  835. package/dist/esm/rating-display/define-async.d.ts +1 -0
  836. package/dist/esm/rating-display/define-async.js +4 -0
  837. package/dist/esm/rating-display/define-async.js.map +1 -0
  838. package/dist/esm/rating-display/define.js +2 -2
  839. package/dist/esm/rating-display/define.js.map +1 -1
  840. package/dist/esm/rating-display/index.d.ts +1 -0
  841. package/dist/esm/rating-display/index.js +1 -0
  842. package/dist/esm/rating-display/index.js.map +1 -1
  843. package/dist/esm/rating-display/rating-display.base.d.ts +11 -1
  844. package/dist/esm/rating-display/rating-display.base.js +24 -11
  845. package/dist/esm/rating-display/rating-display.base.js.map +1 -1
  846. package/dist/esm/rating-display/rating-display.definition-async.d.ts +10 -0
  847. package/dist/esm/rating-display/rating-display.definition-async.js +17 -0
  848. package/dist/esm/rating-display/rating-display.definition-async.js.map +1 -0
  849. package/dist/esm/rating-display/rating-display.definition.d.ts +3 -5
  850. package/dist/esm/rating-display/rating-display.definition.js +7 -8
  851. package/dist/esm/rating-display/rating-display.definition.js.map +1 -1
  852. package/dist/esm/rating-display/rating-display.options.d.ts +7 -1
  853. package/dist/esm/rating-display/rating-display.options.js +7 -0
  854. package/dist/esm/rating-display/rating-display.options.js.map +1 -1
  855. package/dist/esm/rating-display/rating-display.styles.css +142 -0
  856. package/dist/esm/rating-display/rating-display.styles.js +5 -3
  857. package/dist/esm/rating-display/rating-display.styles.js.map +1 -1
  858. package/dist/esm/rating-display/rating-display.template.html +9 -0
  859. package/dist/esm/slider/define-async.d.ts +1 -0
  860. package/dist/esm/slider/define-async.js +4 -0
  861. package/dist/esm/slider/define-async.js.map +1 -0
  862. package/dist/esm/slider/define.js +2 -2
  863. package/dist/esm/slider/define.js.map +1 -1
  864. package/dist/esm/slider/index.d.ts +1 -0
  865. package/dist/esm/slider/index.js +1 -0
  866. package/dist/esm/slider/index.js.map +1 -1
  867. package/dist/esm/slider/slider-utilities.d.ts +1 -1
  868. package/dist/esm/slider/slider-utilities.js +2 -1
  869. package/dist/esm/slider/slider-utilities.js.map +1 -1
  870. package/dist/esm/slider/slider.bench.d.ts +1 -0
  871. package/dist/esm/slider/slider.bench.js +1 -3
  872. package/dist/esm/slider/slider.bench.js.map +1 -1
  873. package/dist/esm/slider/slider.d.ts +10 -5
  874. package/dist/esm/slider/slider.definition-async.d.ts +10 -0
  875. package/dist/esm/slider/slider.definition-async.js +17 -0
  876. package/dist/esm/slider/slider.definition-async.js.map +1 -0
  877. package/dist/esm/slider/slider.definition.d.ts +3 -6
  878. package/dist/esm/slider/slider.definition.js +7 -9
  879. package/dist/esm/slider/slider.definition.js.map +1 -1
  880. package/dist/esm/slider/slider.js +58 -36
  881. package/dist/esm/slider/slider.js.map +1 -1
  882. package/dist/esm/slider/slider.options.d.ts +9 -2
  883. package/dist/esm/slider/slider.options.js +8 -1
  884. package/dist/esm/slider/slider.options.js.map +1 -1
  885. package/dist/esm/slider/slider.styles.css +193 -0
  886. package/dist/esm/slider/slider.styles.js +5 -3
  887. package/dist/esm/slider/slider.styles.js.map +1 -1
  888. package/dist/esm/slider/slider.template.html +15 -0
  889. package/dist/esm/spinner/define-async.d.ts +1 -0
  890. package/dist/esm/spinner/define-async.js +4 -0
  891. package/dist/esm/spinner/define-async.js.map +1 -0
  892. package/dist/esm/spinner/define.js +2 -2
  893. package/dist/esm/spinner/define.js.map +1 -1
  894. package/dist/esm/spinner/index.d.ts +1 -0
  895. package/dist/esm/spinner/index.js +1 -0
  896. package/dist/esm/spinner/index.js.map +1 -1
  897. package/dist/esm/spinner/spinner.bench.d.ts +1 -0
  898. package/dist/esm/spinner/spinner.bench.js +1 -3
  899. package/dist/esm/spinner/spinner.bench.js.map +1 -1
  900. package/dist/esm/spinner/spinner.definition-async.d.ts +10 -0
  901. package/dist/esm/spinner/spinner.definition-async.js +17 -0
  902. package/dist/esm/spinner/spinner.definition-async.js.map +1 -0
  903. package/dist/esm/spinner/spinner.definition.d.ts +4 -4
  904. package/dist/esm/spinner/spinner.definition.js +8 -7
  905. package/dist/esm/spinner/spinner.definition.js.map +1 -1
  906. package/dist/esm/spinner/spinner.options.d.ts +7 -1
  907. package/dist/esm/spinner/spinner.options.js +7 -0
  908. package/dist/esm/spinner/spinner.options.js.map +1 -1
  909. package/dist/esm/spinner/spinner.styles.css +159 -0
  910. package/dist/esm/spinner/spinner.styles.js +5 -3
  911. package/dist/esm/spinner/spinner.styles.js.map +1 -1
  912. package/dist/esm/spinner/spinner.template.html +18 -0
  913. package/dist/esm/styles/index.d.ts +2 -1
  914. package/dist/esm/styles/index.js +2 -1
  915. package/dist/esm/styles/index.js.map +1 -1
  916. package/dist/esm/styles/partials/badge.partials.d.ts +2 -1
  917. package/dist/esm/styles/partials/badge.partials.js +3 -2
  918. package/dist/esm/styles/partials/badge.partials.js.map +1 -1
  919. package/dist/esm/switch/define-async.d.ts +1 -0
  920. package/dist/esm/switch/define-async.js +4 -0
  921. package/dist/esm/switch/define-async.js.map +1 -0
  922. package/dist/esm/switch/define.js +2 -2
  923. package/dist/esm/switch/define.js.map +1 -1
  924. package/dist/esm/switch/index.d.ts +1 -0
  925. package/dist/esm/switch/index.js +1 -0
  926. package/dist/esm/switch/index.js.map +1 -1
  927. package/dist/esm/switch/switch.bench.d.ts +1 -0
  928. package/dist/esm/switch/switch.bench.js +1 -3
  929. package/dist/esm/switch/switch.bench.js.map +1 -1
  930. package/dist/esm/switch/switch.d.ts +2 -1
  931. package/dist/esm/switch/switch.definition-async.d.ts +10 -0
  932. package/dist/esm/switch/switch.definition-async.js +17 -0
  933. package/dist/esm/switch/switch.definition-async.js.map +1 -0
  934. package/dist/esm/switch/switch.definition.d.ts +3 -5
  935. package/dist/esm/switch/switch.definition.js +8 -9
  936. package/dist/esm/switch/switch.definition.js.map +1 -1
  937. package/dist/esm/switch/switch.js +1 -0
  938. package/dist/esm/switch/switch.js.map +1 -1
  939. package/dist/esm/switch/switch.options.d.ts +7 -1
  940. package/dist/esm/switch/switch.options.js +7 -0
  941. package/dist/esm/switch/switch.options.js.map +1 -1
  942. package/dist/esm/switch/switch.styles.css +125 -0
  943. package/dist/esm/switch/switch.styles.js +4 -3
  944. package/dist/esm/switch/switch.styles.js.map +1 -1
  945. package/dist/esm/switch/switch.template.html +11 -0
  946. package/dist/esm/switch/switch.template.js +1 -1
  947. package/dist/esm/switch/switch.template.js.map +1 -1
  948. package/dist/esm/tab/define-async.d.ts +1 -0
  949. package/dist/esm/tab/define-async.js +4 -0
  950. package/dist/esm/tab/define-async.js.map +1 -0
  951. package/dist/esm/tab/define.js +2 -2
  952. package/dist/esm/tab/define.js.map +1 -1
  953. package/dist/esm/tab/index.d.ts +1 -0
  954. package/dist/esm/tab/index.js +1 -0
  955. package/dist/esm/tab/index.js.map +1 -1
  956. package/dist/esm/tab/tab.bench.d.ts +1 -0
  957. package/dist/esm/tab/tab.bench.js +1 -3
  958. package/dist/esm/tab/tab.bench.js.map +1 -1
  959. package/dist/esm/tab/tab.d.ts +15 -1
  960. package/dist/esm/tab/tab.definition-async.d.ts +10 -0
  961. package/dist/esm/tab/tab.definition-async.js +17 -0
  962. package/dist/esm/tab/tab.definition-async.js.map +1 -0
  963. package/dist/esm/tab/tab.definition.d.ts +7 -2
  964. package/dist/esm/tab/tab.definition.js +12 -6
  965. package/dist/esm/tab/tab.definition.js.map +1 -1
  966. package/dist/esm/tab/tab.js +28 -2
  967. package/dist/esm/tab/tab.js.map +1 -1
  968. package/dist/esm/tab/tab.options.d.ts +6 -0
  969. package/dist/esm/tab/tab.options.js +7 -0
  970. package/dist/esm/tab/tab.options.js.map +1 -1
  971. package/dist/esm/tab/tab.styles.css +122 -0
  972. package/dist/esm/tab/tab.styles.js +23 -3
  973. package/dist/esm/tab/tab.styles.js.map +1 -1
  974. package/dist/esm/tab/tab.template.html +8 -0
  975. package/dist/esm/tab/tab.template.js +2 -2
  976. package/dist/esm/tab/tab.template.js.map +1 -1
  977. package/dist/esm/tablist/define-async.d.ts +1 -0
  978. package/dist/esm/tablist/define-async.js +4 -0
  979. package/dist/esm/tablist/define-async.js.map +1 -0
  980. package/dist/esm/tablist/define.js +2 -2
  981. package/dist/esm/tablist/define.js.map +1 -1
  982. package/dist/esm/tablist/index.d.ts +1 -0
  983. package/dist/esm/tablist/index.js +1 -0
  984. package/dist/esm/tablist/index.js.map +1 -1
  985. package/dist/esm/tablist/tablist.base.d.ts +15 -46
  986. package/dist/esm/tablist/tablist.base.js +114 -209
  987. package/dist/esm/tablist/tablist.base.js.map +1 -1
  988. package/dist/esm/tablist/tablist.bench.d.ts +2 -0
  989. package/dist/esm/tablist/tablist.bench.js +2 -5
  990. package/dist/esm/tablist/tablist.bench.js.map +1 -1
  991. package/dist/esm/tablist/tablist.d.ts +8 -74
  992. package/dist/esm/tablist/tablist.definition-async.d.ts +10 -0
  993. package/dist/esm/tablist/tablist.definition-async.js +20 -0
  994. package/dist/esm/tablist/tablist.definition-async.js.map +1 -0
  995. package/dist/esm/tablist/tablist.definition.d.ts +4 -4
  996. package/dist/esm/tablist/tablist.definition.js +9 -8
  997. package/dist/esm/tablist/tablist.definition.js.map +1 -1
  998. package/dist/esm/tablist/tablist.js +23 -132
  999. package/dist/esm/tablist/tablist.js.map +1 -1
  1000. package/dist/esm/tablist/tablist.options.d.ts +7 -1
  1001. package/dist/esm/tablist/tablist.options.js +8 -1
  1002. package/dist/esm/tablist/tablist.options.js.map +1 -1
  1003. package/dist/esm/tablist/tablist.styles.css +207 -0
  1004. package/dist/esm/tablist/tablist.styles.js +83 -65
  1005. package/dist/esm/tablist/tablist.styles.js.map +1 -1
  1006. package/dist/esm/tablist/tablist.template.html +6 -0
  1007. package/dist/esm/tablist/tablist.template.js +5 -1
  1008. package/dist/esm/tablist/tablist.template.js.map +1 -1
  1009. package/dist/esm/text/define-async.d.ts +1 -0
  1010. package/dist/esm/text/define-async.js +4 -0
  1011. package/dist/esm/text/define-async.js.map +1 -0
  1012. package/dist/esm/text/define.js +2 -2
  1013. package/dist/esm/text/define.js.map +1 -1
  1014. package/dist/esm/text/index.d.ts +1 -0
  1015. package/dist/esm/text/index.js +1 -0
  1016. package/dist/esm/text/index.js.map +1 -1
  1017. package/dist/esm/text/text.bench.d.ts +1 -0
  1018. package/dist/esm/text/text.bench.js +1 -3
  1019. package/dist/esm/text/text.bench.js.map +1 -1
  1020. package/dist/esm/text/text.d.ts +2 -0
  1021. package/dist/esm/text/text.definition-async.d.ts +10 -0
  1022. package/dist/esm/text/text.definition-async.js +17 -0
  1023. package/dist/esm/text/text.definition-async.js.map +1 -0
  1024. package/dist/esm/text/text.definition.d.ts +3 -6
  1025. package/dist/esm/text/text.definition.js +7 -9
  1026. package/dist/esm/text/text.definition.js.map +1 -1
  1027. package/dist/esm/text/text.js +2 -0
  1028. package/dist/esm/text/text.js.map +1 -1
  1029. package/dist/esm/text/text.options.d.ts +7 -1
  1030. package/dist/esm/text/text.options.js +7 -0
  1031. package/dist/esm/text/text.options.js.map +1 -1
  1032. package/dist/esm/text/text.styles.css +108 -0
  1033. package/dist/esm/text/text.styles.js +1 -1
  1034. package/dist/esm/text/text.styles.js.map +1 -1
  1035. package/dist/esm/text/text.template.html +6 -0
  1036. package/dist/esm/text-input/define-async.d.ts +1 -0
  1037. package/dist/esm/text-input/define-async.js +4 -0
  1038. package/dist/esm/text-input/define-async.js.map +1 -0
  1039. package/dist/esm/text-input/define.js +2 -2
  1040. package/dist/esm/text-input/define.js.map +1 -1
  1041. package/dist/esm/text-input/index.d.ts +1 -0
  1042. package/dist/esm/text-input/index.js +1 -0
  1043. package/dist/esm/text-input/index.js.map +1 -1
  1044. package/dist/esm/text-input/text-input.base.d.ts +4 -22
  1045. package/dist/esm/text-input/text-input.base.js +20 -34
  1046. package/dist/esm/text-input/text-input.base.js.map +1 -1
  1047. package/dist/esm/text-input/text-input.bench.d.ts +1 -0
  1048. package/dist/esm/text-input/text-input.bench.js +1 -3
  1049. package/dist/esm/text-input/text-input.bench.js.map +1 -1
  1050. package/dist/esm/text-input/text-input.d.ts +2 -0
  1051. package/dist/esm/text-input/text-input.definition-async.d.ts +10 -0
  1052. package/dist/esm/text-input/text-input.definition-async.js +20 -0
  1053. package/dist/esm/text-input/text-input.definition-async.js.map +1 -0
  1054. package/dist/esm/text-input/text-input.definition.d.ts +3 -5
  1055. package/dist/esm/text-input/text-input.definition.js +8 -9
  1056. package/dist/esm/text-input/text-input.definition.js.map +1 -1
  1057. package/dist/esm/text-input/text-input.js +2 -0
  1058. package/dist/esm/text-input/text-input.js.map +1 -1
  1059. package/dist/esm/text-input/text-input.options.d.ts +6 -0
  1060. package/dist/esm/text-input/text-input.options.js +7 -0
  1061. package/dist/esm/text-input/text-input.options.js.map +1 -1
  1062. package/dist/esm/text-input/text-input.styles.css +204 -0
  1063. package/dist/esm/text-input/text-input.template.d.ts +1 -1
  1064. package/dist/esm/text-input/text-input.template.html +35 -0
  1065. package/dist/esm/text-input/text-input.template.js +4 -15
  1066. package/dist/esm/text-input/text-input.template.js.map +1 -1
  1067. package/dist/esm/textarea/define-async.d.ts +1 -0
  1068. package/dist/esm/textarea/define-async.js +4 -0
  1069. package/dist/esm/textarea/define-async.js.map +1 -0
  1070. package/dist/esm/textarea/define.js +2 -2
  1071. package/dist/esm/textarea/define.js.map +1 -1
  1072. package/dist/esm/textarea/index.d.ts +1 -0
  1073. package/dist/esm/textarea/index.js +1 -0
  1074. package/dist/esm/textarea/index.js.map +1 -1
  1075. package/dist/esm/textarea/textarea.base.d.ts +14 -5
  1076. package/dist/esm/textarea/textarea.base.js +58 -36
  1077. package/dist/esm/textarea/textarea.base.js.map +1 -1
  1078. package/dist/esm/textarea/textarea.bench.d.ts +1 -0
  1079. package/dist/esm/textarea/textarea.bench.js +1 -3
  1080. package/dist/esm/textarea/textarea.bench.js.map +1 -1
  1081. package/dist/esm/textarea/textarea.definition-async.d.ts +10 -0
  1082. package/dist/esm/textarea/textarea.definition-async.js +20 -0
  1083. package/dist/esm/textarea/textarea.definition-async.js.map +1 -0
  1084. package/dist/esm/textarea/textarea.definition.d.ts +3 -5
  1085. package/dist/esm/textarea/textarea.definition.js +8 -9
  1086. package/dist/esm/textarea/textarea.definition.js.map +1 -1
  1087. package/dist/esm/textarea/textarea.options.d.ts +6 -0
  1088. package/dist/esm/textarea/textarea.options.js +7 -0
  1089. package/dist/esm/textarea/textarea.options.js.map +1 -1
  1090. package/dist/esm/textarea/textarea.styles.css +262 -0
  1091. package/dist/esm/textarea/textarea.styles.js +4 -3
  1092. package/dist/esm/textarea/textarea.styles.js.map +1 -1
  1093. package/dist/esm/textarea/textarea.template.html +30 -0
  1094. package/dist/esm/textarea/textarea.template.js +1 -1
  1095. package/dist/esm/textarea/textarea.template.js.map +1 -1
  1096. package/dist/esm/theme/index.d.ts +1 -1
  1097. package/dist/esm/theme/index.js +1 -1
  1098. package/dist/esm/theme/index.js.map +1 -1
  1099. package/dist/esm/theme/set-theme.d.ts +0 -5
  1100. package/dist/esm/theme/set-theme.js +1 -8
  1101. package/dist/esm/theme/set-theme.js.map +1 -1
  1102. package/dist/esm/toggle-button/define-async.d.ts +1 -0
  1103. package/dist/esm/toggle-button/define-async.js +4 -0
  1104. package/dist/esm/toggle-button/define-async.js.map +1 -0
  1105. package/dist/esm/toggle-button/define.js +2 -2
  1106. package/dist/esm/toggle-button/define.js.map +1 -1
  1107. package/dist/esm/toggle-button/index.d.ts +1 -0
  1108. package/dist/esm/toggle-button/index.js +1 -0
  1109. package/dist/esm/toggle-button/index.js.map +1 -1
  1110. package/dist/esm/toggle-button/toggle-button.bench.d.ts +1 -0
  1111. package/dist/esm/toggle-button/toggle-button.bench.js +1 -3
  1112. package/dist/esm/toggle-button/toggle-button.bench.js.map +1 -1
  1113. package/dist/esm/toggle-button/toggle-button.definition-async.d.ts +10 -0
  1114. package/dist/esm/toggle-button/toggle-button.definition-async.js +17 -0
  1115. package/dist/esm/toggle-button/toggle-button.definition-async.js.map +1 -0
  1116. package/dist/esm/toggle-button/toggle-button.definition.d.ts +3 -4
  1117. package/dist/esm/toggle-button/toggle-button.definition.js +7 -7
  1118. package/dist/esm/toggle-button/toggle-button.definition.js.map +1 -1
  1119. package/dist/esm/toggle-button/toggle-button.js +2 -3
  1120. package/dist/esm/toggle-button/toggle-button.js.map +1 -1
  1121. package/dist/esm/toggle-button/toggle-button.options.d.ts +8 -2
  1122. package/dist/esm/toggle-button/toggle-button.options.js +7 -0
  1123. package/dist/esm/toggle-button/toggle-button.options.js.map +1 -1
  1124. package/dist/esm/toggle-button/toggle-button.styles.css +364 -0
  1125. package/dist/esm/toggle-button/toggle-button.styles.js +7 -3
  1126. package/dist/esm/toggle-button/toggle-button.styles.js.map +1 -1
  1127. package/dist/esm/toggle-button/toggle-button.template.html +10 -0
  1128. package/dist/esm/tooltip/define-async.d.ts +1 -0
  1129. package/dist/esm/tooltip/define-async.js +4 -0
  1130. package/dist/esm/tooltip/define-async.js.map +1 -0
  1131. package/dist/esm/tooltip/define.js +2 -2
  1132. package/dist/esm/tooltip/define.js.map +1 -1
  1133. package/dist/esm/tooltip/index.d.ts +1 -0
  1134. package/dist/esm/tooltip/index.js +1 -0
  1135. package/dist/esm/tooltip/index.js.map +1 -1
  1136. package/dist/esm/tooltip/tooltip.d.ts +13 -11
  1137. package/dist/esm/tooltip/tooltip.definition-async.d.ts +10 -0
  1138. package/dist/esm/tooltip/tooltip.definition-async.js +17 -0
  1139. package/dist/esm/tooltip/tooltip.definition-async.js.map +1 -0
  1140. package/dist/esm/tooltip/tooltip.definition.d.ts +3 -5
  1141. package/dist/esm/tooltip/tooltip.definition.js +7 -8
  1142. package/dist/esm/tooltip/tooltip.definition.js.map +1 -1
  1143. package/dist/esm/tooltip/tooltip.js +44 -10
  1144. package/dist/esm/tooltip/tooltip.js.map +1 -1
  1145. package/dist/esm/tooltip/tooltip.options.d.ts +6 -0
  1146. package/dist/esm/tooltip/tooltip.options.js +7 -0
  1147. package/dist/esm/tooltip/tooltip.options.js.map +1 -1
  1148. package/dist/esm/tooltip/tooltip.styles.css +90 -0
  1149. package/dist/esm/tooltip/tooltip.styles.js +1 -1
  1150. package/dist/esm/tooltip/tooltip.template.html +6 -0
  1151. package/dist/esm/tree/define-async.d.ts +1 -0
  1152. package/dist/esm/tree/define-async.js +4 -0
  1153. package/dist/esm/tree/define-async.js.map +1 -0
  1154. package/dist/esm/tree/define.js +2 -2
  1155. package/dist/esm/tree/define.js.map +1 -1
  1156. package/dist/esm/tree/index.d.ts +1 -0
  1157. package/dist/esm/tree/index.js +1 -0
  1158. package/dist/esm/tree/index.js.map +1 -1
  1159. package/dist/esm/tree/tree.base.d.ts +12 -27
  1160. package/dist/esm/tree/tree.base.js +36 -105
  1161. package/dist/esm/tree/tree.base.js.map +1 -1
  1162. package/dist/esm/tree/tree.bench.d.ts +1 -0
  1163. package/dist/esm/tree/tree.bench.js +1 -3
  1164. package/dist/esm/tree/tree.bench.js.map +1 -1
  1165. package/dist/esm/tree/tree.d.ts +13 -2
  1166. package/dist/esm/tree/tree.definition-async.d.ts +10 -0
  1167. package/dist/esm/tree/tree.definition-async.js +17 -0
  1168. package/dist/esm/tree/tree.definition-async.js.map +1 -0
  1169. package/dist/esm/tree/tree.definition.d.ts +3 -4
  1170. package/dist/esm/tree/tree.definition.js +10 -10
  1171. package/dist/esm/tree/tree.definition.js.map +1 -1
  1172. package/dist/esm/tree/tree.js +31 -2
  1173. package/dist/esm/tree/tree.js.map +1 -1
  1174. package/dist/esm/tree/tree.options.d.ts +6 -0
  1175. package/dist/esm/tree/tree.options.js +8 -0
  1176. package/dist/esm/tree/tree.options.js.map +1 -0
  1177. package/dist/esm/tree/tree.styles.css +10 -0
  1178. package/dist/esm/tree/tree.template.html +13 -0
  1179. package/dist/esm/tree/tree.template.js +2 -2
  1180. package/dist/esm/tree/tree.template.js.map +1 -1
  1181. package/dist/esm/tree-item/define-async.d.ts +1 -0
  1182. package/dist/esm/tree-item/define-async.js +4 -0
  1183. package/dist/esm/tree-item/define-async.js.map +1 -0
  1184. package/dist/esm/tree-item/define.js +2 -2
  1185. package/dist/esm/tree-item/define.js.map +1 -1
  1186. package/dist/esm/tree-item/index.d.ts +1 -0
  1187. package/dist/esm/tree-item/index.js +1 -0
  1188. package/dist/esm/tree-item/index.js.map +1 -1
  1189. package/dist/esm/tree-item/tree-item.base.d.ts +31 -5
  1190. package/dist/esm/tree-item/tree-item.base.js +69 -21
  1191. package/dist/esm/tree-item/tree-item.base.js.map +1 -1
  1192. package/dist/esm/tree-item/tree-item.bench.d.ts +1 -0
  1193. package/dist/esm/tree-item/tree-item.bench.js +1 -3
  1194. package/dist/esm/tree-item/tree-item.bench.js.map +1 -1
  1195. package/dist/esm/tree-item/tree-item.d.ts +15 -0
  1196. package/dist/esm/tree-item/tree-item.definition-async.d.ts +10 -0
  1197. package/dist/esm/tree-item/tree-item.definition-async.js +17 -0
  1198. package/dist/esm/tree-item/tree-item.definition-async.js.map +1 -0
  1199. package/dist/esm/tree-item/tree-item.definition.d.ts +3 -4
  1200. package/dist/esm/tree-item/tree-item.definition.js +10 -10
  1201. package/dist/esm/tree-item/tree-item.definition.js.map +1 -1
  1202. package/dist/esm/tree-item/tree-item.js +15 -0
  1203. package/dist/esm/tree-item/tree-item.js.map +1 -1
  1204. package/dist/esm/tree-item/tree-item.options.d.ts +6 -0
  1205. package/dist/esm/tree-item/tree-item.options.js +7 -0
  1206. package/dist/esm/tree-item/tree-item.options.js.map +1 -1
  1207. package/dist/esm/tree-item/tree-item.styles.css +161 -0
  1208. package/dist/esm/tree-item/tree-item.template.html +27 -0
  1209. package/dist/esm/tree-item/tree-item.template.js +1 -1
  1210. package/dist/esm/tree-item/tree-item.template.js.map +1 -1
  1211. package/dist/esm/utils/autofocus.d.ts +12 -0
  1212. package/dist/esm/utils/autofocus.js +25 -0
  1213. package/dist/esm/utils/autofocus.js.map +1 -0
  1214. package/dist/esm/utils/direction.d.ts +13 -1
  1215. package/dist/esm/utils/direction.js +8 -1
  1216. package/dist/esm/utils/direction.js.map +1 -1
  1217. package/dist/esm/utils/focusable-element.js +2 -1
  1218. package/dist/esm/utils/focusable-element.js.map +1 -1
  1219. package/dist/esm/utils/focusgroup.d.ts +22 -0
  1220. package/dist/esm/utils/focusgroup.js +42 -0
  1221. package/dist/esm/utils/focusgroup.js.map +1 -0
  1222. package/dist/esm/utils/index.d.ts +2 -1
  1223. package/dist/esm/utils/index.js +2 -1
  1224. package/dist/esm/utils/index.js.map +1 -1
  1225. package/dist/esm/utils/numbers.d.ts +5 -0
  1226. package/dist/esm/utils/numbers.js +9 -0
  1227. package/dist/esm/utils/numbers.js.map +1 -0
  1228. package/dist/esm/utils/orientation.d.ts +13 -0
  1229. package/dist/esm/utils/orientation.js +10 -0
  1230. package/dist/esm/utils/orientation.js.map +1 -0
  1231. package/dist/esm/utils/request-idle-callback.d.ts +15 -0
  1232. package/dist/esm/utils/request-idle-callback.js +11 -10
  1233. package/dist/esm/utils/request-idle-callback.js.map +1 -1
  1234. package/dist/esm/utils/typings.d.ts +12 -0
  1235. package/dist/esm/utils/typings.js +21 -1
  1236. package/dist/esm/utils/typings.js.map +1 -1
  1237. package/dist/web-components-all.js +15035 -0
  1238. package/dist/web-components-all.min.js +43 -0
  1239. package/dist/web-components.d.ts +1217 -1352
  1240. package/dist/web-components.js +8407 -8012
  1241. package/dist/web-components.min.js +19 -573
  1242. package/package.json +36 -16
  1243. package/dist/esm/tab-panel/define.js +0 -7
  1244. package/dist/esm/tab-panel/define.js.map +0 -1
  1245. package/dist/esm/tab-panel/index.d.ts +0 -4
  1246. package/dist/esm/tab-panel/index.js +0 -5
  1247. package/dist/esm/tab-panel/index.js.map +0 -1
  1248. package/dist/esm/tab-panel/tab-panel.bench.d.ts +0 -3
  1249. package/dist/esm/tab-panel/tab-panel.bench.js +0 -13
  1250. package/dist/esm/tab-panel/tab-panel.bench.js.map +0 -1
  1251. package/dist/esm/tab-panel/tab-panel.d.ts +0 -8
  1252. package/dist/esm/tab-panel/tab-panel.definition.d.ts +0 -5
  1253. package/dist/esm/tab-panel/tab-panel.definition.js +0 -13
  1254. package/dist/esm/tab-panel/tab-panel.definition.js.map +0 -1
  1255. package/dist/esm/tab-panel/tab-panel.js +0 -9
  1256. package/dist/esm/tab-panel/tab-panel.js.map +0 -1
  1257. package/dist/esm/tab-panel/tab-panel.styles.js +0 -12
  1258. package/dist/esm/tab-panel/tab-panel.styles.js.map +0 -1
  1259. package/dist/esm/tab-panel/tab-panel.template.d.ts +0 -7
  1260. package/dist/esm/tab-panel/tab-panel.template.js +0 -13
  1261. package/dist/esm/tab-panel/tab-panel.template.js.map +0 -1
  1262. package/dist/esm/tabs/define.js +0 -7
  1263. package/dist/esm/tabs/define.js.map +0 -1
  1264. package/dist/esm/tabs/index.d.ts +0 -6
  1265. package/dist/esm/tabs/index.js +0 -6
  1266. package/dist/esm/tabs/index.js.map +0 -1
  1267. package/dist/esm/tabs/tabs.base.d.ts +0 -90
  1268. package/dist/esm/tabs/tabs.base.js +0 -279
  1269. package/dist/esm/tabs/tabs.base.js.map +0 -1
  1270. package/dist/esm/tabs/tabs.bench.d.ts +0 -3
  1271. package/dist/esm/tabs/tabs.bench.js +0 -32
  1272. package/dist/esm/tabs/tabs.bench.js.map +0 -1
  1273. package/dist/esm/tabs/tabs.d.ts +0 -100
  1274. package/dist/esm/tabs/tabs.definition.d.ts +0 -5
  1275. package/dist/esm/tabs/tabs.definition.js +0 -13
  1276. package/dist/esm/tabs/tabs.definition.js.map +0 -1
  1277. package/dist/esm/tabs/tabs.js +0 -180
  1278. package/dist/esm/tabs/tabs.js.map +0 -1
  1279. package/dist/esm/tabs/tabs.options.d.ts +0 -32
  1280. package/dist/esm/tabs/tabs.options.js +0 -16
  1281. package/dist/esm/tabs/tabs.options.js.map +0 -1
  1282. package/dist/esm/tabs/tabs.styles.d.ts +0 -1
  1283. package/dist/esm/tabs/tabs.styles.js +0 -230
  1284. package/dist/esm/tabs/tabs.styles.js.map +0 -1
  1285. package/dist/esm/tabs/tabs.template.d.ts +0 -8
  1286. package/dist/esm/tabs/tabs.template.js +0 -19
  1287. package/dist/esm/tabs/tabs.template.js.map +0 -1
  1288. package/dist/esm/utils/behaviors/match-media-stylesheet-behavior.d.ts +0 -124
  1289. package/dist/esm/utils/behaviors/match-media-stylesheet-behavior.js +0 -142
  1290. package/dist/esm/utils/behaviors/match-media-stylesheet-behavior.js.map +0 -1
  1291. /package/dist/esm/{tabs/define.d.ts → accordion/define-async.d.ts} +0 -0
  1292. /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> & {
@@ -201,22 +199,24 @@ export declare const AccordionItemSize: {
201
199
  */
202
200
  export declare type AccordionItemSize = ValuesOf<typeof AccordionItemSize>;
203
201
 
204
- export declare const accordionItemStyles: ElementStyles;
202
+ export declare const AccordionItemStyles: ElementStyles;
205
203
 
206
204
  /**
207
205
  * The template for the fluent-accordion component.
208
206
  * @public
209
207
  */
210
- export declare const accordionItemTemplate: ElementViewTemplate<AccordionItem>;
208
+ export declare const AccordionItemTemplate: ElementViewTemplate<AccordionItem>;
211
209
 
212
- export declare const accordionStyles: ElementStyles;
210
+ export declare const AccordionStyles: ElementStyles;
213
211
 
214
- export declare const accordionTemplate: ElementViewTemplate<Accordion>;
212
+ export declare const AccordionTemplate: ElementViewTemplate<Accordion>;
215
213
 
216
214
  /**
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
@@ -2099,7 +2236,18 @@ export declare class BaseDropdown extends FASTElement {
2099
2236
  * @public
2100
2237
  */
2101
2238
  export declare class BaseField extends FASTElement {
2102
- private slottedInputObserver;
2239
+ /**
2240
+ * The mutation observer for the slotted input.
2241
+ *
2242
+ * @internal
2243
+ */
2244
+ private _slottedInputObserver?;
2245
+ /**
2246
+ * Gets the mutation observer for the slotted input, creating it if it doesn't exist.
2247
+ *
2248
+ * @internal
2249
+ */
2250
+ protected get slottedInputObserver(): MutationObserver;
2103
2251
  /**
2104
2252
  * The slotted label elements.
2105
2253
  *
@@ -2215,6 +2363,62 @@ export declare class BaseField extends FASTElement {
2215
2363
  setValidationStates(): void;
2216
2364
  }
2217
2365
 
2366
+ /**
2367
+ * A Base MenuList Custom HTML Element.
2368
+ * Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#menu | ARIA menu }.
2369
+ *
2370
+ * @public
2371
+ */
2372
+ export declare class BaseMenuList extends FASTElement {
2373
+ /**
2374
+ * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
2375
+ *
2376
+ * @internal
2377
+ */
2378
+ elementInternals: ElementInternals;
2379
+ /**
2380
+ * @internal
2381
+ */
2382
+ items: HTMLElement[];
2383
+ protected itemsChanged(oldValue: HTMLElement[], newValue: HTMLElement[]): void;
2384
+ protected menuChildren: HTMLElement[] | undefined;
2385
+ protected menuItems: MenuItem[] | undefined;
2386
+ private static focusableElementRoles;
2387
+ constructor();
2388
+ /**
2389
+ * @internal
2390
+ */
2391
+ connectedCallback(): void;
2392
+ /**
2393
+ * @internal
2394
+ */
2395
+ disconnectedCallback(): void;
2396
+ /**
2397
+ * @internal
2398
+ */
2399
+ readonly isNestedMenu: () => boolean;
2400
+ /**
2401
+ * Focuses the first item in the menu.
2402
+ *
2403
+ * @public
2404
+ */
2405
+ focus(): void;
2406
+ private static elementIndent;
2407
+ protected setItems(): void;
2408
+ /**
2409
+ * Method for Observable changes to the hidden attribute of child elements
2410
+ */
2411
+ handleChange(source: any, propertyName: string): void;
2412
+ /**
2413
+ * Handle change from child MenuItem element and set radio group behavior
2414
+ */
2415
+ private changedMenuItemHandler;
2416
+ /**
2417
+ * check if the item is a menu item
2418
+ */
2419
+ protected isMenuItemElement(el: Element): el is MenuItem;
2420
+ }
2421
+
2218
2422
  /**
2219
2423
  * A Progress HTML Element.
2220
2424
  * Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#progressbar | ARIA progressbar }.
@@ -2222,8 +2426,17 @@ export declare class BaseField extends FASTElement {
2222
2426
  * @public
2223
2427
  */
2224
2428
  export declare class BaseProgressBar extends FASTElement {
2225
- /** @internal */
2226
- indicator: HTMLElement;
2429
+ /**
2430
+ * Reference to the indicator element which visually represents the progress.
2431
+ *
2432
+ * @internal
2433
+ */
2434
+ indicator?: HTMLElement;
2435
+ /**
2436
+ * Updates the indicator width after the element is connected to the DOM via the template.
2437
+ * @internal
2438
+ */
2439
+ protected indicatorChanged(): void;
2227
2440
  /**
2228
2441
  * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
2229
2442
  *
@@ -2232,8 +2445,11 @@ export declare class BaseProgressBar extends FASTElement {
2232
2445
  elementInternals: ElementInternals;
2233
2446
  /**
2234
2447
  * The validation state of the progress bar
2235
- * @public
2448
+ * The validation state of the progress bar
2449
+ *
2236
2450
  * HTML Attribute: `validation-state`
2451
+ *
2452
+ * @public
2237
2453
  */
2238
2454
  validationState: ProgressBarValidationState | null;
2239
2455
  /**
@@ -2244,8 +2460,11 @@ export declare class BaseProgressBar extends FASTElement {
2244
2460
  validationStateChanged(prev: ProgressBarValidationState | undefined, next: ProgressBarValidationState | undefined): void;
2245
2461
  /**
2246
2462
  * The value of the progress
2247
- * @internal
2463
+ * The value of the progress
2464
+ *
2248
2465
  * HTML Attribute: `value`
2466
+ *
2467
+ * @public
2249
2468
  */
2250
2469
  value?: number;
2251
2470
  /**
@@ -2256,8 +2475,11 @@ export declare class BaseProgressBar extends FASTElement {
2256
2475
  protected valueChanged(prev: number | undefined, next: number | undefined): void;
2257
2476
  /**
2258
2477
  * The minimum value
2259
- * @internal
2478
+ * The minimum value
2479
+ *
2260
2480
  * HTML Attribute: `min`
2481
+ *
2482
+ * @public
2261
2483
  */
2262
2484
  min?: number;
2263
2485
  /**
@@ -2269,8 +2491,11 @@ export declare class BaseProgressBar extends FASTElement {
2269
2491
  protected minChanged(prev: number | undefined, next: number | undefined): void;
2270
2492
  /**
2271
2493
  * The maximum value
2272
- * @internal
2494
+ * The maximum value
2495
+ *
2273
2496
  * HTML Attribute: `max`
2497
+ *
2498
+ * @public
2274
2499
  */
2275
2500
  max?: number;
2276
2501
  /**
@@ -2282,307 +2507,475 @@ export declare class BaseProgressBar extends FASTElement {
2282
2507
  */
2283
2508
  protected maxChanged(prev: number | undefined, next: number | undefined): void;
2284
2509
  constructor();
2285
- connectedCallback(): void;
2286
- private setIndicatorWidth;
2510
+ /**
2511
+ * Sets the width of the indicator element based on the value, min, and max
2512
+ * properties. If the browser supports `width: attr(value)`, this method does
2513
+ * nothing and allows CSS to handle the width.
2514
+ *
2515
+ * @internal
2516
+ */
2517
+ protected setIndicatorWidth(): void;
2287
2518
  }
2288
2519
 
2289
2520
  /**
2290
- * The base class used for constructing a fluent-rating-display custom element
2521
+ * A Base Radio Group Custom HTML Element.
2522
+ * Implements the {@link https://w3c.github.io/aria/#radiogroup | ARIA `radiogroup` role}.
2291
2523
  *
2292
- * @slot icon - SVG element used as the rating icon
2524
+ * @fires { Event } change - Fires a custom 'change' event when the checked radio changes
2293
2525
  *
2294
2526
  * @public
2295
2527
  */
2296
- export declare class BaseRatingDisplay extends FASTElement {
2297
- private numberFormatter;
2528
+ export declare class BaseRadioGroup extends FASTElement {
2529
+ private isNavigating;
2298
2530
  /**
2299
- * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
2531
+ * The index of the checked radio, scoped to the enabled radios.
2300
2532
  *
2301
2533
  * @internal
2302
2534
  */
2303
- elementInternals: ElementInternals;
2304
- /** @internal */
2305
- iconSlot: HTMLSlotElement;
2306
- protected defaultCustomIconViewBox: string;
2535
+ protected checkedIndex: number;
2307
2536
  /**
2308
- * The element that displays the rating icons.
2309
- * @internal
2310
- */
2311
- display: HTMLElement;
2312
- /**
2313
- * The number of ratings.
2537
+ * Sets the checked state of the nearest enabled radio when the `checkedIndex` changes.
2314
2538
  *
2315
- * @public
2316
- * @remarks
2317
- * HTML Attribute: `count`
2539
+ * @param prev - the previous index
2540
+ * @param next - the current index
2541
+ * @internal
2318
2542
  */
2319
- count?: number;
2543
+ protected checkedIndexChanged(prev: number | undefined, next: number): void;
2320
2544
  /**
2321
- * The `viewBox` attribute of the icon <svg> element.
2545
+ * Indicates that the value has been changed by the user.
2546
+ */
2547
+ private dirtyState;
2548
+ /**
2549
+ * Disables the radio group and child radios.
2322
2550
  *
2323
2551
  * @public
2324
2552
  * @remarks
2325
- * HTML Attribute: `icon-view-box`
2326
- * @deprecated Add `viewBox` attribute on the custom SVG directly.
2553
+ * HTML Attribute: `disabled`
2327
2554
  */
2328
- iconViewBox?: string;
2555
+ disabled: boolean;
2329
2556
  /**
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.
2557
+ * Sets the `disabled` attribute on all child radios when the `disabled` property changes.
2333
2558
  *
2334
- * @public
2335
- * @remarks
2336
- * HTML Attribute: `max`
2559
+ * @param prev - the previous disabled value
2560
+ * @param next - the current disabled value
2561
+ * @internal
2337
2562
  */
2338
- max?: number;
2339
- protected maxChanged(): void;
2563
+ protected disabledChanged(prev?: boolean, next?: boolean): void;
2340
2564
  /**
2341
- * The value of the rating.
2565
+ * The value of the checked radio.
2342
2566
  *
2343
2567
  * @public
2344
2568
  * @remarks
2345
2569
  * HTML Attribute: `value`
2346
2570
  */
2347
- value?: number;
2348
- protected valueChanged(): void;
2349
- constructor();
2350
- connectedCallback(): void;
2571
+ initialValue?: string;
2351
2572
  /**
2352
- * Returns "count" as string, formatted according to the locale.
2573
+ * Sets the matching radio to checked when the value changes. If no radio matches the value, no radio will be checked.
2353
2574
  *
2354
- * @internal
2575
+ * @param prev - the previous value
2576
+ * @param next - the current value
2355
2577
  */
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 {
2578
+ initialValueChanged(prev: string | undefined, next: string | undefined): void;
2368
2579
  /**
2369
- * The internal {@link https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
2580
+ * The name of the radio group.
2370
2581
  *
2371
- * @internal
2582
+ * @public
2583
+ * @remarks
2584
+ * HTML Attribute: `name`
2372
2585
  */
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 {
2586
+ name: string;
2382
2587
  /**
2383
- * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
2588
+ * Sets the `name` attribute on all child radios when the `name` property changes.
2384
2589
  *
2385
2590
  * @internal
2386
2591
  */
2387
- elementInternals: ElementInternals;
2592
+ protected nameChanged(prev: string | undefined, next: string | undefined): void;
2388
2593
  /**
2389
- * Used for disabling all click and keyboard events for the tabs, child tab elements.
2594
+ * The orientation of the group.
2595
+ *
2390
2596
  * @public
2391
2597
  * @remarks
2392
- * HTML Attribute: disabled.
2598
+ * HTML Attribute: `orientation`
2393
2599
  */
2394
- disabled: boolean;
2600
+ orientation?: RadioGroupOrientation;
2395
2601
  /**
2396
- * Handles disabled changes
2397
- * @param prev - previous value
2398
- * @param next - next value
2602
+ * Sets the ariaOrientation attribute when the orientation changes.
2399
2603
  *
2604
+ * @param prev - the previous orientation
2605
+ * @param next - the current orientation
2400
2606
  * @internal
2401
2607
  */
2402
- protected disabledChanged(prev: boolean, next: boolean): void;
2608
+ orientationChanged(prev: RadioGroupOrientation | undefined, next: RadioGroupOrientation | undefined): void;
2403
2609
  /**
2404
- * The orientation
2610
+ * The collection of all child radios.
2611
+ *
2405
2612
  * @public
2406
- * @remarks
2407
- * HTML Attribute: orientation
2408
2613
  */
2409
- orientation: TablistOrientation;
2614
+ radios: Radio[];
2410
2615
  /**
2411
- * @internal
2616
+ * Updates the enabled radios collection when properties on the child radios change.
2617
+ *
2618
+ * @param prev - the previous radios
2619
+ * @param next - the current radios
2412
2620
  */
2413
- protected orientationChanged(prev: TablistOrientation, next: TablistOrientation): void;
2621
+ radiosChanged(prev: Radio[] | undefined, next: Radio[] | undefined): void;
2414
2622
  /**
2415
- * The id of the active tab
2623
+ * Indicates whether the radio group is required.
2416
2624
  *
2417
2625
  * @public
2418
2626
  * @remarks
2419
- * HTML Attribute: activeid
2627
+ * HTML Attribute: `required`
2420
2628
  */
2421
- activeid: string;
2629
+ required: boolean;
2422
2630
  /**
2423
- * @internal
2631
+ *
2632
+ * @param prev - the previous required value
2633
+ * @param next - the current required value
2424
2634
  */
2425
- protected activeidChanged(oldValue: string, newValue: string): void;
2635
+ requiredChanged(prev: boolean, next: boolean): void;
2426
2636
  /**
2427
- * Content slotted in the tab slot.
2637
+ * The collection of radios that are slotted into the default slot.
2638
+ *
2428
2639
  * @internal
2429
2640
  */
2430
- slottedTabs: Node[];
2641
+ slottedRadios: Radio[];
2431
2642
  /**
2432
- * Updates the tabs property when content in the tabs slot changes.
2433
- * @internal
2643
+ * Updates the radios collection when the slotted radios change.
2644
+ *
2645
+ * @param prev - the previous slotted radios
2646
+ * @param next - the current slotted radios
2434
2647
  */
2435
- slottedTabsChanged(prev: Node[] | undefined, next: Node[] | undefined): void;
2648
+ slottedRadiosChanged(prev: Radio[] | undefined, next: Radio[]): void;
2436
2649
  /**
2650
+ * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
2651
+ *
2437
2652
  * @internal
2438
2653
  */
2439
- tabs: Tab[];
2654
+ elementInternals: ElementInternals;
2440
2655
  /**
2656
+ * A collection of child radios that are not disabled.
2657
+ *
2441
2658
  * @internal
2442
2659
  */
2443
- protected tabsChanged(): void;
2660
+ get enabledRadios(): Radio[];
2444
2661
  /**
2445
- * A reference to the active tab
2662
+ * The form-associated flag.
2663
+ * @see {@link https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-face-example | Form-associated custom elements}
2664
+ *
2446
2665
  * @public
2447
2666
  */
2448
- activetab: Tab;
2449
- private prevActiveTabIndex;
2450
- private activeTabIndex;
2451
- private tabIds;
2452
- private tabPanelMap;
2453
- private change;
2454
- private getActiveIndex;
2667
+ static formAssociated: boolean;
2455
2668
  /**
2456
- * Function that is invoked whenever the selected tab or the tab collection changes.
2669
+ * The fallback validation message, taken from a native checkbox `<input>` element.
2457
2670
  *
2458
- * @public
2671
+ * @internal
2672
+ */
2673
+ private _validationFallbackMessage;
2674
+ /**
2675
+ * The validation message. Uses the browser's default validation message for native checkboxes if not otherwise
2676
+ * specified (e.g., via `setCustomValidity`).
2677
+ *
2678
+ * @internal
2459
2679
  */
2460
- protected setTabs(): void;
2461
- private getTabIds;
2462
- private setComponent;
2463
- private handleTabClick;
2464
- private isHorizontal;
2465
- private handleTabKeyDown;
2680
+ get validationMessage(): string;
2466
2681
  /**
2467
- * The adjust method for FASTTabs
2682
+ * The element's validity state.
2683
+ *
2468
2684
  * @public
2469
2685
  * @remarks
2470
- * This method allows the active index to be adjusted by numerical increments
2686
+ * Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/validity | `ElementInternals.validity`} property.
2471
2687
  */
2472
- adjust(adjustment: number): void;
2473
- private activateTabByIndex;
2474
- private focusTab;
2688
+ get validity(): ValidityState;
2475
2689
  /**
2476
- * @internal
2690
+ * The current value of the checked radio.
2691
+ *
2692
+ * @public
2477
2693
  */
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 {
2694
+ get value(): string | null;
2695
+ set value(next: string | null);
2487
2696
  /**
2488
- * The orientation
2489
- * @public
2490
- * @remarks
2491
- * HTML Attribute: orientation
2697
+ * Sets the checked state of all radios when any radio emits a `change` event.
2698
+ *
2699
+ * @param e - the change event
2492
2700
  */
2493
- orientation: TabsOrientation;
2701
+ changeHandler(e: Event): boolean | void;
2494
2702
  /**
2703
+ * Checks the radio at the specified index.
2704
+ *
2705
+ * @param index - the index of the radio to check
2495
2706
  * @internal
2496
2707
  */
2497
- orientationChanged(): void;
2708
+ checkRadio(index?: number, shouldEmit?: boolean): void;
2498
2709
  /**
2499
- * The id of the active tab
2710
+ * Checks the validity of the element and returns the result.
2500
2711
  *
2501
2712
  * @public
2502
2713
  * @remarks
2503
- * HTML Attribute: activeid
2504
- */
2505
- activeid: string;
2506
- /**
2507
- * @internal
2714
+ * Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/checkValidity | `HTMLInputElement.checkValidity()`} method.
2508
2715
  */
2509
- activeidChanged(oldValue: string, newValue: string): void;
2716
+ checkValidity(): boolean;
2510
2717
  /**
2718
+ * Handles click events for the radio group.
2719
+ *
2720
+ * @param e - the click event
2511
2721
  * @internal
2512
2722
  */
2513
- tabs: HTMLElement[];
2723
+ clickHandler(e: MouseEvent): boolean | void;
2724
+ constructor();
2514
2725
  /**
2726
+ * Focuses the checked radio or the first enabled radio.
2727
+ *
2515
2728
  * @internal
2516
2729
  */
2517
- tabsChanged(): void;
2730
+ focus(): void;
2731
+ formResetCallback(): void;
2518
2732
  /**
2733
+ * Enables tabbing through the radio group when the group receives focus.
2734
+ *
2735
+ * @param e - the focus event
2519
2736
  * @internal
2520
2737
  */
2521
- tabpanels: HTMLElement[];
2738
+ focusinHandler(e: FocusEvent): boolean | void;
2522
2739
  /**
2740
+ * Handles keydown events for the radio group.
2741
+ *
2742
+ * @param e - the keyboard event
2523
2743
  * @internal
2524
2744
  */
2525
- tabpanelsChanged(): void;
2745
+ keydownHandler(e: KeyboardEvent): boolean | void;
2526
2746
  /**
2527
- * A reference to the active tab
2528
- * @public
2747
+ *
2748
+ * @param e - the disabled event
2529
2749
  */
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;
2750
+ disabledRadioHandler(e: CustomEvent): void;
2540
2751
  /**
2541
- * Function that is invoked whenever the selected tab or the tab collection changes.
2752
+ * Reports the validity of the element.
2542
2753
  *
2543
2754
  * @public
2755
+ * @remarks
2756
+ * Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/reportValidity | `HTMLInputElement.reportValidity()`} method.
2544
2757
  */
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;
2758
+ reportValidity(): boolean;
2553
2759
  /**
2554
- * The adjust method for FASTTabs
2555
- * @public
2556
- * @remarks
2557
- * This method allows the active index to be adjusted by numerical increments
2760
+ * Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/setFormValue | `ElementInternals.setFormValue()`} method.
2761
+ *
2762
+ * @internal
2558
2763
  */
2559
- adjust(adjustment: number): void;
2560
- private adjustForward;
2561
- private adjustBackward;
2562
- private moveToTabByIndex;
2563
- private focusTab;
2764
+ setFormValue(value: File | string | FormData | null, state?: File | string | FormData | null): void;
2564
2765
  /**
2766
+ * Sets the validity of the element.
2767
+ *
2768
+ * @param flags - Validity flags to set.
2769
+ * @param message - Optional message to supply. If not provided, the element's `validationMessage` will be used.
2770
+ * @param anchor - Optional anchor to use for the validation message.
2771
+ *
2565
2772
  * @internal
2773
+ * @remarks
2774
+ * RadioGroup validation is reported through the individual Radio elements rather than the RadioGroup itself.
2775
+ * This is necessary because:
2776
+ * 1. Each Radio is form-associated (extends BaseCheckbox which has `formAssociated = true`)
2777
+ * 2. Browser validation UIs and screen readers announce validation against individual form controls
2778
+ * 3. For groups like RadioGroup, the browser needs to report the error on a specific member of the group
2779
+ * 4. We anchor the error to the first Radio so it receives focus and announcement
2780
+ *
2781
+ * When the group is invalid (required but no selection):
2782
+ * - Only the first Radio gets the invalid state with the validation message
2783
+ * - Other Radios are kept valid since selecting any of them would satisfy the requirement
2784
+ *
2785
+ * When the group becomes valid (user selects any Radio):
2786
+ * - All Radios are cleared back to valid state
2787
+ * - This allows form submission to proceed
2566
2788
  */
2567
- connectedCallback(): void;
2789
+ setValidity(flags?: Partial<ValidityState>, message?: string, anchor?: HTMLElement): void;
2568
2790
  }
2569
2791
 
2570
2792
  /**
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.
2793
+ * The base class used for constructing a fluent-rating-display custom element
2573
2794
  *
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.
2795
+ * @slot icon - SVG element used as the rating icon
2581
2796
  *
2582
2797
  * @public
2583
2798
  */
2584
- export declare class BaseTextArea extends FASTElement {
2585
- /**
2799
+ export declare class BaseRatingDisplay extends FASTElement {
2800
+ private numberFormatter;
2801
+ /**
2802
+ * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
2803
+ *
2804
+ * @internal
2805
+ */
2806
+ elementInternals: ElementInternals;
2807
+ /**
2808
+ * Reference to the slot element used for the rating icon.
2809
+ *
2810
+ * @internal
2811
+ */
2812
+ iconSlot: HTMLSlotElement;
2813
+ /**
2814
+ * Updates the icon when the referenced slot is bound in the template.
2815
+ *
2816
+ * @internal
2817
+ */
2818
+ iconSlotChanged(): void;
2819
+ protected defaultCustomIconViewBox: string;
2820
+ /**
2821
+ * The element that displays the rating icons.
2822
+ * @internal
2823
+ */
2824
+ display: HTMLElement;
2825
+ /**
2826
+ * The number of ratings.
2827
+ *
2828
+ * @public
2829
+ * @remarks
2830
+ * HTML Attribute: `count`
2831
+ */
2832
+ count?: number;
2833
+ /**
2834
+ * The `viewBox` attribute of the icon <svg> element.
2835
+ *
2836
+ * @public
2837
+ * @remarks
2838
+ * HTML Attribute: `icon-view-box`
2839
+ * @deprecated Add `viewBox` attribute on the custom SVG directly.
2840
+ */
2841
+ iconViewBox?: string;
2842
+ /**
2843
+ * The maximum possible value of the rating.
2844
+ * This attribute determines the number of icons displayed.
2845
+ * Must be a whole number greater than 1.
2846
+ *
2847
+ * @public
2848
+ * @remarks
2849
+ * HTML Attribute: `max`
2850
+ */
2851
+ max?: number;
2852
+ protected maxChanged(): void;
2853
+ /**
2854
+ * The value of the rating.
2855
+ *
2856
+ * @public
2857
+ * @remarks
2858
+ * HTML Attribute: `value`
2859
+ */
2860
+ value?: number;
2861
+ protected valueChanged(): void;
2862
+ constructor();
2863
+ connectedCallback(): void;
2864
+ /**
2865
+ * Returns "count" as string, formatted according to the locale.
2866
+ *
2867
+ * @internal
2868
+ */
2869
+ get formattedCount(): string;
2870
+ /** @internal */
2871
+ handleSlotChange(): void;
2872
+ protected renderSlottedIcon(svg: SVGSVGElement | null): void;
2873
+ protected setCustomPropertyValue(propertyName: PropertyNameForCalculation): void;
2874
+ }
2875
+
2876
+ /**
2877
+ * The base class used for constructing a fluent-spinner custom element
2878
+ * @public
2879
+ */
2880
+ export declare class BaseSpinner extends FASTElement {
2881
+ /**
2882
+ * The internal {@link https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
2883
+ *
2884
+ * @internal
2885
+ */
2886
+ elementInternals: ElementInternals;
2887
+ constructor();
2888
+ }
2889
+
2890
+ /**
2891
+ * A Tablist element that wraps a collection of tab elements
2892
+ * @public
2893
+ */
2894
+ export declare class BaseTablist extends FASTElement {
2895
+ /**
2896
+ * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
2897
+ *
2898
+ * @internal
2899
+ */
2900
+ elementInternals: ElementInternals;
2901
+ /**
2902
+ * Used for disabling all click and keyboard events for the tabs, child tab elements.
2903
+ * @public
2904
+ * @remarks
2905
+ * HTML Attribute: disabled.
2906
+ */
2907
+ disabled: boolean;
2908
+ /** @internal */
2909
+ protected disabledChanged(prev: boolean, next: boolean): void;
2910
+ /**
2911
+ * The orientation
2912
+ * @public
2913
+ * @remarks
2914
+ * HTML Attribute: orientation
2915
+ */
2916
+ orientation: TablistOrientation;
2917
+ protected orientationChanged(prev: TablistOrientation, next: TablistOrientation): void;
2918
+ /**
2919
+ * The id of the active tab
2920
+ *
2921
+ * @public
2922
+ * @remarks
2923
+ * HTML Attribute: activeid
2924
+ */
2925
+ activeid: string;
2926
+ /** @internal */
2927
+ protected activeidChanged(oldValue: string, newValue: string): void;
2928
+ /**
2929
+ * Content slotted in the tab slot.
2930
+ * @internal
2931
+ */
2932
+ slottedTabs: Node[];
2933
+ /** @internal */
2934
+ protected slottedTabsChanged(prev: Node[] | undefined, next: Node[] | undefined): void;
2935
+ /** @internal */
2936
+ tabs: Tab[];
2937
+ /** @internal */
2938
+ protected tabsChanged(prev: Tab[] | undefined, next: Tab[] | undefined): void;
2939
+ /**
2940
+ * A reference to the active tab
2941
+ * @public
2942
+ */
2943
+ activetab: Tab;
2944
+ private tabPanelMap;
2945
+ private change;
2946
+ /**
2947
+ * Function that is invoked whenever the selected tab or the tab collection changes.
2948
+ */
2949
+ protected setTabs({ connectToPanel, forceDisabled }?: {
2950
+ connectToPanel?: boolean | undefined;
2951
+ forceDisabled?: boolean | undefined;
2952
+ }): void;
2953
+ /** @internal */
2954
+ handleFocusIn(event: FocusEvent): void;
2955
+ private changeTab;
2956
+ constructor();
2957
+ /**
2958
+ * @internal
2959
+ */
2960
+ connectedCallback(): void;
2961
+ }
2962
+
2963
+ /**
2964
+ * A Text Area Custom HTML Element.
2965
+ * Based largely on the {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea | `<textarea>`} element.
2966
+ *
2967
+ * @slot - The default content/value of the component.
2968
+ * @slot label - The content for the `<label>`, it should be a `<fluent-label>` element.
2969
+ * @csspart label - The `<label>` element.
2970
+ * @csspart root - The container element of the `<textarea>` element.
2971
+ * @csspart control - The internal `<textarea>` element.
2972
+ * @fires { Event } change - Fires after the control loses focus, if the content has changed.
2973
+ * @fires { Event } select - Fires when the `select()` method is called.
2974
+ *
2975
+ * @public
2976
+ */
2977
+ export declare class BaseTextArea extends FASTElement {
2978
+ /**
2586
2979
  * The form-associated flag.
2587
2980
  * @see {@link https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-face-example | Form-associated custom elements}
2588
2981
  *
@@ -2600,11 +2993,23 @@ export declare class BaseTextArea extends FASTElement {
2600
2993
  * @internal
2601
2994
  */
2602
2995
  labelEl: HTMLLabelElement;
2996
+ /**
2997
+ * The root container element.
2998
+ * @internal
2999
+ */
3000
+ rootEl: HTMLDivElement;
2603
3001
  /**
2604
3002
  * The `<textarea>` element.
2605
3003
  * @internal
2606
3004
  */
2607
3005
  controlEl: HTMLTextAreaElement;
3006
+ /**
3007
+ * Sets up a mutation observer to watch for changes to the control element's
3008
+ * attributes that could affect validity, and binds an input event listener to detect user interaction.
3009
+ *
3010
+ * @internal
3011
+ */
3012
+ protected controlElChanged(): void;
2608
3013
  /**
2609
3014
  * @internal
2610
3015
  */
@@ -2889,13 +3294,10 @@ export declare class BaseTextArea extends FASTElement {
2889
3294
  * @public
2890
3295
  */
2891
3296
  select(): void;
2892
- private setDefaultValue;
2893
- private bindEvents;
2894
3297
  /**
2895
3298
  * Gets the content inside the light DOM, if any HTML element is present, use its `outerHTML` value.
2896
3299
  */
2897
3300
  private getContent;
2898
- private observeControlElAttrs;
2899
3301
  private setDisabledSideEffect;
2900
3302
  private toggleUserValidityState;
2901
3303
  private maybeCreateAutoSizerEl;
@@ -2923,6 +3325,10 @@ export declare class BaseTextArea extends FASTElement {
2923
3325
  * @csspart label - The internal `<label>` element
2924
3326
  * @csspart root - the root container for the internal control
2925
3327
  * @csspart control - The internal `<input>` control
3328
+ *
3329
+ * @fires { Event } change - Fires a custom 'change' event when the value changes and the input loses focus
3330
+ * @fires { Event } select - Fires when the `select()` method is called.
3331
+ *
2926
3332
  * @public
2927
3333
  */
2928
3334
  export declare class BaseTextInput extends FASTElement {
@@ -2935,15 +3341,6 @@ export declare class BaseTextInput extends FASTElement {
2935
3341
  * HTML Attribute: `autocomplete`
2936
3342
  */
2937
3343
  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
3344
  /**
2948
3345
  * The current value of the input.
2949
3346
  * @public
@@ -3209,12 +3606,6 @@ export declare class BaseTextInput extends FASTElement {
3209
3606
  * Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/form | `ElementInternals.form`} property.
3210
3607
  */
3211
3608
  get form(): HTMLFormElement | null;
3212
- /**
3213
- * Handles the internal control's `keypress` event.
3214
- *
3215
- * @internal
3216
- */
3217
- beforeinputHandler(e: InputEvent): boolean | void;
3218
3609
  /**
3219
3610
  * Change event handler for inner control.
3220
3611
  *
@@ -3239,13 +3630,6 @@ export declare class BaseTextInput extends FASTElement {
3239
3630
  */
3240
3631
  clickHandler(e: MouseEvent): boolean | void;
3241
3632
  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
3633
  /**
3250
3634
  * Resets the value to its initial value when the form is reset.
3251
3635
  *
@@ -3320,12 +3704,6 @@ export declare class BaseTree extends FASTElement {
3320
3704
  * @public
3321
3705
  */
3322
3706
  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
3707
  /**
3330
3708
  * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
3331
3709
  *
@@ -3334,6 +3712,13 @@ export declare class BaseTree extends FASTElement {
3334
3712
  elementInternals: ElementInternals;
3335
3713
  /** @internal */
3336
3714
  defaultSlot: HTMLSlotElement;
3715
+ /**
3716
+ * Calls the slot change handler when the `defaultSlot` reference is updated
3717
+ * by the template binding.
3718
+ *
3719
+ * @internal
3720
+ */
3721
+ defaultSlotChanged(): void;
3337
3722
  constructor();
3338
3723
  /** @internal */
3339
3724
  childTreeItems: BaseTreeItem[];
@@ -3349,18 +3734,6 @@ export declare class BaseTree extends FASTElement {
3349
3734
  * @internal
3350
3735
  */
3351
3736
  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
3737
  /**
3365
3738
  * Handles click events bubbling up
3366
3739
  *
@@ -3374,19 +3747,24 @@ export declare class BaseTree extends FASTElement {
3374
3747
  * @internal
3375
3748
  */
3376
3749
  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
3750
  /** @internal */
3387
3751
  handleDefaultSlotChange(): void;
3752
+ /**
3753
+ * All descendant tree items in DOM order, recursively flattened from
3754
+ * `childTreeItems`.
3755
+ */
3756
+ protected get descendantTreeItems(): BaseTreeItem[];
3388
3757
  }
3389
3758
 
3759
+ /**
3760
+ * Base class for Tree Item Custom HTML Element.
3761
+ * Based largely on the {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li | `<li>`} element.
3762
+ *
3763
+ * @fires { ToggleEvent } toggle - Fires when the expanded state changes
3764
+ * @fires { Event } change - Fires when the selected state changes
3765
+ *
3766
+ * @public
3767
+ */
3390
3768
  declare class BaseTreeItem extends FASTElement {
3391
3769
  /**
3392
3770
  * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
@@ -3396,11 +3774,22 @@ declare class BaseTreeItem extends FASTElement {
3396
3774
  elementInternals: ElementInternals;
3397
3775
  /** @internal */
3398
3776
  itemSlot: HTMLSlotElement;
3777
+ /**
3778
+ * Calls the slot change handler when the `itemSlot` reference is updated
3779
+ * by the template binding.
3780
+ *
3781
+ * @internal
3782
+ */
3783
+ itemSlotChanged(): void;
3399
3784
  constructor();
3785
+ connectedCallback(): void;
3400
3786
  /**
3401
3787
  * When true, the control will be appear expanded by user interaction.
3402
- * @public
3788
+ * When true, the control will be appear expanded by user interaction.
3789
+ *
3403
3790
  * HTML Attribute: `expanded`
3791
+ *
3792
+ * @public
3404
3793
  */
3405
3794
  expanded: boolean;
3406
3795
  /**
@@ -3428,8 +3817,11 @@ declare class BaseTreeItem extends FASTElement {
3428
3817
  protected selectedChanged(prev: boolean, next: boolean): void;
3429
3818
  /**
3430
3819
  * When true, the control has no child tree items
3431
- * @public
3820
+ * When true, the control has no child tree items
3821
+ *
3432
3822
  * HTML Attribute: empty
3823
+ *
3824
+ * @public
3433
3825
  */
3434
3826
  empty: boolean;
3435
3827
  private styles;
@@ -3448,7 +3840,6 @@ declare class BaseTreeItem extends FASTElement {
3448
3840
  * @public
3449
3841
  */
3450
3842
  childTreeItemsChanged(): void;
3451
- connectedCallback(): void;
3452
3843
  /**
3453
3844
  * Updates the childrens indent
3454
3845
  *
@@ -3466,11 +3857,15 @@ declare class BaseTreeItem extends FASTElement {
3466
3857
  */
3467
3858
  toggleExpansion(): void;
3468
3859
  /**
3469
- * Whether the tree is nested
3860
+ * Whether the tree item is nested
3470
3861
  * @internal
3471
3862
  */
3472
3863
  get isNestedItem(): boolean;
3473
- protected updateTabindexBySelected(): void;
3864
+ /**
3865
+ * Whether the tree item is nested in a collapsed tree item.
3866
+ * @internal
3867
+ */
3868
+ get isHidden(): boolean;
3474
3869
  /** @internal */
3475
3870
  handleItemSlotChange(): void;
3476
3871
  }
@@ -3611,13 +4006,11 @@ export declare const ButtonAppearance: {
3611
4006
  export declare type ButtonAppearance = ValuesOf<typeof ButtonAppearance>;
3612
4007
 
3613
4008
  /**
3614
- * The definition for the Fluent Button component.
4009
+ * The definition for the `<fluent-button>` element.
3615
4010
  *
3616
4011
  * @public
3617
- * @remarks
3618
- * HTML Element: `<fluent-button>`
3619
4012
  */
3620
- export declare const ButtonDefinition: FASTElementDefinition<typeof Button>;
4013
+ export declare const ButtonDefinition: PartialFASTElementDefinition;
3621
4014
 
3622
4015
  /**
3623
4016
  * Button `formtarget` attribute values.
@@ -3682,7 +4075,7 @@ export declare type ButtonSize = ValuesOf<typeof ButtonSize>;
3682
4075
  *
3683
4076
  * @public
3684
4077
  */
3685
- export declare const ButtonTemplate: ElementViewTemplate<Button>;
4078
+ export declare const ButtonTemplate: ElementViewTemplate<BaseButton>;
3686
4079
 
3687
4080
  /**
3688
4081
  * Button type values.
@@ -3710,8 +4103,8 @@ export declare type ButtonType = ValuesOf<typeof ButtonType>;
3710
4103
  *
3711
4104
  * @slot checked-indicator - The checked indicator
3712
4105
  * @slot indeterminate-indicator - The indeterminate indicator
3713
- * @fires change - Emits a custom change event when the checked state changes
3714
- * @fires input - Emits a custom input event when the checked state changes
4106
+ * @fires { Event } change - Emits a custom change event when the checked state changes
4107
+ * @fires { Event } input - Emits a custom input event when the checked state changes
3715
4108
  *
3716
4109
  * @public
3717
4110
  */
@@ -3764,13 +4157,11 @@ export declare class Checkbox extends BaseCheckbox {
3764
4157
  }
3765
4158
 
3766
4159
  /**
3767
- * The Fluent Checkbox Element
4160
+ * The definition for the `<fluent-checkbox>` element.
3768
4161
  *
3769
4162
  * @public
3770
- * @remarks
3771
- * HTML Element: \<fluent-checkbox\>
3772
4163
  */
3773
- export declare const CheckboxDefinition: FASTElementDefinition<typeof Checkbox>;
4164
+ export declare const CheckboxDefinition: PartialFASTElementDefinition;
3774
4165
 
3775
4166
  /**
3776
4167
  * Checkbox configuration options
@@ -6018,6 +6409,9 @@ export declare const colorTransparentStrokeInteractive = "var(--colorTransparent
6018
6409
  *
6019
6410
  * @tag fluent-compound-button
6020
6411
  *
6412
+ * @slot - The default slot for the main content of the compound button
6413
+ * @slot description - The description of the compound button, shown below the main content
6414
+ *
6021
6415
  * @public
6022
6416
  */
6023
6417
  export declare class CompoundButton extends Button {
@@ -6041,11 +6435,11 @@ export declare const CompoundButtonAppearance: {
6041
6435
  export declare type CompoundButtonAppearance = ValuesOf<typeof CompoundButtonAppearance>;
6042
6436
 
6043
6437
  /**
6438
+ * The definition for the `<fluent-compound-button>` element.
6439
+ *
6044
6440
  * @public
6045
- * @remarks
6046
- * HTML Element: \<fluent-comopund-button\>
6047
6441
  */
6048
- export declare const CompoundButtonDefinition: FASTElementDefinition<typeof CompoundButton>;
6442
+ export declare const CompoundButtonDefinition: PartialFASTElementDefinition;
6049
6443
 
6050
6444
  /**
6051
6445
  * A Compound Button can be square, circular or rounded.
@@ -6083,24 +6477,23 @@ export declare const CompoundButtonStyles: ElementStyles;
6083
6477
 
6084
6478
  /**
6085
6479
  * The template for the Button component.
6480
+ *
6086
6481
  * @public
6087
6482
  */
6088
6483
  export declare const CompoundButtonTemplate: ElementViewTemplate<CompoundButton>;
6089
6484
 
6090
6485
  /**
6091
- * The base class used for constructing a fluent-badge custom element
6486
+ * A CounterBadge Custom HTML Element.
6487
+ * Based on BaseCounterBadge and includes style and layout specific attributes.
6092
6488
  *
6093
6489
  * @tag fluent-counter-badge
6094
6490
  *
6491
+ * @slot start - Content which can be provided before the badge content.
6492
+ * @slot end - Content which can be provided after the badge content.
6493
+ *
6095
6494
  * @public
6096
6495
  */
6097
- export declare class CounterBadge extends FASTElement {
6098
- /**
6099
- * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
6100
- *
6101
- * @internal
6102
- */
6103
- elementInternals: ElementInternals;
6496
+ export declare class CounterBadge extends BaseCounterBadge {
6104
6497
  /**
6105
6498
  * The appearance the badge should have.
6106
6499
  *
@@ -6133,60 +6526,14 @@ export declare class CounterBadge extends FASTElement {
6133
6526
  * HTML Attribute: size
6134
6527
  */
6135
6528
  size?: CounterBadgeSize;
6136
- /**
6137
- * The count the badge should have.
6138
- *
6139
- * @public
6140
- * @remarks
6141
- * HTML Attribute: count
6142
- */
6143
- count: number;
6144
- protected countChanged(): void;
6145
- /**
6146
- * Max number to be displayed
6147
- *
6148
- * @public
6149
- * @remarks
6150
- * HTML Attribute: overflow-count
6151
- */
6152
- overflowCount: number;
6153
- protected overflowCountChanged(): void;
6154
- /**
6155
- * If the badge should be shown when count is 0
6156
- *
6157
- * @public
6158
- * @remarks
6159
- * HTML Attribute: show-zero
6160
- */
6161
- showZero: boolean;
6162
- /**
6163
- * If a dot should be displayed without the count
6164
- *
6165
- * @public
6166
- * @remarks
6167
- * HTML Attribute: dot
6168
- */
6169
- dot: boolean;
6170
- /**
6171
- * @internal
6172
- * Function to set the count
6173
- * This is the default slotted content for the counter badge
6174
- * If children are slotted, that will override the value returned
6175
- */
6176
- setCount(): string | void;
6177
6529
  }
6178
6530
 
6179
- /**
6180
- * Mark internal because exporting class and interface of the same name
6181
- * confuses API extractor.
6182
- * TODO: Below will be unnecessary when Badge class gets updated
6183
- * @internal
6184
- */
6185
6531
  export declare interface CounterBadge extends StartEnd {
6186
6532
  }
6187
6533
 
6188
6534
  /**
6189
- * CounterBadgeAppearance constants
6535
+ * Values for the `appearance` attribute on CounterBadge elements.
6536
+ *
6190
6537
  * @public
6191
6538
  */
6192
6539
  export declare const CounterBadgeAppearance: {
@@ -6195,13 +6542,14 @@ export declare const CounterBadgeAppearance: {
6195
6542
  };
6196
6543
 
6197
6544
  /**
6198
- * A CounterBadge can have an appearance of filled or ghost
6545
+ * Type for the `appearance` attribute on CounterBadge elements, based on the CounterBadgeAppearance constants.
6199
6546
  * @public
6200
6547
  */
6201
6548
  export declare type CounterBadgeAppearance = ValuesOf<typeof CounterBadgeAppearance>;
6202
6549
 
6203
6550
  /**
6204
- * CounterBadgeColor constants
6551
+ * Values for the `color` attribute on CounterBadge elements.
6552
+ *
6205
6553
  * @public
6206
6554
  */
6207
6555
  export declare const CounterBadgeColor: {
@@ -6216,20 +6564,21 @@ export declare const CounterBadgeColor: {
6216
6564
  };
6217
6565
 
6218
6566
  /**
6219
- * A CounterBadge can be one of preset colors
6567
+ * Type for the `color` attribute on CounterBadge elements, based on the CounterBadgeColor constants.
6220
6568
  * @public
6221
6569
  */
6222
6570
  export declare type CounterBadgeColor = ValuesOf<typeof CounterBadgeColor>;
6223
6571
 
6224
6572
  /**
6573
+ * The definition for the `<fluent-counter-badge>` element.
6574
+ *
6225
6575
  * @public
6226
- * @remarks
6227
- * HTML Element: \<fluent-counter-badge\>
6228
6576
  */
6229
- export declare const CounterBadgeDefinition: FASTElementDefinition<typeof CounterBadge>;
6577
+ export declare const CounterBadgeDefinition: PartialFASTElementDefinition;
6230
6578
 
6231
6579
  /**
6232
- * A CounterBadge shape can be circular or rounded.
6580
+ * Values for the `shape` attribute on CounterBadge elements.
6581
+ *
6233
6582
  * @public
6234
6583
  */
6235
6584
  export declare const CounterBadgeShape: {
@@ -6238,13 +6587,15 @@ export declare const CounterBadgeShape: {
6238
6587
  };
6239
6588
 
6240
6589
  /**
6241
- * A CounterBadge can be one of preset colors
6590
+ * Type for the `shape` attribute on CounterBadge elements, based on the CounterBadgeShape constants.
6591
+ *
6242
6592
  * @public
6243
6593
  */
6244
6594
  export declare type CounterBadgeShape = ValuesOf<typeof CounterBadgeShape>;
6245
6595
 
6246
6596
  /**
6247
- * A CounterBadge can be square, circular or rounded.
6597
+ * Values for the `size` attribute on CounterBadge elements.
6598
+ *
6248
6599
  * @public
6249
6600
  */
6250
6601
  export declare const CounterBadgeSize: {
@@ -6257,7 +6608,8 @@ export declare const CounterBadgeSize: {
6257
6608
  };
6258
6609
 
6259
6610
  /**
6260
- * A CounterBadge can be on of several preset sizes.
6611
+ * Type for the `size` attribute on CounterBadge elements, based on the CounterBadgeSize constants.
6612
+ *
6261
6613
  * @public
6262
6614
  */
6263
6615
  export declare type CounterBadgeSize = ValuesOf<typeof CounterBadgeSize>;
@@ -6268,7 +6620,15 @@ export declare type CounterBadgeSize = ValuesOf<typeof CounterBadgeSize>;
6268
6620
  export declare const CounterBadgeStyles: ElementStyles;
6269
6621
 
6270
6622
  /**
6271
- * The template for the Counter Badge component.
6623
+ * The tag name for the counter badge element.
6624
+ *
6625
+ * @public
6626
+ */
6627
+ export declare const CounterBadgeTagName: "fluent-counter-badge";
6628
+
6629
+ /**
6630
+ * The template for the fluent-counter-badge component.
6631
+ *
6272
6632
  * @public
6273
6633
  */
6274
6634
  export declare const CounterBadgeTemplate: ElementViewTemplate<CounterBadge>;
@@ -6333,73 +6693,114 @@ export declare const curveEasyEaseMax = "var(--curveEasyEaseMax)";
6333
6693
  */
6334
6694
  export declare const curveLinear = "var(--curveLinear)";
6335
6695
 
6336
- /**
6337
- * This can be used to construct a behavior to apply a prefers color scheme: dark only stylesheet.
6338
- * @public
6339
- */
6340
- export declare const darkModeStylesheetBehavior: (styles: ElementStyles) => MatchMediaStyleSheetBehavior;
6341
-
6342
6696
  /**
6343
6697
  * A Dialog Custom HTML Element.
6344
6698
  *
6345
6699
  * @tag fluent-dialog
6346
6700
  *
6701
+ * @fires { ToggleEvent } toggle - Event emitted after the dialog's open state changes.
6702
+ * @fires { ToggleEvent } beforetoggle - Event emitted before the dialog's open state changes.
6703
+ * @slot - The default slot. {@link (DialogBody:class)} element recommended.
6704
+ *
6347
6705
  * @public
6348
6706
  */
6349
6707
  export declare class Dialog extends FASTElement {
6350
6708
  /**
6351
- * @public
6352
6709
  * The dialog element
6710
+ *
6711
+ * @public
6353
6712
  */
6354
6713
  dialog: HTMLDialogElement;
6355
6714
  /**
6356
- * @public
6357
6715
  * The ID of the element that describes the dialog
6716
+ *
6717
+ * @public
6358
6718
  */
6359
6719
  ariaDescribedby?: string;
6360
6720
  /**
6361
- * @public
6362
6721
  * The ID of the element that labels the dialog
6722
+ *
6723
+ * @public
6363
6724
  */
6364
6725
  ariaLabelledby?: string;
6365
6726
  /**
6366
- * @public
6367
6727
  * The label of the dialog
6728
+ *
6729
+ * @public
6368
6730
  */
6369
6731
  ariaLabel: string | null;
6370
6732
  /**
6371
- * @public
6372
6733
  * The type of the dialog modal
6734
+ *
6735
+ * @public
6373
6736
  */
6374
6737
  type: DialogType;
6375
- protected typeChanged(prev: DialogType | undefined, next: DialogType | undefined): void;
6376
- /** @internal */
6738
+ /**
6739
+ * The `aria-describedby` attribute value for the dialog, which is determined by the `ariaDescribedby` property. This
6740
+ * is used to ensure that the dialog's accessible description is properly announced by assistive technologies.
6741
+ *
6742
+ * @internal
6743
+ */
6744
+ get dialogDescribedby(): string | undefined;
6745
+ /**
6746
+ * The `aria-label` attribute value for the dialog, which is determined by the `ariaLabel` property. This is used to
6747
+ * ensure that the dialog's accessible name is properly announced by assistive technologies.
6748
+ *
6749
+ * @internal
6750
+ */
6751
+ get dialogLabel(): string | null | undefined;
6752
+ /**
6753
+ * The `aria-labelledby` attribute value for the dialog, which is determined by the `ariaLabelledby` property. This is
6754
+ * used to ensure that the dialog's accessible name is properly announced by assistive technologies.
6755
+ *
6756
+ * @internal
6757
+ */
6758
+ get dialogLabelledby(): string | undefined;
6759
+ /**
6760
+ * The modal state of the dialog, which is determined by the `type` property. If the dialog is not a non-modal dialog,
6761
+ * the modal state will be true, otherwise it will be undefined.
6762
+ *
6763
+ * @internal
6764
+ */
6765
+ get dialogModal(): boolean | undefined;
6766
+ /**
6767
+ * The role of the dialog, which is determined by the `type` property. If the dialog is an alert dialog, the role will
6768
+ * be 'alertdialog', otherwise it will be undefined.
6769
+ *
6770
+ * @internal
6771
+ */
6772
+ get dialogRole(): string | undefined;
6377
6773
  connectedCallback(): void;
6378
6774
  /**
6379
- * @public
6380
6775
  * Method to emit an event before the dialog's open state changes
6381
6776
  * HTML spec proposal: https://github.com/whatwg/html/issues/9733
6777
+ *
6778
+ * @public
6382
6779
  */
6383
- emitBeforeToggle: () => void;
6780
+ emitBeforeToggle(): void;
6384
6781
  /**
6385
- * @public
6386
6782
  * Method to emit an event after the dialog's open state changes
6387
6783
  * HTML spec proposal: https://github.com/whatwg/html/issues/9733
6784
+ *
6785
+ * @public
6388
6786
  */
6389
6787
  emitToggle: () => void;
6390
6788
  /**
6391
- * @public
6392
6789
  * Method to show the dialog
6790
+ *
6791
+ * @public
6393
6792
  */
6394
6793
  show(): void;
6395
6794
  /**
6396
- * @public
6397
6795
  * Method to hide the dialog
6796
+ *
6797
+ * @public
6398
6798
  */
6399
6799
  hide(): void;
6400
6800
  /**
6401
- * @public
6402
6801
  * Handles click events on the dialog overlay for light-dismiss
6802
+ *
6803
+ * @public
6403
6804
  * @param event - The click event
6404
6805
  * @returns boolean
6405
6806
  */
@@ -6411,6 +6812,15 @@ export declare class Dialog extends FASTElement {
6411
6812
  *
6412
6813
  * @tag fluent-dialog-body
6413
6814
  *
6815
+ * @slot title - Content for the dialog title.
6816
+ * @slot title-action - Content for actions shown near the title.
6817
+ * @slot close - Content for the close action.
6818
+ * @slot action - Content for footer actions.
6819
+ * @slot - Default dialog body content.
6820
+ * @csspart title - The title container.
6821
+ * @csspart content - The content container.
6822
+ * @csspart actions - The actions container.
6823
+ *
6414
6824
  * @public
6415
6825
  * @extends FASTElement
6416
6826
  */
@@ -6425,13 +6835,11 @@ export declare class DialogBody extends FASTElement {
6425
6835
  }
6426
6836
 
6427
6837
  /**
6428
- * The Fluent Dialog Body Element
6838
+ * The definition for the `<fluent-dialog-body>` element.
6429
6839
  *
6430
6840
  * @public
6431
- * @remarks
6432
- * HTML Element: \<fluent-dialog-body\>
6433
6841
  */
6434
- export declare const DialogBodyDefinition: FASTElementDefinition<typeof DialogBody>;
6842
+ export declare const DialogBodyDefinition: PartialFASTElementDefinition;
6435
6843
 
6436
6844
  /** Dialog Body styles
6437
6845
  * @public
@@ -6445,13 +6853,11 @@ export declare const DialogBodyStyles: ElementStyles;
6445
6853
  export declare const DialogBodyTemplate: ElementViewTemplate;
6446
6854
 
6447
6855
  /**
6448
- * The Fluent Dialog Element
6856
+ * The definition for the `<fluent-dialog>` element.
6449
6857
  *
6450
6858
  * @public
6451
- * @remarks
6452
- * HTML Element: \<fluent-dialog\>
6453
6859
  */
6454
- export declare const DialogDefinition: FASTElementDefinition<typeof Dialog>;
6860
+ export declare const DialogDefinition: PartialFASTElementDefinition;
6455
6861
 
6456
6862
  /** Dialog styles
6457
6863
  * @public
@@ -6460,6 +6866,11 @@ export declare const DialogStyles: ElementStyles;
6460
6866
 
6461
6867
  /**
6462
6868
  * Template for the Dialog component
6869
+ *
6870
+ * Note: The empty `<div tabindex="-1">` element above the `<slot>` element is
6871
+ * for working around a dialog focus issue, learn more at
6872
+ * https://github.com/microsoft/fluentui/pull/36278
6873
+ *
6463
6874
  * @public
6464
6875
  */
6465
6876
  export declare const DialogTemplate: ElementViewTemplate<Dialog>;
@@ -6476,6 +6887,21 @@ export declare const DialogType: {
6476
6887
 
6477
6888
  export declare type DialogType = ValuesOf<typeof DialogType>;
6478
6889
 
6890
+ /**
6891
+ * Expose ltr and rtl strings
6892
+ * @public
6893
+ */
6894
+ export declare const Direction: {
6895
+ readonly ltr: "ltr";
6896
+ readonly rtl: "rtl";
6897
+ };
6898
+
6899
+ /**
6900
+ * The direction type
6901
+ * @public
6902
+ */
6903
+ export declare type Direction = (typeof Direction)[keyof typeof Direction];
6904
+
6479
6905
  /**
6480
6906
  * Applies a CSS display property.
6481
6907
  * Also adds CSS rules to not display the element when the [hidden] attribute is applied to the element.
@@ -6546,13 +6972,11 @@ export declare const DividerAppearance: {
6546
6972
  export declare type DividerAppearance = ValuesOf<typeof DividerAppearance>;
6547
6973
 
6548
6974
  /**
6549
- * The Fluent Divider Element
6975
+ * The definition for the `<fluent-divider>` element.
6550
6976
  *
6551
6977
  * @public
6552
- * @remarks
6553
- * HTML Element: \<fluent-divider\>
6554
6978
  */
6555
- export declare const DividerDefinition: FASTElementDefinition<typeof Divider>;
6979
+ export declare const DividerDefinition: PartialFASTElementDefinition;
6556
6980
 
6557
6981
  /**
6558
6982
  * Divider orientation
@@ -6608,18 +7032,19 @@ export declare const DividerTemplate: ElementViewTemplate<Divider>;
6608
7032
  *
6609
7033
  * @extends FASTElement
6610
7034
  *
6611
- * @attr {DrawerType} type - Determines whether the drawer should be displayed as modal, non-modal, or alert.
6612
- * @attr {DrawerPosition} position - Sets the position of the drawer (start/end).
6613
- * @attr {DrawerSize} size - Sets the size of the drawer (small/medium/large).
6614
- * @attr {string} ariaDescribedby - The ID of the element that describes the drawer.
6615
- * @attr {string} ariaLabelledby - The ID of the element that labels the drawer.
7035
+ * @attr type - Determines whether the drawer should be displayed as modal, non-modal, or alert.
7036
+ * @attr position - Sets the position of the drawer (start/end).
7037
+ * @attr size - Sets the size of the drawer (small/medium/large).
7038
+ * @attr ariaDescribedby - The ID of the element that describes the drawer.
7039
+ * @attr ariaLabelledby - The ID of the element that labels the drawer.
6616
7040
  *
6617
7041
  * @csspart dialog - The dialog element of the drawer.
7042
+ * @cssprop --drawer-width - Sets the width of the drawer to a custom value (e.g., 300px).
6618
7043
  *
6619
7044
  * @slot - Default slot for the content of the drawer.
6620
7045
  *
6621
- * @fires toggle - Event emitted after the dialog's open state changes.
6622
- * @fires beforetoggle - Event emitted before the dialog's open state changes.
7046
+ * @fires { ToggleEvent } toggle - Event emitted after the dialog's open state changes.
7047
+ * @fires { ToggleEvent } beforetoggle - Event emitted before the dialog's open state changes.
6623
7048
  *
6624
7049
  * @method show - Method to show the drawer.
6625
7050
  * @method hide - Method to hide the drawer.
@@ -6629,34 +7054,35 @@ export declare const DividerTemplate: ElementViewTemplate<Divider>;
6629
7054
  * @method emitBeforeToggle - Emits an event before the dialog's open state changes.
6630
7055
  *
6631
7056
  * @summary A component that provides a drawer for displaying content in a side panel.
6632
- *
6633
- * @tag fluent-drawer
6634
7057
  */
6635
7058
  export declare class Drawer extends FASTElement {
6636
- protected roleAttrObserver: MutationObserver;
6637
7059
  /**
6638
- * @public
6639
7060
  * Determines whether the drawer should be displayed as modal or non-modal
6640
7061
  * When rendered as a modal, an overlay is applied over the rest of the view.
7062
+ *
7063
+ * @public
6641
7064
  */
6642
7065
  type: DrawerType;
6643
- protected typeChanged(): void;
6644
7066
  /**
6645
- * @public
6646
7067
  * The ID of the element that labels the drawer.
7068
+ *
7069
+ * @public
6647
7070
  */
6648
7071
  ariaLabelledby?: string;
6649
7072
  /**
6650
- * @public
6651
7073
  * The ID of the element that describes the drawer.
7074
+ *
7075
+ * @public
6652
7076
  */
6653
7077
  ariaDescribedby?: string;
6654
- /**""
7078
+ /**
7079
+ * Sets the position of the drawer (start/end).
7080
+ *
6655
7081
  * @public
6656
7082
  * @defaultValue start
6657
- * Sets the position of the drawer (start/end).
6658
7083
  */
6659
7084
  position: DrawerPosition;
7085
+ role: string | null;
6660
7086
  /**
6661
7087
  * @public
6662
7088
  * @defaultValue medium
@@ -6664,34 +7090,71 @@ export declare class Drawer extends FASTElement {
6664
7090
  */
6665
7091
  size: DrawerSize;
6666
7092
  /**
6667
- * @public
6668
7093
  * The dialog element.
7094
+ *
7095
+ * @public
6669
7096
  */
6670
7097
  dialog: HTMLDialogElement;
6671
- /** @internal */
7098
+ /**
7099
+ * The `aria-describedby` attribute value for the dialog, which is determined by the `ariaDescribedby` property. This
7100
+ * is used to ensure that the dialog's accessible description is properly announced by assistive technologies.
7101
+ *
7102
+ * @internal
7103
+ */
7104
+ get dialogDescribedby(): string | undefined;
7105
+ /**
7106
+ * The `aria-label` attribute value for the dialog, which is determined by the `ariaLabel` property. This is used to
7107
+ * ensure that the dialog's accessible name is properly announced by assistive technologies.
7108
+ *
7109
+ * @internal
7110
+ */
7111
+ get dialogLabel(): string | null | undefined;
7112
+ /**
7113
+ * The `aria-labelledby` attribute value for the dialog, which is determined by the `ariaLabelledby` property. This is
7114
+ * used to ensure that the dialog's accessible name is properly announced by assistive technologies.
7115
+ *
7116
+ * @internal
7117
+ */
7118
+ get dialogLabelledby(): string | undefined;
7119
+ /**
7120
+ * The modal state of the dialog, which is determined by the `type` property. If the dialog is not a non-modal dialog,
7121
+ * the modal state will be true, otherwise it will be undefined.
7122
+ *
7123
+ * @internal
7124
+ */
7125
+ get dialogModal(): boolean | undefined;
7126
+ /**
7127
+ * The role of the dialog, which is determined by the `type` property. If the dialog is an alert dialog, the role will
7128
+ * be 'alertdialog', otherwise it will be undefined.
7129
+ *
7130
+ * @internal
7131
+ */
7132
+ get dialogRole(): string | null;
6672
7133
  connectedCallback(): void;
6673
- /** @internal */
6674
- disconnectedCallback(): void;
6675
7134
  /**
6676
- * @public
6677
7135
  * Method to emit an event after the dialog's open state changes
6678
7136
  * HTML spec proposal: https://github.com/whatwg/html/issues/9733
7137
+ *
7138
+ * @public
6679
7139
  */
6680
7140
  emitToggle: () => void;
6681
7141
  /**
6682
- * @public
6683
7142
  * Method to emit an event before the dialog's open state changes
6684
7143
  * HTML spec proposal: https://github.com/whatwg/html/issues/9733
7144
+ *
7145
+ * @public
6685
7146
  */
6686
7147
  emitBeforeToggle: () => void;
6687
7148
  /**
6688
- * @public
6689
7149
  * Method to show the drawer
7150
+ *
7151
+ * @public
6690
7152
  */
6691
7153
  show(): void;
6692
7154
  /**
6693
- * @public
6694
7155
  * Method to hide the drawer
7156
+ *
7157
+ * @public
6695
7158
  */
6696
7159
  hide(): void;
6697
7160
  /**
@@ -6702,12 +7165,11 @@ export declare class Drawer extends FASTElement {
6702
7165
  */
6703
7166
  clickHandler(event: Event): boolean;
6704
7167
  /**
6705
- * @public
6706
7168
  * Handles cancel events on the drawer.
7169
+ *
7170
+ * @public
6707
7171
  */
6708
7172
  cancelHandler(): void;
6709
- protected observeRoleAttr(): void;
6710
- protected updateDialogRole(): void;
6711
7173
  }
6712
7174
 
6713
7175
  /**
@@ -6741,12 +7203,11 @@ export declare class DrawerBody extends FASTElement {
6741
7203
  }
6742
7204
 
6743
7205
  /**
7206
+ * The definition for the `<fluent-drawer-body>` element.
6744
7207
  *
6745
7208
  * @public
6746
- * @remarks
6747
- * HTML Element: <fluent-drawer>
6748
7209
  */
6749
- export declare const DrawerBodyDefinition: FASTElementDefinition<typeof DrawerBody>;
7210
+ export declare const DrawerBodyDefinition: PartialFASTElementDefinition;
6750
7211
 
6751
7212
  /** Drawer styles
6752
7213
  * @public
@@ -6756,12 +7217,11 @@ export declare const DrawerBodyStyles: ElementStyles;
6756
7217
  export declare const DrawerBodyTemplate: ElementViewTemplate<DrawerBody>;
6757
7218
 
6758
7219
  /**
7220
+ * The definition for the `<fluent-drawer>` element.
6759
7221
  *
6760
7222
  * @public
6761
- * @remarks
6762
- * HTML Element: <fluent-drawer>
6763
7223
  */
6764
- export declare const DrawerDefinition: FASTElementDefinition<typeof Drawer>;
7224
+ export declare const DrawerDefinition: PartialFASTElementDefinition;
6765
7225
 
6766
7226
  /**
6767
7227
  * A drawer can be positioned on the left or right side of the viewport.
@@ -6870,13 +7330,11 @@ export declare type DropdownAppearance = ValuesOf<typeof DropdownAppearance>;
6870
7330
  export declare const dropdownButtonTemplate: ViewTemplate<BaseDropdown, any>;
6871
7331
 
6872
7332
  /**
6873
- * The Fluent Dropdown Element.
7333
+ * The definition for the `<fluent-dropdown>` element.
6874
7334
  *
6875
7335
  * @public
6876
- * @remarks
6877
- * HTML Element: `<fluent-dropdown>`
6878
7336
  */
6879
- export declare const DropdownDefinition: FASTElementDefinition<typeof Dropdown>;
7337
+ export declare const DropdownDefinition: PartialFASTElementDefinition;
6880
7338
 
6881
7339
  /**
6882
7340
  * The template partial for the dropdown input element. This template is used when the `type` property is set to "combobox".
@@ -6896,8 +7354,11 @@ export declare const dropdownInputTemplate: ViewTemplate<BaseDropdown, any>;
6896
7354
  * @tag fluent-dropdown-option
6897
7355
  *
6898
7356
  * @slot - The default slot for the option's content.
7357
+ * @slot start - Optional content shown at the start of the option.
6899
7358
  * @slot checked-indicator - The checked indicator.
6900
7359
  * @slot description - Optional description content.
7360
+ * @csspart content - The wrapper for the option content.
7361
+ * @csspart description - The wrapper for the option description.
6901
7362
  *
6902
7363
  * @remarks
6903
7364
  * To support single and multiple selection modes with the {@link (BaseDropdown:class)} element, the Option element
@@ -7151,13 +7612,11 @@ export declare class DropdownOption extends FASTElement implements Start {
7151
7612
  }
7152
7613
 
7153
7614
  /**
7154
- * The Fluent Option Element.
7615
+ * The definition for the `<fluent-option>` element.
7155
7616
  *
7156
7617
  * @public
7157
- * @remarks
7158
- * HTML Element: `<fluent-option>`
7159
7618
  */
7160
- export declare const DropdownOptionDefinition: FASTElementDefinition<typeof DropdownOption>;
7619
+ export declare const DropdownOptionDefinition: PartialFASTElementDefinition;
7161
7620
 
7162
7621
  /**
7163
7622
  * The options for the {@link DropdownOption} component.
@@ -7307,6 +7766,13 @@ export declare function endSlotTemplate<TSource extends StartEnd = StartEnd, TPa
7307
7766
  *
7308
7767
  * @tag fluent-field
7309
7768
  *
7769
+ * @slot label - Label content associated with the control.
7770
+ * @slot input - Input control content.
7771
+ * @slot message - Validation and helper message content.
7772
+ * @csspart label - The label slot container.
7773
+ * @csspart input - The input slot container.
7774
+ * @csspart message - The message slot container.
7775
+ *
7310
7776
  * @public
7311
7777
  */
7312
7778
  export declare class Field extends BaseField {
@@ -7321,13 +7787,11 @@ export declare class Field extends BaseField {
7321
7787
  }
7322
7788
 
7323
7789
  /**
7324
- * The Fluent Field Element
7790
+ * The definition for the `<fluent-field>` element.
7325
7791
  *
7326
7792
  * @public
7327
- * @remarks
7328
- * HTML Element: `<fluent-field>`
7329
7793
  */
7330
- export declare const FieldDefinition: FASTElementDefinition<typeof Field>;
7794
+ export declare const FieldDefinition: PartialFASTElementDefinition;
7331
7795
 
7332
7796
  /**
7333
7797
  * Label position values
@@ -7463,12 +7927,6 @@ export declare const fontWeightRegular = "var(--fontWeightRegular)";
7463
7927
  */
7464
7928
  export declare const fontWeightSemibold = "var(--fontWeightSemibold)";
7465
7929
 
7466
- /**
7467
- * This can be used to construct a behavior to apply a forced-colors only stylesheet.
7468
- * @public
7469
- */
7470
- export declare const forcedColorsStylesheetBehavior: (styles: ElementStyles) => MatchMediaStyleSheetBehavior;
7471
-
7472
7930
  /**
7473
7931
  * Determines the current localization direction of an element.
7474
7932
  *
@@ -7484,6 +7942,8 @@ export declare const getDirection: (rootNode: HTMLElement) => Direction;
7484
7942
  *
7485
7943
  * @tag fluent-image
7486
7944
  *
7945
+ * @slot - The default slot. Accepts any `<img>`, `<picture>`, `<video>`, or `<canvas>` element.
7946
+ *
7487
7947
  * @public
7488
7948
  */
7489
7949
  declare class Image_2 extends FASTElement {
@@ -7531,13 +7991,11 @@ declare class Image_2 extends FASTElement {
7531
7991
  export { Image_2 as Image }
7532
7992
 
7533
7993
  /**
7534
- * The Fluent Image Element
7994
+ * The definition for the `<fluent-image>` element.
7535
7995
  *
7536
7996
  * @public
7537
- * @remarks
7538
- * HTML Element: \<fluent-image\>
7539
7997
  */
7540
- export declare const ImageDefinition: FASTElementDefinition<typeof Image_2>;
7998
+ export declare const ImageDefinition: PartialFASTElementDefinition;
7541
7999
 
7542
8000
  /**
7543
8001
  * Image fit
@@ -7645,6 +8103,9 @@ export declare function isTreeItem(element?: Node | null, tagName?: string): ele
7645
8103
  *
7646
8104
  * @tag fluent-label
7647
8105
  *
8106
+ * @slot - The default slot. Accepts the content of the label.
8107
+ * @csspart asterisk - The required-field asterisk indicator.
8108
+ *
7648
8109
  * @public
7649
8110
  */
7650
8111
  export declare class Label extends FASTElement {
@@ -7683,14 +8144,11 @@ export declare class Label extends FASTElement {
7683
8144
  }
7684
8145
 
7685
8146
  /**
7686
- * The Fluent Label Element.
7687
- *
8147
+ * The definition for the `<fluent-label>` element.
7688
8148
  *
7689
8149
  * @public
7690
- * @remarks
7691
- * HTML Element: \<fluent-label\>
7692
8150
  */
7693
- export declare const LabelDefinition: FASTElementDefinition<typeof Label>;
8151
+ export declare const LabelDefinition: PartialFASTElementDefinition;
7694
8152
 
7695
8153
  /**
7696
8154
  * A Labels font size can be small, medium, or large
@@ -7728,12 +8186,6 @@ export declare const LabelWeight: {
7728
8186
  */
7729
8187
  export declare type LabelWeight = ValuesOf<typeof LabelWeight>;
7730
8188
 
7731
- /**
7732
- * This can be used to construct a behavior to apply a prefers color scheme: light only stylesheet.
7733
- * @public
7734
- */
7735
- export declare const lightModeStylesheetBehavior: (styles: ElementStyles) => MatchMediaStyleSheetBehavior;
7736
-
7737
8189
  /**
7738
8190
  * CSS custom property value for the {@link @fluentui/tokens#lineHeightBase100 | `lineHeightBase100`} design token.
7739
8191
  * @public
@@ -7843,11 +8295,11 @@ export declare const LinkAppearance: {
7843
8295
  export declare type LinkAppearance = ValuesOf<typeof LinkAppearance>;
7844
8296
 
7845
8297
  /**
8298
+ * The definition for the `<fluent-link>` element.
8299
+ *
7846
8300
  * @public
7847
- * @remarks
7848
- * HTML Element: \<fluent-link\>
7849
8301
  */
7850
- export declare const LinkDefinition: FASTElementDefinition<typeof Link>;
8302
+ export declare const LinkDefinition: PartialFASTElementDefinition;
7851
8303
 
7852
8304
  export declare const LinkStyles: ElementStyles;
7853
8305
 
@@ -7892,14 +8344,18 @@ export declare const LinkTemplate: ElementViewTemplate<Link>;
7892
8344
  */
7893
8345
  export declare class Listbox extends FASTElement {
7894
8346
  /**
7895
- * Sets the listbox ID to a unique value if one is not provided.
8347
+ * A reference to the default slot element.
7896
8348
  *
7897
- * @override
7898
- * @public
7899
- * @remarks
7900
- * HTML Attribute: `id`
8349
+ * @internal
7901
8350
  */
7902
- id: string;
8351
+ defaultSlot: HTMLSlotElement;
8352
+ /**
8353
+ * Calls the `slotchangeHandler` when the `defaultSlot` element is assigned
8354
+ * via the `ref` directive in the template.
8355
+ *
8356
+ * @internal
8357
+ */
8358
+ protected defaultSlotChanged(): void;
7903
8359
  /**
7904
8360
  * Indicates whether the listbox allows multiple selection.
7905
8361
  *
@@ -7972,6 +8428,7 @@ export declare class Listbox extends FASTElement {
7972
8428
  */
7973
8429
  clickHandler(e: PointerEvent): boolean | void;
7974
8430
  constructor();
8431
+ connectedCallback(): void;
7975
8432
  /**
7976
8433
  * Handles observable subscriptions for the listbox.
7977
8434
  *
@@ -7995,17 +8452,15 @@ export declare class Listbox extends FASTElement {
7995
8452
  * @param e - The slotchange event
7996
8453
  * @public
7997
8454
  */
7998
- slotchangeHandler(e: Event): void;
8455
+ slotchangeHandler(e?: Event): void;
7999
8456
  }
8000
8457
 
8001
8458
  /**
8002
- * The Fluent Listbox Element
8459
+ * The definition for the `<fluent-listbox>` element.
8003
8460
  *
8004
8461
  * @public
8005
- * @remarks
8006
- * HTML Element: `<fluent-listbox>`
8007
8462
  */
8008
- export declare const ListboxDefinition: FASTElementDefinition<typeof Listbox>;
8463
+ export declare const ListboxDefinition: PartialFASTElementDefinition;
8009
8464
 
8010
8465
  /**
8011
8466
  * Styles for the {@link (Listbox:class)} component.
@@ -8030,117 +8485,6 @@ export declare const ListboxTemplate: ElementViewTemplate<Listbox>;
8030
8485
  */
8031
8486
  export declare function listboxTemplate<T extends Listbox>(): ElementViewTemplate<T>;
8032
8487
 
8033
- /**
8034
- * An abstract behavior to react to media queries. Implementations should implement
8035
- * the `constructListener` method to perform some action based on media query changes.
8036
- *
8037
- * @public
8038
- */
8039
- export declare abstract class MatchMediaBehavior implements HostBehavior {
8040
- /**
8041
- * The behavior needs to operate on element instances but elements might share a behavior instance.
8042
- * To ensure proper attachment / detachment per instance, we construct a listener for
8043
- * each bind invocation and cache the listeners by element reference.
8044
- */
8045
- private listenerCache;
8046
- /**
8047
- * The media query that the behavior operates on.
8048
- */
8049
- readonly query: MediaQueryList;
8050
- /**
8051
- *
8052
- * @param query - The media query to operate from.
8053
- */
8054
- constructor(query: MediaQueryList);
8055
- /**
8056
- * Constructs a function that will be invoked with the MediaQueryList context
8057
- * @param controller - The host controller orchestrating this behavior.
8058
- */
8059
- protected abstract constructListener(controller: HostController): MediaQueryListListener;
8060
- /**
8061
- * Binds the behavior to the element.
8062
- * @param controller - The host controller orchestrating this behavior.
8063
- */
8064
- connectedCallback(controller: HostController): void;
8065
- /**
8066
- * Unbinds the behavior from the element.
8067
- * @param controller - The host controller orchestrating this behavior.
8068
- */
8069
- disconnectedCallback(controller: HostController): void;
8070
- }
8071
-
8072
- /**
8073
- * A behavior to add or remove a stylesheet from an element based on a media query. The behavior ensures that
8074
- * styles are applied while the a query matches the environment and that styles are not applied if the query does
8075
- * not match the environment.
8076
- *
8077
- * @public
8078
- */
8079
- export declare class MatchMediaStyleSheetBehavior extends MatchMediaBehavior {
8080
- /**
8081
- * The media query that the behavior operates on.
8082
- */
8083
- readonly query: MediaQueryList;
8084
- /**
8085
- * The styles object to be managed by the behavior.
8086
- */
8087
- readonly styles: ElementStyles;
8088
- /**
8089
- * Constructs a {@link MatchMediaStyleSheetBehavior} instance.
8090
- * @param query - The media query to operate from.
8091
- * @param styles - The styles to coordinate with the query.
8092
- */
8093
- constructor(query: MediaQueryList, styles: ElementStyles);
8094
- /**
8095
- * Defines a function to construct {@link MatchMediaStyleSheetBehavior | MatchMediaStyleSheetBehaviors} for
8096
- * a provided query.
8097
- * @param query - The media query to operate from.
8098
- *
8099
- * @public
8100
- * @example
8101
- *
8102
- * ```ts
8103
- * import { css } from "@microsoft/fast-element";
8104
- * import { MatchMediaStyleSheetBehavior } from "@fluentui/web-components";
8105
- *
8106
- * const landscapeBehavior = MatchMediaStyleSheetBehavior.with(
8107
- * window.matchMedia("(orientation: landscape)")
8108
- * );
8109
- *
8110
- * const styles = css`
8111
- * :host {
8112
- * width: 200px;
8113
- * height: 400px;
8114
- * }
8115
- * `
8116
- * .withBehaviors(landscapeBehavior(css`
8117
- * :host {
8118
- * width: 400px;
8119
- * height: 200px;
8120
- * }
8121
- * `))
8122
- * ```
8123
- */
8124
- static with(query: MediaQueryList): (styles: ElementStyles) => MatchMediaStyleSheetBehavior;
8125
- /**
8126
- * Constructs a match-media listener for a provided element.
8127
- * @param source - the element for which to attach or detach styles.
8128
- */
8129
- protected constructListener(controller: HostController): MediaQueryListListener;
8130
- /**
8131
- * Unbinds the behavior from the element.
8132
- * @param controller - The host controller orchestrating this behavior.
8133
- * @internal
8134
- */
8135
- removedCallback(controller: HostController<any>): void;
8136
- }
8137
-
8138
- /**
8139
- * An event listener fired by a {@link https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList | MediaQueryList }.
8140
- * @public
8141
- */
8142
- export declare type MediaQueryListListener = (this: MediaQueryList, ev?: MediaQueryListEvent) => void;
8143
-
8144
8488
  /**
8145
8489
  * A Menu component that provides a customizable menu element.
8146
8490
  *
@@ -8215,14 +8559,30 @@ export declare class Menu extends FASTElement {
8215
8559
  * Holds the slotted menu list.
8216
8560
  * @public
8217
8561
  */
8218
- slottedMenuList: MenuList[];
8562
+ slottedMenuList: HTMLElement[];
8563
+ /**
8564
+ * Sets up the component when the slotted menu list changes.
8565
+ * @param prev - The previous items in the slotted menu list.
8566
+ * @param next - The new items in the slotted menu list.
8567
+ * @internal
8568
+ */
8569
+ slottedMenuListChanged(prev: HTMLElement[] | undefined, next: HTMLElement[] | undefined): void;
8219
8570
  /**
8220
8571
  * Holds the slotted triggers.
8221
8572
  * @public
8222
8573
  */
8223
8574
  slottedTriggers: HTMLElement[];
8224
8575
  /**
8225
- * Holds the primary slot element.
8576
+ * Ensures the trigger is properly set up when the slotted triggers change.
8577
+ * This includes setting ARIA attributes and adding event listeners based on the current property values.
8578
+ *
8579
+ * @param prev - The previous items in the slotted triggers list.
8580
+ * @param next - The current items in the slotted triggers list.
8581
+ * @internal
8582
+ */
8583
+ slottedTriggersChanged(prev: HTMLElement[] | undefined, next: HTMLElement[] | undefined): void;
8584
+ /**
8585
+ * Holds the primary slot element.
8226
8586
  * @public
8227
8587
  */
8228
8588
  primaryAction: HTMLSlotElement;
@@ -8230,17 +8590,25 @@ export declare class Menu extends FASTElement {
8230
8590
  * Defines whether the menu is open or not.
8231
8591
  * @internal
8232
8592
  */
8233
- private _open;
8593
+ protected _open: boolean;
8234
8594
  /**
8235
8595
  * The trigger element of the menu.
8236
8596
  * @internal
8237
8597
  */
8238
- private _trigger?;
8598
+ protected _trigger?: HTMLElement;
8239
8599
  /**
8240
8600
  * The menu list element of the menu which has the popover behavior.
8241
8601
  * @internal
8242
8602
  */
8243
- private _menuList?;
8603
+ protected _menuList?: HTMLElement;
8604
+ /**
8605
+ * @internal
8606
+ */
8607
+ protected _triggerAbortController?: AbortController;
8608
+ /**
8609
+ * @internal
8610
+ */
8611
+ protected _menuListAbortController?: AbortController;
8244
8612
  /**
8245
8613
  * Called when the element is connected to the DOM.
8246
8614
  * Sets up the component.
@@ -8255,7 +8623,8 @@ export declare class Menu extends FASTElement {
8255
8623
  disconnectedCallback(): void;
8256
8624
  /**
8257
8625
  * Sets the component.
8258
- * Sets the trigger and menu list elements and adds event listeners.
8626
+ * @deprecated This method is no longer used. Trigger and menu-list listeners are now
8627
+ * managed by their respective slot-changed callbacks.
8259
8628
  * @public
8260
8629
  */
8261
8630
  setComponent(): void;
@@ -8325,23 +8694,15 @@ export declare class Menu extends FASTElement {
8325
8694
  */
8326
8695
  closeOnScrollChanged(oldValue: boolean, newValue: boolean): void;
8327
8696
  /**
8328
- * Adds event listeners.
8329
- * Adds click and keydown event listeners to the trigger.
8330
- * Adds a 'toggle' event listener to the menu list.
8331
- * If 'openOnHover' is true, adds a 'mouseover' event listener to the trigger.
8332
- * If 'openOnContext' is true, adds a 'contextmenu' event listener to the trigger and a document 'click' event listener.
8697
+ * Adds trigger-related event listeners.
8333
8698
  * @internal
8334
8699
  */
8335
- private addListeners;
8700
+ protected addTriggerListeners(): void;
8336
8701
  /**
8337
- * Removes event listeners.
8338
- * Removes click and keydown event listeners from the trigger.
8339
- * Also removes toggle event listener from the menu list.
8340
- * Also removes 'mouseover' event listeners from the trigger.
8341
- * Also removes 'contextmenu' event listeners from the trigger and document 'click' event listeners.
8702
+ * Adds menu-list event listeners.
8342
8703
  * @internal
8343
8704
  */
8344
- private removeListeners;
8705
+ protected addMenuListListeners(): void;
8345
8706
  /**
8346
8707
  * Handles keyboard interaction for the menu. Closes the menu and focuses on the trigger when the Escape key is
8347
8708
  * pressed. Closes the menu when the Tab key is pressed.
@@ -8363,7 +8724,7 @@ export declare class Menu extends FASTElement {
8363
8724
  * @internal
8364
8725
  * @param e - The event triggered on document click.
8365
8726
  */
8366
- private documentClickHandler;
8727
+ protected documentClickHandler: (e: any) => void;
8367
8728
  }
8368
8729
 
8369
8730
  /**
@@ -8394,11 +8755,11 @@ export declare const MenuButtonAppearance: {
8394
8755
  export declare type MenuButtonAppearance = ValuesOf<typeof MenuButtonAppearance>;
8395
8756
 
8396
8757
  /**
8758
+ * The definition for the `<fluent-menu-button>` element.
8759
+ *
8397
8760
  * @public
8398
- * @remarks
8399
- * HTML Element: \<fluent-button\>
8400
8761
  */
8401
- export declare const MenuButtonDefinition: FASTElementDefinition<typeof MenuButton>;
8762
+ export declare const MenuButtonDefinition: PartialFASTElementDefinition;
8402
8763
 
8403
8764
  /**
8404
8765
  * A Menu Button can be square, circular or rounded.
@@ -8439,13 +8800,11 @@ export declare type MenuButtonSize = ValuesOf<typeof MenuButtonSize>;
8439
8800
  export declare const MenuButtonTemplate: ElementViewTemplate<MenuButton>;
8440
8801
 
8441
8802
  /**
8442
- * The Fluent Menu Element.
8803
+ * The definition for the `<fluent-menu>` element.
8443
8804
  *
8444
8805
  * @public
8445
- * @remarks
8446
- * HTML Element: <fluent-menu>
8447
8806
  */
8448
- export declare const MenuDefinition: FASTElementDefinition<typeof Menu>;
8807
+ export declare const MenuDefinition: PartialFASTElementDefinition;
8449
8808
 
8450
8809
  /**
8451
8810
  * A Switch Custom HTML Element.
@@ -8460,7 +8819,7 @@ export declare const MenuDefinition: FASTElementDefinition<typeof Menu>;
8460
8819
  * @slot submenu-glyph - The submenu expand/collapse indicator
8461
8820
  * @slot submenu - Used to nest menu's within menu items
8462
8821
  * @csspart content - The element wrapping the menu item content
8463
- * @fires change - Fires a custom 'change' event when a non-submenu item with a role of `menuitemcheckbox`, `menuitemradio`, or `menuitem` is invoked
8822
+ * @fires { Event } change - Fires a custom 'change' event when a non-submenu item with a role of `menuitemcheckbox`, `menuitemradio`, or `menuitem` is invoked
8464
8823
  *
8465
8824
  * @public
8466
8825
  */
@@ -8558,7 +8917,9 @@ export declare class MenuItem extends FASTElement {
8558
8917
  * Setup required ARIA on open/close
8559
8918
  * @internal
8560
8919
  */
8561
- toggleHandler: (e: Event) => void;
8920
+ handleToggle: (e: Event) => void;
8921
+ /** @internal */
8922
+ handleSubmenuFocusOut: (e: FocusEvent) => void;
8562
8923
  /**
8563
8924
  * @internal
8564
8925
  */
@@ -8582,11 +8943,11 @@ export declare interface MenuItem extends StartEnd {
8582
8943
  export declare type MenuItemColumnCount = 0 | 1 | 2;
8583
8944
 
8584
8945
  /**
8946
+ * The definition for the `<fluent-menu-item>` element.
8947
+ *
8585
8948
  * @public
8586
- * @remarks
8587
- * HTML Element: <fluent-menu-item>
8588
8949
  */
8589
- export declare const MenuItemDefinition: FASTElementDefinition<typeof MenuItem>;
8950
+ export declare const MenuItemDefinition: PartialFASTElementDefinition;
8590
8951
 
8591
8952
  /**
8592
8953
  * Menu Item configuration options
@@ -8630,7 +8991,7 @@ export declare const MenuItemStyles: ElementStyles;
8630
8991
  export declare const MenuItemTemplate: ElementViewTemplate<MenuItem>;
8631
8992
 
8632
8993
  /**
8633
- * A Menu Custom HTML Element.
8994
+ * A MenuList Custom HTML Element.
8634
8995
  * Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#menu | ARIA menu }.
8635
8996
  *
8636
8997
  * @tag fluent-menu-list
@@ -8639,82 +9000,19 @@ export declare const MenuItemTemplate: ElementViewTemplate<MenuItem>;
8639
9000
  *
8640
9001
  * @public
8641
9002
  */
8642
- export declare class MenuList extends FASTElement {
8643
- /**
8644
- * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
8645
- *
8646
- * @internal
8647
- */
8648
- elementInternals: ElementInternals;
8649
- /**
8650
- * @internal
8651
- */
8652
- items: HTMLElement[];
8653
- protected itemsChanged(oldValue: HTMLElement[], newValue: HTMLElement[]): void;
8654
- protected menuItems: Element[] | undefined;
8655
- /**
8656
- * The index of the focusable element in the items array
8657
- * defaults to -1
8658
- */
8659
- private focusIndex;
8660
- private static focusableElementRoles;
8661
- constructor();
8662
- /**
8663
- * @internal
8664
- */
8665
- connectedCallback(): void;
8666
- /**
8667
- * @internal
8668
- */
9003
+ export declare class MenuList extends BaseMenuList {
9004
+ private fg?;
9005
+ private fgItems?;
8669
9006
  disconnectedCallback(): void;
8670
- /**
8671
- * @internal
8672
- */
8673
- readonly isNestedMenu: () => boolean;
8674
- /**
8675
- * Focuses the first item in the menu.
8676
- *
8677
- * @public
8678
- */
8679
- focus(): void;
8680
- /**
8681
- * @internal
8682
- */
8683
- handleMenuKeyDown(e: KeyboardEvent): void | boolean;
8684
- /**
8685
- * if focus is moving out of the menu, reset to a stable initial state
8686
- * @internal
8687
- */
8688
- handleFocusOut: (e: FocusEvent) => void;
8689
- private handleItemFocus;
8690
- private removeItemListeners;
8691
- private static elementIndent;
8692
- protected setItems(): void;
8693
- /**
8694
- * Method for Observable changes to the hidden attribute of child elements
8695
- */
8696
- handleChange(source: any, propertyName: string): void;
8697
- /**
8698
- * Handle change from child MenuItem element and set radio group behavior
8699
- */
8700
- private changedMenuItemHandler;
8701
- /**
8702
- * check if the item is a menu item
8703
- */
8704
- protected isMenuItemElement: (el: Element) => el is HTMLElement;
8705
- /**
8706
- * check if the item is focusable
8707
- */
8708
- private isFocusableElement;
8709
- private setFocus;
9007
+ setItems(): void;
8710
9008
  }
8711
9009
 
8712
9010
  /**
9011
+ * The definition for the `<fluent-menu-list>` element.
9012
+ *
8713
9013
  * @public
8714
- * @remarks
8715
- * HTML Element: <fluent-menu-list>
8716
9014
  */
8717
- export declare const MenuListDefinition: FASTElementDefinition<typeof MenuList>;
9015
+ export declare const MenuListDefinition: PartialFASTElementDefinition;
8718
9016
 
8719
9017
  /** MenuList styles
8720
9018
  * @public
@@ -8737,7 +9035,9 @@ export declare const MenuTemplate: ElementViewTemplate<Menu>;
8737
9035
  *
8738
9036
  * @slot actions - Content that can be provided for the actions
8739
9037
  * @slot dismiss - Content that can be provided for the dismiss button
9038
+ * @slot icon - Content that can be provided for the leading icon
8740
9039
  * @slot - The default slot for the content
9040
+ * @fires { CustomEvent } dismiss - Fired when the message bar is dismissed.
8741
9041
  * @public
8742
9042
  */
8743
9043
  export declare class MessageBar extends FASTElement {
@@ -8773,24 +9073,24 @@ export declare class MessageBar extends FASTElement {
8773
9073
  */
8774
9074
  intent?: MessageBarIntent;
8775
9075
  /**
8776
- * @public
8777
9076
  * Method to emit a `dismiss` event when the message bar is dismissed
9077
+ *
9078
+ * @public
8778
9079
  */
8779
9080
  dismissMessageBar: () => void;
8780
9081
  }
8781
9082
 
8782
9083
  /**
8783
- * The Fluent MessageBar Element definition.
9084
+ * The definition for the `<fluent-message-bar>` element.
8784
9085
  *
8785
9086
  * @public
8786
- * @remarks
8787
- * HTML Element: `<fluent-message-bar>`
8788
9087
  */
8789
- export declare const MessageBarDefinition: FASTElementDefinition<typeof MessageBar>;
9088
+ export declare const MessageBarDefinition: PartialFASTElementDefinition;
8790
9089
 
8791
9090
  /**
8792
- * @public
8793
9091
  * The `intent` variations for the MessageBar component.
9092
+ *
9093
+ * @public
8794
9094
  */
8795
9095
  export declare const MessageBarIntent: {
8796
9096
  readonly success: "success";
@@ -8802,8 +9102,9 @@ export declare const MessageBarIntent: {
8802
9102
  export declare type MessageBarIntent = ValuesOf<typeof MessageBarIntent>;
8803
9103
 
8804
9104
  /**
8805
- * @public
8806
9105
  * The `layout` variations for the MessageBar component.
9106
+ *
9107
+ * @public
8807
9108
  */
8808
9109
  export declare const MessageBarLayout: {
8809
9110
  readonly multiline: "multiline";
@@ -8813,8 +9114,9 @@ export declare const MessageBarLayout: {
8813
9114
  export declare type MessageBarLayout = ValuesOf<typeof MessageBarLayout>;
8814
9115
 
8815
9116
  /**
8816
- * @public
8817
9117
  * The `shape` variations for the MessageBar component.
9118
+ *
9119
+ * @public
8818
9120
  */
8819
9121
  export declare const MessageBarShape: {
8820
9122
  readonly rounded: "rounded";
@@ -8832,15 +9134,31 @@ export declare const MessageBarStyles: ElementStyles;
8832
9134
 
8833
9135
  /**
8834
9136
  * The template for the MessageBar component.
8835
- * @type {ElementViewTemplate<MessageBar>}
9137
+ * @type ElementViewTemplate
8836
9138
  */
8837
9139
  export declare const MessageBarTemplate: ElementViewTemplate<MessageBar>;
8838
9140
 
9141
+ /**
9142
+ * Standard orientation values
9143
+ * @public
9144
+ */
9145
+ export declare const Orientation: {
9146
+ readonly horizontal: "horizontal";
9147
+ readonly vertical: "vertical";
9148
+ };
9149
+
9150
+ /**
9151
+ * The orientation type
9152
+ * @public
9153
+ */
9154
+ export declare type Orientation = (typeof Orientation)[keyof typeof Orientation];
9155
+
8839
9156
  /**
8840
9157
  * A Progress HTML Element.
8841
9158
  * Based on BaseProgressBar and includes style and layout specific attributes
8842
9159
  *
8843
9160
  * @tag fluent-progress-bar
9161
+ * @csspart indicator - The internal progress indicator element.
8844
9162
  *
8845
9163
  * @public
8846
9164
  */
@@ -8848,27 +9166,30 @@ export declare class ProgressBar extends BaseProgressBar {
8848
9166
  /**
8849
9167
  * The thickness of the progress bar
8850
9168
  *
8851
- * @public
9169
+ * The thickness of the progress bar
9170
+ *
8852
9171
  * HTML Attribute: `thickness`
9172
+ *
9173
+ * @public
8853
9174
  */
8854
9175
  thickness?: ProgressBarThickness;
8855
9176
  /**
8856
9177
  * The shape of the progress bar
8857
- * @public
9178
+ * The shape of the progress bar
9179
+ *
8858
9180
  * HTML Attribute: `shape`
9181
+ *
9182
+ * @public
8859
9183
  */
8860
9184
  shape?: ProgressBarShape;
8861
9185
  }
8862
9186
 
8863
9187
  /**
8864
- * The Fluent ProgressBar Element.
8865
- *
9188
+ * The definition for the `<fluent-progress-bar>` element.
8866
9189
  *
8867
9190
  * @public
8868
- * @remarks
8869
- * HTML Element: \<fluent-progress-bar\>
8870
9191
  */
8871
- export declare const ProgressBarDefinition: FASTElementDefinition<typeof ProgressBar>;
9192
+ export declare const ProgressBarDefinition: PartialFASTElementDefinition;
8872
9193
 
8873
9194
  /**
8874
9195
  * ProgressBarShape Constants
@@ -8932,8 +9253,9 @@ declare type PropertyNameForCalculation = 'max' | 'value';
8932
9253
  * @tag fluent-radio
8933
9254
  *
8934
9255
  * @slot checked-indicator - The checked indicator slot
8935
- * @fires change - Emits a custom change event when the checked state changes
8936
- * @fires input - Emits a custom input event when the checked state changes
9256
+ * @fires {Event} change - Emits a custom change event when the checked state changes
9257
+ * @fires {Event} input - Emits a custom input event when the checked state changes
9258
+ * @fires {CustomEvent} disabled - Emits a custom disabled event when the disabled state changes
8937
9259
  *
8938
9260
  * @public
8939
9261
  */
@@ -8954,7 +9276,7 @@ export declare class Radio extends BaseCheckbox {
8954
9276
  * @internal
8955
9277
  * @override
8956
9278
  * @remarks
8957
- * To make a group of radio controls required, see {@link RadioGroup.required}.
9279
+ * To make a group of radio controls required, see `RadioGroup.required`.
8958
9280
  */
8959
9281
  protected requiredChanged(): void;
8960
9282
  /**
@@ -8962,336 +9284,67 @@ export declare class Radio extends BaseCheckbox {
8962
9284
  *
8963
9285
  * @internal
8964
9286
  * @override
8965
- * @remarks
8966
- * The radio form value is controlled by the `RadioGroup` component.
8967
- */
8968
- setFormValue(): void;
8969
- /**
8970
- * Sets the validity of the control.
8971
- *
8972
- * @internal
8973
- * @override
8974
- * @remarks
8975
- * The radio component does not have a `required` attribute, so this method always sets the validity to `true`.
8976
- */
8977
- setValidity(): void;
8978
- /**
8979
- * Toggles the checked state of the control.
8980
- *
8981
- * @param force - Forces the element to be checked or unchecked
8982
- * @public
8983
- * @override
8984
- * @remarks
8985
- * The radio checked state is controlled by the `RadioGroup` component, so the `force` parameter defaults to `true`.
8986
- */
8987
- toggleChecked(force?: boolean): void;
8988
- }
8989
-
8990
- /**
8991
- * @public
8992
- */
8993
- export declare type RadioControl = Pick<HTMLInputElement, 'checked' | 'disabled' | 'focus' | 'setAttribute' | 'getAttribute'>;
8994
-
8995
- /**
8996
- * The Fluent Radio Element.
8997
- *
8998
- *
8999
- * @public
9000
- * @remarks
9001
- * HTML Element: \<fluent-radio\>
9002
- */
9003
- export declare const RadioDefinition: FASTElementDefinition<typeof Radio>;
9004
-
9005
- /**
9006
- * A Radio Group Custom HTML Element.
9007
- * Implements the {@link https://w3c.github.io/aria/#radiogroup | ARIA `radiogroup` role}.
9008
- *
9009
- * @tag fluent-radio-group
9010
- *
9011
- * @public
9012
- *
9013
- * @slot - The default slot for the radio group
9014
- */
9015
- export declare class RadioGroup extends FASTElement {
9016
- /**
9017
- * The index of the checked radio, scoped to the enabled radios.
9018
- *
9019
- * @internal
9020
- */
9021
- protected checkedIndex: number;
9022
- /**
9023
- * Sets the checked state of the nearest enabled radio when the `checkedIndex` changes.
9024
- *
9025
- * @param prev - the previous index
9026
- * @param next - the current index
9027
- * @internal
9028
- */
9029
- protected checkedIndexChanged(prev: number | undefined, next: number): void;
9030
- /**
9031
- * Indicates that the value has been changed by the user.
9032
- */
9033
- private dirtyState;
9034
- /**
9035
- * Disables the radio group and child radios.
9036
- *
9037
- * @public
9038
- * @remarks
9039
- * HTML Attribute: `disabled`
9040
- */
9041
- disabled: boolean;
9042
- /**
9043
- * Sets the `disabled` attribute on all child radios when the `disabled` property changes.
9044
- *
9045
- * @param prev - the previous disabled value
9046
- * @param next - the current disabled value
9047
- * @internal
9048
- */
9049
- protected disabledChanged(prev?: boolean, next?: boolean): void;
9050
- /**
9051
- * The value of the checked radio.
9052
- *
9053
- * @public
9054
- * @remarks
9055
- * HTML Attribute: `value`
9056
- */
9057
- initialValue?: string;
9058
- /**
9059
- * Sets the matching radio to checked when the value changes. If no radio matches the value, no radio will be checked.
9060
- *
9061
- * @param prev - the previous value
9062
- * @param next - the current value
9063
- */
9064
- initialValueChanged(prev: string | undefined, next: string | undefined): void;
9065
- /**
9066
- * The name of the radio group.
9067
- *
9068
- * @public
9069
- * @remarks
9070
- * HTML Attribute: `name`
9071
- */
9072
- name: string;
9073
- /**
9074
- * Sets the `name` attribute on all child radios when the `name` property changes.
9075
- *
9076
- * @internal
9077
- */
9078
- protected nameChanged(prev: string | undefined, next: string | undefined): void;
9079
- /**
9080
- * The orientation of the group.
9081
- *
9082
- * @public
9083
- * @remarks
9084
- * HTML Attribute: `orientation`
9085
- */
9086
- orientation?: RadioGroupOrientation;
9087
- /**
9088
- * Sets the ariaOrientation attribute when the orientation changes.
9089
- *
9090
- * @param prev - the previous orientation
9091
- * @param next - the current orientation
9092
- * @internal
9093
- */
9094
- orientationChanged(prev: RadioGroupOrientation | undefined, next: RadioGroupOrientation | undefined): void;
9095
- /**
9096
- * The collection of all child radios.
9097
- *
9098
- * @public
9099
- */
9100
- radios: Radio[];
9101
- /**
9102
- * Updates the enabled radios collection when properties on the child radios change.
9103
- *
9104
- * @param prev - the previous radios
9105
- * @param next - the current radios
9106
- */
9107
- radiosChanged(prev: Radio[] | undefined, next: Radio[] | undefined): void;
9108
- /**
9109
- * Indicates whether the radio group is required.
9110
- *
9111
- * @public
9112
- * @remarks
9113
- * HTML Attribute: `required`
9114
- */
9115
- required: boolean;
9116
- /**
9117
- *
9118
- * @param prev - the previous required value
9119
- * @param next - the current required value
9120
- */
9121
- requiredChanged(prev: boolean, next: boolean): void;
9122
- /**
9123
- * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
9124
- *
9125
- * @internal
9126
- */
9127
- elementInternals: ElementInternals;
9128
- /**
9129
- * A collection of child radios that are not disabled.
9130
- *
9131
- * @internal
9132
- */
9133
- get enabledRadios(): Radio[];
9134
- /**
9135
- * The form-associated flag.
9136
- * @see {@link https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-face-example | Form-associated custom elements}
9137
- *
9138
- * @public
9139
- */
9140
- static formAssociated: boolean;
9141
- /**
9142
- * The fallback validation message, taken from a native checkbox `<input>` element.
9143
- *
9144
- * @internal
9145
- */
9146
- private _validationFallbackMessage;
9147
- /**
9148
- * The validation message. Uses the browser's default validation message for native checkboxes if not otherwise
9149
- * specified (e.g., via `setCustomValidity`).
9150
- *
9151
- * @internal
9152
- */
9153
- get validationMessage(): string;
9154
- /**
9155
- * The element's validity state.
9156
- *
9157
- * @public
9158
- * @remarks
9159
- * Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/validity | `ElementInternals.validity`} property.
9160
- */
9161
- get validity(): ValidityState;
9162
- /**
9163
- * The current value of the checked radio.
9164
- *
9165
- * @public
9166
- */
9167
- get value(): string | null;
9168
- set value(next: string | null);
9169
- /**
9170
- * Sets the checked state of all radios when any radio emits a `change` event.
9171
- *
9172
- * @param e - the change event
9173
- */
9174
- changeHandler(e: Event): boolean | void;
9175
- /**
9176
- * Checks the radio at the specified index.
9177
- *
9178
- * @param index - the index of the radio to check
9179
- * @internal
9180
- */
9181
- checkRadio(index?: number, shouldEmit?: boolean): void;
9182
- /**
9183
- * Checks the validity of the element and returns the result.
9184
- *
9185
- * @public
9186
- * @remarks
9187
- * Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/checkValidity | `HTMLInputElement.checkValidity()`} method.
9188
- */
9189
- checkValidity(): boolean;
9190
- /**
9191
- * Handles click events for the radio group.
9192
- *
9193
- * @param e - the click event
9194
- * @internal
9195
- */
9196
- clickHandler(e: MouseEvent): boolean | void;
9197
- constructor();
9198
- /**
9199
- * Focuses the checked radio or the first enabled radio.
9200
- *
9201
- * @internal
9202
- */
9203
- focus(): void;
9204
- /**
9205
- * Enables tabbing through the radio group when the group receives focus.
9206
- *
9207
- * @param e - the focus event
9208
- * @internal
9209
- */
9210
- focusinHandler(e: FocusEvent): boolean | void;
9211
- /**
9212
- * Sets the tabindex of the radios based on the checked state when the radio group loses focus.
9213
- *
9214
- * @param e - the focusout event
9215
- * @internal
9216
- */
9217
- focusoutHandler(e: FocusEvent): boolean | void;
9218
- formResetCallback(): void;
9219
- private getEnabledIndexInBounds;
9220
- /**
9221
- * Handles keydown events for the radio group.
9222
- *
9223
- * @param e - the keyboard event
9224
- * @internal
9225
- */
9226
- keydownHandler(e: KeyboardEvent): boolean | void;
9227
- /**
9228
- *
9229
- * @param e - the disabled event
9230
- */
9231
- disabledRadioHandler(e: CustomEvent): void;
9232
- /**
9233
- * Reports the validity of the element.
9234
- *
9235
- * @public
9236
- * @remarks
9237
- * Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/reportValidity | `HTMLInputElement.reportValidity()`} method.
9238
- */
9239
- reportValidity(): boolean;
9240
- /**
9241
- * Resets the `tabIndex` for all child radios when the radio group loses focus.
9242
- *
9243
- * @internal
9244
- */
9245
- private restrictFocus;
9246
- /**
9247
- * Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/setFormValue | `ElementInternals.setFormValue()`} method.
9248
- *
9249
- * @internal
9287
+ * @remarks
9288
+ * The radio form value is controlled by the `RadioGroup` component.
9250
9289
  */
9251
- setFormValue(value: File | string | FormData | null, state?: File | string | FormData | null): void;
9290
+ setFormValue(): void;
9252
9291
  /**
9253
- * Sets the validity of the element.
9254
- *
9255
- * @param flags - Validity flags to set.
9256
- * @param message - Optional message to supply. If not provided, the element's `validationMessage` will be used.
9257
- * @param anchor - Optional anchor to use for the validation message.
9292
+ * Sets the validity of the control.
9258
9293
  *
9259
9294
  * @internal
9295
+ * @override
9260
9296
  * @remarks
9261
- * RadioGroup validation is reported through the individual Radio elements rather than the RadioGroup itself.
9262
- * This is necessary because:
9263
- * 1. Each Radio is form-associated (extends BaseCheckbox which has `formAssociated = true`)
9264
- * 2. Browser validation UIs and screen readers announce validation against individual form controls
9265
- * 3. For groups like RadioGroup, the browser needs to report the error on a specific member of the group
9266
- * 4. We anchor the error to the first Radio so it receives focus and announcement
9267
- *
9268
- * When the group is invalid (required but no selection):
9269
- * - Only the first Radio gets the invalid state with the validation message
9270
- * - Other Radios are kept valid since selecting any of them would satisfy the requirement
9271
- *
9272
- * When the group becomes valid (user selects any Radio):
9273
- * - All Radios are cleared back to valid state
9274
- * - This allows form submission to proceed
9297
+ * The radio component does not have a `required` attribute, so this method always sets the validity to `true`.
9275
9298
  */
9276
- setValidity(flags?: Partial<ValidityState>, message?: string, anchor?: HTMLElement): void;
9299
+ setValidity(): void;
9277
9300
  /**
9278
- * Updates the collection of child radios when the slot changes.
9301
+ * Toggles the checked state of the control.
9279
9302
  *
9280
- * @param e - the slot change event
9281
- * @internal
9303
+ * @param force - Forces the element to be checked or unchecked
9304
+ * @public
9305
+ * @override
9306
+ * @remarks
9307
+ * The radio checked state is controlled by the `RadioGroup` component, so the `force` parameter defaults to `true`.
9282
9308
  */
9283
- slotchangeHandler(e: Event): void;
9309
+ toggleChecked(force?: boolean): void;
9284
9310
  }
9285
9311
 
9286
9312
  /**
9287
- * The Fluent RadioGroup Element.
9313
+ * @public
9314
+ */
9315
+ export declare type RadioControl = Pick<HTMLInputElement, 'checked' | 'disabled' | 'focus' | 'setAttribute' | 'getAttribute'>;
9316
+
9317
+ /**
9318
+ * The definition for the `<fluent-radio>` element.
9319
+ *
9320
+ * @public
9321
+ */
9322
+ export declare const RadioDefinition: PartialFASTElementDefinition;
9323
+
9324
+ /**
9325
+ * A Radio Group Custom HTML Element.
9326
+ * Implements the {@link https://w3c.github.io/aria/#radiogroup | ARIA `radiogroup` role}.
9327
+ *
9328
+ * @tag fluent-radio-group
9288
9329
  *
9330
+ * @slot - The default slot for the radio group
9331
+ * @fires { Event } change - Fired when the selected radio changes.
9332
+ *
9333
+ * @public
9334
+ */
9335
+ export declare class RadioGroup extends BaseRadioGroup {
9336
+ private fg;
9337
+ private fgItems;
9338
+ disconnectedCallback(): void;
9339
+ radiosChanged(prev: Radio[] | undefined, next: Radio[] | undefined): void;
9340
+ }
9341
+
9342
+ /**
9343
+ * The definition for the `<fluent-radio-group>` element.
9289
9344
  *
9290
9345
  * @public
9291
- * @remarks
9292
- * HTML Element: \<fluent-radio-group\>
9293
9346
  */
9294
- export declare const RadioGroupDefinition: FASTElementDefinition<typeof RadioGroup>;
9347
+ export declare const RadioGroupDefinition: PartialFASTElementDefinition;
9295
9348
 
9296
9349
  /**
9297
9350
  * Radio Group orientation
@@ -9391,13 +9444,11 @@ export declare const RatingDisplayColor: {
9391
9444
  export declare type RatingDisplayColor = ValuesOf<typeof RatingDisplayColor>;
9392
9445
 
9393
9446
  /**
9394
- * The definition for the Fluent Rating Display component.
9447
+ * The definition for the `<fluent-rating-display>` element.
9395
9448
  *
9396
9449
  * @public
9397
- * @remarks
9398
- * HTML Element: `<fluent-rating-display>`
9399
9450
  */
9400
- export declare const RatingDisplayDefinition: FASTElementDefinition<typeof RatingDisplay>;
9451
+ export declare const RatingDisplayDefinition: PartialFASTElementDefinition;
9401
9452
 
9402
9453
  /**
9403
9454
  * The size of a Rating Display can be `small`, `medium`, or `large`.
@@ -9455,12 +9506,6 @@ export declare const roleForMenuItem: {
9455
9506
  */
9456
9507
  export declare function setTheme(theme: Theme | null, node?: Document | HTMLElement): void;
9457
9508
 
9458
- /**
9459
- * @internal
9460
- * @deprecated Use `setTheme(theme, element)` instead.
9461
- */
9462
- export declare function setThemeFor(element: HTMLElement, theme: Theme | null): void;
9463
-
9464
9509
  /**
9465
9510
  * CSS custom property value for the {@link @fluentui/tokens#shadow16 | `shadow16`} design token.
9466
9511
  * @public
@@ -9541,7 +9586,7 @@ export declare const shadow8Brand = "var(--shadow8Brand)";
9541
9586
  * @slot thumb - The slot for a custom thumb element.
9542
9587
  * @csspart thumb-container - The container element of the thumb.
9543
9588
  * @csspart track-container - The container element of the track.
9544
- * @fires change - Fires a custom 'change' event when the value changes.
9589
+ * @fires { Event } change - Fires a custom 'change' event when the value changes.
9545
9590
  *
9546
9591
  * @public
9547
9592
  */
@@ -9751,6 +9796,13 @@ export declare class Slider extends FASTElement implements SliderConfiguration {
9751
9796
  */
9752
9797
  disabled: boolean;
9753
9798
  protected disabledChanged(): void;
9799
+ /**
9800
+ * Returns true if the component is disabled, taking into account the `disabled`
9801
+ * attribute, `aria-disabled` attribute, and the `:disabled` pseudo-class.
9802
+ *
9803
+ * @internal
9804
+ */
9805
+ protected get isDisabled(): boolean;
9754
9806
  /**
9755
9807
  * The minimum allowed value.
9756
9808
  *
@@ -9821,9 +9873,6 @@ export declare class Slider extends FASTElement implements SliderConfiguration {
9821
9873
  */
9822
9874
  mode: SliderMode;
9823
9875
  constructor();
9824
- /**
9825
- * @internal
9826
- */
9827
9876
  connectedCallback(): void;
9828
9877
  /**
9829
9878
  * @internal
@@ -9901,14 +9950,11 @@ export declare interface SliderConfiguration {
9901
9950
  }
9902
9951
 
9903
9952
  /**
9904
- * The Fluent Slider Element.
9905
- *
9953
+ * The definition for the `<fluent-slider>` element.
9906
9954
  *
9907
9955
  * @public
9908
- * @remarks
9909
- * HTML Element: \<fluent-slider\>
9910
9956
  */
9911
- export declare const SliderDefinition: FASTElementDefinition<typeof Slider>;
9957
+ export declare const SliderDefinition: PartialFASTElementDefinition;
9912
9958
 
9913
9959
  /**
9914
9960
  * @public
@@ -10154,11 +10200,11 @@ export declare const SpinnerAppearance: {
10154
10200
  export declare type SpinnerAppearance = ValuesOf<typeof SpinnerAppearance>;
10155
10201
 
10156
10202
  /**
10203
+ * The definition for the `<fluent-spinner>` element.
10204
+ *
10157
10205
  * @public
10158
- * @remarks
10159
- * HTML Element: \<fluent-spinner\>
10160
10206
  */
10161
- export declare const SpinnerDefinition: FASTElementDefinition<typeof Spinner>;
10207
+ export declare const SpinnerDefinition: PartialFASTElementDefinition;
10162
10208
 
10163
10209
  /**
10164
10210
  * SpinnerSize constants
@@ -10272,6 +10318,7 @@ export { styles as MenuButtonStyles }
10272
10318
  * Based on BaseCheckbox and includes style and layout specific attributes
10273
10319
  *
10274
10320
  * @tag fluent-switch
10321
+ * @csspart checked-indicator - The internal switch indicator element.
10275
10322
  *
10276
10323
  */
10277
10324
  export declare class Switch extends BaseCheckbox {
@@ -10279,13 +10326,11 @@ export declare class Switch extends BaseCheckbox {
10279
10326
  }
10280
10327
 
10281
10328
  /**
10282
- * The Fluent Switch Element.
10329
+ * The definition for the `<fluent-switch>` element.
10283
10330
  *
10284
10331
  * @public
10285
- * @remarks
10286
- * HTML Element: \<fluent-switch\>
10287
10332
  */
10288
- export declare const SwitchDefinition: FASTElementDefinition<typeof Switch>;
10333
+ export declare const SwitchDefinition: PartialFASTElementDefinition;
10289
10334
 
10290
10335
  /**
10291
10336
  * SwitchLabelPosition Constants
@@ -10324,43 +10369,43 @@ export declare class Tab extends FASTElement {
10324
10369
  * HTML Attribute: disabled
10325
10370
  */
10326
10371
  disabled: boolean;
10327
- private styles;
10372
+ protected disabledChanged(prev: boolean, next: boolean): void;
10373
+ /**
10374
+ * Internal text content stylesheet, used to set the content of the `::after`
10375
+ * pseudo element to prevent layout shift when the font weight changes on selection.
10376
+ * @internal
10377
+ */
10378
+ private styles?;
10379
+ /**
10380
+ * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
10381
+ *
10382
+ * @internal
10383
+ */
10384
+ elementInternals: ElementInternals;
10385
+ constructor();
10328
10386
  connectedCallback(): void;
10387
+ private setDisabledSideEffect;
10329
10388
  }
10330
10389
 
10331
10390
  export declare interface Tab extends StartEnd {
10332
10391
  }
10333
10392
 
10334
- export declare const TabDefinition: FASTElementDefinition<typeof Tab>;
10393
+ /**
10394
+ * The definition for the `<fluent-tab>` element.
10395
+ *
10396
+ * @public
10397
+ */
10398
+ export declare const TabDefinition: PartialFASTElementDefinition;
10335
10399
 
10336
10400
  /**
10337
- * A BaseTablist component with extra logic for handling the styled active tab indicator.
10401
+ * A Tablist component.
10338
10402
  *
10339
10403
  * @tag fluent-tablist
10404
+ * @fires { Event } change - Fired when the active tab changes.
10340
10405
  *
10341
10406
  * @public
10342
10407
  */
10343
10408
  export declare class Tablist extends BaseTablist {
10344
- /**
10345
- * activeTabData
10346
- * The positional coordinates and size dimensions of the active tab. Used for calculating the offset and scale of the tab active indicator.
10347
- */
10348
- private activeTabData;
10349
- /**
10350
- * previousActiveTabData
10351
- * The positional coordinates and size dimensions of the active tab. Used for calculating the offset and scale of the tab active indicator.
10352
- */
10353
- private previousActiveTabData;
10354
- /**
10355
- * activeTabOffset
10356
- * Used to position the active indicator for animations of the active indicator on active tab changes.
10357
- */
10358
- private activeTabOffset;
10359
- /**
10360
- * activeTabScale
10361
- * Used to scale the tab active indicator up or down as animations of the active indicator occur.
10362
- */
10363
- private activeTabScale;
10364
10409
  /**
10365
10410
  * appearance
10366
10411
  * There are two modes of appearance: transparent and subtle.
@@ -10372,58 +10417,10 @@ export declare class Tablist extends BaseTablist {
10372
10417
  * Used to set the size of all the tab controls, which effects text size and margins. Three sizes: small, medium and large.
10373
10418
  */
10374
10419
  size?: TablistSize;
10375
- /**
10376
- * calculateAnimationProperties
10377
- *
10378
- * Recalculates the active tab offset and scale.
10379
- * These values will be applied to css variables that control the tab active indicator position animations
10380
- */
10381
- private calculateAnimationProperties;
10382
- /**
10383
- * getSelectedTabPosition - gets the x or y coordinates of the tab
10384
- */
10385
- private getTabPosition;
10386
- /**
10387
- * getSelectedTabScale - gets the scale of the tab
10388
- */
10389
- private getTabScale;
10390
- /**
10391
- * Calculates and applies updated values to CSS variables.
10392
- *
10393
- * @param tab - the tab element to apply the updated values to
10394
- * @internal
10395
- */
10396
- private applyUpdatedCSSValues;
10397
- /**
10398
- * Runs through all the operations required for setting the tab active indicator to its starting location, ending
10399
- * location, and applying the animated css class to the tab.
10400
- *
10401
- * @param tab - the tab element to apply the updated values to
10402
- * @internal
10403
- */
10404
- private animationLoop;
10405
- /**
10406
- * Sets the data from the active tab onto the class. used for making all the animation calculations for the active
10407
- * tab indicator.
10408
- *
10409
- * @internal
10410
- */
10411
- private setTabData;
10412
- /**
10413
- * Sets the css variables for the active tab indicator.
10414
- * @internal
10415
- */
10416
- private setAnimationVars;
10417
- /**
10418
- * Initiates the active tab indicator animation loop when activeid changes.
10419
- * @param oldValue - the previous tabId
10420
- * @param newValue - the new tabId
10421
- */
10422
- activeidChanged(oldValue: string, newValue: string): void;
10423
- /**
10424
- * Initiates the active tab indicator animation loop when tabs change.
10425
- */
10426
- tabsChanged(): void;
10420
+ private fg?;
10421
+ private fgItems?;
10422
+ disconnectedCallback(): void;
10423
+ tabsChanged(prev: Tab[] | undefined, next: Tab[] | undefined): void;
10427
10424
  }
10428
10425
 
10429
10426
  /**
@@ -10442,11 +10439,11 @@ export declare const TablistAppearance: {
10442
10439
  export declare type TablistAppearance = ValuesOf<typeof TablistAppearance>;
10443
10440
 
10444
10441
  /**
10442
+ * The definition for the `<fluent-tablist>` element.
10443
+ *
10445
10444
  * @public
10446
- * @remarks
10447
- * HTML Element: \<fluent-tablist\>
10448
10445
  */
10449
- export declare const TablistDefinition: FASTElementDefinition<typeof Tablist>;
10446
+ export declare const TablistDefinition: PartialFASTElementDefinition;
10450
10447
 
10451
10448
  /**
10452
10449
  * The orientation of the component
@@ -10495,167 +10492,6 @@ export declare const TablistTemplate: ViewTemplate<Tablist, any>;
10495
10492
  */
10496
10493
  export declare type TabOptions = StartEndOptions<Tab>;
10497
10494
 
10498
- /**
10499
- * @deprecated - Use tablist instead
10500
- *
10501
- * @tag fluent-tab-panel
10502
- */
10503
- export declare class TabPanel extends FASTElement {
10504
- }
10505
-
10506
- /**
10507
- * @deprecated - Use tablist instead
10508
- */
10509
- export declare const TabPanelDefinition: FASTElementDefinition<typeof TabPanel>;
10510
-
10511
- export declare const TabPanelStyles: ElementStyles;
10512
-
10513
- export declare const TabPanelTemplate: ElementViewTemplate<TabPanel, any>;
10514
-
10515
- /**
10516
- * @deprecated - Use tablist instead
10517
- *
10518
- * @tag fluent-tabs
10519
- */
10520
- export declare class Tabs extends BaseTabs {
10521
- /**
10522
- * activeTabData
10523
- * The positional coordinates and size dimensions of the active tab. Used for calculating the offset and scale of the tab active indicator.
10524
- */
10525
- private activeTabData;
10526
- /**
10527
- * previousActiveTabData
10528
- * The positional coordinates and size dimensions of the active tab. Used for calculating the offset and scale of the tab active indicator.
10529
- */
10530
- private previousActiveTabData;
10531
- /**
10532
- * activeTabOffset
10533
- * Used to position the active indicator for animations of the active indicator on active tab changes.
10534
- */
10535
- private activeTabOffset;
10536
- /**
10537
- * activeTabScale
10538
- * Used to scale the tab active indicator up or down as animations of the active indicator occur.
10539
- */
10540
- private activeTabScale;
10541
- /**
10542
- * styles
10543
- * used in the class for storing the css variables required for animations
10544
- */
10545
- private styles;
10546
- /**
10547
- * appearance
10548
- * There are two modes of appearance: transparent and subtle.
10549
- */
10550
- appearance?: TabsAppearance;
10551
- /**
10552
- * disabled
10553
- * 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."
10554
- */
10555
- disabled?: boolean;
10556
- /**
10557
- * size
10558
- * defaults to medium.
10559
- * Used to set the size of all the tab controls, which effects text size and margins. Three sizes: small, medium and large.
10560
- */
10561
- size?: TabsSize;
10562
- /**
10563
- * calculateAnimationProperties
10564
- *
10565
- * Recalculates the active tab offset and scale.
10566
- * These values will be applied to css variables that control the tab active indicator position animations
10567
- */
10568
- private calculateAnimationProperties;
10569
- /**
10570
- * getSelectedTabPosition - gets the x or y coordinates of the tab
10571
- */
10572
- private getTabPosition;
10573
- /**
10574
- * getSelectedTabScale - gets the scale of the tab
10575
- */
10576
- private getTabScale;
10577
- /**
10578
- * Calculates and applies updated values to CSS variables.
10579
- *
10580
- * @param tab - the tab element to apply the updated values to
10581
- * @internal
10582
- */
10583
- private applyUpdatedCSSValues;
10584
- /**
10585
- * Runs through all the operations required for setting the tab active indicator to its starting location, ending
10586
- * location, and applying the animated css class to the tab.
10587
- *
10588
- * @param tab - the tab element to apply the updated values to
10589
- * @internal
10590
- */
10591
- private animationLoop;
10592
- /**
10593
- * Gets the position data for a tab element relative to its parent
10594
- * @param tab - The tab element to get position data for
10595
- * @returns The position data for the tab
10596
- */
10597
- private getTabPositionData;
10598
- /**
10599
- * Sets the data from the active tab onto the class. used for making all the animation calculations for the active
10600
- * tab indicator.
10601
- *
10602
- * @internal
10603
- */
10604
- private setTabData;
10605
- private setTabOffsetCSSVar;
10606
- private setTabScaleCSSVar;
10607
- activeidChanged(oldValue: string, newValue: string): void;
10608
- tabsChanged(): void;
10609
- }
10610
-
10611
- export declare interface Tabs extends StartEnd {
10612
- }
10613
-
10614
- export declare const TabsAppearance: {
10615
- readonly subtle: "subtle";
10616
- readonly transparent: "transparent";
10617
- };
10618
-
10619
- export declare type TabsAppearance = ValuesOf<typeof TabsAppearance>;
10620
-
10621
- /**
10622
- * @deprecated - Use tablist instead
10623
- */
10624
- export declare const TabsDefinition: FASTElementDefinition<typeof Tabs>;
10625
-
10626
- /**
10627
- * Tabs option configuration options
10628
- * @public
10629
- */
10630
- export declare type TabsOptions = StartEndOptions<Tabs>;
10631
-
10632
- /**
10633
- * The orientation of the component
10634
- * @public
10635
- */
10636
- export declare const TabsOrientation: {
10637
- readonly horizontal: "horizontal";
10638
- readonly vertical: "vertical";
10639
- };
10640
-
10641
- /**
10642
- * The types for the Tabs component
10643
- * @public
10644
- */
10645
- export declare type TabsOrientation = ValuesOf<typeof TabsOrientation>;
10646
-
10647
- export declare const TabsSize: {
10648
- readonly small: "small";
10649
- readonly medium: "medium";
10650
- readonly large: "large";
10651
- };
10652
-
10653
- export declare type TabsSize = ValuesOf<typeof TabsSize>;
10654
-
10655
- export declare const TabsStyles: ElementStyles;
10656
-
10657
- export declare const TabsTemplate: ElementViewTemplate<Tabs, any>;
10658
-
10659
10495
  export declare const TabStyles: ElementStyles;
10660
10496
 
10661
10497
  export declare const TabTemplate: ElementViewTemplate<Tab, any>;
@@ -10665,6 +10501,8 @@ export declare const TabTemplate: ElementViewTemplate<Tab, any>;
10665
10501
  *
10666
10502
  * @tag fluent-text
10667
10503
  *
10504
+ * @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.
10505
+ *
10668
10506
  * @public
10669
10507
  */
10670
10508
  declare class Text_2 extends FASTElement {
@@ -10856,13 +10694,11 @@ export declare const TextAreaAutocomplete: {
10856
10694
  export declare type TextAreaAutocomplete = ValuesOf<typeof TextAreaAutocomplete>;
10857
10695
 
10858
10696
  /**
10859
- * The Fluent Textarea Element definition.
10697
+ * The definition for the `<fluent-textarea>` element.
10860
10698
  *
10861
10699
  * @public
10862
- * @remarks
10863
- * HTML Element: `<fluent-textarea>`
10864
10700
  */
10865
- export declare const TextAreaDefinition: FASTElementDefinition<typeof TextArea>;
10701
+ export declare const TextAreaDefinition: PartialFASTElementDefinition;
10866
10702
 
10867
10703
  /**
10868
10704
  * Values for the `resize` attribute on TextArea elements.
@@ -10902,14 +10738,11 @@ export declare const TextAreaStyles: ElementStyles;
10902
10738
  export declare const TextAreaTemplate: ElementViewTemplate<TextArea>;
10903
10739
 
10904
10740
  /**
10905
- * The Fluent Text Element.
10906
- *
10741
+ * The definition for the `<fluent-text>` element.
10907
10742
  *
10908
10743
  * @public
10909
- * @remarks
10910
- * HTML Element: \<fluent-text\>
10911
10744
  */
10912
- export declare const TextDefinition: FASTElementDefinition<typeof Text_2>;
10745
+ export declare const TextDefinition: PartialFASTElementDefinition;
10913
10746
 
10914
10747
  /**
10915
10748
  * TextFont Constants
@@ -10932,6 +10765,8 @@ export declare type TextFont = ValuesOf<typeof TextFont>;
10932
10765
  * Based on BaseTextInput and includes style and layout specific attributes
10933
10766
  *
10934
10767
  * @tag fluent-text-input
10768
+ * @fires { Event } change - Fired when the input value is committed via a change event.
10769
+ * @fires { Event } select - Fires when the `select()` method is called.
10935
10770
  *
10936
10771
  * @public
10937
10772
  */
@@ -10992,13 +10827,11 @@ export declare const TextInputControlSize: {
10992
10827
  export declare type TextInputControlSize = ValuesOf<typeof TextInputControlSize>;
10993
10828
 
10994
10829
  /**
10995
- * The Fluent TextInput Element definition.
10830
+ * The definition for the `<fluent-text-input>` element.
10996
10831
  *
10997
10832
  * @public
10998
- * @remarks
10999
- * HTML Element: `<fluent-text-input>`
11000
10833
  */
11001
- export declare const TextInputDefinition: FASTElementDefinition<typeof TextInput>;
10834
+ export declare const TextInputDefinition: PartialFASTElementDefinition;
11002
10835
 
11003
10836
  /**
11004
10837
  * TextInput configuration options.
@@ -11163,12 +10996,11 @@ export declare const ToggleButtonAppearance: {
11163
10996
  export declare type ToggleButtonAppearance = ValuesOf<typeof ToggleButtonAppearance>;
11164
10997
 
11165
10998
  /**
10999
+ * The definition for the `<fluent-toggle-button>` element.
11166
11000
  *
11167
11001
  * @public
11168
- * @remarks
11169
- * HTML Element: \<fluent-toggle-button\>
11170
11002
  */
11171
- export declare const ToggleButtonDefinition: FASTElementDefinition<typeof ToggleButton>;
11003
+ export declare const ToggleButtonDefinition: PartialFASTElementDefinition;
11172
11004
 
11173
11005
  /**
11174
11006
  * A Toggle Button can be square, circular or rounded.
@@ -11223,6 +11055,8 @@ export declare const ToggleButtonTemplate: ElementViewTemplate<ToggleButton>;
11223
11055
  *
11224
11056
  * @tag fluent-tooltip
11225
11057
  *
11058
+ * @slot - The default slot. Accepts the content of the tooltip.
11059
+ *
11226
11060
  * @public
11227
11061
  */
11228
11062
  export declare class Tooltip extends FASTElement {
@@ -11276,13 +11110,13 @@ export declare class Tooltip extends FASTElement {
11276
11110
  disconnectedCallback(): void;
11277
11111
  /**
11278
11112
  * Shows the tooltip
11279
- * @param delay Number of milliseconds to delay showing the tooltip
11113
+ * @param delay - Number of milliseconds to delay showing the tooltip
11280
11114
  * @internal
11281
11115
  */
11282
11116
  showTooltip(delay?: number): void;
11283
11117
  /**
11284
11118
  * Hide the tooltip
11285
- * @param delay Number of milliseconds to delay hiding the tooltip
11119
+ * @param delay - Number of milliseconds to delay hiding the tooltip
11286
11120
  * @internal
11287
11121
  */
11288
11122
  hideTooltip(delay?: number): void;
@@ -11302,17 +11136,24 @@ export declare class Tooltip extends FASTElement {
11302
11136
  * Hide the tooltip on blur
11303
11137
  */
11304
11138
  blurAnchorHandler: () => void;
11139
+ /**
11140
+ * Indicates whether the tooltip styles have been applied for browsers that do not support anchor positioning.
11141
+ * @internal
11142
+ */
11143
+ private anchorPositioningReady;
11144
+ /**
11145
+ * Sets fallback styles for the tooltip for browsers that do not support CSS anchor positioning.
11146
+ * @internal
11147
+ */
11305
11148
  private setFallbackStyles;
11306
11149
  }
11307
11150
 
11308
11151
  /**
11309
- * The {@link Tooltip } custom element definition.
11152
+ * The definition for the `<fluent-tooltip>` element.
11310
11153
  *
11311
11154
  * @public
11312
- * @remarks
11313
- * HTML Element: `<fluent-tooltip>`
11314
11155
  */
11315
- export declare const TooltipDefinition: FASTElementDefinition<typeof Tooltip>;
11156
+ export declare const TooltipDefinition: PartialFASTElementDefinition;
11316
11157
 
11317
11158
  /**
11318
11159
  * The TooltipPositioning options and their corresponding CSS values
@@ -11360,43 +11201,68 @@ export declare const TooltipTemplate: ViewTemplate<Tooltip, any>;
11360
11201
  export declare class Tree extends BaseTree {
11361
11202
  /**
11362
11203
  * The size of the tree item element
11363
- * @public
11204
+ * The size of the tree item element
11205
+ *
11364
11206
  * HTML Attribute: size
11207
+ *
11208
+ * @public
11365
11209
  */
11366
11210
  size: TreeItemSize;
11367
11211
  protected sizeChanged(): void;
11368
11212
  /**
11369
11213
  * The appearance variants of the tree item element
11370
- * @public
11214
+ * The appearance variants of the tree item element
11215
+ *
11371
11216
  * HTML Attribute: appearance
11217
+ *
11218
+ * @public
11372
11219
  */
11373
11220
  appearance: TreeItemAppearance;
11374
11221
  protected appearanceChanged(): void;
11222
+ private fg?;
11223
+ private fgItems?;
11375
11224
  /**
11376
11225
  * child tree items supered change event
11377
11226
  * @internal
11378
11227
  */
11379
11228
  childTreeItemsChanged(): void;
11229
+ disconnectedCallback(): void;
11380
11230
  /**
11381
11231
  * 1. Update the child items' size based on the tree's size
11382
11232
  * 2. Update the child items' appearance based on the tree's appearance
11383
11233
  */
11384
11234
  updateSizeAndAppearance(): void;
11235
+ /** @internal */
11236
+ itemToggleHandler(): void;
11385
11237
  }
11386
11238
 
11387
11239
  /**
11240
+ * The definition for the `<fluent-tree>` element.
11388
11241
  *
11389
11242
  * @public
11390
- * @remarks
11391
- * HTML Element: \<fluent-tree\>
11392
11243
  */
11393
- export declare const TreeDefinition: FASTElementDefinition<typeof Tree>;
11244
+ export declare const TreeDefinition: PartialFASTElementDefinition;
11394
11245
 
11395
11246
  /**
11396
11247
  * The Fluent Tree Item Element. Implements {@link @microsoft/fast-foundation#BaseTreeItem}.
11397
11248
  *
11398
11249
  * @tag fluent-tree-item
11399
11250
  *
11251
+ * @slot - The default slot. Accepts the content of the tree item.
11252
+ * @slot start - Content shown before the item label.
11253
+ * @slot end - Content shown after the item label.
11254
+ * @slot aside - Content shown at the far end of the row.
11255
+ * @slot item - Child tree items.
11256
+ *
11257
+ * @csspart positioning-region - The container for item content and aside regions.
11258
+ * @csspart content - The item content region.
11259
+ * @csspart chevron - The expand/collapse indicator region.
11260
+ * @csspart aside - The trailing aside region.
11261
+ * @csspart items - The child items group region.
11262
+ *
11263
+ * @fires { ToggleEvent } toggle - Fired when expanded state toggles.
11264
+ * @fires { Event } change - Fired when selected state changes.
11265
+ *
11400
11266
  */
11401
11267
  export declare class TreeItem extends BaseTreeItem {
11402
11268
  /**
@@ -11444,12 +11310,11 @@ export declare const TreeItemAppearance: {
11444
11310
  export declare type TreeItemAppearance = ValuesOf<typeof TreeItemAppearance>;
11445
11311
 
11446
11312
  /**
11313
+ * The definition for the `<fluent-tree-item>` element.
11447
11314
  *
11448
11315
  * @public
11449
- * @remarks
11450
- * HTML Element: \<fluent-tree-item\>
11451
11316
  */
11452
- export declare const TreeItemDefinition: FASTElementDefinition<typeof TreeItem>;
11317
+ export declare const TreeItemDefinition: PartialFASTElementDefinition;
11453
11318
 
11454
11319
  export declare const TreeItemSize: {
11455
11320
  readonly small: "small";