@fluentui/web-components 3.0.0-rc.21 → 3.0.0-rc.23

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 (381) hide show
  1. package/CHANGELOG.md +22 -2
  2. package/custom-elements.json +1600 -242
  3. package/dist/esm/accordion/accordion.definition-async.d.ts +10 -0
  4. package/dist/esm/accordion/accordion.definition-async.js +14 -0
  5. package/dist/esm/accordion/accordion.definition-async.js.map +1 -0
  6. package/dist/esm/accordion/accordion.js +1 -1
  7. package/dist/esm/accordion/accordion.js.map +1 -1
  8. package/dist/esm/accordion/accordion.styles.css +8 -0
  9. package/dist/esm/accordion/accordion.template.html +5 -0
  10. package/dist/esm/accordion/define-async.d.ts +1 -0
  11. package/dist/esm/accordion/define-async.js +5 -0
  12. package/dist/esm/accordion/define-async.js.map +1 -0
  13. package/dist/esm/accordion-item/accordion-item.definition-async.d.ts +10 -0
  14. package/dist/esm/accordion-item/accordion-item.definition-async.js +14 -0
  15. package/dist/esm/accordion-item/accordion-item.definition-async.js.map +1 -0
  16. package/dist/esm/accordion-item/accordion-item.styles.css +170 -0
  17. package/dist/esm/accordion-item/accordion-item.template.html +47 -0
  18. package/dist/esm/accordion-item/define-async.d.ts +1 -0
  19. package/dist/esm/accordion-item/define-async.js +5 -0
  20. package/dist/esm/accordion-item/define-async.js.map +1 -0
  21. package/dist/esm/anchor-button/anchor-button.definition-async.d.ts +10 -0
  22. package/dist/esm/anchor-button/anchor-button.definition-async.js +14 -0
  23. package/dist/esm/anchor-button/anchor-button.definition-async.js.map +1 -0
  24. package/dist/esm/anchor-button/anchor-button.styles.css +225 -0
  25. package/dist/esm/anchor-button/anchor-button.template.html +13 -0
  26. package/dist/esm/anchor-button/define-async.d.ts +1 -0
  27. package/dist/esm/anchor-button/define-async.js +5 -0
  28. package/dist/esm/anchor-button/define-async.js.map +1 -0
  29. package/dist/esm/avatar/avatar.definition-async.d.ts +10 -0
  30. package/dist/esm/avatar/avatar.definition-async.js +14 -0
  31. package/dist/esm/avatar/avatar.definition-async.js.map +1 -0
  32. package/dist/esm/avatar/avatar.styles.css +475 -0
  33. package/dist/esm/avatar/avatar.template.html +17 -0
  34. package/dist/esm/avatar/define-async.d.ts +1 -0
  35. package/dist/esm/avatar/define-async.js +5 -0
  36. package/dist/esm/avatar/define-async.js.map +1 -0
  37. package/dist/esm/badge/badge.definition-async.d.ts +10 -0
  38. package/dist/esm/badge/badge.definition-async.js +14 -0
  39. package/dist/esm/badge/badge.definition-async.js.map +1 -0
  40. package/dist/esm/badge/badge.styles.css +268 -0
  41. package/dist/esm/badge/badge.template.html +5 -0
  42. package/dist/esm/badge/define-async.d.ts +1 -0
  43. package/dist/esm/badge/define-async.js +5 -0
  44. package/dist/esm/badge/define-async.js.map +1 -0
  45. package/dist/esm/button/button.definition-async.d.ts +10 -0
  46. package/dist/esm/button/button.definition-async.js +14 -0
  47. package/dist/esm/button/button.definition-async.js.map +1 -0
  48. package/dist/esm/button/button.styles.css +267 -0
  49. package/dist/esm/button/button.template.html +12 -0
  50. package/dist/esm/button/define-async.d.ts +1 -0
  51. package/dist/esm/button/define-async.js +5 -0
  52. package/dist/esm/button/define-async.js.map +1 -0
  53. package/dist/esm/checkbox/checkbox.base.js +9 -7
  54. package/dist/esm/checkbox/checkbox.base.js.map +1 -1
  55. package/dist/esm/checkbox/checkbox.definition-async.d.ts +10 -0
  56. package/dist/esm/checkbox/checkbox.definition-async.js +14 -0
  57. package/dist/esm/checkbox/checkbox.definition-async.js.map +1 -0
  58. package/dist/esm/checkbox/checkbox.styles.css +168 -0
  59. package/dist/esm/checkbox/checkbox.template.html +24 -0
  60. package/dist/esm/checkbox/define-async.d.ts +1 -0
  61. package/dist/esm/checkbox/define-async.js +5 -0
  62. package/dist/esm/checkbox/define-async.js.map +1 -0
  63. package/dist/esm/compound-button/compound-button.definition-async.d.ts +10 -0
  64. package/dist/esm/compound-button/compound-button.definition-async.js +14 -0
  65. package/dist/esm/compound-button/compound-button.definition-async.js.map +1 -0
  66. package/dist/esm/compound-button/compound-button.styles.css +372 -0
  67. package/dist/esm/compound-button/compound-button.template.html +13 -0
  68. package/dist/esm/compound-button/define-async.d.ts +1 -0
  69. package/dist/esm/compound-button/define-async.js +5 -0
  70. package/dist/esm/compound-button/define-async.js.map +1 -0
  71. package/dist/esm/counter-badge/counter-badge.definition-async.d.ts +10 -0
  72. package/dist/esm/counter-badge/counter-badge.definition-async.js +14 -0
  73. package/dist/esm/counter-badge/counter-badge.definition-async.js.map +1 -0
  74. package/dist/esm/counter-badge/counter-badge.styles.css +177 -0
  75. package/dist/esm/counter-badge/counter-badge.template.html +5 -0
  76. package/dist/esm/counter-badge/define-async.d.ts +1 -0
  77. package/dist/esm/counter-badge/define-async.js +5 -0
  78. package/dist/esm/counter-badge/define-async.js.map +1 -0
  79. package/dist/esm/dialog/define-async.d.ts +1 -0
  80. package/dist/esm/dialog/define-async.js +5 -0
  81. package/dist/esm/dialog/define-async.js.map +1 -0
  82. package/dist/esm/dialog/dialog.definition-async.d.ts +10 -0
  83. package/dist/esm/dialog/dialog.definition-async.js +14 -0
  84. package/dist/esm/dialog/dialog.definition-async.js.map +1 -0
  85. package/dist/esm/dialog/dialog.styles.css +86 -0
  86. package/dist/esm/dialog/dialog.template.html +16 -0
  87. package/dist/esm/dialog-body/define-async.d.ts +1 -0
  88. package/dist/esm/dialog-body/define-async.js +5 -0
  89. package/dist/esm/dialog-body/define-async.js.map +1 -0
  90. package/dist/esm/dialog-body/dialog-body.definition-async.d.ts +10 -0
  91. package/dist/esm/dialog-body/dialog-body.definition-async.js +14 -0
  92. package/dist/esm/dialog-body/dialog-body.definition-async.js.map +1 -0
  93. package/dist/esm/dialog-body/dialog-body.styles.css +87 -0
  94. package/dist/esm/dialog-body/dialog-body.template.html +11 -0
  95. package/dist/esm/divider/define-async.d.ts +1 -0
  96. package/dist/esm/divider/define-async.js +5 -0
  97. package/dist/esm/divider/define-async.js.map +1 -0
  98. package/dist/esm/divider/divider.definition-async.d.ts +10 -0
  99. package/dist/esm/divider/divider.definition-async.js +14 -0
  100. package/dist/esm/divider/divider.definition-async.js.map +1 -0
  101. package/dist/esm/divider/divider.styles.css +119 -0
  102. package/dist/esm/divider/divider.template.html +1 -0
  103. package/dist/esm/drawer/define-async.d.ts +1 -0
  104. package/dist/esm/drawer/define-async.js +5 -0
  105. package/dist/esm/drawer/define-async.js.map +1 -0
  106. package/dist/esm/drawer/drawer.definition-async.d.ts +10 -0
  107. package/dist/esm/drawer/drawer.definition-async.js +14 -0
  108. package/dist/esm/drawer/drawer.definition-async.js.map +1 -0
  109. package/dist/esm/drawer/drawer.styles.css +130 -0
  110. package/dist/esm/drawer/drawer.template.html +18 -0
  111. package/dist/esm/drawer-body/define-async.d.ts +1 -0
  112. package/dist/esm/drawer-body/define-async.js +5 -0
  113. package/dist/esm/drawer-body/define-async.js.map +1 -0
  114. package/dist/esm/drawer-body/drawer-body.definition-async.d.ts +10 -0
  115. package/dist/esm/drawer-body/drawer-body.definition-async.js +14 -0
  116. package/dist/esm/drawer-body/drawer-body.definition-async.js.map +1 -0
  117. package/dist/esm/drawer-body/drawer-body.styles.css +33 -0
  118. package/dist/esm/drawer-body/drawer-body.template.html +12 -0
  119. package/dist/esm/dropdown/define-async.d.ts +1 -0
  120. package/dist/esm/dropdown/define-async.js +5 -0
  121. package/dist/esm/dropdown/define-async.js.map +1 -0
  122. package/dist/esm/dropdown/dropdown.base.d.ts +25 -0
  123. package/dist/esm/dropdown/dropdown.base.js +66 -10
  124. package/dist/esm/dropdown/dropdown.base.js.map +1 -1
  125. package/dist/esm/dropdown/dropdown.definition-async.d.ts +10 -0
  126. package/dist/esm/dropdown/dropdown.definition-async.js +14 -0
  127. package/dist/esm/dropdown/dropdown.definition-async.js.map +1 -0
  128. package/dist/esm/dropdown/dropdown.styles.css +221 -0
  129. package/dist/esm/dropdown/dropdown.template.html +21 -0
  130. package/dist/esm/field/define-async.d.ts +1 -0
  131. package/dist/esm/field/define-async.js +5 -0
  132. package/dist/esm/field/define-async.js.map +1 -0
  133. package/dist/esm/field/field.definition-async.d.ts +10 -0
  134. package/dist/esm/field/field.definition-async.js +17 -0
  135. package/dist/esm/field/field.definition-async.js.map +1 -0
  136. package/dist/esm/field/field.styles.css +121 -0
  137. package/dist/esm/field/field.template.html +12 -0
  138. package/dist/esm/image/define-async.d.ts +1 -0
  139. package/dist/esm/image/define-async.js +5 -0
  140. package/dist/esm/image/define-async.js.map +1 -0
  141. package/dist/esm/image/image.definition-async.d.ts +10 -0
  142. package/dist/esm/image/image.definition-async.js +14 -0
  143. package/dist/esm/image/image.definition-async.js.map +1 -0
  144. package/dist/esm/image/image.styles.css +51 -0
  145. package/dist/esm/image/image.template.html +1 -0
  146. package/dist/esm/label/define-async.d.ts +1 -0
  147. package/dist/esm/label/define-async.js +5 -0
  148. package/dist/esm/label/define-async.js.map +1 -0
  149. package/dist/esm/label/label.definition-async.d.ts +10 -0
  150. package/dist/esm/label/label.definition-async.js +14 -0
  151. package/dist/esm/label/label.definition-async.js.map +1 -0
  152. package/dist/esm/label/label.styles.css +36 -0
  153. package/dist/esm/label/label.template.html +4 -0
  154. package/dist/esm/link/define-async.d.ts +1 -0
  155. package/dist/esm/link/define-async.js +5 -0
  156. package/dist/esm/link/define-async.js.map +1 -0
  157. package/dist/esm/link/link.definition-async.d.ts +10 -0
  158. package/dist/esm/link/link.definition-async.js +14 -0
  159. package/dist/esm/link/link.definition-async.js.map +1 -0
  160. package/dist/esm/link/link.styles.css +68 -0
  161. package/dist/esm/link/link.template.html +9 -0
  162. package/dist/esm/listbox/define-async.d.ts +1 -0
  163. package/dist/esm/listbox/define-async.js +5 -0
  164. package/dist/esm/listbox/define-async.js.map +1 -0
  165. package/dist/esm/listbox/listbox.definition-async.d.ts +10 -0
  166. package/dist/esm/listbox/listbox.definition-async.js +14 -0
  167. package/dist/esm/listbox/listbox.definition-async.js.map +1 -0
  168. package/dist/esm/listbox/listbox.styles.css +51 -0
  169. package/dist/esm/listbox/listbox.template.html +8 -0
  170. package/dist/esm/menu/define-async.d.ts +1 -0
  171. package/dist/esm/menu/define-async.js +5 -0
  172. package/dist/esm/menu/define-async.js.map +1 -0
  173. package/dist/esm/menu/menu.definition-async.d.ts +10 -0
  174. package/dist/esm/menu/menu.definition-async.js +14 -0
  175. package/dist/esm/menu/menu.definition-async.js.map +1 -0
  176. package/dist/esm/menu/menu.styles.css +53 -0
  177. package/dist/esm/menu/menu.template.html +7 -0
  178. package/dist/esm/menu/menu.template.js +1 -7
  179. package/dist/esm/menu/menu.template.js.map +1 -1
  180. package/dist/esm/menu-button/define-async.d.ts +1 -0
  181. package/dist/esm/menu-button/define-async.js +5 -0
  182. package/dist/esm/menu-button/define-async.js.map +1 -0
  183. package/dist/esm/menu-button/menu-button.definition-async.d.ts +10 -0
  184. package/dist/esm/menu-button/menu-button.definition-async.js +14 -0
  185. package/dist/esm/menu-button/menu-button.definition-async.js.map +1 -0
  186. package/dist/esm/menu-button/menu-button.definition.js +1 -1
  187. package/dist/esm/menu-button/menu-button.definition.js.map +1 -1
  188. package/dist/esm/menu-button/menu-button.styles.css +267 -0
  189. package/dist/esm/menu-button/menu-button.styles.d.ts +6 -0
  190. package/dist/esm/menu-button/menu-button.styles.js +8 -0
  191. package/dist/esm/menu-button/menu-button.styles.js.map +1 -0
  192. package/dist/esm/menu-button/menu-button.template.html +16 -0
  193. package/dist/esm/menu-item/define-async.d.ts +1 -0
  194. package/dist/esm/menu-item/define-async.js +5 -0
  195. package/dist/esm/menu-item/define-async.js.map +1 -0
  196. package/dist/esm/menu-item/menu-item.definition-async.d.ts +10 -0
  197. package/dist/esm/menu-item/menu-item.definition-async.js +14 -0
  198. package/dist/esm/menu-item/menu-item.definition-async.js.map +1 -0
  199. package/dist/esm/menu-item/menu-item.styles.css +152 -0
  200. package/dist/esm/menu-item/menu-item.template.html +19 -0
  201. package/dist/esm/menu-list/define-async.d.ts +1 -0
  202. package/dist/esm/menu-list/define-async.js +5 -0
  203. package/dist/esm/menu-list/define-async.js.map +1 -0
  204. package/dist/esm/menu-list/menu-list.base.js +3 -0
  205. package/dist/esm/menu-list/menu-list.base.js.map +1 -1
  206. package/dist/esm/menu-list/menu-list.definition-async.d.ts +10 -0
  207. package/dist/esm/menu-list/menu-list.definition-async.js +14 -0
  208. package/dist/esm/menu-list/menu-list.definition-async.js.map +1 -0
  209. package/dist/esm/menu-list/menu-list.styles.css +16 -0
  210. package/dist/esm/menu-list/menu-list.template.html +5 -0
  211. package/dist/esm/menu-list/menu-list.template.js +1 -1
  212. package/dist/esm/menu-list/menu-list.template.js.map +1 -1
  213. package/dist/esm/message-bar/define-async.d.ts +1 -0
  214. package/dist/esm/message-bar/define-async.js +5 -0
  215. package/dist/esm/message-bar/define-async.js.map +1 -0
  216. package/dist/esm/message-bar/message-bar.definition-async.d.ts +10 -0
  217. package/dist/esm/message-bar/message-bar.definition-async.js +14 -0
  218. package/dist/esm/message-bar/message-bar.definition-async.js.map +1 -0
  219. package/dist/esm/message-bar/message-bar.styles.css +98 -0
  220. package/dist/esm/message-bar/message-bar.template.html +8 -0
  221. package/dist/esm/option/define-async.d.ts +1 -0
  222. package/dist/esm/option/define-async.js +5 -0
  223. package/dist/esm/option/define-async.js.map +1 -0
  224. package/dist/esm/option/option.definition-async.d.ts +10 -0
  225. package/dist/esm/option/option.definition-async.js +14 -0
  226. package/dist/esm/option/option.definition-async.js.map +1 -0
  227. package/dist/esm/option/option.styles.css +131 -0
  228. package/dist/esm/option/option.template.html +21 -0
  229. package/dist/esm/progress-bar/define-async.d.ts +1 -0
  230. package/dist/esm/progress-bar/define-async.js +5 -0
  231. package/dist/esm/progress-bar/define-async.js.map +1 -0
  232. package/dist/esm/progress-bar/progress-bar.definition-async.d.ts +10 -0
  233. package/dist/esm/progress-bar/progress-bar.definition-async.js +14 -0
  234. package/dist/esm/progress-bar/progress-bar.definition-async.js.map +1 -0
  235. package/dist/esm/progress-bar/progress-bar.styles.css +99 -0
  236. package/dist/esm/progress-bar/progress-bar.template.html +3 -0
  237. package/dist/esm/radio/define-async.d.ts +1 -0
  238. package/dist/esm/radio/define-async.js +5 -0
  239. package/dist/esm/radio/define-async.js.map +1 -0
  240. package/dist/esm/radio/radio.definition-async.d.ts +10 -0
  241. package/dist/esm/radio/radio.definition-async.js +14 -0
  242. package/dist/esm/radio/radio.definition-async.js.map +1 -0
  243. package/dist/esm/radio/radio.styles.css +115 -0
  244. package/dist/esm/radio/radio.template.html +11 -0
  245. package/dist/esm/radio-group/define-async.d.ts +1 -0
  246. package/dist/esm/radio-group/define-async.js +5 -0
  247. package/dist/esm/radio-group/define-async.js.map +1 -0
  248. package/dist/esm/radio-group/radio-group.definition-async.d.ts +10 -0
  249. package/dist/esm/radio-group/radio-group.definition-async.js +14 -0
  250. package/dist/esm/radio-group/radio-group.definition-async.js.map +1 -0
  251. package/dist/esm/radio-group/radio-group.styles.css +41 -0
  252. package/dist/esm/radio-group/radio-group.template.html +12 -0
  253. package/dist/esm/rating-display/define-async.d.ts +1 -0
  254. package/dist/esm/rating-display/define-async.js +5 -0
  255. package/dist/esm/rating-display/define-async.js.map +1 -0
  256. package/dist/esm/rating-display/rating-display.definition-async.d.ts +10 -0
  257. package/dist/esm/rating-display/rating-display.definition-async.js +14 -0
  258. package/dist/esm/rating-display/rating-display.definition-async.js.map +1 -0
  259. package/dist/esm/rating-display/rating-display.styles.css +140 -0
  260. package/dist/esm/rating-display/rating-display.template.html +6 -0
  261. package/dist/esm/slider/define-async.d.ts +1 -0
  262. package/dist/esm/slider/define-async.js +5 -0
  263. package/dist/esm/slider/define-async.js.map +1 -0
  264. package/dist/esm/slider/slider.definition-async.d.ts +10 -0
  265. package/dist/esm/slider/slider.definition-async.js +14 -0
  266. package/dist/esm/slider/slider.definition-async.js.map +1 -0
  267. package/dist/esm/slider/slider.styles.css +189 -0
  268. package/dist/esm/slider/slider.template.html +17 -0
  269. package/dist/esm/spinner/define-async.d.ts +1 -0
  270. package/dist/esm/spinner/define-async.js +5 -0
  271. package/dist/esm/spinner/define-async.js.map +1 -0
  272. package/dist/esm/spinner/spinner.definition-async.d.ts +10 -0
  273. package/dist/esm/spinner/spinner.definition-async.js +14 -0
  274. package/dist/esm/spinner/spinner.definition-async.js.map +1 -0
  275. package/dist/esm/spinner/spinner.styles.css +155 -0
  276. package/dist/esm/spinner/spinner.template.html +13 -0
  277. package/dist/esm/switch/define-async.d.ts +1 -0
  278. package/dist/esm/switch/define-async.js +5 -0
  279. package/dist/esm/switch/define-async.js.map +1 -0
  280. package/dist/esm/switch/switch.definition-async.d.ts +10 -0
  281. package/dist/esm/switch/switch.definition-async.js +14 -0
  282. package/dist/esm/switch/switch.definition-async.js.map +1 -0
  283. package/dist/esm/switch/switch.styles.css +121 -0
  284. package/dist/esm/switch/switch.template.html +10 -0
  285. package/dist/esm/tab/define-async.d.ts +1 -0
  286. package/dist/esm/tab/define-async.js +5 -0
  287. package/dist/esm/tab/define-async.js.map +1 -0
  288. package/dist/esm/tab/tab.definition-async.d.ts +10 -0
  289. package/dist/esm/tab/tab.definition-async.js +14 -0
  290. package/dist/esm/tab/tab.definition-async.js.map +1 -0
  291. package/dist/esm/tab/tab.styles.css +118 -0
  292. package/dist/esm/tab/tab.template.html +7 -0
  293. package/dist/esm/tablist/define-async.d.ts +1 -0
  294. package/dist/esm/tablist/define-async.js +5 -0
  295. package/dist/esm/tablist/define-async.js.map +1 -0
  296. package/dist/esm/tablist/tablist.definition-async.d.ts +10 -0
  297. package/dist/esm/tablist/tablist.definition-async.js +14 -0
  298. package/dist/esm/tablist/tablist.definition-async.js.map +1 -0
  299. package/dist/esm/tablist/tablist.styles.css +203 -0
  300. package/dist/esm/tablist/tablist.template.html +9 -0
  301. package/dist/esm/text/define-async.d.ts +1 -0
  302. package/dist/esm/text/define-async.js +5 -0
  303. package/dist/esm/text/define-async.js.map +1 -0
  304. package/dist/esm/text/text.definition-async.d.ts +10 -0
  305. package/dist/esm/text/text.definition-async.js +14 -0
  306. package/dist/esm/text/text.definition-async.js.map +1 -0
  307. package/dist/esm/text/text.styles.css +104 -0
  308. package/dist/esm/text/text.template.html +1 -0
  309. package/dist/esm/text-input/define-async.d.ts +1 -0
  310. package/dist/esm/text-input/define-async.js +5 -0
  311. package/dist/esm/text-input/define-async.js.map +1 -0
  312. package/dist/esm/text-input/text-input.base.d.ts +0 -6
  313. package/dist/esm/text-input/text-input.base.js +3 -14
  314. package/dist/esm/text-input/text-input.base.js.map +1 -1
  315. package/dist/esm/text-input/text-input.definition-async.d.ts +10 -0
  316. package/dist/esm/text-input/text-input.definition-async.js +17 -0
  317. package/dist/esm/text-input/text-input.definition-async.js.map +1 -0
  318. package/dist/esm/text-input/text-input.styles.css +200 -0
  319. package/dist/esm/text-input/text-input.template.html +38 -0
  320. package/dist/esm/text-input/text-input.template.js +1 -2
  321. package/dist/esm/text-input/text-input.template.js.map +1 -1
  322. package/dist/esm/textarea/define-async.d.ts +1 -0
  323. package/dist/esm/textarea/define-async.js +5 -0
  324. package/dist/esm/textarea/define-async.js.map +1 -0
  325. package/dist/esm/textarea/textarea.base.js +12 -10
  326. package/dist/esm/textarea/textarea.base.js.map +1 -1
  327. package/dist/esm/textarea/textarea.definition-async.d.ts +10 -0
  328. package/dist/esm/textarea/textarea.definition-async.js +17 -0
  329. package/dist/esm/textarea/textarea.definition-async.js.map +1 -0
  330. package/dist/esm/textarea/textarea.styles.css +258 -0
  331. package/dist/esm/textarea/textarea.template.html +29 -0
  332. package/dist/esm/toggle-button/define-async.d.ts +1 -0
  333. package/dist/esm/toggle-button/define-async.js +5 -0
  334. package/dist/esm/toggle-button/define-async.js.map +1 -0
  335. package/dist/esm/toggle-button/toggle-button.definition-async.d.ts +10 -0
  336. package/dist/esm/toggle-button/toggle-button.definition-async.js +14 -0
  337. package/dist/esm/toggle-button/toggle-button.definition-async.js.map +1 -0
  338. package/dist/esm/toggle-button/toggle-button.js +2 -3
  339. package/dist/esm/toggle-button/toggle-button.js.map +1 -1
  340. package/dist/esm/toggle-button/toggle-button.styles.css +358 -0
  341. package/dist/esm/toggle-button/toggle-button.template.html +12 -0
  342. package/dist/esm/tooltip/define-async.d.ts +1 -0
  343. package/dist/esm/tooltip/define-async.js +5 -0
  344. package/dist/esm/tooltip/define-async.js.map +1 -0
  345. package/dist/esm/tooltip/tooltip.d.ts +9 -9
  346. package/dist/esm/tooltip/tooltip.definition-async.d.ts +10 -0
  347. package/dist/esm/tooltip/tooltip.definition-async.js +14 -0
  348. package/dist/esm/tooltip/tooltip.definition-async.js.map +1 -0
  349. package/dist/esm/tooltip/tooltip.js +38 -6
  350. package/dist/esm/tooltip/tooltip.js.map +1 -1
  351. package/dist/esm/tooltip/tooltip.styles.css +86 -0
  352. package/dist/esm/tooltip/tooltip.template.html +1 -0
  353. package/dist/esm/tree/define-async.d.ts +1 -0
  354. package/dist/esm/tree/define-async.js +5 -0
  355. package/dist/esm/tree/define-async.js.map +1 -0
  356. package/dist/esm/tree/tree.definition-async.d.ts +10 -0
  357. package/dist/esm/tree/tree.definition-async.js +14 -0
  358. package/dist/esm/tree/tree.definition-async.js.map +1 -0
  359. package/dist/esm/tree/tree.styles.css +6 -0
  360. package/dist/esm/tree/tree.template.html +12 -0
  361. package/dist/esm/tree/tree.template.js +1 -0
  362. package/dist/esm/tree/tree.template.js.map +1 -1
  363. package/dist/esm/tree-item/define-async.d.ts +1 -0
  364. package/dist/esm/tree-item/define-async.js +5 -0
  365. package/dist/esm/tree-item/define-async.js.map +1 -0
  366. package/dist/esm/tree-item/tree-item.base.d.ts +1 -0
  367. package/dist/esm/tree-item/tree-item.base.js +12 -3
  368. package/dist/esm/tree-item/tree-item.base.js.map +1 -1
  369. package/dist/esm/tree-item/tree-item.definition-async.d.ts +10 -0
  370. package/dist/esm/tree-item/tree-item.definition-async.js +14 -0
  371. package/dist/esm/tree-item/tree-item.definition-async.js.map +1 -0
  372. package/dist/esm/tree-item/tree-item.styles.css +157 -0
  373. package/dist/esm/tree-item/tree-item.template.html +26 -0
  374. package/dist/esm/tree-item/tree-item.template.js +1 -1
  375. package/dist/esm/tree-item/tree-item.template.js.map +1 -1
  376. package/dist/web-components-all.js +196 -115
  377. package/dist/web-components-all.min.js +11 -11
  378. package/dist/web-components.d.ts +35 -6
  379. package/dist/web-components.js +195 -114
  380. package/dist/web-components.min.js +11 -11
  381. package/package.json +16 -2
@@ -5044,7 +5044,7 @@ const curveEasyEaseMax = "var(--curveEasyEaseMax)";
5044
5044
  const curveEasyEase = "var(--curveEasyEase)";
5045
5045
  const curveLinear = "var(--curveLinear)";
5046
5046
 
5047
- const styles$E = css`${display("block")} :host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;padding-inline:${spacingHorizontalM} ${spacingHorizontalMNudge};border-radius:${borderRadiusMedium};font-family:${fontFamilyBase};font-size:${fontSizeBase300};font-weight:${fontWeightRegular};line-height:${lineHeightBase300};grid-template-columns:auto auto 1fr auto}.button{appearance:none;background:${colorTransparentBackground};border:none;box-sizing:border-box;color:${colorNeutralForeground1};cursor:pointer;font:inherit;grid-column:auto/span 2;grid-row:1;height:44px;outline:none;padding:0;text-align:start}.button::before{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${borderRadiusSmall}}:where(.default-marker-collapsed,.default-marker-expanded),::slotted(:is([slot='marker-collapsed'],[slot='marker-expanded'])){display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-inline-end:${spacingHorizontalS};grid-column:1/span 1;grid-row:1}.content{margin:0 ${spacingHorizontalM}}::slotted([slot='start']){display:flex;justify-content:center;align-items:center;padding-right:${spacingHorizontalS};grid-column:2/span 1;grid-row:1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${borderRadiusSmall};outline:none;border:2px solid ${colorStrokeFocus1};box-shadow:inset 0 0 0 1px ${colorStrokeFocus2}}:host([disabled]) .button{color:${colorNeutralForegroundDisabled}}:host([disabled]) svg{filter:invert(89%) sepia(0%) saturate(569%) hue-rotate(155deg) brightness(88%) contrast(87%)}:host([expanded]) .content{display:block}:host([expanded]) .default-marker-collapsed,:host([expanded]) ::slotted([slot='marker-collapsed']),:host(:not([expanded])) :is(.default-marker-expanded,.content),:host(:not([expanded])) ::slotted([slot='marker-expanded']){display:none}:host([expanded]) ::slotted([slot='marker-expanded']),:host(:not([expanded])) ::slotted([slot='marker-collapsed']){display:flex}.heading{font-size:${fontSizeBase300};line-height:${lineHeightBase300}}:host([size='small']) .heading{font-size:${fontSizeBase200};line-height:${lineHeightBase200}}:host([size='large']) .heading{font-size:${fontSizeBase400};line-height:${lineHeightBase400}}:host([size='extra-large']) .heading{font-size:${fontSizeBase500};line-height:${lineHeightBase500}}:host([marker-position='end']) ::slotted([slot='start']){grid-column:1/span 1}:host([marker-position='end']) :is(.default-marker-collapsed,.default-marker-expanded){grid-column:4/span 1;padding-inline-start:${spacingHorizontalS};padding-inline-end:0}:host([marker-position='end']) .button{grid-column:2/span 3}:host([block]){max-width:100%}:host([marker-position='end']) .heading{grid-template-columns:auto auto 28px;padding-inline:${spacingHorizontalM}}:host([marker-position='end']:has([slot='start'])) .heading{padding-inline:${spacingHorizontalMNudge} ${spacingHorizontalM}}:host([block][marker-position='end']) .heading{grid-template-columns:auto 1fr}:host([marker-position='end']) :is(.default-marker-collapsed,.default-marker-expanded){grid-column:5/span 1}`;
5047
+ const styles$F = css`${display("block")} :host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;padding-inline:${spacingHorizontalM} ${spacingHorizontalMNudge};border-radius:${borderRadiusMedium};font-family:${fontFamilyBase};font-size:${fontSizeBase300};font-weight:${fontWeightRegular};line-height:${lineHeightBase300};grid-template-columns:auto auto 1fr auto}.button{appearance:none;background:${colorTransparentBackground};border:none;box-sizing:border-box;color:${colorNeutralForeground1};cursor:pointer;font:inherit;grid-column:auto/span 2;grid-row:1;height:44px;outline:none;padding:0;text-align:start}.button::before{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${borderRadiusSmall}}:where(.default-marker-collapsed,.default-marker-expanded),::slotted(:is([slot='marker-collapsed'],[slot='marker-expanded'])){display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-inline-end:${spacingHorizontalS};grid-column:1/span 1;grid-row:1}.content{margin:0 ${spacingHorizontalM}}::slotted([slot='start']){display:flex;justify-content:center;align-items:center;padding-right:${spacingHorizontalS};grid-column:2/span 1;grid-row:1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${borderRadiusSmall};outline:none;border:2px solid ${colorStrokeFocus1};box-shadow:inset 0 0 0 1px ${colorStrokeFocus2}}:host([disabled]) .button{color:${colorNeutralForegroundDisabled}}:host([disabled]) svg{filter:invert(89%) sepia(0%) saturate(569%) hue-rotate(155deg) brightness(88%) contrast(87%)}:host([expanded]) .content{display:block}:host([expanded]) .default-marker-collapsed,:host([expanded]) ::slotted([slot='marker-collapsed']),:host(:not([expanded])) :is(.default-marker-expanded,.content),:host(:not([expanded])) ::slotted([slot='marker-expanded']){display:none}:host([expanded]) ::slotted([slot='marker-expanded']),:host(:not([expanded])) ::slotted([slot='marker-collapsed']){display:flex}.heading{font-size:${fontSizeBase300};line-height:${lineHeightBase300}}:host([size='small']) .heading{font-size:${fontSizeBase200};line-height:${lineHeightBase200}}:host([size='large']) .heading{font-size:${fontSizeBase400};line-height:${lineHeightBase400}}:host([size='extra-large']) .heading{font-size:${fontSizeBase500};line-height:${lineHeightBase500}}:host([marker-position='end']) ::slotted([slot='start']){grid-column:1/span 1}:host([marker-position='end']) :is(.default-marker-collapsed,.default-marker-expanded){grid-column:4/span 1;padding-inline-start:${spacingHorizontalS};padding-inline-end:0}:host([marker-position='end']) .button{grid-column:2/span 3}:host([block]){max-width:100%}:host([marker-position='end']) .heading{grid-template-columns:auto auto 28px;padding-inline:${spacingHorizontalM}}:host([marker-position='end']:has([slot='start'])) .heading{padding-inline:${spacingHorizontalMNudge} ${spacingHorizontalM}}:host([block][marker-position='end']) .heading{grid-template-columns:auto 1fr}:host([marker-position='end']) :is(.default-marker-collapsed,.default-marker-expanded){grid-column:5/span 1}`;
5048
5048
 
5049
5049
  const chevronRight20Filled = html.partial(`<svg width=20 height=20 viewBox="0 0 20 20" fill=none xmlns=http://www.w3.org/2000/svg class=default-marker-collapsed aria-hidden=true><path d="M7.73271 4.20694C8.03263 3.92125 8.50737 3.93279 8.79306 4.23271L13.7944 9.48318C14.0703 9.77285 14.0703 10.2281 13.7944 10.5178L8.79306 15.7682C8.50737 16.0681 8.03263 16.0797 7.73271 15.794C7.43279 15.5083 7.42125 15.0336 7.70694 14.7336L12.2155 10.0005L7.70694 5.26729C7.42125 4.96737 7.43279 4.49264 7.73271 4.20694Z" fill=currentColor /></svg>`);
5050
5050
  const chevronDown20Filled = html.partial(`<svg width=20 height=20 viewBox="0 0 20 20" fill=none xmlns=http://www.w3.org/2000/svg class=default-marker-expanded aria-hidden=true><path d="M15.794 7.73271C16.0797 8.03263 16.0681 8.50737 15.7682 8.79306L10.5178 13.7944C10.2281 14.0703 9.77285 14.0703 9.48318 13.7944L4.23271 8.79306C3.93279 8.50737 3.92125 8.03263 4.20694 7.73271C4.49264 7.43279 4.96737 7.42125 5.26729 7.70694L10.0005 12.2155L14.7336 7.70694C15.0336 7.42125 15.5083 7.43279 15.794 7.73271Z" fill=currentColor /></svg>`);
@@ -5059,7 +5059,7 @@ const template$F = accordionItemTemplate({
5059
5059
  const definition$F = AccordionItem.compose({
5060
5060
  name: tagName$F,
5061
5061
  template: template$F,
5062
- styles: styles$E
5062
+ styles: styles$F
5063
5063
  });
5064
5064
 
5065
5065
  definition$F.define(FluentDesignSystem.registry);
@@ -5126,7 +5126,7 @@ class Accordion extends FASTElement {
5126
5126
  */
5127
5127
  this.setItems = () => {
5128
5128
  waitForConnectedDescendants(this, () => {
5129
- if (this.slottedAccordionItems.length === 0) {
5129
+ if (!this.slottedAccordionItems?.length) {
5130
5130
  return;
5131
5131
  }
5132
5132
  const children = Array.from(this.children);
@@ -5260,7 +5260,7 @@ __decorateClass$N([
5260
5260
  observable
5261
5261
  ], Accordion.prototype, "slottedAccordionItems", 2);
5262
5262
 
5263
- const styles$D = css`${display("flex")} :host{flex-direction:column;width:100%;contain:content}`;
5263
+ const styles$E = css`${display("flex")} :host{flex-direction:column;width:100%;contain:content}`;
5264
5264
 
5265
5265
  function accordionTemplate() {
5266
5266
  return html`<template><slot ${slotted({ property: "slottedAccordionItems", filter: elements() })}></slot></template>`;
@@ -5270,7 +5270,7 @@ const template$E = accordionTemplate();
5270
5270
  const definition$E = Accordion.compose({
5271
5271
  name: tagName$E,
5272
5272
  template: template$E,
5273
- styles: styles$D
5273
+ styles: styles$E
5274
5274
  });
5275
5275
 
5276
5276
  definition$E.define(FluentDesignSystem.registry);
@@ -5561,9 +5561,9 @@ __decorateClass$L([
5561
5561
  applyMixins(AnchorButton, StartEnd);
5562
5562
 
5563
5563
  const baseButtonStyles = css`${display("inline-flex")} :host{--icon-spacing:${spacingHorizontalSNudge};position:relative;contain:layout style;vertical-align:middle;align-items:center;box-sizing:border-box;justify-content:center;text-align:center;text-decoration-line:none;margin:0;min-height:32px;outline-style:none;background-color:${colorNeutralBackground1};color:${colorNeutralForeground1};border:${strokeWidthThin} solid ${colorNeutralStroke1};padding:0 ${spacingHorizontalM};min-width:96px;border-radius:${borderRadiusMedium};font-size:${fontSizeBase300};font-family:${fontFamilyBase};font-weight:${fontWeightSemibold};line-height:${lineHeightBase300};transition-duration:${durationFaster};transition-property:background,border,color;transition-timing-function:${curveEasyEase};cursor:pointer;user-select:none}.content{display:inherit}:host(:hover){background-color:${colorNeutralBackground1Hover};color:${colorNeutralForeground1Hover};border-color:${colorNeutralStroke1Hover}}:host(:hover:active){background-color:${colorNeutralBackground1Pressed};border-color:${colorNeutralStroke1Pressed};color:${colorNeutralForeground1Pressed};outline-style:none}:host(:focus-visible){border-color:${colorTransparentStroke};outline:${strokeWidthThick} solid ${colorTransparentStroke};box-shadow:${shadow4},0 0 0 2px ${colorStrokeFocus2}}@media screen and (prefers-reduced-motion:reduce){:host{transition-duration:0.01ms}}::slotted(svg){font-size:20px;height:20px;width:20px;fill:currentColor}::slotted([slot='start']){margin-inline-end:var(--icon-spacing)}::slotted([slot='end']),[slot='end']{flex-shrink:0;margin-inline-start:var(--icon-spacing)}:host([icon-only]){min-width:32px;max-width:32px}:host([size='small']){--icon-spacing:${spacingHorizontalXS};min-height:24px;min-width:64px;padding:0 ${spacingHorizontalS};border-radius:${borderRadiusSmall};font-size:${fontSizeBase200};line-height:${lineHeightBase200};font-weight:${fontWeightRegular}}:host([size='small'][icon-only]){min-width:24px;max-width:24px}:host([size='large']){min-height:40px;border-radius:${borderRadiusLarge};padding:0 ${spacingHorizontalL};font-size:${fontSizeBase400};line-height:${lineHeightBase400}}:host([size='large'][icon-only]){min-width:40px;max-width:40px}:host([size='large']) ::slotted(svg){font-size:24px;height:24px;width:24px}:host(:is([shape='circular'],[shape='circular']:focus-visible)){border-radius:${borderRadiusCircular}}:host(:is([shape='square'],[shape='square']:focus-visible)){border-radius:${borderRadiusNone}}:host([appearance='primary']){background-color:${colorBrandBackground};color:${colorNeutralForegroundOnBrand};border-color:transparent}:host([appearance='primary']:hover){background-color:${colorBrandBackgroundHover}}:host([appearance='primary']:is(:hover,:hover:active):not(:focus-visible)){border-color:transparent}:host([appearance='primary']:is(:hover,:hover:active)){color:${colorNeutralForegroundOnBrand}}:host([appearance='primary']:hover:active){background-color:${colorBrandBackgroundPressed}}:host([appearance='primary']:focus-visible){border-color:${colorNeutralForegroundOnBrand};box-shadow:${shadow2},0 0 0 2px ${colorStrokeFocus2}}:host([appearance='outline']){background-color:${colorTransparentBackground}}:host([appearance='outline']:hover){background-color:${colorTransparentBackgroundHover}}:host([appearance='outline']:hover:active){background-color:${colorTransparentBackgroundPressed}}:host([appearance='subtle']){background-color:${colorSubtleBackground};color:${colorNeutralForeground2};border-color:transparent}:host([appearance='subtle']:hover){background-color:${colorSubtleBackgroundHover};color:${colorNeutralForeground2Hover};border-color:transparent}:host([appearance='subtle']:hover:active){background-color:${colorSubtleBackgroundPressed};color:${colorNeutralForeground2Pressed};border-color:transparent}:host([appearance='subtle']:hover) ::slotted(svg){fill:${colorNeutralForeground2BrandHover}}:host([appearance='subtle']:hover:active) ::slotted(svg){fill:${colorNeutralForeground2BrandPressed}}:host([appearance='transparent']){background-color:${colorTransparentBackground};color:${colorNeutralForeground2}}:host([appearance='transparent']:hover){background-color:${colorTransparentBackgroundHover};color:${colorNeutralForeground2BrandHover}}:host([appearance='transparent']:hover:active){background-color:${colorTransparentBackgroundPressed};color:${colorNeutralForeground2BrandPressed}}:host(:is([appearance='transparent'],[appearance='transparent']:is(:hover,:active))){border-color:transparent}`;
5564
- const styles$C = css`${baseButtonStyles} :host(:is(:disabled,[disabled-focusable],[appearance]:disabled,[appearance][disabled-focusable])),:host(:is(:disabled,[disabled-focusable],[appearance]:disabled,[appearance][disabled-focusable]):hover),:host(:is(:disabled,[disabled-focusable],[appearance]:disabled,[appearance][disabled-focusable]):hover:active){background-color:${colorNeutralBackgroundDisabled};border-color:${colorNeutralStrokeDisabled};color:${colorNeutralForegroundDisabled};cursor:not-allowed}:host([appearance='primary']:is(:disabled,[disabled-focusable])),:host([appearance='primary']:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){border-color:transparent}:host([appearance='outline']:is(:disabled,[disabled-focusable])),:host([appearance='outline']:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){background-color:${colorTransparentBackground}}:host([appearance='subtle']:is(:disabled,[disabled-focusable])),:host([appearance='subtle']:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){background-color:${colorTransparentBackground};border-color:transparent}:host([appearance='transparent']:is(:disabled,[disabled-focusable])),:host([appearance='transparent']:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){border-color:transparent;background-color:${colorTransparentBackground}}@media (forced-colors:active){:host{background-color:ButtonFace;color:ButtonText}:host(:is(:hover,:focus-visible)){border-color:Highlight !important}:host([appearance='primary']:not(:is(:hover,:focus-visible))){background-color:Highlight;color:HighlightText;forced-color-adjust:none}:host(:is(:disabled,[disabled-focusable],[appearance]:disabled,[appearance][disabled-focusable])){background-color:ButtonFace;color:GrayText;border-color:ButtonText}}`;
5564
+ const styles$D = css`${baseButtonStyles} :host(:is(:disabled,[disabled-focusable],[appearance]:disabled,[appearance][disabled-focusable])),:host(:is(:disabled,[disabled-focusable],[appearance]:disabled,[appearance][disabled-focusable]):hover),:host(:is(:disabled,[disabled-focusable],[appearance]:disabled,[appearance][disabled-focusable]):hover:active){background-color:${colorNeutralBackgroundDisabled};border-color:${colorNeutralStrokeDisabled};color:${colorNeutralForegroundDisabled};cursor:not-allowed}:host([appearance='primary']:is(:disabled,[disabled-focusable])),:host([appearance='primary']:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){border-color:transparent}:host([appearance='outline']:is(:disabled,[disabled-focusable])),:host([appearance='outline']:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){background-color:${colorTransparentBackground}}:host([appearance='subtle']:is(:disabled,[disabled-focusable])),:host([appearance='subtle']:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){background-color:${colorTransparentBackground};border-color:transparent}:host([appearance='transparent']:is(:disabled,[disabled-focusable])),:host([appearance='transparent']:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){border-color:transparent;background-color:${colorTransparentBackground}}@media (forced-colors:active){:host{background-color:ButtonFace;color:ButtonText}:host(:is(:hover,:focus-visible)){border-color:Highlight !important}:host([appearance='primary']:not(:is(:hover,:focus-visible))){background-color:Highlight;color:HighlightText;forced-color-adjust:none}:host(:is(:disabled,[disabled-focusable],[appearance]:disabled,[appearance][disabled-focusable])){background-color:ButtonFace;color:GrayText;border-color:ButtonText}}`;
5565
5565
 
5566
- const styles$B = css`${baseButtonStyles} ::slotted(a){position:absolute;inset:0}@media (forced-colors:active){:host{border-color:LinkText;color:LinkText}}`;
5566
+ const styles$C = css`${baseButtonStyles} ::slotted(a){position:absolute;inset:0}@media (forced-colors:active){:host{border-color:LinkText;color:LinkText}}`;
5567
5567
 
5568
5568
  function anchorTemplate$1(options = {}) {
5569
5569
  return html`<template tabindex=0 @click=${(x, c) => x.clickHandler(c.event)} @keydown=${(x, c) => x.keydownHandler(c.event)}>${startSlotTemplate(options)} <span class=content part=content><slot></slot></span>${endSlotTemplate(options)}</template>`;
@@ -5573,7 +5573,7 @@ const template$D = anchorTemplate$1();
5573
5573
  const definition$D = AnchorButton.compose({
5574
5574
  name: tagName$C,
5575
5575
  template: template$D,
5576
- styles: styles$B
5576
+ styles: styles$C
5577
5577
  });
5578
5578
 
5579
5579
  definition$D.define(FluentDesignSystem.registry);
@@ -5893,7 +5893,7 @@ const animations = {
5893
5893
  normalEase: curveEasyEase,
5894
5894
  nullEasing: curveLinear
5895
5895
  };
5896
- const styles$A = css`${display("inline-grid")} :host{position:relative;place-items:center;place-content:center;grid-template:1fr/1fr;flex-shrink:0;width:32px;height:32px;font-family:${fontFamilyBase};font-weight:${fontWeightSemibold};font-size:${fontSizeBase300};border-radius:${borderRadiusCircular};color:${colorNeutralForeground3};background-color:${colorNeutralBackground6};contain:layout style}.monogram,.default-icon{grid-area:1/1/-1/-1}.monogram:empty{display:none}.default-slot:is(.has-slotted,:has-slotted)~.default-icon,.default-slot:is(.has-slotted,:has-slotted)~.monogram,:host(:is([name]):not([name=''])) .default-icon,:host(:is([initials]):not([initials=''])) .default-icon{display:none}.default-icon,::slotted(svg){width:20px;height:20px;font-size:20px}::slotted(img){box-sizing:border-box;width:100%;height:100%;border-radius:${borderRadiusCircular}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${strokeWidthThin} ${colorNeutralBackground1}}:host([size='64']) ::slotted([slot='badge']),:host([size='72']) ::slotted([slot='badge']),:host([size='96']) ::slotted([slot='badge']),:host([size='120']) ::slotted([slot='badge']),:host([size='128']) ::slotted([slot='badge']){box-shadow:0 0 0 ${strokeWidthThick} ${colorNeutralBackground1}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${fontSizeBase100};font-weight:${fontWeightRegular}}:host([size='16']){width:16px;height:16px}:host([size='20']){width:20px;height:20px}:host([size='24']){width:24px;height:24px}:host([size='16']) .default-icon,:host([size='16']) ::slotted(svg){width:12px;height:12px;font-size:12px}:host([size='20']) .default-icon,:host([size='24']) .default-icon,:host([size='20']) ::slotted(svg),:host([size='24']) ::slotted(svg){width:16px;height:16px;font-size:16px}:host([size='28']){width:28px;height:28px;font-size:${fontSizeBase200}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${fontSizeBase400}}:host([size='48']){width:48px;height:48px}:host([size='48']) .default-icon,:host([size='48']) ::slotted(svg){width:24px;height:24px;font-size:24px}:host([size='56']){width:56px;height:56px}:host([size='56']) .default-icon,:host([size='56']) ::slotted(svg){width:28px;height:28px;font-size:28px}:host([size='64']),:host([size='72']),:host([size='96']){font-size:${fontSizeBase500}}:host([size='64']) .default-icon,:host([size='72']) .default-icon,:host([size='64']) ::slotted(svg),:host([size='72']) ::slotted(svg){width:32px;height:32px;font-size:32px}:host([size='64']){width:64px;height:64px}:host([size='72']){width:72px;height:72px}:host([size='96']){width:96px;height:96px}:host([size='96']) .default-icon,:host([size='120']) .default-icon,:host([size='128']) .default-icon,:host([size='96']) ::slotted(svg),:host([size='120']) ::slotted(svg),:host([size='128']) ::slotted(svg){width:48px;height:48px;font-size:48px}:host([size='120']),:host([size='128']){font-size:${fontSizeBase600}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${borderRadiusMedium}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${borderRadiusSmall}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${borderRadiusLarge}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${borderRadiusXLarge}}:host([data-color='brand']){color:${colorNeutralForegroundStaticInverted};background-color:${colorBrandBackgroundStatic}}:host([data-color='dark-red']){color:${colorPaletteDarkRedForeground2};background-color:${colorPaletteDarkRedBackground2}}:host([data-color='cranberry']){color:${colorPaletteCranberryForeground2};background-color:${colorPaletteCranberryBackground2}}:host([data-color='red']){color:${colorPaletteRedForeground2};background-color:${colorPaletteRedBackground2}}:host([data-color='pumpkin']){color:${colorPalettePumpkinForeground2};background-color:${colorPalettePumpkinBackground2}}:host([data-color='peach']){color:${colorPalettePeachForeground2};background-color:${colorPalettePeachBackground2}}:host([data-color='marigold']){color:${colorPaletteMarigoldForeground2};background-color:${colorPaletteMarigoldBackground2}}:host([data-color='gold']){color:${colorPaletteGoldForeground2};background-color:${colorPaletteGoldBackground2}}:host([data-color='brass']){color:${colorPaletteBrassForeground2};background-color:${colorPaletteBrassBackground2}}:host([data-color='brown']){color:${colorPaletteBrownForeground2};background-color:${colorPaletteBrownBackground2}}:host([data-color='forest']){color:${colorPaletteForestForeground2};background-color:${colorPaletteForestBackground2}}:host([data-color='seafoam']){color:${colorPaletteSeafoamForeground2};background-color:${colorPaletteSeafoamBackground2}}:host([data-color='dark-green']){color:${colorPaletteDarkGreenForeground2};background-color:${colorPaletteDarkGreenBackground2}}:host([data-color='light-teal']){color:${colorPaletteLightTealForeground2};background-color:${colorPaletteLightTealBackground2}}:host([data-color='teal']){color:${colorPaletteTealForeground2};background-color:${colorPaletteTealBackground2}}:host([data-color='steel']){color:${colorPaletteSteelForeground2};background-color:${colorPaletteSteelBackground2}}:host([data-color='blue']){color:${colorPaletteBlueForeground2};background-color:${colorPaletteBlueBackground2}}:host([data-color='royal-blue']){color:${colorPaletteRoyalBlueForeground2};background-color:${colorPaletteRoyalBlueBackground2}}:host([data-color='cornflower']){color:${colorPaletteCornflowerForeground2};background-color:${colorPaletteCornflowerBackground2}}:host([data-color='navy']){color:${colorPaletteNavyForeground2};background-color:${colorPaletteNavyBackground2}}:host([data-color='lavender']){color:${colorPaletteLavenderForeground2};background-color:${colorPaletteLavenderBackground2}}:host([data-color='purple']){color:${colorPalettePurpleForeground2};background-color:${colorPalettePurpleBackground2}}:host([data-color='grape']){color:${colorPaletteGrapeForeground2};background-color:${colorPaletteGrapeBackground2}}:host([data-color='lilac']){color:${colorPaletteLilacForeground2};background-color:${colorPaletteLilacBackground2}}:host([data-color='pink']){color:${colorPalettePinkForeground2};background-color:${colorPalettePinkBackground2}}:host([data-color='magenta']){color:${colorPaletteMagentaForeground2};background-color:${colorPaletteMagentaBackground2}}:host([data-color='plum']){color:${colorPalettePlumForeground2};background-color:${colorPalettePlumBackground2}}:host([data-color='beige']){color:${colorPaletteBeigeForeground2};background-color:${colorPaletteBeigeBackground2}}:host([data-color='mink']){color:${colorPaletteMinkForeground2};background-color:${colorPaletteMinkBackground2}}:host([data-color='platinum']){color:${colorPalettePlatinumForeground2};background-color:${colorPalettePlatinumBackground2}}:host([data-color='anchor']){color:${colorPaletteAnchorForeground2};background-color:${colorPaletteAnchorBackground2}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${durationUltraSlow},${durationFaster};transition-delay:${animations.fastEase},${animations.nullEasing}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${durationUltraSlow},${durationSlower};transition-delay:${animations.fastEase},${animations.nullEasing}}:host([active])::before{box-shadow:${shadow8};border-style:solid;border-color:${colorBrandBackgroundStatic}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${strokeWidthThick});border-width:${strokeWidthThick}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${strokeWidthThicker});border-width:${strokeWidthThicker}}:host([size='72'][active]:not([appearance='shadow']))::before,:host([size='96'][active]:not([appearance='shadow']))::before,:host([size='120'][active]:not([appearance='shadow']))::before,:host([size='128'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${strokeWidthThickest});border-width:${strokeWidthThickest}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${shadow4}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${shadow16}}:host([size='72'][active][appearance])::before,:host([size='96'][active][appearance])::before,:host([size='120'][active][appearance])::before,:host([size='128'][active][appearance])::before{box-shadow:${shadow28}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${durationUltraSlow},${durationFaster};transition-delay:${animations.fastOutSlowInMin},${animations.nullEasing}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${durationUltraSlow},${durationSlower};transition-delay:${animations.fastOutSlowInMin},${animations.nullEasing}}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`;
5896
+ const styles$B = css`${display("inline-grid")} :host{position:relative;place-items:center;place-content:center;grid-template:1fr/1fr;flex-shrink:0;width:32px;height:32px;font-family:${fontFamilyBase};font-weight:${fontWeightSemibold};font-size:${fontSizeBase300};border-radius:${borderRadiusCircular};color:${colorNeutralForeground3};background-color:${colorNeutralBackground6};contain:layout style}.monogram,.default-icon{grid-area:1/1/-1/-1}.monogram:empty{display:none}.default-slot:is(.has-slotted,:has-slotted)~.default-icon,.default-slot:is(.has-slotted,:has-slotted)~.monogram,:host(:is([name]):not([name=''])) .default-icon,:host(:is([initials]):not([initials=''])) .default-icon{display:none}.default-icon,::slotted(svg){width:20px;height:20px;font-size:20px}::slotted(img){box-sizing:border-box;width:100%;height:100%;border-radius:${borderRadiusCircular}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${strokeWidthThin} ${colorNeutralBackground1}}:host([size='64']) ::slotted([slot='badge']),:host([size='72']) ::slotted([slot='badge']),:host([size='96']) ::slotted([slot='badge']),:host([size='120']) ::slotted([slot='badge']),:host([size='128']) ::slotted([slot='badge']){box-shadow:0 0 0 ${strokeWidthThick} ${colorNeutralBackground1}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${fontSizeBase100};font-weight:${fontWeightRegular}}:host([size='16']){width:16px;height:16px}:host([size='20']){width:20px;height:20px}:host([size='24']){width:24px;height:24px}:host([size='16']) .default-icon,:host([size='16']) ::slotted(svg){width:12px;height:12px;font-size:12px}:host([size='20']) .default-icon,:host([size='24']) .default-icon,:host([size='20']) ::slotted(svg),:host([size='24']) ::slotted(svg){width:16px;height:16px;font-size:16px}:host([size='28']){width:28px;height:28px;font-size:${fontSizeBase200}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${fontSizeBase400}}:host([size='48']){width:48px;height:48px}:host([size='48']) .default-icon,:host([size='48']) ::slotted(svg){width:24px;height:24px;font-size:24px}:host([size='56']){width:56px;height:56px}:host([size='56']) .default-icon,:host([size='56']) ::slotted(svg){width:28px;height:28px;font-size:28px}:host([size='64']),:host([size='72']),:host([size='96']){font-size:${fontSizeBase500}}:host([size='64']) .default-icon,:host([size='72']) .default-icon,:host([size='64']) ::slotted(svg),:host([size='72']) ::slotted(svg){width:32px;height:32px;font-size:32px}:host([size='64']){width:64px;height:64px}:host([size='72']){width:72px;height:72px}:host([size='96']){width:96px;height:96px}:host([size='96']) .default-icon,:host([size='120']) .default-icon,:host([size='128']) .default-icon,:host([size='96']) ::slotted(svg),:host([size='120']) ::slotted(svg),:host([size='128']) ::slotted(svg){width:48px;height:48px;font-size:48px}:host([size='120']),:host([size='128']){font-size:${fontSizeBase600}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${borderRadiusMedium}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${borderRadiusSmall}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${borderRadiusLarge}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${borderRadiusXLarge}}:host([data-color='brand']){color:${colorNeutralForegroundStaticInverted};background-color:${colorBrandBackgroundStatic}}:host([data-color='dark-red']){color:${colorPaletteDarkRedForeground2};background-color:${colorPaletteDarkRedBackground2}}:host([data-color='cranberry']){color:${colorPaletteCranberryForeground2};background-color:${colorPaletteCranberryBackground2}}:host([data-color='red']){color:${colorPaletteRedForeground2};background-color:${colorPaletteRedBackground2}}:host([data-color='pumpkin']){color:${colorPalettePumpkinForeground2};background-color:${colorPalettePumpkinBackground2}}:host([data-color='peach']){color:${colorPalettePeachForeground2};background-color:${colorPalettePeachBackground2}}:host([data-color='marigold']){color:${colorPaletteMarigoldForeground2};background-color:${colorPaletteMarigoldBackground2}}:host([data-color='gold']){color:${colorPaletteGoldForeground2};background-color:${colorPaletteGoldBackground2}}:host([data-color='brass']){color:${colorPaletteBrassForeground2};background-color:${colorPaletteBrassBackground2}}:host([data-color='brown']){color:${colorPaletteBrownForeground2};background-color:${colorPaletteBrownBackground2}}:host([data-color='forest']){color:${colorPaletteForestForeground2};background-color:${colorPaletteForestBackground2}}:host([data-color='seafoam']){color:${colorPaletteSeafoamForeground2};background-color:${colorPaletteSeafoamBackground2}}:host([data-color='dark-green']){color:${colorPaletteDarkGreenForeground2};background-color:${colorPaletteDarkGreenBackground2}}:host([data-color='light-teal']){color:${colorPaletteLightTealForeground2};background-color:${colorPaletteLightTealBackground2}}:host([data-color='teal']){color:${colorPaletteTealForeground2};background-color:${colorPaletteTealBackground2}}:host([data-color='steel']){color:${colorPaletteSteelForeground2};background-color:${colorPaletteSteelBackground2}}:host([data-color='blue']){color:${colorPaletteBlueForeground2};background-color:${colorPaletteBlueBackground2}}:host([data-color='royal-blue']){color:${colorPaletteRoyalBlueForeground2};background-color:${colorPaletteRoyalBlueBackground2}}:host([data-color='cornflower']){color:${colorPaletteCornflowerForeground2};background-color:${colorPaletteCornflowerBackground2}}:host([data-color='navy']){color:${colorPaletteNavyForeground2};background-color:${colorPaletteNavyBackground2}}:host([data-color='lavender']){color:${colorPaletteLavenderForeground2};background-color:${colorPaletteLavenderBackground2}}:host([data-color='purple']){color:${colorPalettePurpleForeground2};background-color:${colorPalettePurpleBackground2}}:host([data-color='grape']){color:${colorPaletteGrapeForeground2};background-color:${colorPaletteGrapeBackground2}}:host([data-color='lilac']){color:${colorPaletteLilacForeground2};background-color:${colorPaletteLilacBackground2}}:host([data-color='pink']){color:${colorPalettePinkForeground2};background-color:${colorPalettePinkBackground2}}:host([data-color='magenta']){color:${colorPaletteMagentaForeground2};background-color:${colorPaletteMagentaBackground2}}:host([data-color='plum']){color:${colorPalettePlumForeground2};background-color:${colorPalettePlumBackground2}}:host([data-color='beige']){color:${colorPaletteBeigeForeground2};background-color:${colorPaletteBeigeBackground2}}:host([data-color='mink']){color:${colorPaletteMinkForeground2};background-color:${colorPaletteMinkBackground2}}:host([data-color='platinum']){color:${colorPalettePlatinumForeground2};background-color:${colorPalettePlatinumBackground2}}:host([data-color='anchor']){color:${colorPaletteAnchorForeground2};background-color:${colorPaletteAnchorBackground2}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${durationUltraSlow},${durationFaster};transition-delay:${animations.fastEase},${animations.nullEasing}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${durationUltraSlow},${durationSlower};transition-delay:${animations.fastEase},${animations.nullEasing}}:host([active])::before{box-shadow:${shadow8};border-style:solid;border-color:${colorBrandBackgroundStatic}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${strokeWidthThick});border-width:${strokeWidthThick}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${strokeWidthThicker});border-width:${strokeWidthThicker}}:host([size='72'][active]:not([appearance='shadow']))::before,:host([size='96'][active]:not([appearance='shadow']))::before,:host([size='120'][active]:not([appearance='shadow']))::before,:host([size='128'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${strokeWidthThickest});border-width:${strokeWidthThickest}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${shadow4}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${shadow16}}:host([size='72'][active][appearance])::before,:host([size='96'][active][appearance])::before,:host([size='120'][active][appearance])::before,:host([size='128'][active][appearance])::before{box-shadow:${shadow28}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${durationUltraSlow},${durationFaster};transition-delay:${animations.fastOutSlowInMin},${animations.nullEasing}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${durationUltraSlow},${durationSlower};transition-delay:${animations.fastOutSlowInMin},${animations.nullEasing}}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`;
5897
5897
 
5898
5898
  const defaultIconTemplate = html`<svg width=1em height=1em viewBox="0 0 20 20" class=default-icon fill=currentcolor aria-hidden=true><path d="M10 2a4 4 0 100 8 4 4 0 000-8zM7 6a3 3 0 116 0 3 3 0 01-6 0zm-2 5a2 2 0 00-2 2c0 1.7.83 2.97 2.13 3.8A9.14 9.14 0 0010 18c1.85 0 3.58-.39 4.87-1.2A4.35 4.35 0 0017 13a2 2 0 00-2-2H5zm-1 2a1 1 0 011-1h10a1 1 0 011 1c0 1.3-.62 2.28-1.67 2.95A8.16 8.16 0 0110 17a8.16 8.16 0 01-4.33-1.05A3.36 3.36 0 014 13z"></path></svg>`;
5899
5899
  function avatarTemplate() {
@@ -5904,7 +5904,7 @@ const template$C = avatarTemplate();
5904
5904
  const definition$C = Avatar.compose({
5905
5905
  name: tagName$B,
5906
5906
  template: template$C,
5907
- styles: styles$A
5907
+ styles: styles$B
5908
5908
  });
5909
5909
 
5910
5910
  definition$C.define(FluentDesignSystem.registry);
@@ -5965,7 +5965,7 @@ const badgeGhostStyles = css.partial`:host([appearance='ghost']){color:${colorBr
5965
5965
  const badgeOutlineStyles = css.partial`:host([appearance='outline']){border-color:currentColor;color:${colorBrandForeground1};background-color:initial}:host([appearance='outline'][color='danger']){color:${colorPaletteRedForeground3}}:host([appearance='outline'][color='important']){color:${colorNeutralForeground3};border-color:${colorNeutralStrokeAccessible}}:host([appearance='outline'][color='informative']){color:${colorNeutralForeground3};border-color:${colorNeutralStroke2}}:host([appearance='outline'][color='severe']){color:${colorPaletteDarkOrangeForeground3}}:host([appearance='outline'][color='subtle']){color:${colorNeutralForegroundStaticInverted}}:host([appearance='outline'][color='success']){color:${colorPaletteGreenForeground2}}:host([appearance='outline'][color='warning']){color:${colorPaletteYellowForeground2}}`;
5966
5966
  const badgeTintStyles = css.partial`:host([appearance='tint']){background-color:${colorBrandBackground2};color:${colorBrandForeground2};border-color:${colorBrandStroke2}}:host([appearance='tint'][color='danger']){background-color:${colorPaletteRedBackground1};color:${colorPaletteRedForeground1};border-color:${colorPaletteRedBorder1}}:host([appearance='tint'][color='important']){background-color:${colorNeutralForeground3};color:${colorNeutralBackground1};border-color:${colorTransparentStroke}}:host([appearance='tint'][color='informative']){background-color:${colorNeutralBackground4};color:${colorNeutralForeground3};border-color:${colorNeutralStroke2}}:host([appearance='tint'][color='severe']){background-color:${colorPaletteDarkOrangeBackground1};color:${colorPaletteDarkOrangeForeground1};border-color:${colorPaletteDarkOrangeBorder1}}:host([appearance='tint'][color='subtle']){background-color:${colorNeutralBackground1};color:${colorNeutralForeground3};border-color:${colorNeutralStroke2}}:host([appearance='tint'][color='success']){background-color:${colorPaletteGreenBackground1};color:${colorPaletteGreenForeground1};border-color:${colorPaletteGreenBorder2}}:host([appearance='tint'][color='warning']){background-color:${colorPaletteYellowBackground1};color:${colorPaletteYellowForeground2};border-color:${colorPaletteYellowBorder1}}`;
5967
5967
 
5968
- const styles$z = css`:host([shape='square']){border-radius:${borderRadiusNone}}:host([shape='rounded']){border-radius:${borderRadiusMedium}}:host([shape='rounded']:is([size='tiny'],[size='extra-small'],[size='small'])){border-radius:${borderRadiusSmall}}${badgeTintStyles} ${badgeOutlineStyles} ${badgeGhostStyles} ${badgeFilledStyles} ${badgeSizeStyles} ${badgeBaseStyles} @media (forced-colors:active){:host,:host([appearance='outline']),:host([appearance='tint']){border-color:CanvasText}}`;
5968
+ const styles$A = css`:host([shape='square']){border-radius:${borderRadiusNone}}:host([shape='rounded']){border-radius:${borderRadiusMedium}}:host([shape='rounded']:is([size='tiny'],[size='extra-small'],[size='small'])){border-radius:${borderRadiusSmall}}${badgeTintStyles} ${badgeOutlineStyles} ${badgeGhostStyles} ${badgeFilledStyles} ${badgeSizeStyles} ${badgeBaseStyles} @media (forced-colors:active){:host,:host([appearance='outline']),:host([appearance='tint']){border-color:CanvasText}}`;
5969
5969
 
5970
5970
  function badgeTemplate(options = {}) {
5971
5971
  return html`${startSlotTemplate(options)}<slot>${staticallyCompose(options.defaultContent)}</slot>${endSlotTemplate(options)}`;
@@ -5975,7 +5975,7 @@ const template$B = badgeTemplate();
5975
5975
  const definition$B = Badge.compose({
5976
5976
  name: tagName$A,
5977
5977
  template: template$B,
5978
- styles: styles$z
5978
+ styles: styles$A
5979
5979
  });
5980
5980
 
5981
5981
  definition$B.define(FluentDesignSystem.registry);
@@ -6290,7 +6290,7 @@ const template$A = buttonTemplate$1();
6290
6290
  const definition$A = Button.compose({
6291
6291
  name: tagName$D,
6292
6292
  template: template$A,
6293
- styles: styles$C
6293
+ styles: styles$D
6294
6294
  });
6295
6295
 
6296
6296
  definition$A.define(FluentDesignSystem.registry);
@@ -6415,7 +6415,7 @@ class BaseCheckbox extends FASTElement {
6415
6415
  * @internal
6416
6416
  */
6417
6417
  requiredChanged(prev, next) {
6418
- if (this.$fastController.isConnected) {
6418
+ if (this.elementInternals) {
6419
6419
  this.setValidity();
6420
6420
  this.elementInternals.ariaRequired = this.required ? "true" : "false";
6421
6421
  }
@@ -6447,7 +6447,7 @@ class BaseCheckbox extends FASTElement {
6447
6447
  * Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/validationMessage | `ElementInternals.validationMessage`} property.
6448
6448
  */
6449
6449
  get validationMessage() {
6450
- if (this.elementInternals.validationMessage) {
6450
+ if (this.elementInternals?.validationMessage) {
6451
6451
  return this.elementInternals.validationMessage;
6452
6452
  }
6453
6453
  if (!this._validationFallbackMessage) {
@@ -6480,11 +6480,11 @@ class BaseCheckbox extends FASTElement {
6480
6480
  }
6481
6481
  set value(value) {
6482
6482
  this._value = value;
6483
- if (this.$fastController.isConnected) {
6483
+ if (this.elementInternals) {
6484
6484
  this.setFormValue(value);
6485
6485
  this.setValidity();
6486
- Observable.notify(this, "value");
6487
6486
  }
6487
+ Observable.notify(this, "value");
6488
6488
  }
6489
6489
  /**
6490
6490
  * Determines if the control can be submitted for constraint validation.
@@ -6595,7 +6595,9 @@ class BaseCheckbox extends FASTElement {
6595
6595
  * @internal
6596
6596
  */
6597
6597
  setAriaChecked(value = this.checked) {
6598
- this.elementInternals.ariaChecked = value ? "true" : "false";
6598
+ if (this.elementInternals) {
6599
+ this.elementInternals.ariaChecked = value ? "true" : "false";
6600
+ }
6599
6601
  }
6600
6602
  /**
6601
6603
  * Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/setFormValue | `ElementInternals.setFormValue()`} method.
@@ -6603,7 +6605,7 @@ class BaseCheckbox extends FASTElement {
6603
6605
  * @internal
6604
6606
  */
6605
6607
  setFormValue(value, state) {
6606
- this.elementInternals.setFormValue(value, value ?? state);
6608
+ this.elementInternals?.setFormValue(value, value ?? state);
6607
6609
  }
6608
6610
  /**
6609
6611
  * Sets a custom validity message.
@@ -6625,7 +6627,7 @@ class BaseCheckbox extends FASTElement {
6625
6627
  * @internal
6626
6628
  */
6627
6629
  setValidity(flags, message, anchor) {
6628
- if (this.$fastController.isConnected) {
6630
+ if (this.elementInternals) {
6629
6631
  if (this.disabled || !this.required) {
6630
6632
  this.elementInternals.setValidity({});
6631
6633
  return;
@@ -6768,7 +6770,7 @@ const userInvalidState = stateSelector("user-invalid");
6768
6770
  const validState = stateSelector("valid");
6769
6771
  const valueMissingState = stateSelector("value-missing");
6770
6772
 
6771
- const styles$y = css`${display("inline-flex")} :host{--size:16px;background-color:${colorNeutralBackground1};border-radius:${borderRadiusSmall};border:${strokeWidthThin} solid ${colorNeutralStrokeAccessible};box-sizing:border-box;cursor:pointer;position:relative;width:var(--size)}:host,.indeterminate-indicator,.checked-indicator{aspect-ratio:1}:host(:hover){border-color:${colorNeutralStrokeAccessibleHover}}:host(:active){border-color:${colorNeutralStrokeAccessiblePressed}}:host(${checkedState}:hover){background-color:${colorCompoundBrandBackgroundHover};border-color:${colorCompoundBrandStrokeHover}}:host(${checkedState}:active){background-color:${colorCompoundBrandBackgroundPressed};border-color:${colorCompoundBrandStrokePressed}}:host(:focus-visible){outline:none}:host(:not([slot='input']))::after{content:'';position:absolute;inset:-8px;box-sizing:border-box;outline:none;border:${strokeWidthThick} solid ${colorTransparentStroke};border-radius:${borderRadiusMedium}}:host(:not([slot='input']):focus-visible)::after{border-color:${colorStrokeFocus2}}.indeterminate-indicator,.checked-indicator{color:${colorNeutralForegroundInverted};inset:0;margin:auto;position:absolute}::slotted([slot='checked-indicator']),.checked-indicator{fill:currentColor;display:inline-flex;flex:1 0 auto;width:12px}:host(:not(${checkedState})) *:is(::slotted([slot='checked-indicator']),.checked-indicator){display:none}:host(${checkedState}),:host(${indeterminateState}){border-color:${colorCompoundBrandStroke}}:host(${checkedState}),:host(${indeterminateState}) .indeterminate-indicator{background-color:${colorCompoundBrandBackground}}:host(${indeterminateState}) .indeterminate-indicator{border-radius:${borderRadiusSmall};position:absolute;width:calc(var(--size)/2);inset:0}:host([size='large']){--size:20px}:host([size='large']) ::slotted([slot='checked-indicator']),:host([size='large']) .checked-indicator{width:16px}:host([shape='circular']),:host([shape='circular']) .indeterminate-indicator{border-radius:${borderRadiusCircular}}:host([disabled]),:host([disabled]${checkedState}){background-color:${colorNeutralBackgroundDisabled};border-color:${colorNeutralStrokeDisabled}}:host([disabled]){cursor:unset}:host([disabled]${indeterminateState}) .indeterminate-indicator{background-color:${colorNeutralStrokeDisabled}}:host([disabled]${checkedState}) .checked-indicator{color:${colorNeutralStrokeDisabled}}@media (forced-colors:active){:host{border-color:FieldText}:host(:not([slot='input']:focus-visible))::after{border-color:Canvas}:host(:not([disabled]):hover),:host(${checkedState}:not([disabled]):hover),:host(:not([slot='input']):focus-visible)::after{border-color:Highlight}.indeterminate-indicator,.checked-indicator{color:HighlightText}:host(${checkedState}),:host(${indeterminateState}) .indeterminate-indicator{background-color:FieldText}:host(${checkedState}:not([disabled]):hover),:host(${indeterminateState}:not([disabled]):hover) .indeterminate-indicator{background-color:Highlight}:host([disabled]){border-color:GrayText}:host([disabled]${indeterminateState}) .indeterminate-indicator{background-color:GrayText}:host([disabled]),:host([disabled]${checkedState}) .checked-indicator{color:GrayText}}`;
6773
+ const styles$z = css`${display("inline-flex")} :host{--size:16px;background-color:${colorNeutralBackground1};border-radius:${borderRadiusSmall};border:${strokeWidthThin} solid ${colorNeutralStrokeAccessible};box-sizing:border-box;cursor:pointer;position:relative;width:var(--size)}:host,.indeterminate-indicator,.checked-indicator{aspect-ratio:1}:host(:hover){border-color:${colorNeutralStrokeAccessibleHover}}:host(:active){border-color:${colorNeutralStrokeAccessiblePressed}}:host(${checkedState}:hover){background-color:${colorCompoundBrandBackgroundHover};border-color:${colorCompoundBrandStrokeHover}}:host(${checkedState}:active){background-color:${colorCompoundBrandBackgroundPressed};border-color:${colorCompoundBrandStrokePressed}}:host(:focus-visible){outline:none}:host(:not([slot='input']))::after{content:'';position:absolute;inset:-8px;box-sizing:border-box;outline:none;border:${strokeWidthThick} solid ${colorTransparentStroke};border-radius:${borderRadiusMedium}}:host(:not([slot='input']):focus-visible)::after{border-color:${colorStrokeFocus2}}.indeterminate-indicator,.checked-indicator{color:${colorNeutralForegroundInverted};inset:0;margin:auto;position:absolute}::slotted([slot='checked-indicator']),.checked-indicator{fill:currentColor;display:inline-flex;flex:1 0 auto;width:12px}:host(:not(${checkedState})) *:is(::slotted([slot='checked-indicator']),.checked-indicator){display:none}:host(${checkedState}),:host(${indeterminateState}){border-color:${colorCompoundBrandStroke}}:host(${checkedState}),:host(${indeterminateState}) .indeterminate-indicator{background-color:${colorCompoundBrandBackground}}:host(${indeterminateState}) .indeterminate-indicator{border-radius:${borderRadiusSmall};position:absolute;width:calc(var(--size)/2);inset:0}:host([size='large']){--size:20px}:host([size='large']) ::slotted([slot='checked-indicator']),:host([size='large']) .checked-indicator{width:16px}:host([shape='circular']),:host([shape='circular']) .indeterminate-indicator{border-radius:${borderRadiusCircular}}:host([disabled]),:host([disabled]${checkedState}){background-color:${colorNeutralBackgroundDisabled};border-color:${colorNeutralStrokeDisabled}}:host([disabled]){cursor:unset}:host([disabled]${indeterminateState}) .indeterminate-indicator{background-color:${colorNeutralStrokeDisabled}}:host([disabled]${checkedState}) .checked-indicator{color:${colorNeutralStrokeDisabled}}@media (forced-colors:active){:host{border-color:FieldText}:host(:not([slot='input']:focus-visible))::after{border-color:Canvas}:host(:not([disabled]):hover),:host(${checkedState}:not([disabled]):hover),:host(:not([slot='input']):focus-visible)::after{border-color:Highlight}.indeterminate-indicator,.checked-indicator{color:HighlightText}:host(${checkedState}),:host(${indeterminateState}) .indeterminate-indicator{background-color:FieldText}:host(${checkedState}:not([disabled]):hover),:host(${indeterminateState}:not([disabled]):hover) .indeterminate-indicator{background-color:Highlight}:host([disabled]){border-color:GrayText}:host([disabled]${indeterminateState}) .indeterminate-indicator{background-color:GrayText}:host([disabled]),:host([disabled]${checkedState}) .checked-indicator{color:GrayText}}`;
6772
6774
 
6773
6775
  const checkedIndicator$2 = html.partial(
6774
6776
  /* html */
@@ -6789,7 +6791,7 @@ const template$z = checkboxTemplate({
6789
6791
  const definition$z = Checkbox.compose({
6790
6792
  name: tagName$z,
6791
6793
  template: template$z,
6792
- styles: styles$y
6794
+ styles: styles$z
6793
6795
  });
6794
6796
 
6795
6797
  definition$z.define(FluentDesignSystem.registry);
@@ -6799,7 +6801,7 @@ const tagName$y = `${FluentDesignSystem.prefix}-compound-button`;
6799
6801
  class CompoundButton extends Button {
6800
6802
  }
6801
6803
 
6802
- const styles$x = css`${styles$C} :host,:host(:is([size])){gap:12px;height:auto;padding-top:14px;padding-inline:12px;padding-bottom:16px;font-size:${fontSizeBase300};line-height:${lineHeightBase300}}.content{display:flex;flex-direction:column;text-align:start}::slotted([slot='description']){color:${colorNeutralForeground2};line-height:100%;font-size:${fontSizeBase200};font-weight:${fontWeightRegular}}::slotted(svg),:host([size='large']) ::slotted(svg){font-size:40px;height:40px;width:40px}:host(:hover) ::slotted([slot='description']){color:${colorNeutralForeground2Hover}}:host(:active) ::slotted([slot='description']){color:${colorNeutralForeground2Pressed}}:host(:is([appearance='primary'],[appearance='primary']:is(:hover,:active))) ::slotted([slot='description']){color:${colorNeutralForegroundOnBrand}}:host(:is([appearance='transparent'],[appearance='subtle'],[appearance='subtle']:is(:hover,:active))) ::slotted([slot='description']){color:${colorNeutralForeground2}}:host([appearance='transparent']:hover) ::slotted([slot='description']){color:${colorNeutralForeground2BrandHover}}:host([appearance='transparent']:active) ::slotted([slot='description']){color:${colorNeutralForeground2BrandPressed}}:host(:is(:disabled,:disabled[appearance],[disabled-focusable],[disabled-focusable][appearance])) ::slotted([slot='description']){color:${colorNeutralForegroundDisabled}}:host([size='small']){padding:8px;padding-bottom:10px}:host([icon-only]){min-width:52px;max-width:52px;padding:${spacingHorizontalSNudge}}:host([icon-only][size='small']){min-width:48px;max-width:48px;padding:${spacingHorizontalXS}}:host([icon-only][size='large']){min-width:56px;max-width:56px;padding:${spacingHorizontalS}}:host([size='large']){padding-top:18px;padding-inline:16px;padding-bottom:20px;font-size:${fontSizeBase400};line-height:${lineHeightBase400}}:host([size='large']) ::slotted([slot='description']){font-size:${fontSizeBase300}}@media (forced-colors:active){:host([appearance='primary']:not(:hover,:focus-visible,:disabled,[disabled-focusable])) ::slotted([slot='description']){color:HighlightText}}`;
6804
+ const styles$y = css`${styles$D} :host,:host(:is([size])){gap:12px;height:auto;padding-top:14px;padding-inline:12px;padding-bottom:16px;font-size:${fontSizeBase300};line-height:${lineHeightBase300}}.content{display:flex;flex-direction:column;text-align:start}::slotted([slot='description']){color:${colorNeutralForeground2};line-height:100%;font-size:${fontSizeBase200};font-weight:${fontWeightRegular}}::slotted(svg),:host([size='large']) ::slotted(svg){font-size:40px;height:40px;width:40px}:host(:hover) ::slotted([slot='description']){color:${colorNeutralForeground2Hover}}:host(:active) ::slotted([slot='description']){color:${colorNeutralForeground2Pressed}}:host(:is([appearance='primary'],[appearance='primary']:is(:hover,:active))) ::slotted([slot='description']){color:${colorNeutralForegroundOnBrand}}:host(:is([appearance='transparent'],[appearance='subtle'],[appearance='subtle']:is(:hover,:active))) ::slotted([slot='description']){color:${colorNeutralForeground2}}:host([appearance='transparent']:hover) ::slotted([slot='description']){color:${colorNeutralForeground2BrandHover}}:host([appearance='transparent']:active) ::slotted([slot='description']){color:${colorNeutralForeground2BrandPressed}}:host(:is(:disabled,:disabled[appearance],[disabled-focusable],[disabled-focusable][appearance])) ::slotted([slot='description']){color:${colorNeutralForegroundDisabled}}:host([size='small']){padding:8px;padding-bottom:10px}:host([icon-only]){min-width:52px;max-width:52px;padding:${spacingHorizontalSNudge}}:host([icon-only][size='small']){min-width:48px;max-width:48px;padding:${spacingHorizontalXS}}:host([icon-only][size='large']){min-width:56px;max-width:56px;padding:${spacingHorizontalS}}:host([size='large']){padding-top:18px;padding-inline:16px;padding-bottom:20px;font-size:${fontSizeBase400};line-height:${lineHeightBase400}}:host([size='large']) ::slotted([slot='description']){font-size:${fontSizeBase300}}@media (forced-colors:active){:host([appearance='primary']:not(:hover,:focus-visible,:disabled,[disabled-focusable])) ::slotted([slot='description']){color:HighlightText}}`;
6803
6805
 
6804
6806
  function buttonTemplate(options = {}) {
6805
6807
  return html`<template @click=${(x, c) => x.clickHandler(c.event)} @keypress=${(x, c) => x.keypressHandler(c.event)}>${startSlotTemplate(options)} <span class=content part=content><slot ${slotted("defaultSlottedContent")}></slot><slot name=description></slot></span>${endSlotTemplate(options)}</template>`;
@@ -6809,7 +6811,7 @@ const template$y = buttonTemplate();
6809
6811
  const definition$y = CompoundButton.compose({
6810
6812
  name: tagName$y,
6811
6813
  template: template$y,
6812
- styles: styles$x
6814
+ styles: styles$y
6813
6815
  });
6814
6816
 
6815
6817
  definition$y.define(FluentDesignSystem.registry);
@@ -6893,7 +6895,7 @@ __decorateClass$C([
6893
6895
  ], CounterBadge.prototype, "size", 2);
6894
6896
  applyMixins(CounterBadge, StartEnd);
6895
6897
 
6896
- const styles$w = css`:host([shape='rounded']){border-radius:${borderRadiusMedium}}:host([shape='rounded']:is([size='tiny'],[size='extra-small'],[size='small'])){border-radius:${borderRadiusSmall}}${badgeSizeStyles} ${badgeFilledStyles} ${badgeGhostStyles} ${badgeBaseStyles} :host(:is([dot],[dot][appearance][size])){min-width:auto;width:6px;height:6px;padding:0}`;
6898
+ const styles$x = css`:host([shape='rounded']){border-radius:${borderRadiusMedium}}:host([shape='rounded']:is([size='tiny'],[size='extra-small'],[size='small'])){border-radius:${borderRadiusSmall}}${badgeSizeStyles} ${badgeFilledStyles} ${badgeGhostStyles} ${badgeBaseStyles} :host(:is([dot],[dot][appearance][size])){min-width:auto;width:6px;height:6px;padding:0}`;
6897
6899
 
6898
6900
  function counterBadgeTemplate(options = {}) {
6899
6901
  return html`${startSlotTemplate(options)} <span>${(x) => x.displayValue}</span> ${endSlotTemplate(options)}`;
@@ -6903,7 +6905,7 @@ const template$x = counterBadgeTemplate();
6903
6905
  const definition$x = CounterBadge.compose({
6904
6906
  name: tagName$x,
6905
6907
  template: template$x,
6906
- styles: styles$w
6908
+ styles: styles$x
6907
6909
  });
6908
6910
 
6909
6911
  definition$x.define(FluentDesignSystem.registry);
@@ -7063,12 +7065,12 @@ __decorateClass$B([
7063
7065
 
7064
7066
  const template$w = html`<dialog class=dialog part=dialog aria-modal=${(x) => x.dialogModal} aria-describedby=${(x) => x.dialogDescribedby} aria-labelledby=${(x) => x.dialogLabelledby} aria-label=${(x) => x.dialogLabel} role=${(x) => x.dialogRole} @click=${(x, c) => x.clickHandler(c.event)} @cancel=${(x) => x.hide()} ${ref("dialog")}><slot></slot></dialog>`;
7065
7067
 
7066
- const styles$v = css`@layer base{:host{--dialog-backdrop:${colorBackgroundOverlay};--dialog-starting-scale:0.85}::backdrop{background:var(--dialog-backdrop,rgba(0,0,0,0.4))}dialog{background:${colorNeutralBackground1};border-radius:${borderRadiusXLarge};border:none;box-shadow:${shadow64};color:${colorNeutralForeground1};max-height:100vh;padding:0;width:100%;max-width:600px}:host([type='non-modal']) dialog{inset:0;position:fixed;z-index:2;overflow:auto}@supports (max-height:1dvh){dialog{max-height:100dvh}}}@layer animations{@media (prefers-reduced-motion:no-preference){dialog,::backdrop{transition:display allow-discrete,opacity,overlay allow-discrete,scale;transition-duration:${durationGentle};transition-timing-function:${curveDecelerateMid};opacity:0}::backdrop{transition-timing-function:${curveLinear}}[open],[open]::backdrop{opacity:1}dialog:not([open]){scale:var(--dialog-starting-scale);transition-timing-function:${curveAccelerateMid}}}@starting-style{[open],[open]::backdrop{opacity:0}dialog{scale:var(--dialog-starting-scale)}}}@media (forced-colors:active){@layer base{dialog{border:${strokeWidthThin} solid ${colorTransparentStroke}}}}`;
7068
+ const styles$w = css`@layer base{:host{--dialog-backdrop:${colorBackgroundOverlay};--dialog-starting-scale:0.85}::backdrop{background:var(--dialog-backdrop,rgba(0,0,0,0.4))}dialog{background:${colorNeutralBackground1};border-radius:${borderRadiusXLarge};border:none;box-shadow:${shadow64};color:${colorNeutralForeground1};max-height:100vh;padding:0;width:100%;max-width:600px}:host([type='non-modal']) dialog{inset:0;position:fixed;z-index:2;overflow:auto}@supports (max-height:1dvh){dialog{max-height:100dvh}}}@layer animations{@media (prefers-reduced-motion:no-preference){dialog,::backdrop{transition:display allow-discrete,opacity,overlay allow-discrete,scale;transition-duration:${durationGentle};transition-timing-function:${curveDecelerateMid};opacity:0}::backdrop{transition-timing-function:${curveLinear}}[open],[open]::backdrop{opacity:1}dialog:not([open]){scale:var(--dialog-starting-scale);transition-timing-function:${curveAccelerateMid}}}@starting-style{[open],[open]::backdrop{opacity:0}dialog{scale:var(--dialog-starting-scale)}}}@media (forced-colors:active){@layer base{dialog{border:${strokeWidthThin} solid ${colorTransparentStroke}}}}`;
7067
7069
 
7068
7070
  const definition$w = Dialog.compose({
7069
7071
  name: tagName$w,
7070
7072
  template: template$w,
7071
- styles: styles$v
7073
+ styles: styles$w
7072
7074
  });
7073
7075
 
7074
7076
  definition$w.define(FluentDesignSystem.registry);
@@ -7095,12 +7097,12 @@ class DialogBody extends FASTElement {
7095
7097
 
7096
7098
  const template$v = html`<template><div class=title part=title><slot name=title></slot><slot name=title-action></slot><slot name=close @click=${(x, c) => x.clickHandler(c.event)}></slot></div><div class=content part=content><slot></slot></div><div class=actions part=actions><slot name=action></slot></div></template>`;
7097
7099
 
7098
- const styles$u = css`${display("grid")} :host{background:${colorNeutralBackground1};box-sizing:border-box;gap:${spacingVerticalS};padding:${spacingVerticalXXL} ${spacingHorizontalXXL};container:dialog-body/inline-size}.title{box-sizing:border-box;align-items:flex-start;background:${colorNeutralBackground1};color:${colorNeutralForeground1};column-gap:8px;display:flex;font-family:${fontFamilyBase};font-size:${fontSizeBase500};font-weight:${fontWeightSemibold};inset-block-start:0;justify-content:space-between;line-height:${lineHeightBase500};margin-block-end:calc(${spacingVerticalS} * -1);margin-block-start:calc(${spacingVerticalXXL} * -1);padding-block-end:${spacingVerticalS};padding-block-start:${spacingVerticalXXL}}.content{box-sizing:border-box;color:${colorNeutralForeground1};font-family:${fontFamilyBase};font-size:${fontSizeBase300};font-weight:${fontWeightRegular};line-height:${lineHeightBase300};min-height:32px}.actions{box-sizing:border-box;background:${colorNeutralBackground1};display:flex;flex-direction:column;gap:${spacingVerticalS};inset-block-end:0;margin-block-end:calc(${spacingVerticalXXL} * -1);padding-block-end:${spacingVerticalXXL};padding-block-start:${spacingVerticalL}}::slotted([slot='title-action']){margin-inline-start:auto}::slotted([slot='title']){font:inherit;padding:0;margin:0}:not(:has(:is([slot='title'],[slot='title-action']))) .title{justify-content:end}@container (min-width:480px){.actions{align-items:center;flex-direction:row;justify-content:flex-end;margin-block-start:calc(${spacingVerticalS} * -1);padding-block-start:${spacingVerticalS}}}@media (min-height:480px){.title{position:sticky;z-index:1}.actions{position:sticky;z-index:2}`;
7100
+ const styles$v = css`${display("grid")} :host{background:${colorNeutralBackground1};box-sizing:border-box;gap:${spacingVerticalS};padding:${spacingVerticalXXL} ${spacingHorizontalXXL};container:dialog-body/inline-size}.title{box-sizing:border-box;align-items:flex-start;background:${colorNeutralBackground1};color:${colorNeutralForeground1};column-gap:8px;display:flex;font-family:${fontFamilyBase};font-size:${fontSizeBase500};font-weight:${fontWeightSemibold};inset-block-start:0;justify-content:space-between;line-height:${lineHeightBase500};margin-block-end:calc(${spacingVerticalS} * -1);margin-block-start:calc(${spacingVerticalXXL} * -1);padding-block-end:${spacingVerticalS};padding-block-start:${spacingVerticalXXL}}.content{box-sizing:border-box;color:${colorNeutralForeground1};font-family:${fontFamilyBase};font-size:${fontSizeBase300};font-weight:${fontWeightRegular};line-height:${lineHeightBase300};min-height:32px}.actions{box-sizing:border-box;background:${colorNeutralBackground1};display:flex;flex-direction:column;gap:${spacingVerticalS};inset-block-end:0;margin-block-end:calc(${spacingVerticalXXL} * -1);padding-block-end:${spacingVerticalXXL};padding-block-start:${spacingVerticalL}}::slotted([slot='title-action']){margin-inline-start:auto}::slotted([slot='title']){font:inherit;padding:0;margin:0}:not(:has(:is([slot='title'],[slot='title-action']))) .title{justify-content:end}@container (min-width:480px){.actions{align-items:center;flex-direction:row;justify-content:flex-end;margin-block-start:calc(${spacingVerticalS} * -1);padding-block-start:${spacingVerticalS}}}@media (min-height:480px){.title{position:sticky;z-index:1}.actions{position:sticky;z-index:2}`;
7099
7101
 
7100
7102
  const definition$v = DialogBody.compose({
7101
7103
  name: tagName$v,
7102
7104
  template: template$v,
7103
- styles: styles$u
7105
+ styles: styles$v
7104
7106
  });
7105
7107
 
7106
7108
  definition$v.define(FluentDesignSystem.registry);
@@ -7211,12 +7213,12 @@ function dividerTemplate() {
7211
7213
  }
7212
7214
  const template$u = dividerTemplate();
7213
7215
 
7214
- const styles$t = css`${display("flex")} :host{contain:content}:host::after,:host::before{align-self:center;background:${colorNeutralStroke2};box-sizing:border-box;content:'';display:flex;flex-grow:1;height:${strokeWidthThin}}:host([inset]){padding:0 12px}:host ::slotted(*){color:${colorNeutralForeground2};font-family:${fontFamilyBase};font-size:${fontSizeBase200};font-weight:${fontWeightRegular};margin:0;padding:0 12px}:host([align-content='start'])::before,:host([align-content='end'])::after{flex-basis:12px;flex-grow:0;flex-shrink:0}:host([orientation='vertical']){align-items:center;flex-direction:column;height:100%;min-height:84px}:host([orientation='vertical']):empty{min-height:20px}:host([orientation='vertical'][inset])::before{margin-top:12px}:host([orientation='vertical'][inset])::after{margin-bottom:12px}:host([orientation='vertical']):empty::before,:host([orientation='vertical']):empty::after{height:10px;min-height:10px;flex-grow:0}:host([orientation='vertical'])::before,:host([orientation='vertical'])::after{width:${strokeWidthThin};min-height:20px;height:100%}:host([orientation='vertical']) ::slotted(*){display:flex;flex-direction:column;padding:12px 0;line-height:20px}:host([orientation='vertical'][align-content='start'])::before{min-height:8px}:host([orientation='vertical'][align-content='end'])::after{min-height:8px}:host([appearance='strong'])::before,:host([appearance='strong'])::after{background:${colorNeutralStroke1}}:host([appearance='strong']) ::slotted(*){color:${colorNeutralForeground1}}:host([appearance='brand'])::before,:host([appearance='brand'])::after{background:${colorBrandStroke1}}:host([appearance='brand']) ::slotted(*){color:${colorBrandForeground1}}:host([appearance='subtle'])::before,:host([appearance='subtle'])::after{background:${colorNeutralStroke3}}:host([appearance='subtle']) ::slotted(*){color:${colorNeutralForeground3}}@media (forced-colors:active){:host([appearance='strong'])::before,:host([appearance='strong'])::after,:host([appearance='brand'])::before,:host([appearance='brand'])::after,:host([appearance='subtle'])::before,:host([appearance='subtle'])::after,:host::after,:host::before{background:WindowText;color:WindowText}}`;
7216
+ const styles$u = css`${display("flex")} :host{contain:content}:host::after,:host::before{align-self:center;background:${colorNeutralStroke2};box-sizing:border-box;content:'';display:flex;flex-grow:1;height:${strokeWidthThin}}:host([inset]){padding:0 12px}:host ::slotted(*){color:${colorNeutralForeground2};font-family:${fontFamilyBase};font-size:${fontSizeBase200};font-weight:${fontWeightRegular};margin:0;padding:0 12px}:host([align-content='start'])::before,:host([align-content='end'])::after{flex-basis:12px;flex-grow:0;flex-shrink:0}:host([orientation='vertical']){align-items:center;flex-direction:column;height:100%;min-height:84px}:host([orientation='vertical']):empty{min-height:20px}:host([orientation='vertical'][inset])::before{margin-top:12px}:host([orientation='vertical'][inset])::after{margin-bottom:12px}:host([orientation='vertical']):empty::before,:host([orientation='vertical']):empty::after{height:10px;min-height:10px;flex-grow:0}:host([orientation='vertical'])::before,:host([orientation='vertical'])::after{width:${strokeWidthThin};min-height:20px;height:100%}:host([orientation='vertical']) ::slotted(*){display:flex;flex-direction:column;padding:12px 0;line-height:20px}:host([orientation='vertical'][align-content='start'])::before{min-height:8px}:host([orientation='vertical'][align-content='end'])::after{min-height:8px}:host([appearance='strong'])::before,:host([appearance='strong'])::after{background:${colorNeutralStroke1}}:host([appearance='strong']) ::slotted(*){color:${colorNeutralForeground1}}:host([appearance='brand'])::before,:host([appearance='brand'])::after{background:${colorBrandStroke1}}:host([appearance='brand']) ::slotted(*){color:${colorBrandForeground1}}:host([appearance='subtle'])::before,:host([appearance='subtle'])::after{background:${colorNeutralStroke3}}:host([appearance='subtle']) ::slotted(*){color:${colorNeutralForeground3}}@media (forced-colors:active){:host([appearance='strong'])::before,:host([appearance='strong'])::after,:host([appearance='brand'])::before,:host([appearance='brand'])::after,:host([appearance='subtle'])::before,:host([appearance='subtle'])::after,:host::after,:host::before{background:WindowText;color:WindowText}}`;
7215
7217
 
7216
7218
  const definition$u = Divider.compose({
7217
7219
  name: tagName$u,
7218
7220
  template: template$u,
7219
- styles: styles$t
7221
+ styles: styles$u
7220
7222
  });
7221
7223
 
7222
7224
  definition$u.define(FluentDesignSystem.registry);
@@ -7394,7 +7396,7 @@ __decorateClass$y([
7394
7396
  volatile
7395
7397
  ], Drawer.prototype, "dialogRole", 1);
7396
7398
 
7397
- const styles$s = css`${display("block")} :host{--dialog-backdrop:${colorBackgroundOverlay}}:host([type='non-modal']) dialog[open]::backdrop{display:none}:host([type='non-modal']) dialog{position:fixed;top:0;bottom:0}:host([type='inline']){height:100%;width:fit-content}:host([type='inline']) dialog[open]{box-shadow:none;position:relative}:host([size='small']) dialog{width:320px;max-width:320px}:host([size='large']) dialog{width:940px;max-width:940px}:host([size='full']) dialog{width:100%;max-width:100%}:host([position='end']) dialog{margin-inline-start:auto;margin-inline-end:0}dialog{box-sizing:border-box;z-index:var(--drawer-elevation,1000);font-size:${fontSizeBase300};line-height:${lineHeightBase300};font-family:${fontFamilyBase};font-weight:${fontWeightRegular};color:${colorNeutralForeground1};max-width:var(--drawer-width,592px);max-height:100vh;height:100%;margin-inline-start:0;margin-inline-end:auto;border-inline-end-color:${colorTransparentStroke};border-inline-start-color:var(--drawer-separator,${colorTransparentStroke});outline:none;top:0;bottom:0;width:var(--drawer-width,592px);border-radius:0;padding:0;max-width:var(--drawer-width,592px);box-shadow:${shadow64};border:${strokeWidthThin} solid ${colorTransparentStroke};background:${colorNeutralBackground1}}dialog::backdrop{background:var(--dialog-backdrop)}@layer animations{@media (prefers-reduced-motion:no-preference){dialog{transition:display allow-discrete,opacity,overlay allow-discrete,transform;transition-duration:${durationGentle};transition-timing-function:${curveDecelerateMid}}:host dialog:not([open]){transform:translateX(-100%);transition-timing-function:${curveAccelerateMid}}:host([position='end']) dialog:not([open]){transform:translateX(100%);transition-timing-function:${curveAccelerateMid}}dialog[open]{transform:translateX(0)}dialog::backdrop{transition:display allow-discrete,opacity,overlay allow-discrete,scale;transition-duration:${durationGentle};transition-timing-function:${curveDecelerateMid};background:var(--dialog-backdrop,${colorBackgroundOverlay});opacity:0}dialog[open]::backdrop{opacity:1}dialog::backdrop{transition-timing-function:${curveLinear}}}@starting-style{dialog[open]{transform:translateX(-100%)}:host([position='end']) dialog[open]{transform:translateX(100%)}dialog[open]::backdrop{opacity:0}}}`;
7399
+ const styles$t = css`${display("block")} :host{--dialog-backdrop:${colorBackgroundOverlay}}:host([type='non-modal']) dialog[open]::backdrop{display:none}:host([type='non-modal']) dialog{position:fixed;top:0;bottom:0}:host([type='inline']){height:100%;width:fit-content}:host([type='inline']) dialog[open]{box-shadow:none;position:relative}:host([size='small']) dialog{width:320px;max-width:320px}:host([size='large']) dialog{width:940px;max-width:940px}:host([size='full']) dialog{width:100%;max-width:100%}:host([position='end']) dialog{margin-inline-start:auto;margin-inline-end:0}dialog{box-sizing:border-box;z-index:var(--drawer-elevation,1000);font-size:${fontSizeBase300};line-height:${lineHeightBase300};font-family:${fontFamilyBase};font-weight:${fontWeightRegular};color:${colorNeutralForeground1};max-width:var(--drawer-width,592px);max-height:100vh;height:100%;margin-inline-start:0;margin-inline-end:auto;border-inline-end-color:${colorTransparentStroke};border-inline-start-color:var(--drawer-separator,${colorTransparentStroke});outline:none;top:0;bottom:0;width:var(--drawer-width,592px);border-radius:0;padding:0;max-width:var(--drawer-width,592px);box-shadow:${shadow64};border:${strokeWidthThin} solid ${colorTransparentStroke};background:${colorNeutralBackground1}}dialog::backdrop{background:var(--dialog-backdrop)}@layer animations{@media (prefers-reduced-motion:no-preference){dialog{transition:display allow-discrete,opacity,overlay allow-discrete,transform;transition-duration:${durationGentle};transition-timing-function:${curveDecelerateMid}}:host dialog:not([open]){transform:translateX(-100%);transition-timing-function:${curveAccelerateMid}}:host([position='end']) dialog:not([open]){transform:translateX(100%);transition-timing-function:${curveAccelerateMid}}dialog[open]{transform:translateX(0)}dialog::backdrop{transition:display allow-discrete,opacity,overlay allow-discrete,scale;transition-duration:${durationGentle};transition-timing-function:${curveDecelerateMid};background:var(--dialog-backdrop,${colorBackgroundOverlay});opacity:0}dialog[open]::backdrop{opacity:1}dialog::backdrop{transition-timing-function:${curveLinear}}}@starting-style{dialog[open]{transform:translateX(-100%)}:host([position='end']) dialog[open]{transform:translateX(100%)}dialog[open]::backdrop{opacity:0}}}`;
7398
7400
 
7399
7401
  function drawerTemplate() {
7400
7402
  return html`<dialog class=dialog part=dialog aria-describedby=${(x) => x.dialogDescribedby} aria-labelledby=${(x) => x.dialogLabelledby} aria-label=${(x) => x.dialogLabel} aria-modal=${(x) => x.dialogModal} role=${(x) => x.dialogRole} size=${(x) => x.size} position=${(x) => x.position} @click=${(x, c) => x.clickHandler(c.event)} @cancel=${(x) => x.cancelHandler()} ${ref("dialog")}><slot></slot></dialog>`;
@@ -7404,7 +7406,7 @@ const template$t = drawerTemplate();
7404
7406
  const definition$t = Drawer.compose({
7405
7407
  name: tagName$t,
7406
7408
  template: template$t,
7407
- styles: styles$s
7409
+ styles: styles$t
7408
7410
  });
7409
7411
 
7410
7412
  definition$t.define(FluentDesignSystem.registry);
@@ -7447,7 +7449,7 @@ css.partial`font-family:${fontFamilyBase};font-size:${fontSizeBase600};line-heig
7447
7449
  css.partial`font-family:${fontFamilyBase};font-size:${fontSizeHero900};line-height:${lineHeightHero900};font-weight:${fontWeightSemibold};`;
7448
7450
  css.partial`font-family:${fontFamilyBase};font-size:${fontSizeHero1000};line-height:${lineHeightHero1000};font-weight:${fontWeightSemibold};`;
7449
7451
 
7450
- const styles$r = css`${display("grid")} :host{box-sizing:border-box;grid-template-rows:min-content auto min-content;position:relative;height:100%;padding:${spacingHorizontalXL};max-height:100svh}.header{display:flex;justify-content:space-between;align-items:center;${typographySubtitle1Styles}}.footer{display:flex;justify-content:flex-start;gap:${spacingHorizontalM}}::slotted([slot='title']){font:inherit;padding:0;margin:0}`;
7452
+ const styles$s = css`${display("grid")} :host{box-sizing:border-box;grid-template-rows:min-content auto min-content;position:relative;height:100%;padding:${spacingHorizontalXL};max-height:100svh}.header{display:flex;justify-content:space-between;align-items:center;${typographySubtitle1Styles}}.footer{display:flex;justify-content:flex-start;gap:${spacingHorizontalM}}::slotted([slot='title']){font:inherit;padding:0;margin:0}`;
7451
7453
 
7452
7454
  function drawerBodyTemplate() {
7453
7455
  return html`<div class=header part=header><slot name=title></slot><slot name=close @click=${(x, c) => x.clickHandler(c.event)}></slot></div><div class=content part=content><slot></slot></div><div class=footer part=footer><slot name=footer></slot></div>`;
@@ -7457,7 +7459,7 @@ const template$s = drawerBodyTemplate();
7457
7459
  const definition$s = DrawerBody.compose({
7458
7460
  name: tagName$s,
7459
7461
  template: template$s,
7460
- styles: styles$r
7462
+ styles: styles$s
7461
7463
  });
7462
7464
 
7463
7465
  definition$s.define(FluentDesignSystem.registry);
@@ -7573,6 +7575,16 @@ const _BaseDropdown = class _BaseDropdown extends FASTElement {
7573
7575
  * @internal
7574
7576
  */
7575
7577
  this._insertingControl = false;
7578
+ /**
7579
+ * The duration in milliseconds after the last character search keystroke before the search string is cleared.
7580
+ */
7581
+ this.searchTimeoutMs = 500;
7582
+ /**
7583
+ * The accumulated search string used to match option labels by prefix when printable characters are typed.
7584
+ *
7585
+ * @internal
7586
+ */
7587
+ this.searchString = "";
7576
7588
  this.elementInternals.role = "presentation";
7577
7589
  }
7578
7590
  get activeDescendant() {
@@ -7665,20 +7677,16 @@ const _BaseDropdown = class _BaseDropdown extends FASTElement {
7665
7677
  const notifier = Observable.getNotifier(this);
7666
7678
  notifier.subscribe(next);
7667
7679
  notifier.notify("multiple");
7668
- waitForConnectedDescendants(
7669
- next,
7670
- () => {
7671
- this.options.forEach((option) => {
7672
- option.disabled = option.disabledAttribute || this.disabled;
7673
- option.name = this.name;
7674
- });
7675
- this.enabledOptions.filter((x) => x.defaultSelected).forEach((x, i) => {
7676
- x.selected = this.multiple || i === 0;
7677
- });
7678
- this.setValidity();
7679
- },
7680
- { idleCallback: true }
7681
- );
7680
+ Updates.enqueue(() => {
7681
+ this.options.forEach((option) => {
7682
+ option.disabled = option.disabledAttribute || this.disabled;
7683
+ option.name = this.name;
7684
+ });
7685
+ this.enabledOptions.filter((x) => x.defaultSelected).forEach((x, i) => {
7686
+ x.selected = this.multiple || i === 0;
7687
+ });
7688
+ this.setValidity();
7689
+ });
7682
7690
  if (AnchorPositioningCSSSupported) {
7683
7691
  const anchorName = uniqueId("--dropdown-anchor-");
7684
7692
  this.style.setProperty("anchor-name", anchorName);
@@ -7746,7 +7754,7 @@ const _BaseDropdown = class _BaseDropdown extends FASTElement {
7746
7754
  * @public
7747
7755
  */
7748
7756
  get enabledOptions() {
7749
- return this.listbox?.enabledOptions ?? [];
7757
+ return this.listbox?.enabledOptions ?? Array.from(this.querySelectorAll("*")).filter((o) => isDropdownOption(o) && !o.disabled);
7750
7758
  }
7751
7759
  /**
7752
7760
  * A reference to the first freeform option, if present.
@@ -7778,7 +7786,7 @@ const _BaseDropdown = class _BaseDropdown extends FASTElement {
7778
7786
  * @public
7779
7787
  */
7780
7788
  get options() {
7781
- return this.listbox?.options ?? [];
7789
+ return this.listbox?.options ?? Array.from(this.querySelectorAll("*")).filter((o) => isDropdownOption(o));
7782
7790
  }
7783
7791
  /**
7784
7792
  * The index of the first selected option, scoped to the enabled options.
@@ -8030,6 +8038,35 @@ const _BaseDropdown = class _BaseDropdown extends FASTElement {
8030
8038
  dropdownButtonTemplate.render(this, this);
8031
8039
  this._insertingControl = false;
8032
8040
  }
8041
+ /**
8042
+ * Handles printable character input by moving {@link activeIndex} to the next option whose label matches the
8043
+ * accumulated search string. When the string is a single character (or the same character repeated), matching
8044
+ * options are cycled through; otherwise the string is treated as a prefix match.
8045
+ *
8046
+ * @param char - the printable character that was pressed
8047
+ * @internal
8048
+ */
8049
+ handleSearchCharacter(char) {
8050
+ const isRepeating = this.searchString === char.repeat(this.searchString.length);
8051
+ this.searchString += char;
8052
+ let candidates = this.searchString.length > 1 ? this.filterOptions(this.searchString) : [];
8053
+ let isCycling = false;
8054
+ if (!candidates.length && isRepeating) {
8055
+ candidates = this.filterOptions(char);
8056
+ isCycling = true;
8057
+ }
8058
+ if (candidates.length) {
8059
+ const activeOption = this.enabledOptions[this.activeIndex];
8060
+ const currentPos = candidates.indexOf(activeOption);
8061
+ const nextMatch = isCycling ? candidates[this.getEnabledIndexInBounds(currentPos + 1, candidates.length)] : currentPos >= 0 ? activeOption : candidates[0];
8062
+ this.activeIndex = this.enabledOptions.indexOf(nextMatch);
8063
+ }
8064
+ clearTimeout(this.searchTimeout);
8065
+ this.searchTimeout = setTimeout(() => {
8066
+ this.searchString = "";
8067
+ this.searchTimeout = void 0;
8068
+ }, this.searchTimeoutMs);
8069
+ }
8033
8070
  /**
8034
8071
  * Handles the keydown events for the dropdown.
8035
8072
  *
@@ -8049,14 +8086,15 @@ const _BaseDropdown = class _BaseDropdown extends FASTElement {
8049
8086
  increment = 1;
8050
8087
  break;
8051
8088
  }
8052
- case " ": {
8053
- if (this.isCombobox) {
8054
- break;
8055
- }
8056
- e.preventDefault();
8057
- }
8089
+ case " ":
8058
8090
  case "Enter":
8059
8091
  case "Tab": {
8092
+ if (e.key === " ") {
8093
+ if (this.isCombobox) {
8094
+ break;
8095
+ }
8096
+ e.preventDefault();
8097
+ }
8060
8098
  if (this.open) {
8061
8099
  this.selectOption(this.activeIndex, true);
8062
8100
  if (this.multiple) {
@@ -8075,6 +8113,12 @@ const _BaseDropdown = class _BaseDropdown extends FASTElement {
8075
8113
  }
8076
8114
  }
8077
8115
  if (!increment) {
8116
+ if (!this.isCombobox && e.key.length === 1 && e.key !== " " && !e.ctrlKey && !e.metaKey && !e.altKey) {
8117
+ if (!this.open) {
8118
+ this.listbox.showPopover();
8119
+ }
8120
+ this.handleSearchCharacter(e.key);
8121
+ }
8078
8122
  return true;
8079
8123
  }
8080
8124
  if (!this.open) {
@@ -8202,6 +8246,11 @@ const _BaseDropdown = class _BaseDropdown extends FASTElement {
8202
8246
  disconnectedCallback() {
8203
8247
  _BaseDropdown.AnchorPositionFallbackObserver?.disconnect();
8204
8248
  this.debounceController?.abort();
8249
+ if (this.searchTimeout) {
8250
+ clearTimeout(this.searchTimeout);
8251
+ this.searchTimeout = void 0;
8252
+ this.searchString = "";
8253
+ }
8205
8254
  super.disconnectedCallback();
8206
8255
  }
8207
8256
  /**
@@ -8338,12 +8387,12 @@ __decorateClass$w([
8338
8387
  attr
8339
8388
  ], Dropdown.prototype, "size", 2);
8340
8389
 
8341
- const styles$q = css`${display("inline-flex")} :host{anchor-name:--dropdown-trigger;box-sizing:border-box;color:${colorNeutralForeground1};cursor:pointer}:host(${placeholderShownState}){color:${colorNeutralForeground4}}.control{appearance:none;background-color:${colorNeutralBackground1};border-radius:${borderRadiusMedium};border:${strokeWidthThin} solid ${colorTransparentStroke};box-shadow:inset 0 0 0 ${strokeWidthThin} var(--control-border-color);box-sizing:border-box;color:inherit;column-gap:${spacingHorizontalXXS};display:inline-flex;justify-content:space-between;min-width:160px;overflow:hidden;padding:${spacingVerticalSNudge} ${spacingHorizontalMNudge};white-space:normal;position:relative;text-align:start;width:100%;z-index:1;${typographyBody1Styles}}:host([size='small']) .control{column-gap:${spacingHorizontalXXS};padding:${spacingVerticalXS} ${spacingHorizontalSNudge};${typographyCaption1Styles}}:host([size='large']) .control{column-gap:${spacingHorizontalS};padding:${spacingVerticalS} ${spacingHorizontalM};${typographyBody2Styles}}::slotted(:is(input,button)){all:unset;flex:1 1 auto}::slotted(button){cursor:pointer}::slotted(input){cursor:text}:where(slot[name='indicator']>*,::slotted([slot='indicator'])){all:unset;align-items:center;appearance:none;aspect-ratio:1;color:${colorNeutralForeground3};display:inline-flex;justify-content:center;width:20px}:host([size='small']) :where(slot[name='indicator']>*,::slotted([slot='indicator'])){width:16px}:host([size='large']) :where(slot[name='indicator']>*,::slotted([slot='indicator'])){width:24px}.control::after,.control::before{content:''/'';inset:auto 0 0;pointer-events:none;position:absolute}.control::before{height:${strokeWidthThin}}.control::after{background-color:${colorCompoundBrandStroke};height:${strokeWidthThick};scale:0 1;transition:scale ${durationUltraFast} ${curveDecelerateMid}}:host(:where(:focus-within)) .control{border-radius:${borderRadiusMedium};box-shadow:inset 0 0 0 1px ${colorStrokeFocus1};outline:${strokeWidthThick} solid ${colorStrokeFocus2}}:host(:where(${openState},:focus-within)) .control::after{scale:1 1;transition-duration:${durationNormal};transition-timing-function:${curveAccelerateMid}}:host(:where([appearance='outline'],[appearance='transparent'])) .control::before{background-color:${colorNeutralStrokeAccessible}}:host([appearance='transparent']) .control{--control-border-color:${colorTransparentStrokeInteractive};background-color:${colorTransparentBackground};border-radius:${borderRadiusNone}}:host([appearance='outline']) .control{--control-border-color:${colorNeutralStroke1}}:host([appearance='outline']) .control:hover{--control-border-color:${colorNeutralStroke1Hover}}:host(:where([appearance='outline'],[appearance='transparent'])) .control:hover::before{background-color:${colorNeutralStrokeAccessibleHover}}:host([appearance='outline']) .control:hover::after{background-color:${colorCompoundBrandBackgroundHover}}:host([appearance='outline']) .control:active{--control-border-color:${colorNeutralStroke1Pressed}}:host(:where([appearance='outline'],[appearance='transparent'])) .control:active::before{background-color:${colorNeutralStrokeAccessiblePressed}}:host(:where([appearance='outline'],[appearance='transparent'])) .control:active::after{background-color:${colorCompoundBrandBackgroundPressed}}:host([appearance='filled-darker']) .control{background-color:${colorNeutralBackground3}}:host(:where([appearance='filled-lighter'],[appearance='filled-darker'])) .control{--control-border-color:${colorTransparentStroke}}:host(:disabled),:host(:disabled) ::slotted(:where(button,input)){cursor:not-allowed}:host(:disabled) .control::before,:host(:disabled) .control::after{content:none}:host(:disabled) .control:is(*,:active,:hover),:host(:disabled) :where(slot[name='indicator']>*,::slotted([slot='indicator'])){--control-border-color:${colorNeutralStrokeDisabled};background-color:${colorNeutralBackgroundDisabled};color:${colorNeutralForegroundDisabled}}::slotted(:not([slot]):not([popover])),::slotted([popover]:not(:popover-open)){display:none}@supports not (anchor-name:--anchor){:host{--listbox-max-height:50vh;--margin-offset:calc(${lineHeightBase300} + (${spacingVerticalSNudge} * 2) + ${strokeWidthThin})}:host([size='small']){--margin-offset:calc(${lineHeightBase200} + (${spacingVerticalXS} * 2) + ${strokeWidthThin})}:host([size='large']){--margin-offset:calc(${lineHeightBase400} + (${spacingVerticalS} * 2) + ${strokeWidthThin})}}@media (forced-colors:active){:host(:disabled) .control{border-color:GrayText}:host(:disabled) :where(slot[name='indicator']>*,::slotted([slot='indicator'])){color:GrayText}`;
8390
+ const styles$r = css`${display("inline-flex")} :host{anchor-name:--dropdown-trigger;box-sizing:border-box;color:${colorNeutralForeground1};cursor:pointer}:host(${placeholderShownState}){color:${colorNeutralForeground4}}.control{appearance:none;background-color:${colorNeutralBackground1};border-radius:${borderRadiusMedium};border:${strokeWidthThin} solid ${colorTransparentStroke};box-shadow:inset 0 0 0 ${strokeWidthThin} var(--control-border-color);box-sizing:border-box;color:inherit;column-gap:${spacingHorizontalXXS};display:inline-flex;justify-content:space-between;min-width:160px;overflow:hidden;padding:${spacingVerticalSNudge} ${spacingHorizontalMNudge};white-space:normal;position:relative;text-align:start;width:100%;z-index:1;${typographyBody1Styles}}:host([size='small']) .control{column-gap:${spacingHorizontalXXS};padding:${spacingVerticalXS} ${spacingHorizontalSNudge};${typographyCaption1Styles}}:host([size='large']) .control{column-gap:${spacingHorizontalS};padding:${spacingVerticalS} ${spacingHorizontalM};${typographyBody2Styles}}::slotted(:is(input,button)){all:unset;flex:1 1 auto}::slotted(button){cursor:pointer}::slotted(input){cursor:text}:where(slot[name='indicator']>*,::slotted([slot='indicator'])){all:unset;align-items:center;appearance:none;aspect-ratio:1;color:${colorNeutralForeground3};display:inline-flex;justify-content:center;width:20px}:host([size='small']) :where(slot[name='indicator']>*,::slotted([slot='indicator'])){width:16px}:host([size='large']) :where(slot[name='indicator']>*,::slotted([slot='indicator'])){width:24px}.control::after,.control::before{content:''/'';inset:auto 0 0;pointer-events:none;position:absolute}.control::before{height:${strokeWidthThin}}.control::after{background-color:${colorCompoundBrandStroke};height:${strokeWidthThick};scale:0 1;transition:scale ${durationUltraFast} ${curveDecelerateMid}}:host(:where(:focus-within)) .control{border-radius:${borderRadiusMedium};box-shadow:inset 0 0 0 1px ${colorStrokeFocus1};outline:${strokeWidthThick} solid ${colorStrokeFocus2}}:host(:where(${openState},:focus-within)) .control::after{scale:1 1;transition-duration:${durationNormal};transition-timing-function:${curveAccelerateMid}}:host(:where([appearance='outline'],[appearance='transparent'])) .control::before{background-color:${colorNeutralStrokeAccessible}}:host([appearance='transparent']) .control{--control-border-color:${colorTransparentStrokeInteractive};background-color:${colorTransparentBackground};border-radius:${borderRadiusNone}}:host([appearance='outline']) .control{--control-border-color:${colorNeutralStroke1}}:host([appearance='outline']) .control:hover{--control-border-color:${colorNeutralStroke1Hover}}:host(:where([appearance='outline'],[appearance='transparent'])) .control:hover::before{background-color:${colorNeutralStrokeAccessibleHover}}:host([appearance='outline']) .control:hover::after{background-color:${colorCompoundBrandBackgroundHover}}:host([appearance='outline']) .control:active{--control-border-color:${colorNeutralStroke1Pressed}}:host(:where([appearance='outline'],[appearance='transparent'])) .control:active::before{background-color:${colorNeutralStrokeAccessiblePressed}}:host(:where([appearance='outline'],[appearance='transparent'])) .control:active::after{background-color:${colorCompoundBrandBackgroundPressed}}:host([appearance='filled-darker']) .control{background-color:${colorNeutralBackground3}}:host(:where([appearance='filled-lighter'],[appearance='filled-darker'])) .control{--control-border-color:${colorTransparentStroke}}:host(:disabled),:host(:disabled) ::slotted(:where(button,input)){cursor:not-allowed}:host(:disabled) .control::before,:host(:disabled) .control::after{content:none}:host(:disabled) .control:is(*,:active,:hover),:host(:disabled) :where(slot[name='indicator']>*,::slotted([slot='indicator'])){--control-border-color:${colorNeutralStrokeDisabled};background-color:${colorNeutralBackgroundDisabled};color:${colorNeutralForegroundDisabled}}::slotted(:not([slot]):not([popover])),::slotted([popover]:not(:popover-open)){display:none}@supports not (anchor-name:--anchor){:host{--listbox-max-height:50vh;--margin-offset:calc(${lineHeightBase300} + (${spacingVerticalSNudge} * 2) + ${strokeWidthThin})}:host([size='small']){--margin-offset:calc(${lineHeightBase200} + (${spacingVerticalXS} * 2) + ${strokeWidthThin})}:host([size='large']){--margin-offset:calc(${lineHeightBase400} + (${spacingVerticalS} * 2) + ${strokeWidthThin})}}@media (forced-colors:active){:host(:disabled) .control{border-color:GrayText}:host(:disabled) :where(slot[name='indicator']>*,::slotted([slot='indicator'])){color:GrayText}`;
8342
8391
 
8343
8392
  const definition$r = Dropdown.compose({
8344
8393
  name: tagName$r,
8345
8394
  template: template$r,
8346
- styles: styles$q
8395
+ styles: styles$r
8347
8396
  });
8348
8397
 
8349
8398
  definition$r.define(FluentDesignSystem.registry);
@@ -8583,14 +8632,14 @@ __decorateClass$u([
8583
8632
  attr({ attribute: "label-position" })
8584
8633
  ], Field.prototype, "labelPosition", 2);
8585
8634
 
8586
- const styles$p = css`${display("inline-grid")} :host{color:${colorNeutralForeground1};align-items:center;gap:0 ${spacingHorizontalM};justify-items:start}:has([slot='message']){color:${colorNeutralForeground1};row-gap:${spacingVerticalS}}:not(::slotted([slot='label'])){gap:0}:host([label-position='before']){grid-template-areas:'label input' 'label message'}:host([label-position='after']){gap:0;grid-template-areas:'input label' 'message message';grid-template-columns:auto 1fr}:host([label-position='after']) ::slotted([slot='input']){margin-inline-end:${spacingHorizontalM}}:host([label-position='above']){grid-template-areas:'label' 'input' 'message';row-gap:${spacingVerticalXXS}}:host([label-position='below']){grid-template-areas:'input' 'label' 'message';justify-items:center}:host([label-position='below']) ::slotted([slot='label']){margin-block-start:${spacingVerticalM}}:host(${requiredState}) ::slotted([slot='label'])::after{content:'*'/'';color:${colorPaletteRedForeground1};margin-inline-start:${spacingHorizontalXS}}::slotted([slot='input']){grid-area:input}::slotted([slot='message']){color:${colorNeutralForeground3};font-family:${fontFamilyBase};font-size:${fontSizeBase200};font-weight:${fontWeightRegular};grid-area:message;line-height:${lineHeightBase200};margin-block-start:${spacingVerticalXXS}}:host(${focusVisibleState}:focus-within){border-radius:${borderRadiusMedium};outline:${strokeWidthThick} solid ${colorStrokeFocus2}}::slotted(label),::slotted([slot='label']){cursor:inherit;display:inline-flex;font-family:${fontFamilyBase};font-size:${fontSizeBase300};font-weight:${fontWeightRegular};grid-area:label;line-height:${lineHeightBase300};justify-self:stretch;user-select:none}:host([size='small']) ::slotted(label){font-size:${fontSizeBase200};line-height:${lineHeightBase200}}:host([size='large']) ::slotted(label){font-size:${fontSizeBase400};line-height:${lineHeightBase400}}:host([size='large']) ::slotted(label),:host([weight='semibold']) ::slotted(label){font-weight:${fontWeightSemibold}}:host(${disabledState}){cursor:default}::slotted([flag]){display:none}:host(${badInputState}) ::slotted([flag='${ValidationFlags.badInput}']),:host(${customErrorState}) ::slotted([flag='${ValidationFlags.customError}']),:host(${patternMismatchState}) ::slotted([flag='${ValidationFlags.patternMismatch}']),:host(${rangeOverflowState}) ::slotted([flag='${ValidationFlags.rangeOverflow}']),:host(${rangeUnderflowState}) ::slotted([flag='${ValidationFlags.rangeUnderflow}']),:host(${stepMismatchState}) ::slotted([flag='${ValidationFlags.stepMismatch}']),:host(${tooLongState}) ::slotted([flag='${ValidationFlags.tooLong}']),:host(${tooShortState}) ::slotted([flag='${ValidationFlags.tooShort}']),:host(${typeMismatchState}) ::slotted([flag='${ValidationFlags.typeMismatch}']),:host(${valueMissingState}) ::slotted([flag='${ValidationFlags.valueMissing}']),:host(${validState}) ::slotted([flag='${ValidationFlags.valid}']){display:block}`;
8635
+ const styles$q = css`${display("inline-grid")} :host{color:${colorNeutralForeground1};align-items:center;gap:0 ${spacingHorizontalM};justify-items:start}:has([slot='message']){color:${colorNeutralForeground1};row-gap:${spacingVerticalS}}:not(::slotted([slot='label'])){gap:0}:host([label-position='before']){grid-template-areas:'label input' 'label message'}:host([label-position='after']){gap:0;grid-template-areas:'input label' 'message message';grid-template-columns:auto 1fr}:host([label-position='after']) ::slotted([slot='input']){margin-inline-end:${spacingHorizontalM}}:host([label-position='above']){grid-template-areas:'label' 'input' 'message';row-gap:${spacingVerticalXXS}}:host([label-position='below']){grid-template-areas:'input' 'label' 'message';justify-items:center}:host([label-position='below']) ::slotted([slot='label']){margin-block-start:${spacingVerticalM}}:host(${requiredState}) ::slotted([slot='label'])::after{content:'*'/'';color:${colorPaletteRedForeground1};margin-inline-start:${spacingHorizontalXS}}::slotted([slot='input']){grid-area:input}::slotted([slot='message']){color:${colorNeutralForeground3};font-family:${fontFamilyBase};font-size:${fontSizeBase200};font-weight:${fontWeightRegular};grid-area:message;line-height:${lineHeightBase200};margin-block-start:${spacingVerticalXXS}}:host(${focusVisibleState}:focus-within){border-radius:${borderRadiusMedium};outline:${strokeWidthThick} solid ${colorStrokeFocus2}}::slotted(label),::slotted([slot='label']){cursor:inherit;display:inline-flex;font-family:${fontFamilyBase};font-size:${fontSizeBase300};font-weight:${fontWeightRegular};grid-area:label;line-height:${lineHeightBase300};justify-self:stretch;user-select:none}:host([size='small']) ::slotted(label){font-size:${fontSizeBase200};line-height:${lineHeightBase200}}:host([size='large']) ::slotted(label){font-size:${fontSizeBase400};line-height:${lineHeightBase400}}:host([size='large']) ::slotted(label),:host([weight='semibold']) ::slotted(label){font-weight:${fontWeightSemibold}}:host(${disabledState}){cursor:default}::slotted([flag]){display:none}:host(${badInputState}) ::slotted([flag='${ValidationFlags.badInput}']),:host(${customErrorState}) ::slotted([flag='${ValidationFlags.customError}']),:host(${patternMismatchState}) ::slotted([flag='${ValidationFlags.patternMismatch}']),:host(${rangeOverflowState}) ::slotted([flag='${ValidationFlags.rangeOverflow}']),:host(${rangeUnderflowState}) ::slotted([flag='${ValidationFlags.rangeUnderflow}']),:host(${stepMismatchState}) ::slotted([flag='${ValidationFlags.stepMismatch}']),:host(${tooLongState}) ::slotted([flag='${ValidationFlags.tooLong}']),:host(${tooShortState}) ::slotted([flag='${ValidationFlags.tooShort}']),:host(${typeMismatchState}) ::slotted([flag='${ValidationFlags.typeMismatch}']),:host(${valueMissingState}) ::slotted([flag='${ValidationFlags.valueMissing}']),:host(${validState}) ::slotted([flag='${ValidationFlags.valid}']){display:block}`;
8587
8636
 
8588
8637
  const template$q = html`<template @click=${(x, c) => x.clickHandler(c.event)} @change=${(x, c) => x.changeHandler(c.event)} @focusin=${(x, c) => x.focusinHandler(c.event)} @focusout=${(x, c) => x.focusoutHandler(c.event)}><slot name=label part=label ${slotted("labelSlot")}></slot><slot name=input part=input ${slotted("slottedInputs")}></slot><slot name=message part=message ${slotted({ property: "messageSlot", filter: elements("[flag]") })}></slot></template>`;
8589
8638
 
8590
8639
  const definition$q = Field.compose({
8591
8640
  name: tagName$o,
8592
8641
  template: template$q,
8593
- styles: styles$p,
8642
+ styles: styles$q,
8594
8643
  shadowOptions: {
8595
8644
  delegatesFocus: true
8596
8645
  }
@@ -8630,12 +8679,12 @@ __decorateClass$t([
8630
8679
 
8631
8680
  const template$p = html`<slot></slot>`;
8632
8681
 
8633
- const styles$o = css`:host{contain:content}:host ::slotted(img){box-sizing:border-box;min-height:8px;min-width:8px;display:inline-block}:host([block]) ::slotted(img){width:100%;height:auto}:host([bordered]) ::slotted(img){border:${strokeWidthThin} solid ${colorNeutralStroke2}}:host([fit='none']) ::slotted(img){object-fit:none;object-position:top left;height:100%;width:100%}:host([fit='center']) ::slotted(img){object-fit:none;object-position:center;height:100%;width:100%}:host([fit='contain']) ::slotted(img){object-fit:contain;object-position:center;height:100%;width:100%}:host([fit='cover']) ::slotted(img){object-fit:cover;object-position:center;height:100%;width:100%}:host([shadow]) ::slotted(img){box-shadow:${shadow4}}:host([shape='circular']) ::slotted(img){border-radius:${borderRadiusCircular}}:host([shape='rounded']) ::slotted(img){border-radius:${borderRadiusMedium}}`;
8682
+ const styles$p = css`:host{contain:content}:host ::slotted(img){box-sizing:border-box;min-height:8px;min-width:8px;display:inline-block}:host([block]) ::slotted(img){width:100%;height:auto}:host([bordered]) ::slotted(img){border:${strokeWidthThin} solid ${colorNeutralStroke2}}:host([fit='none']) ::slotted(img){object-fit:none;object-position:top left;height:100%;width:100%}:host([fit='center']) ::slotted(img){object-fit:none;object-position:center;height:100%;width:100%}:host([fit='contain']) ::slotted(img){object-fit:contain;object-position:center;height:100%;width:100%}:host([fit='cover']) ::slotted(img){object-fit:cover;object-position:center;height:100%;width:100%}:host([shadow]) ::slotted(img){box-shadow:${shadow4}}:host([shape='circular']) ::slotted(img){border-radius:${borderRadiusCircular}}:host([shape='rounded']) ::slotted(img){border-radius:${borderRadiusMedium}}`;
8634
8683
 
8635
8684
  const definition$p = Image.compose({
8636
8685
  name: tagName$n,
8637
8686
  template: template$p,
8638
- styles: styles$o
8687
+ styles: styles$p
8639
8688
  });
8640
8689
 
8641
8690
  definition$p.define(FluentDesignSystem.registry);
@@ -8672,7 +8721,7 @@ __decorateClass$s([
8672
8721
  attr({ mode: "boolean" })
8673
8722
  ], Label.prototype, "required", 2);
8674
8723
 
8675
- const styles$n = css`${display("inline-flex")} :host{color:${colorNeutralForeground1};cursor:pointer;font-family:${fontFamilyBase};font-size:${fontSizeBase300};font-weight:${fontWeightRegular};line-height:${lineHeightBase300};user-select:none}.asterisk{color:${colorPaletteRedForeground1};margin-inline-start:${spacingHorizontalXS}}:host([size='small']){font-size:${fontSizeBase200};line-height:${lineHeightBase200}}:host([size='large']){font-size:${fontSizeBase400};line-height:${lineHeightBase400}}:host(:is([size='large'],[weight='semibold'])){font-weight:${fontWeightSemibold}}:host([disabled]),:host([disabled]) .asterisk{color:${colorNeutralForegroundDisabled}}`;
8724
+ const styles$o = css`${display("inline-flex")} :host{color:${colorNeutralForeground1};cursor:pointer;font-family:${fontFamilyBase};font-size:${fontSizeBase300};font-weight:${fontWeightRegular};line-height:${lineHeightBase300};user-select:none}.asterisk{color:${colorPaletteRedForeground1};margin-inline-start:${spacingHorizontalXS}}:host([size='small']){font-size:${fontSizeBase200};line-height:${lineHeightBase200}}:host([size='large']){font-size:${fontSizeBase400};line-height:${lineHeightBase400}}:host(:is([size='large'],[weight='semibold'])){font-weight:${fontWeightSemibold}}:host([disabled]),:host([disabled]) .asterisk{color:${colorNeutralForegroundDisabled}}`;
8676
8725
 
8677
8726
  function labelTemplate() {
8678
8727
  return html`<slot></slot><span part=asterisk class=asterisk aria-hidden=true ?hidden=${(x) => !x.required}>*</span>`;
@@ -8682,7 +8731,7 @@ const template$o = labelTemplate();
8682
8731
  const definition$o = Label.compose({
8683
8732
  name: tagName$m,
8684
8733
  template: template$o,
8685
- styles: styles$n
8734
+ styles: styles$o
8686
8735
  });
8687
8736
 
8688
8737
  definition$o.define(FluentDesignSystem.registry);
@@ -8712,7 +8761,7 @@ __decorateClass$r([
8712
8761
  attr({ mode: "boolean" })
8713
8762
  ], Link.prototype, "inline", 2);
8714
8763
 
8715
- const styles$m = css`${display("inline")} :host{position:relative;box-sizing:border-box;background-color:transparent;color:${colorBrandForegroundLink};cursor:pointer;font-family:${fontFamilyBase};font-size:${fontSizeBase300};font-weight:${fontWeightRegular};overflow:inherit;text-align:start;text-decoration:none;text-decoration-thickness:${strokeWidthThin};text-overflow:inherit;user-select:text}:host(:is(:hover,:focus-visible)){outline:none;text-decoration-line:underline}@media (hover:hover){:host(:hover){color:${colorBrandForegroundLinkHover}}:host(:active){color:${colorBrandForegroundLinkPressed}}:host([appearance='subtle']:hover){color:${colorNeutralForeground2LinkHover}}:host([appearance='subtle']:active){color:${colorNeutralForeground2LinkPressed}}}:host([appearance='subtle']){color:${colorNeutralForeground2Link}}:host-context(:is(h1,h2,h3,h4,h5,h6,p,fluent-text)),:host([inline]){font:inherit;text-decoration:underline}:host(:not([href])){color:inherit;text-decoration:none}::slotted(a){position:absolute;inset:0}@media (forced-colors:active){:host{color:LinkText}}`;
8764
+ const styles$n = css`${display("inline")} :host{position:relative;box-sizing:border-box;background-color:transparent;color:${colorBrandForegroundLink};cursor:pointer;font-family:${fontFamilyBase};font-size:${fontSizeBase300};font-weight:${fontWeightRegular};overflow:inherit;text-align:start;text-decoration:none;text-decoration-thickness:${strokeWidthThin};text-overflow:inherit;user-select:text}:host(:is(:hover,:focus-visible)){outline:none;text-decoration-line:underline}@media (hover:hover){:host(:hover){color:${colorBrandForegroundLinkHover}}:host(:active){color:${colorBrandForegroundLinkPressed}}:host([appearance='subtle']:hover){color:${colorNeutralForeground2LinkHover}}:host([appearance='subtle']:active){color:${colorNeutralForeground2LinkPressed}}}:host([appearance='subtle']){color:${colorNeutralForeground2Link}}:host-context(:is(h1,h2,h3,h4,h5,h6,p,fluent-text)),:host([inline]){font:inherit;text-decoration:underline}:host(:not([href])){color:inherit;text-decoration:none}::slotted(a){position:absolute;inset:0}@media (forced-colors:active){:host{color:LinkText}}`;
8716
8765
 
8717
8766
  function anchorTemplate() {
8718
8767
  return html`<template tabindex=0 @click=${(x, c) => x.clickHandler(c.event)} @keydown=${(x, c) => x.keydownHandler(c.event)}><slot></slot></template>`;
@@ -8722,7 +8771,7 @@ const template$n = anchorTemplate();
8722
8771
  const definition$n = Link.compose({
8723
8772
  name: tagName$l,
8724
8773
  template: template$n,
8725
- styles: styles$m
8774
+ styles: styles$n
8726
8775
  });
8727
8776
 
8728
8777
  definition$n.define(FluentDesignSystem.registry);
@@ -8917,7 +8966,7 @@ __decorateClass$q([
8917
8966
  observable
8918
8967
  ], Listbox.prototype, "dropdown", 2);
8919
8968
 
8920
- const styles$l = css`${display("inline-flex")} :host{background-color:${colorNeutralBackground1};border-radius:${borderRadiusMedium};border:${strokeWidthThin} solid ${colorTransparentStroke};box-shadow:${shadow16};box-sizing:border-box;flex-direction:column;margin:0;min-width:160px;padding:${spacingHorizontalXS};row-gap:${spacingHorizontalXXS};width:auto}:host([popover]){inset:unset;overflow:auto}@supports (anchor-name:--anchor){:host([popover]){position:absolute;margin-block-start:0;max-height:var(--listbox-max-height,calc(50vh - anchor-size(self-block)));min-width:anchor-size(width);position-anchor:--dropdown;position-area:block-end span-inline-end;position-try-fallbacks:flip-inline,flip-block,--flip-block,block-start}@position-try --flip-block{bottom:anchor(top);top:unset}}@supports not (anchor-name:--anchor){:host([popover]){margin-block-start:var(--margin-offset,0);max-height:var(--listbox-max-height,50vh);position:fixed}:host([popover]${flipBlockState}){margin-block-start:revert;translate:0 -100%}}`;
8969
+ const styles$m = css`${display("inline-flex")} :host{background-color:${colorNeutralBackground1};border-radius:${borderRadiusMedium};border:${strokeWidthThin} solid ${colorTransparentStroke};box-shadow:${shadow16};box-sizing:border-box;flex-direction:column;margin:0;min-width:160px;padding:${spacingHorizontalXS};row-gap:${spacingHorizontalXXS};width:auto}:host([popover]){inset:unset;overflow:auto}@supports (anchor-name:--anchor){:host([popover]){position:absolute;margin-block-start:0;max-height:var(--listbox-max-height,calc(50vh - anchor-size(self-block)));min-width:anchor-size(width);position-anchor:--dropdown;position-area:block-end span-inline-end;position-try-fallbacks:flip-inline,flip-block,--flip-block,block-start}@position-try --flip-block{bottom:anchor(top);top:unset}}@supports not (anchor-name:--anchor){:host([popover]){margin-block-start:var(--margin-offset,0);max-height:var(--listbox-max-height,50vh);position:fixed}:host([popover]${flipBlockState}){margin-block-start:revert;translate:0 -100%}}`;
8921
8970
 
8922
8971
  function listboxTemplate() {
8923
8972
  return html`<template @beforetoggle=${(x, c) => x.beforetoggleHandler(c.event)} @click=${(x, c) => x.clickHandler(c.event)}><slot ${ref("defaultSlot")} @slotchange=${(x, c) => x.slotchangeHandler(c.event)}></slot></template>`;
@@ -8927,11 +8976,13 @@ const template$m = listboxTemplate();
8927
8976
  const definition$m = Listbox.compose({
8928
8977
  name: tagName$q,
8929
8978
  template: template$m,
8930
- styles: styles$l
8979
+ styles: styles$m
8931
8980
  });
8932
8981
 
8933
8982
  definition$m.define(FluentDesignSystem.registry);
8934
8983
 
8984
+ const styles$l = styles$D;
8985
+
8935
8986
  const tagName$k = `${FluentDesignSystem.prefix}-menu-button`;
8936
8987
 
8937
8988
  class MenuButton extends Button {
@@ -8947,7 +8998,7 @@ const template$l = buttonTemplate$1({
8947
8998
  const definition$l = MenuButton.compose({
8948
8999
  name: tagName$k,
8949
9000
  template: template$l,
8950
- styles: styles$C
9001
+ styles: styles$l
8951
9002
  });
8952
9003
 
8953
9004
  definition$l.define(FluentDesignSystem.registry);
@@ -9262,7 +9313,7 @@ function nodeContains(node, otherNode) {
9262
9313
  * @returns {boolean}
9263
9314
  */
9264
9315
  function supportsFocusGroup() {
9265
- return "focusgroup" in (globalThis?.HTMLElement?.prototype ?? {});
9316
+ return "focusgroup" in (globalThis?.HTMLElement?.prototype ?? {}) || "focusGroup" in (globalThis?.HTMLElement?.prototype ?? {});
9266
9317
  }
9267
9318
  /**
9268
9319
  * Gets the navigation direction (“forward” or “backward”) based on:
@@ -9769,6 +9820,9 @@ const _BaseMenuList = class _BaseMenuList extends FASTElement {
9769
9820
  */
9770
9821
  connectedCallback() {
9771
9822
  super.connectedCallback();
9823
+ if (!this.slot && this.isNestedMenu()) {
9824
+ this.slot = "submenu";
9825
+ }
9772
9826
  Updates.enqueue(() => {
9773
9827
  this.setItems();
9774
9828
  });
@@ -9862,7 +9916,7 @@ class MenuList extends BaseMenuList {
9862
9916
  const styles$j = css`${display("flex")} :host{flex-direction:column;height:fit-content;max-width:300px;min-width:160px;width:auto;background-color:${colorNeutralBackground1};border:1px solid ${colorTransparentStroke};border-radius:${borderRadiusMedium};box-shadow:${shadow16};padding:4px;row-gap:2px}`;
9863
9917
 
9864
9918
  function menuTemplate$1() {
9865
- return html`<template focusgroup=menu slot=${(x) => x.slot ? x.slot : x.isNestedMenu() ? "submenu" : void 0}><slot ${slotted("items")}></slot></template>`;
9919
+ return html`<template focusgroup=menu><slot ${slotted("items")}></slot></template>`;
9866
9920
  }
9867
9921
  const template$j = menuTemplate$1();
9868
9922
 
@@ -10205,7 +10259,7 @@ __decorateClass$n([
10205
10259
  const styles$i = css`${display("inline-block")} ::slotted([slot='trigger']){anchor-name:--menu-trigger}::slotted([popover]){margin:0;max-height:var(--menu-max-height,auto);position-anchor:--menu-trigger;position-area:block-end span-inline-end;position-try-fallbacks:flip-block;position:absolute;z-index:1}:host([split]) ::slotted([popover]){position-area:block-end span-inline-start}::slotted([popover]:popover-open){inset:unset}::slotted([popover]:not(:popover-open)){display:none}:host([split]){display:inline-flex}:host([split]) ::slotted([slot='primary-action']){border-inline-end:${strokeWidthThin} solid ${colorNeutralStroke1};border-start-end-radius:0;border-end-end-radius:0}:host([split]) ::slotted([slot='primary-action']:focus-visible){z-index:1}:host([split]) ::slotted([slot='primary-action'][appearance='primary']){border-inline-end:${strokeWidthThin} solid white}:host([split]) ::slotted([slot='trigger']){border-inline-start:0;border-start-start-radius:0;border-end-start-radius:0}`;
10206
10260
 
10207
10261
  function menuTemplate() {
10208
- return html`<template ?open-on-hover=${(x) => x.openOnHover} ?open-on-context=${(x) => x.openOnContext} ?close-on-scroll=${(x) => x.closeOnScroll} ?persist-on-item-click=${(x) => x.persistOnItemClick} @keydown=${(x, c) => x.menuKeydownHandler(c.event)}><slot name=primary-action ${ref("primaryAction")}></slot><slot name=trigger ${slotted({ property: "slottedTriggers", filter: elements() })}></slot><slot ${slotted({ property: "slottedMenuList", filter: elements() })}></slot></template>`;
10262
+ return html`<template @keydown=${(x, c) => x.menuKeydownHandler(c.event)}><slot name=primary-action ${ref("primaryAction")}></slot><slot name=trigger ${slotted({ property: "slottedTriggers", filter: elements() })}></slot><slot ${slotted({ property: "slottedMenuList", filter: elements() })}></slot></template>`;
10209
10263
  }
10210
10264
  const template$i = menuTemplate();
10211
10265
 
@@ -12525,9 +12579,11 @@ class BaseTextArea extends FASTElement {
12525
12579
  this.controlEl.addEventListener("input", () => this.userInteracted = true, { once: true });
12526
12580
  }
12527
12581
  defaultSlottedNodesChanged() {
12528
- const next = this.getContent();
12529
- this.defaultValue = next;
12530
- this.value = next;
12582
+ Updates.enqueue(() => {
12583
+ const next = this.getContent();
12584
+ this.defaultValue = next;
12585
+ this.value = next;
12586
+ });
12531
12587
  }
12532
12588
  labelSlottedNodesChanged() {
12533
12589
  this.filteredLabelSlottedNodes = this.labelSlottedNodes.filter(whitespaceFilter);
@@ -12564,8 +12620,8 @@ class BaseTextArea extends FASTElement {
12564
12620
  return this.elementInternals.labels;
12565
12621
  }
12566
12622
  readOnlyChanged() {
12567
- this.elementInternals.ariaReadOnly = `${!!this.readOnly}`;
12568
- if (this.$fastController.isConnected) {
12623
+ if (this.elementInternals) {
12624
+ this.elementInternals.ariaReadOnly = `${!!this.readOnly}`;
12569
12625
  this.setValidity();
12570
12626
  }
12571
12627
  }
@@ -12744,7 +12800,7 @@ class BaseTextArea extends FASTElement {
12744
12800
  * @public
12745
12801
  */
12746
12802
  setCustomValidity(message) {
12747
- this.elementInternals.setValidity({ customError: !!message }, !!message ? message.toString() : void 0);
12803
+ this.elementInternals?.setValidity({ customError: !!message }, !!message ? message.toString() : void 0);
12748
12804
  this.reportValidity();
12749
12805
  }
12750
12806
  /**
@@ -12757,15 +12813,15 @@ class BaseTextArea extends FASTElement {
12757
12813
  * @internal
12758
12814
  */
12759
12815
  setValidity(flags, message, anchor) {
12760
- if (!this.$fastController.isConnected) {
12816
+ if (!this.elementInternals) {
12761
12817
  return;
12762
12818
  }
12763
12819
  if (this.disabled || this.readOnly) {
12764
12820
  this.elementInternals.setValidity({});
12765
12821
  } else {
12766
12822
  this.elementInternals.setValidity(
12767
- flags ?? this.controlEl.validity,
12768
- message ?? this.controlEl.validationMessage,
12823
+ flags ?? this.controlEl?.validity,
12824
+ message ?? this.controlEl?.validationMessage,
12769
12825
  anchor ?? this.controlEl
12770
12826
  );
12771
12827
  }
@@ -12785,7 +12841,7 @@ class BaseTextArea extends FASTElement {
12785
12841
  * Gets the content inside the light DOM, if any HTML element is present, use its `outerHTML` value.
12786
12842
  */
12787
12843
  getContent() {
12788
- return this.defaultSlottedNodes.map((node) => {
12844
+ return this.defaultSlottedNodes?.map((node) => {
12789
12845
  switch (node.nodeType) {
12790
12846
  case Node.ELEMENT_NODE:
12791
12847
  return node.outerHTML;
@@ -13151,7 +13207,7 @@ class BaseTextInput extends FASTElement {
13151
13207
  }
13152
13208
  set value(value) {
13153
13209
  this.currentValue = value;
13154
- if (this.$fastController.isConnected) {
13210
+ if (this.elementInternals && this.control) {
13155
13211
  this.control.value = value ?? "";
13156
13212
  this.setFormValue(value);
13157
13213
  this.setValidity();
@@ -13178,17 +13234,6 @@ class BaseTextInput extends FASTElement {
13178
13234
  get form() {
13179
13235
  return this.elementInternals.form;
13180
13236
  }
13181
- /**
13182
- * Handles the internal control's `keypress` event.
13183
- *
13184
- * @internal
13185
- */
13186
- beforeinputHandler(e) {
13187
- if (e.inputType === "insertLineBreak") {
13188
- this.implicitSubmit();
13189
- }
13190
- return true;
13191
- }
13192
13237
  /**
13193
13238
  * Change event handler for inner control.
13194
13239
  *
@@ -13341,7 +13386,7 @@ class BaseTextInput extends FASTElement {
13341
13386
  * @internal
13342
13387
  */
13343
13388
  setFormValue(value, state) {
13344
- this.elementInternals.setFormValue(value, value ?? state);
13389
+ this.elementInternals?.setFormValue(value, value ?? state);
13345
13390
  }
13346
13391
  /**
13347
13392
  * Sets the validity of the control.
@@ -13353,7 +13398,7 @@ class BaseTextInput extends FASTElement {
13353
13398
  * @internal
13354
13399
  */
13355
13400
  setValidity(flags, message, anchor) {
13356
- if (this.$fastController.isConnected && this.control) {
13401
+ if (this.elementInternals && this.control) {
13357
13402
  if (this.disabled) {
13358
13403
  this.elementInternals.setValidity({});
13359
13404
  return;
@@ -13468,7 +13513,7 @@ applyMixins(TextInput, StartEnd);
13468
13513
  const styles$5 = css`${display("block")} :host{font-family:${fontFamilyBase};font-size:${fontSizeBase300};font-weight:${fontWeightRegular};line-height:${lineHeightBase300};max-width:400px}.label{display:flex;color:${colorNeutralForeground1};padding-bottom:${spacingVerticalXS};flex-shrink:0;padding-inline-end:${spacingHorizontalXS}}.label[hidden],:host(:empty) .label{display:none}.root{align-items:center;background-color:${colorNeutralBackground1};border:${strokeWidthThin} solid ${colorNeutralStroke1};border-bottom-color:${colorNeutralStrokeAccessible};border-radius:${borderRadiusMedium};box-sizing:border-box;height:32px;display:inline-flex;flex-direction:row;gap:${spacingHorizontalXXS};padding:0 ${spacingHorizontalMNudge};position:relative;width:100%}:has(.control:user-invalid){border-color:${colorPaletteRedBorder2}}.root::after{box-sizing:border-box;content:'';position:absolute;left:-1px;bottom:0px;right:-1px;height:max(2px,${borderRadiusMedium});border-radius:0 0 ${borderRadiusMedium} ${borderRadiusMedium};border-bottom:2px solid ${colorCompoundBrandStroke};clip-path:inset(calc(100% - 2px) 1px 0px);transform:scaleX(0);transition-property:transform;transition-duration:${durationUltraFast};transition-delay:${curveAccelerateMid}}.control{width:100%;height:100%;box-sizing:border-box;color:${colorNeutralForeground1};border-radius:${borderRadiusMedium};background:${colorTransparentBackground};font-family:${fontFamilyBase};font-weight:${fontWeightRegular};font-size:${fontSizeBase300};border:none;vertical-align:center}.control:focus-visible{outline:0;border:0}.control::placeholder{color:${colorNeutralForeground4}}:host ::slotted([slot='start']),:host ::slotted([slot='end']){display:flex;align-items:center;justify-content:center;color:${colorNeutralForeground3};font-size:${fontSizeBase500}}:host ::slotted([slot='start']){padding-right:${spacingHorizontalXXS}}:host ::slotted([slot='end']){padding-left:${spacingHorizontalXXS};gap:${spacingHorizontalXS}}:host(:hover) .root{border-color:${colorNeutralStroke1Hover};border-bottom-color:${colorNeutralStrokeAccessibleHover}}:host(:active) .root{border-color:${colorNeutralStroke1Pressed}}:host(:focus-within) .root{outline:transparent solid 2px;border-bottom:0}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:${durationNormal};transition-delay:${curveDecelerateMid}}:host(:focus-within:active) .root:after{border-bottom-color:${colorCompoundBrandStrokePressed}}:host([appearance='outline']:focus-within) .root{border:${strokeWidthThin} solid ${colorNeutralStroke1}}:host(:focus-within) .control{color:${colorNeutralForeground1}}:host([disabled]) .root{background:${colorTransparentBackground};border:${strokeWidthThin} solid ${colorNeutralStrokeDisabled}}:host([disabled]) .control::placeholder,:host([disabled]) ::slotted([slot='start']),:host([disabled]) ::slotted([slot='end']){color:${colorNeutralForegroundDisabled}}::selection{color:${colorNeutralForegroundInverted};background-color:${colorNeutralBackgroundInverted}}:host([control-size='small']) .control{font-size:${fontSizeBase200};font-weight:${fontWeightRegular};line-height:${lineHeightBase200}}:host([control-size='small']) .root{height:24px;gap:${spacingHorizontalXXS};padding:0 ${spacingHorizontalSNudge}}:host([control-size='small']) ::slotted([slot='start']),:host([control-size='small']) ::slotted([slot='end']){font-size:${fontSizeBase400}}:host([control-size='large']) .control{font-size:${fontSizeBase400};font-weight:${fontWeightRegular};line-height:${lineHeightBase400}}:host([control-size='large']) .root{height:40px;gap:${spacingHorizontalS};padding:0 ${spacingHorizontalM}}:host([control-size='large']) ::slotted([slot='start']),:host([control-size='large']) ::slotted([slot='end']){font-size:${fontSizeBase600}}:host([appearance='underline']) .root{background:${colorTransparentBackground};border:0;border-radius:0;border-bottom:${strokeWidthThin} solid ${colorNeutralStrokeAccessible}}:host([appearance='underline']:hover) .root{border-bottom-color:${colorNeutralStrokeAccessibleHover}}:host([appearance='underline']:active) .root{border-bottom-color:${colorNeutralStrokeAccessiblePressed}}:host([appearance='underline']:focus-within) .root{border:0;border-bottom-color:${colorNeutralStrokeAccessiblePressed}}:host([appearance='underline'][disabled]) .root{border-bottom-color:${colorNeutralStrokeDisabled}}:host([appearance='filled-lighter']) .root,:host([appearance='filled-darker']) .root{border:${strokeWidthThin} solid ${colorTransparentStroke};box-shadow:${shadow2}}:host([appearance='filled-lighter']) .root{background:${colorNeutralBackground1}}:host([appearance='filled-darker']) .root{background:${colorNeutralBackground3}}:host([appearance='filled-lighter']:hover) .root,:host([appearance='filled-darker']:hover) .root{border-color:${colorTransparentStrokeInteractive}}:host([appearance='filled-lighter']:active) .root,:host([appearance='filled-darker']:active) .root{border-color:${colorTransparentStrokeInteractive};background:${colorNeutralBackground3}}`;
13469
13514
 
13470
13515
  function textInputTemplate(options = {}) {
13471
- return html`<template @beforeinput=${(x, c) => x.beforeinputHandler(c.event)} @focusin=${(x, c) => x.focusinHandler(c.event)} @keydown=${(x, c) => x.keydownHandler(c.event)}><label part=label for=control class=label ${ref("controlLabel")}><slot ${slotted("defaultSlottedNodes")}></slot></label><div class=root part=root>${startSlotTemplate(options)} <input class=control part=control id=control @change=${(x, c) => x.changeHandler(c.event)} @input=${(x, c) => x.inputHandler(c.event)} ?autofocus=${(x) => x.autofocus} autocomplete=${(x) => x.autocomplete} ?disabled=${(x) => x.disabled} list=${(x) => x.list} maxlength=${(x) => x.maxlength} minlength=${(x) => x.minlength} ?multiple=${(x) => x.multiple} name=${(x) => x.name} pattern=${(x) => x.pattern} placeholder=${(x) => x.placeholder} ?readonly=${(x) => x.readOnly} ?required=${(x) => x.required} size=${(x) => x.size} spellcheck=${(x) => x.spellcheck} type=${(x) => x.type} value=${(x) => x.initialValue} ${ref("control")}> ${endSlotTemplate(options)}</div></template>`;
13516
+ return html`<template @focusin=${(x, c) => x.focusinHandler(c.event)} @keydown=${(x, c) => x.keydownHandler(c.event)}><label part=label for=control class=label ${ref("controlLabel")}><slot ${slotted("defaultSlottedNodes")}></slot></label><div class=root part=root>${startSlotTemplate(options)} <input class=control part=control id=control @change=${(x, c) => x.changeHandler(c.event)} @input=${(x, c) => x.inputHandler(c.event)} ?autofocus=${(x) => x.autofocus} autocomplete=${(x) => x.autocomplete} ?disabled=${(x) => x.disabled} list=${(x) => x.list} maxlength=${(x) => x.maxlength} minlength=${(x) => x.minlength} ?multiple=${(x) => x.multiple} name=${(x) => x.name} pattern=${(x) => x.pattern} placeholder=${(x) => x.placeholder} ?readonly=${(x) => x.readOnly} ?required=${(x) => x.required} size=${(x) => x.size} spellcheck=${(x) => x.spellcheck} type=${(x) => x.type} value=${(x) => x.value} ${ref("control")}> ${endSlotTemplate(options)}</div></template>`;
13472
13517
  }
13473
13518
  const template$5 = textInputTemplate();
13474
13519
 
@@ -13604,9 +13649,8 @@ class ToggleButton extends Button {
13604
13649
  * @internal
13605
13650
  */
13606
13651
  setPressedState() {
13607
- if (this.$fastController.isConnected) {
13608
- const ariaPressed = `${this.mixed ? "mixed" : !!this.pressed}`;
13609
- this.elementInternals.ariaPressed = ariaPressed;
13652
+ if (this.elementInternals) {
13653
+ this.elementInternals.ariaPressed = `${this.mixed ? "mixed" : !!this.pressed}`;
13610
13654
  toggleState(this.elementInternals, "pressed", !!this.pressed || !!this.mixed);
13611
13655
  }
13612
13656
  }
@@ -13618,7 +13662,7 @@ __decorateClass$5([
13618
13662
  attr({ mode: "boolean" })
13619
13663
  ], ToggleButton.prototype, "mixed", 2);
13620
13664
 
13621
- const styles$3 = css`${styles$C} :host(${pressedState}){border-color:${colorNeutralStroke1};background-color:${colorNeutralBackground1Selected};color:${colorNeutralForeground1};border-width:${strokeWidthThin}}:host(${pressedState}:hover){border-color:${colorNeutralStroke1Hover};background-color:${colorNeutralBackground1Hover}}:host(${pressedState}:active){border-color:${colorNeutralStroke1Pressed};background-color:${colorNeutralBackground1Pressed}}:host(${pressedState}[appearance='primary']:not(:focus-visible)){border-color:transparent}:host(${pressedState}[appearance='primary']){background-color:${colorBrandBackgroundSelected};color:${colorNeutralForegroundOnBrand}}:host(${pressedState}[appearance='primary']:hover){background-color:${colorBrandBackgroundHover}}:host(${pressedState}[appearance='primary']:active){background-color:${colorBrandBackgroundPressed}}:host(${pressedState}[appearance='subtle']){border-color:transparent;background-color:${colorSubtleBackgroundSelected};color:${colorNeutralForeground2Selected}}:host(${pressedState}[appearance='subtle']:hover){background-color:${colorSubtleBackgroundHover};color:${colorNeutralForeground2Hover}}:host(${pressedState}[appearance='subtle']:active){background-color:${colorSubtleBackgroundPressed};color:${colorNeutralForeground2Pressed}}:host(${pressedState}[appearance='outline']),:host(${pressedState}[appearance='transparent']){background-color:${colorTransparentBackgroundSelected}}:host(${pressedState}[appearance='outline']:hover),:host(${pressedState}[appearance='transparent']:hover){background-color:${colorTransparentBackgroundHover}}:host(${pressedState}[appearance='outline']:active),:host(${pressedState}[appearance='transparent']:active){background-color:${colorTransparentBackgroundPressed}}:host(${pressedState}[appearance='transparent']){border-color:transparent;color:${colorNeutralForeground2BrandSelected}}:host(${pressedState}[appearance='transparent']:hover){color:${colorNeutralForeground2BrandHover}}:host(${pressedState}[appearance='transparent']:active){color:${colorNeutralForeground2BrandPressed}}@media (forced-colors:active){:host(${pressedState}),:host( ${pressedState}:is([appearance='primary'],[appearance='subtle'],[appearance='outline'],[appearance='transparent']) ){background:SelectedItem;color:SelectedItemText}}`;
13665
+ const styles$3 = css`${styles$D} :host(${pressedState}){border-color:${colorNeutralStroke1};background-color:${colorNeutralBackground1Selected};color:${colorNeutralForeground1};border-width:${strokeWidthThin}}:host(${pressedState}:hover){border-color:${colorNeutralStroke1Hover};background-color:${colorNeutralBackground1Hover}}:host(${pressedState}:active){border-color:${colorNeutralStroke1Pressed};background-color:${colorNeutralBackground1Pressed}}:host(${pressedState}[appearance='primary']:not(:focus-visible)){border-color:transparent}:host(${pressedState}[appearance='primary']){background-color:${colorBrandBackgroundSelected};color:${colorNeutralForegroundOnBrand}}:host(${pressedState}[appearance='primary']:hover){background-color:${colorBrandBackgroundHover}}:host(${pressedState}[appearance='primary']:active){background-color:${colorBrandBackgroundPressed}}:host(${pressedState}[appearance='subtle']){border-color:transparent;background-color:${colorSubtleBackgroundSelected};color:${colorNeutralForeground2Selected}}:host(${pressedState}[appearance='subtle']:hover){background-color:${colorSubtleBackgroundHover};color:${colorNeutralForeground2Hover}}:host(${pressedState}[appearance='subtle']:active){background-color:${colorSubtleBackgroundPressed};color:${colorNeutralForeground2Pressed}}:host(${pressedState}[appearance='outline']),:host(${pressedState}[appearance='transparent']){background-color:${colorTransparentBackgroundSelected}}:host(${pressedState}[appearance='outline']:hover),:host(${pressedState}[appearance='transparent']:hover){background-color:${colorTransparentBackgroundHover}}:host(${pressedState}[appearance='outline']:active),:host(${pressedState}[appearance='transparent']:active){background-color:${colorTransparentBackgroundPressed}}:host(${pressedState}[appearance='transparent']){border-color:transparent;color:${colorNeutralForeground2BrandSelected}}:host(${pressedState}[appearance='transparent']:hover){color:${colorNeutralForeground2BrandHover}}:host(${pressedState}[appearance='transparent']:active){color:${colorNeutralForeground2BrandPressed}}@media (forced-colors:active){:host(${pressedState}),:host( ${pressedState}:is([appearance='primary'],[appearance='subtle'],[appearance='outline'],[appearance='transparent']) ){background:SelectedItem;color:SelectedItemText}}`;
13622
13666
 
13623
13667
  const template$3 = buttonTemplate$1();
13624
13668
 
@@ -13691,6 +13735,11 @@ class Tooltip extends FASTElement {
13691
13735
  * Hide the tooltip on blur
13692
13736
  */
13693
13737
  this.blurAnchorHandler = () => this.hideTooltip(0);
13738
+ /**
13739
+ * Indicates whether the tooltip styles have been applied for browsers that do not support anchor positioning.
13740
+ * @internal
13741
+ */
13742
+ this.anchorPositioningReady = false;
13694
13743
  this.elementInternals.role = "tooltip";
13695
13744
  }
13696
13745
  /**
@@ -13699,9 +13748,7 @@ class Tooltip extends FASTElement {
13699
13748
  * @internal
13700
13749
  */
13701
13750
  positioningChanged() {
13702
- if (!AnchorPositioningCSSSupported) {
13703
- this.setFallbackStyles();
13704
- }
13751
+ this.setFallbackStyles();
13705
13752
  }
13706
13753
  /**
13707
13754
  * Reference to the anchor element
@@ -13713,6 +13760,7 @@ class Tooltip extends FASTElement {
13713
13760
  }
13714
13761
  connectedCallback() {
13715
13762
  super.connectedCallback();
13763
+ this.popover ?? (this.popover = "auto");
13716
13764
  if (!this.anchorElement) {
13717
13765
  return;
13718
13766
  }
@@ -13733,11 +13781,20 @@ class Tooltip extends FASTElement {
13733
13781
  Updates.enqueue(() => this.setFallbackStyles());
13734
13782
  }
13735
13783
  disconnectedCallback() {
13736
- super.disconnectedCallback();
13737
13784
  this.anchorElement?.removeEventListener("focus", this.focusAnchorHandler);
13738
13785
  this.anchorElement?.removeEventListener("blur", this.blurAnchorHandler);
13739
13786
  this.anchorElement?.removeEventListener("mouseenter", this.mouseenterAnchorHandler);
13740
13787
  this.anchorElement?.removeEventListener("mouseleave", this.mouseleaveAnchorHandler);
13788
+ if (this.anchorElement) {
13789
+ const describedBy = this.anchorElement.getAttribute("aria-describedby") ?? "";
13790
+ const ids = describedBy.trim().split(/\s+/).filter((id) => id !== this.id);
13791
+ if (ids.length) {
13792
+ this.anchorElement.setAttribute("aria-describedby", ids.join(" "));
13793
+ } else {
13794
+ this.anchorElement.removeAttribute("aria-describedby");
13795
+ }
13796
+ }
13797
+ super.disconnectedCallback();
13741
13798
  }
13742
13799
  /**
13743
13800
  * Shows the tooltip
@@ -13745,6 +13802,12 @@ class Tooltip extends FASTElement {
13745
13802
  * @internal
13746
13803
  */
13747
13804
  showTooltip(delay = this.defaultDelay) {
13805
+ if (!this.anchorPositioningReady) {
13806
+ this.setFallbackStyles().then(() => {
13807
+ this.showTooltip(delay);
13808
+ });
13809
+ return;
13810
+ }
13748
13811
  setTimeout(() => {
13749
13812
  this.setAttribute("aria-hidden", "false");
13750
13813
  this.showPopover();
@@ -13765,7 +13828,15 @@ class Tooltip extends FASTElement {
13765
13828
  this.hidePopover();
13766
13829
  }, delay);
13767
13830
  }
13768
- setFallbackStyles() {
13831
+ /**
13832
+ * Sets fallback styles for the tooltip for browsers that do not support CSS anchor positioning.
13833
+ * @internal
13834
+ */
13835
+ async setFallbackStyles() {
13836
+ if (AnchorPositioningCSSSupported) {
13837
+ this.anchorPositioningReady = true;
13838
+ return;
13839
+ }
13769
13840
  if (!this.anchorElement) {
13770
13841
  return;
13771
13842
  }
@@ -13813,7 +13884,8 @@ class Tooltip extends FASTElement {
13813
13884
  }
13814
13885
  `;
13815
13886
  if (window.CSS_ANCHOR_POLYFILL) {
13816
- window.CSS_ANCHOR_POLYFILL.call({ element: this.anchorPositioningStyleElement });
13887
+ await window.CSS_ANCHOR_POLYFILL({ elements: [this.anchorPositioningStyleElement] });
13888
+ this.anchorPositioningReady = true;
13817
13889
  }
13818
13890
  }
13819
13891
  }
@@ -14094,7 +14166,7 @@ __decorateClass$2([
14094
14166
 
14095
14167
  const styles$1 = css`${display("block")} :host{outline:none}`;
14096
14168
 
14097
- const template$1 = html`<template focusgroup="menu inline block nowrap nomemory" @click=${(x, c) => x.clickHandler(c.event)} @keydown=${(x, c) => x.keydownHandler(c.event)} @change=${(x, c) => x.changeHandler(c.event)} @toggle=${(x, c) => x.itemToggleHandler()}><slot ${ref("defaultSlot")} @slotchange=${(x) => x.handleDefaultSlotChange()}></slot></template>`;
14169
+ const template$1 = html`<template tabindex=0 focusgroup="menu inline block nowrap nomemory" @click=${(x, c) => x.clickHandler(c.event)} @keydown=${(x, c) => x.keydownHandler(c.event)} @change=${(x, c) => x.changeHandler(c.event)} @toggle=${(x, c) => x.itemToggleHandler()}><slot ${ref("defaultSlot")} @slotchange=${(x) => x.handleDefaultSlotChange()}></slot></template>`;
14098
14170
 
14099
14171
  const definition$1 = Tree.compose({
14100
14172
  name: tagName$1,
@@ -14137,6 +14209,13 @@ class BaseTreeItem extends FASTElement {
14137
14209
  itemSlotChanged() {
14138
14210
  this.handleItemSlotChange();
14139
14211
  }
14212
+ connectedCallback() {
14213
+ super.connectedCallback();
14214
+ this.tabIndex = Number(this.getAttribute("tabindex") || "0");
14215
+ if (isTreeItem(this.parentElement)) {
14216
+ this.slot || (this.slot = "item");
14217
+ }
14218
+ }
14140
14219
  /**
14141
14220
  * Handles changes to the expanded attribute
14142
14221
  * @param prev - the previous state
@@ -14150,7 +14229,7 @@ class BaseTreeItem extends FASTElement {
14150
14229
  newState: next ? "open" : "closed"
14151
14230
  });
14152
14231
  toggleState(this.elementInternals, "expanded", next);
14153
- if (this.childTreeItems && this.childTreeItems.length > 0) {
14232
+ if (this.childTreeItems?.length) {
14154
14233
  this.elementInternals.ariaExpanded = next ? "true" : "false";
14155
14234
  requestAnimationFrame(() => {
14156
14235
  const walker = document.createTreeWalker(
@@ -14181,8 +14260,10 @@ class BaseTreeItem extends FASTElement {
14181
14260
  */
14182
14261
  selectedChanged(prev, next) {
14183
14262
  this.$emit("change");
14184
- toggleState(this.elementInternals, "selected", next);
14185
- this.elementInternals.ariaSelected = next ? "true" : "false";
14263
+ if (this.elementInternals) {
14264
+ toggleState(this.elementInternals, "selected", next);
14265
+ this.elementInternals.ariaSelected = next ? "true" : "false";
14266
+ }
14186
14267
  }
14187
14268
  dataIndentChanged(prev, next) {
14188
14269
  if (this.styles !== void 0) {
@@ -14344,7 +14425,7 @@ __decorateClass([
14344
14425
  const styles = css`${display("block")} :host{outline:none;font-size:${fontSizeBase300};line-height:${lineHeightBase300}}:host(:focus-visible) .positioning-region{box-shadow:${spacingVerticalNone} ${spacingVerticalNone} ${spacingVerticalNone} ${spacingVerticalXXS} ${colorStrokeFocus2} inset}.positioning-region{display:flex;align-items:center;justify-content:space-between;cursor:pointer;height:${spacingVerticalXXXL};padding-inline-start:calc(var(--indent) * ${spacingHorizontalXXL});padding-inline-end:${spacingVerticalS};border-radius:${borderRadiusMedium};background-color:${colorSubtleBackground};color:${colorNeutralForeground2};gap:${spacingHorizontalXS}}@media (prefers-contrast:more){:host(:focus-visible) .positioning-region{outline:1px solid ${colorStrokeFocus2}}}.content{display:flex;align-items:center;gap:${spacingHorizontalXS}}.chevron{display:flex;align-items:center;flex-shrink:0;justify-content:center;width:${spacingHorizontalXXL};height:${spacingVerticalXXL};transition:transform ${durationFaster} ${curveEasyEaseMax};transform:rotate(0deg)}.chevron:dir(rtl){transform:rotate(180deg)}.chevron svg{inline-size:12px;block-size:12px}.aside{display:flex;align-items:center}.positioning-region:hover{background-color:${colorSubtleBackgroundHover};color:${colorNeutralForeground2Hover}}.positioning-region:active{background-color:${colorSubtleBackgroundPressed};color:${colorNeutralForeground2Pressed}}::slotted([slot='start']),::slotted([slot='end']),::slotted(:not([slot])){display:flex;align-items:center;min-width:0}::slotted([slot='start']){flex-shrink:0}::slotted(:not([slot])){padding-inline:${spacingHorizontalXXS}}.items{display:none}:host([expanded]) .items{display:block}:host([empty]) .chevron,:host([empty]) .items{visibility:hidden}:host([selected]) .positioning-region{background-color:${colorSubtleBackgroundSelected};color:${colorNeutralForeground2Selected}}:host([selected]) .content,:host([selected]) .chevron{color:${colorNeutralForeground3Selected}}:host([size='small']) .positioning-region{height:${spacingVerticalXXL};padding-inline-start:calc(var(--indent) * ${spacingHorizontalM})}:host([appearance='subtle-alpha']) .positioning-region:hover{background-color:${colorSubtleBackgroundLightAlphaHover}}:host([appearance='subtle-alpha']) .positioning-region:active{background-color:${colorSubtleBackgroundLightAlphaPressed}}:host([appearance='subtle-alpha'][selected]) .positioning-region{background-color:${colorSubtleBackgroundLightAlphaSelected};color:${colorNeutralForeground2Selected}}:host([appearance='transparent']) .positioning-region{background-color:${colorTransparentBackground}}:host([appearance='transparent']) .positioning-region:hover{background-color:${colorTransparentBackgroundHover}}:host([appearance='transparent']) .positioning-region:active{background-color:${colorTransparentBackgroundPressed}}:host([appearance='transparent'][selected]) .positioning-region{background-color:${colorTransparentBackgroundSelected};color:${colorNeutralForeground2Selected}}:host([expanded]) .chevron{transform:rotate(90deg)}`;
14345
14426
 
14346
14427
  const chevronIcon = html`<svg viewBox="0 0 12 12" fill=currentColor><path d="M4.65 2.15a.5.5 0 000 .7L7.79 6 4.65 9.15a.5.5 0 10.7.7l3.5-3.5a.5.5 0 000-.7l-3.5-3.5a.5.5 0 00-.7 0z"></path></svg>`;
14347
- const template = html`<template slot=${(x) => x.isNestedItem ? "item" : void 0} tabindex=0 ?focusgroupstart=${(x) => x.selected}><div class=positioning-region part=positioning-region><div class=content part=content><span class=chevron part=chevron aria-hidden=true><slot name=chevron>${chevronIcon}</slot></span><slot name=start></slot><slot></slot><slot name=end></slot></div><div class=aside part=aside><slot name=aside></slot></div></div><div role=group class=items part=items><slot name=item ${ref("itemSlot")} @slotchange=${(x) => x.handleItemSlotChange()}></slot></div></template>`;
14428
+ const template = html`<template tabindex=0 ?focusgroupstart=${(x) => x.selected}><div class=positioning-region part=positioning-region><div class=content part=content><span class=chevron part=chevron aria-hidden=true><slot name=chevron>${chevronIcon}</slot></span><slot name=start></slot><slot></slot><slot name=end></slot></div><div class=aside part=aside><slot name=aside></slot></div></div><div role=group class=items part=items><slot name=item ${ref("itemSlot")} @slotchange=${(x) => x.handleItemSlotChange()}></slot></div></template>`;
14348
14429
 
14349
14430
  const definition = TreeItem.compose({
14350
14431
  name: tagName,