@fluentui/web-components 3.0.0-beta.1 → 3.0.0-beta.11

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 (394) hide show
  1. package/CHANGELOG.md +93 -2
  2. package/dist/dts/accordion/accordion.d.ts +47 -3
  3. package/dist/dts/accordion/accordion.definition.d.ts +0 -4
  4. package/dist/dts/accordion/accordion.options.d.ts +14 -0
  5. package/dist/dts/accordion/accordion.template.d.ts +4 -0
  6. package/dist/dts/accordion-item/accordion-item.d.ts +78 -3
  7. package/dist/dts/accordion-item/accordion-item.definition.d.ts +0 -3
  8. package/dist/dts/accordion-item/accordion-item.options.d.ts +1 -1
  9. package/dist/dts/accordion-item/accordion-item.template.d.ts +2 -1
  10. package/dist/dts/anchor-button/anchor-button.d.ts +116 -4
  11. package/dist/dts/anchor-button/anchor-button.definition.d.ts +0 -3
  12. package/dist/dts/anchor-button/anchor-button.options.d.ts +19 -2
  13. package/dist/dts/anchor-button/anchor-button.template.d.ts +7 -2
  14. package/dist/dts/avatar/avatar.options.d.ts +1 -1
  15. package/dist/dts/badge/badge.d.ts +1 -1
  16. package/dist/dts/badge/badge.definition.d.ts +0 -3
  17. package/dist/dts/badge/badge.options.d.ts +2 -2
  18. package/dist/dts/button/button.d.ts +142 -4
  19. package/dist/dts/button/button.definition.d.ts +0 -3
  20. package/dist/dts/button/button.form-associated.d.ts +14 -0
  21. package/dist/dts/button/button.options.d.ts +24 -3
  22. package/dist/dts/button/button.template.d.ts +2 -0
  23. package/dist/dts/checkbox/checkbox.d.ts +46 -3
  24. package/dist/dts/checkbox/checkbox.form-associated.d.ts +14 -0
  25. package/dist/dts/checkbox/checkbox.options.d.ts +1 -1
  26. package/dist/dts/checkbox/checkbox.template.d.ts +6 -1
  27. package/dist/dts/compound-button/compound-button.definition.d.ts +0 -3
  28. package/dist/dts/compound-button/compound-button.options.d.ts +6 -6
  29. package/dist/dts/counter-badge/counter-badge.d.ts +1 -1
  30. package/dist/dts/counter-badge/counter-badge.definition.d.ts +0 -4
  31. package/dist/dts/counter-badge/counter-badge.options.d.ts +1 -1
  32. package/dist/dts/dialog/define.d.ts +1 -0
  33. package/dist/dts/dialog/dialog.d.ts +192 -0
  34. package/dist/dts/dialog/dialog.definition.d.ts +9 -0
  35. package/dist/dts/dialog/dialog.options.d.ts +11 -0
  36. package/dist/dts/dialog/dialog.styles.d.ts +4 -0
  37. package/dist/dts/dialog/dialog.template.d.ts +7 -0
  38. package/dist/dts/dialog/index.d.ts +4 -0
  39. package/dist/dts/divider/divider.d.ts +20 -4
  40. package/dist/dts/divider/divider.options.d.ts +30 -6
  41. package/dist/dts/divider/divider.template.d.ts +1 -0
  42. package/dist/dts/form-associated/form-associated.d.ts +178 -0
  43. package/dist/dts/image/image.options.d.ts +1 -1
  44. package/dist/dts/index.d.ts +5 -0
  45. package/dist/dts/label/label.options.d.ts +1 -1
  46. package/dist/dts/menu/define.d.ts +1 -0
  47. package/dist/dts/menu/index.d.ts +4 -0
  48. package/dist/dts/menu/menu.d.ts +194 -0
  49. package/dist/dts/menu/menu.definition.d.ts +9 -0
  50. package/dist/dts/menu/menu.styles.d.ts +4 -0
  51. package/dist/dts/menu/menu.template.d.ts +4 -0
  52. package/dist/dts/menu-button/menu-button.definition.d.ts +0 -3
  53. package/dist/dts/menu-button/menu-button.options.d.ts +2 -2
  54. package/dist/dts/menu-item/menu-item.d.ts +161 -4
  55. package/dist/dts/menu-item/menu-item.definition.d.ts +0 -4
  56. package/dist/dts/menu-item/menu-item.options.d.ts +30 -0
  57. package/dist/dts/menu-item/menu-item.template.d.ts +2 -1
  58. package/dist/dts/menu-list/menu-list.d.ts +71 -4
  59. package/dist/dts/menu-list/menu-list.definition.d.ts +0 -4
  60. package/dist/dts/menu-list/menu-list.template.d.ts +1 -0
  61. package/dist/dts/patterns/aria-globals.d.ts +189 -0
  62. package/dist/dts/patterns/index.d.ts +2 -0
  63. package/dist/dts/patterns/start-end.d.ts +44 -0
  64. package/dist/dts/progress-bar/base-progress.d.ts +41 -0
  65. package/dist/dts/progress-bar/progress-bar.d.ts +11 -4
  66. package/dist/dts/progress-bar/progress-bar.options.d.ts +10 -1
  67. package/dist/dts/progress-bar/progress-bar.template.d.ts +2 -0
  68. package/dist/dts/progress-ring/progress-ring.d.ts +15 -0
  69. package/dist/dts/progress-ring/progress-ring.options.d.ts +9 -0
  70. package/dist/dts/radio/radio.d.ts +54 -3
  71. package/dist/dts/radio/radio.form-associated.d.ts +14 -0
  72. package/dist/dts/radio/radio.template.d.ts +2 -1
  73. package/dist/dts/radio-group/index.d.ts +0 -1
  74. package/dist/dts/radio-group/radio-group.d.ts +91 -2
  75. package/dist/dts/radio-group/radio-group.options.d.ts +17 -0
  76. package/dist/dts/radio-group/radio-group.template.d.ts +1 -0
  77. package/dist/dts/slider/slider-utilities.d.ts +5 -0
  78. package/dist/dts/slider/slider.d.ts +195 -5
  79. package/dist/dts/slider/slider.form-associated.d.ts +14 -0
  80. package/dist/dts/slider/slider.options.d.ts +43 -2
  81. package/dist/dts/slider/slider.template.d.ts +4 -2
  82. package/dist/dts/spinner/spinner.d.ts +2 -2
  83. package/dist/dts/spinner/spinner.definition.d.ts +0 -4
  84. package/dist/dts/spinner/spinner.options.d.ts +1 -1
  85. package/dist/dts/spinner/spinner.template.d.ts +2 -0
  86. package/dist/dts/switch/switch.d.ts +34 -2
  87. package/dist/dts/switch/switch.form-associated.d.ts +14 -0
  88. package/dist/dts/switch/switch.options.d.ts +1 -1
  89. package/dist/dts/switch/switch.template.d.ts +2 -1
  90. package/dist/dts/tab/tab.d.ts +17 -2
  91. package/dist/dts/tab/tab.template.d.ts +3 -3
  92. package/dist/dts/tab-panel/tab-panel.d.ts +2 -2
  93. package/dist/dts/tab-panel/tab-panel.template.d.ts +4 -1
  94. package/dist/dts/tabs/tabs.d.ts +89 -4
  95. package/dist/dts/tabs/tabs.options.d.ts +21 -3
  96. package/dist/dts/tabs/tabs.template.d.ts +5 -1
  97. package/dist/dts/text/text.options.d.ts +1 -1
  98. package/dist/dts/text-input/index.d.ts +0 -1
  99. package/dist/dts/text-input/text-field.form-associated.d.ts +14 -0
  100. package/dist/dts/text-input/text-input.d.ts +134 -6
  101. package/dist/dts/text-input/text-input.options.d.ts +32 -1
  102. package/dist/dts/text-input/text-input.template.d.ts +2 -1
  103. package/dist/dts/theme/design-tokens.d.ts +384 -384
  104. package/dist/dts/theme/set-theme.d.ts +1 -2
  105. package/dist/dts/toggle-button/toggle-button.definition.d.ts +0 -2
  106. package/dist/dts/toggle-button/toggle-button.options.d.ts +2 -2
  107. package/dist/dts/utils/behaviors/match-media-stylesheet-behavior.d.ts +124 -0
  108. package/dist/dts/utils/benchmark-dependencies/tokens.d.ts +1 -0
  109. package/dist/dts/utils/benchmark-wrapper.d.ts +2 -0
  110. package/dist/dts/utils/direction.d.ts +10 -0
  111. package/dist/dts/utils/display.d.ts +17 -0
  112. package/dist/dts/utils/index.d.ts +6 -0
  113. package/dist/dts/utils/template-helpers.d.ts +16 -0
  114. package/dist/dts/utils/typings.d.ts +6 -0
  115. package/dist/dts/utils/whitespace-filter.d.ts +12 -0
  116. package/dist/esm/accordion/accordion.definition.js +0 -4
  117. package/dist/esm/accordion/accordion.definition.js.map +1 -1
  118. package/dist/esm/accordion/accordion.js +216 -3
  119. package/dist/esm/accordion/accordion.js.map +1 -1
  120. package/dist/esm/accordion/accordion.options.js +9 -0
  121. package/dist/esm/accordion/accordion.options.js.map +1 -0
  122. package/dist/esm/accordion/accordion.styles.js +1 -1
  123. package/dist/esm/accordion/accordion.styles.js.map +1 -1
  124. package/dist/esm/accordion/accordion.template.js +11 -1
  125. package/dist/esm/accordion/accordion.template.js.map +1 -1
  126. package/dist/esm/accordion-item/accordion-item.definition.js +0 -3
  127. package/dist/esm/accordion-item/accordion-item.definition.js.map +1 -1
  128. package/dist/esm/accordion-item/accordion-item.js +80 -4
  129. package/dist/esm/accordion-item/accordion-item.js.map +1 -1
  130. package/dist/esm/accordion-item/accordion-item.styles.js +1 -1
  131. package/dist/esm/accordion-item/accordion-item.styles.js.map +1 -1
  132. package/dist/esm/accordion-item/accordion-item.template.js +47 -2
  133. package/dist/esm/accordion-item/accordion-item.template.js.map +1 -1
  134. package/dist/esm/anchor-button/anchor-button.definition.js +0 -3
  135. package/dist/esm/anchor-button/anchor-button.definition.js.map +1 -1
  136. package/dist/esm/anchor-button/anchor-button.js +52 -4
  137. package/dist/esm/anchor-button/anchor-button.js.map +1 -1
  138. package/dist/esm/anchor-button/anchor-button.options.js +11 -0
  139. package/dist/esm/anchor-button/anchor-button.options.js.map +1 -1
  140. package/dist/esm/anchor-button/anchor-button.template.js +49 -1
  141. package/dist/esm/anchor-button/anchor-button.template.js.map +1 -1
  142. package/dist/esm/avatar/avatar.styles.js +5 -5
  143. package/dist/esm/avatar/avatar.styles.js.map +1 -1
  144. package/dist/esm/badge/badge.definition.js +0 -3
  145. package/dist/esm/badge/badge.definition.js.map +1 -1
  146. package/dist/esm/badge/badge.js +1 -1
  147. package/dist/esm/badge/badge.js.map +1 -1
  148. package/dist/esm/badge/badge.template.js +2 -2
  149. package/dist/esm/badge/badge.template.js.map +1 -1
  150. package/dist/esm/button/button.definition.js +0 -3
  151. package/dist/esm/button/button.definition.js.map +1 -1
  152. package/dist/esm/button/button.form-associated.js +14 -0
  153. package/dist/esm/button/button.form-associated.js.map +1 -0
  154. package/dist/esm/button/button.js +124 -4
  155. package/dist/esm/button/button.js.map +1 -1
  156. package/dist/esm/button/button.options.js +10 -0
  157. package/dist/esm/button/button.options.js.map +1 -1
  158. package/dist/esm/button/button.styles.js +2 -2
  159. package/dist/esm/button/button.styles.js.map +1 -1
  160. package/dist/esm/button/button.template.js +49 -1
  161. package/dist/esm/button/button.template.js.map +1 -1
  162. package/dist/esm/checkbox/checkbox.form-associated.js +14 -0
  163. package/dist/esm/checkbox/checkbox.form-associated.js.map +1 -0
  164. package/dist/esm/checkbox/checkbox.js +62 -4
  165. package/dist/esm/checkbox/checkbox.js.map +1 -1
  166. package/dist/esm/checkbox/checkbox.styles.js +1 -1
  167. package/dist/esm/checkbox/checkbox.styles.js.map +1 -1
  168. package/dist/esm/checkbox/checkbox.template.js +35 -7
  169. package/dist/esm/checkbox/checkbox.template.js.map +1 -1
  170. package/dist/esm/compound-button/compound-button.definition.js +0 -3
  171. package/dist/esm/compound-button/compound-button.definition.js.map +1 -1
  172. package/dist/esm/compound-button/compound-button.options.js.map +1 -1
  173. package/dist/esm/compound-button/compound-button.template.js +1 -1
  174. package/dist/esm/compound-button/compound-button.template.js.map +1 -1
  175. package/dist/esm/counter-badge/counter-badge.definition.js +0 -4
  176. package/dist/esm/counter-badge/counter-badge.definition.js.map +1 -1
  177. package/dist/esm/counter-badge/counter-badge.js +1 -1
  178. package/dist/esm/counter-badge/counter-badge.js.map +1 -1
  179. package/dist/esm/dialog/define.js +4 -0
  180. package/dist/esm/dialog/define.js.map +1 -0
  181. package/dist/esm/dialog/dialog.definition.js +17 -0
  182. package/dist/esm/dialog/dialog.definition.js.map +1 -0
  183. package/dist/esm/dialog/dialog.js +370 -0
  184. package/dist/esm/dialog/dialog.js.map +1 -0
  185. package/dist/esm/dialog/dialog.options.js +10 -0
  186. package/dist/esm/dialog/dialog.options.js.map +1 -0
  187. package/dist/esm/dialog/dialog.styles.js +102 -0
  188. package/dist/esm/dialog/dialog.styles.js.map +1 -0
  189. package/dist/esm/dialog/dialog.template.js +61 -0
  190. package/dist/esm/dialog/dialog.template.js.map +1 -0
  191. package/dist/esm/dialog/index.js +5 -0
  192. package/dist/esm/dialog/index.js.map +1 -0
  193. package/dist/esm/divider/divider.js +29 -4
  194. package/dist/esm/divider/divider.js.map +1 -1
  195. package/dist/esm/divider/divider.options.js +14 -5
  196. package/dist/esm/divider/divider.options.js.map +1 -1
  197. package/dist/esm/divider/divider.styles.js +1 -1
  198. package/dist/esm/divider/divider.styles.js.map +1 -1
  199. package/dist/esm/divider/divider.template.js +12 -1
  200. package/dist/esm/divider/divider.template.js.map +1 -1
  201. package/dist/esm/form-associated/form-associated.js +458 -0
  202. package/dist/esm/form-associated/form-associated.js.map +1 -0
  203. package/dist/esm/index.js +5 -0
  204. package/dist/esm/index.js.map +1 -1
  205. package/dist/esm/label/label.styles.js +1 -1
  206. package/dist/esm/label/label.styles.js.map +1 -1
  207. package/dist/esm/menu/define.js +4 -0
  208. package/dist/esm/menu/define.js.map +1 -0
  209. package/dist/esm/menu/index.js +5 -0
  210. package/dist/esm/menu/index.js.map +1 -0
  211. package/dist/esm/menu/menu.definition.js +17 -0
  212. package/dist/esm/menu/menu.definition.js.map +1 -0
  213. package/dist/esm/menu/menu.js +413 -0
  214. package/dist/esm/menu/menu.js.map +1 -0
  215. package/dist/esm/menu/menu.styles.js +17 -0
  216. package/dist/esm/menu/menu.styles.js.map +1 -0
  217. package/dist/esm/menu/menu.template.js +24 -0
  218. package/dist/esm/menu/menu.template.js.map +1 -0
  219. package/dist/esm/menu-button/menu-button.definition.js +0 -3
  220. package/dist/esm/menu-button/menu-button.definition.js.map +1 -1
  221. package/dist/esm/menu-button/menu-button.options.js.map +1 -1
  222. package/dist/esm/menu-button/menu-button.template.js +1 -1
  223. package/dist/esm/menu-button/menu-button.template.js.map +1 -1
  224. package/dist/esm/menu-item/menu-item.definition.js +0 -4
  225. package/dist/esm/menu-item/menu-item.definition.js.map +1 -1
  226. package/dist/esm/menu-item/menu-item.js +270 -4
  227. package/dist/esm/menu-item/menu-item.js.map +1 -1
  228. package/dist/esm/menu-item/menu-item.options.js +27 -0
  229. package/dist/esm/menu-item/menu-item.options.js.map +1 -0
  230. package/dist/esm/menu-item/menu-item.styles.js +1 -1
  231. package/dist/esm/menu-item/menu-item.styles.js.map +1 -1
  232. package/dist/esm/menu-item/menu-item.template.js +57 -2
  233. package/dist/esm/menu-item/menu-item.template.js.map +1 -1
  234. package/dist/esm/menu-list/menu-list.definition.js +0 -4
  235. package/dist/esm/menu-list/menu-list.definition.js.map +1 -1
  236. package/dist/esm/menu-list/menu-list.js +265 -10
  237. package/dist/esm/menu-list/menu-list.js.map +1 -1
  238. package/dist/esm/menu-list/menu-list.styles.js +1 -1
  239. package/dist/esm/menu-list/menu-list.styles.js.map +1 -1
  240. package/dist/esm/menu-list/menu-list.template.js +13 -1
  241. package/dist/esm/menu-list/menu-list.template.js.map +1 -1
  242. package/dist/esm/patterns/aria-globals.js +77 -0
  243. package/dist/esm/patterns/aria-globals.js.map +1 -0
  244. package/dist/esm/patterns/index.js +3 -0
  245. package/dist/esm/patterns/index.js.map +1 -0
  246. package/dist/esm/patterns/start-end.js +29 -0
  247. package/dist/esm/patterns/start-end.js.map +1 -0
  248. package/dist/esm/progress-bar/base-progress.js +61 -0
  249. package/dist/esm/progress-bar/base-progress.js.map +1 -0
  250. package/dist/esm/progress-bar/progress-bar.js +10 -3
  251. package/dist/esm/progress-bar/progress-bar.js.map +1 -1
  252. package/dist/esm/progress-bar/progress-bar.options.js.map +1 -1
  253. package/dist/esm/progress-bar/progress-bar.styles.js +1 -1
  254. package/dist/esm/progress-bar/progress-bar.styles.js.map +1 -1
  255. package/dist/esm/progress-bar/progress-bar.template.js +25 -1
  256. package/dist/esm/progress-bar/progress-bar.template.js.map +1 -1
  257. package/dist/esm/progress-ring/progress-ring.js +16 -0
  258. package/dist/esm/progress-ring/progress-ring.js.map +1 -0
  259. package/dist/esm/progress-ring/progress-ring.options.js +2 -0
  260. package/dist/esm/progress-ring/progress-ring.options.js.map +1 -0
  261. package/dist/esm/radio/radio.form-associated.js +14 -0
  262. package/dist/esm/radio/radio.form-associated.js.map +1 -0
  263. package/dist/esm/radio/radio.js +96 -3
  264. package/dist/esm/radio/radio.js.map +1 -1
  265. package/dist/esm/radio/radio.styles.js +1 -1
  266. package/dist/esm/radio/radio.styles.js.map +1 -1
  267. package/dist/esm/radio/radio.template.js +28 -2
  268. package/dist/esm/radio/radio.template.js.map +1 -1
  269. package/dist/esm/radio-group/index.js +0 -1
  270. package/dist/esm/radio-group/index.js.map +1 -1
  271. package/dist/esm/radio-group/radio-group.js +346 -3
  272. package/dist/esm/radio-group/radio-group.js.map +1 -1
  273. package/dist/esm/radio-group/radio-group.options.js +7 -0
  274. package/dist/esm/radio-group/radio-group.options.js.map +1 -0
  275. package/dist/esm/radio-group/radio-group.styles.js +1 -1
  276. package/dist/esm/radio-group/radio-group.styles.js.map +1 -1
  277. package/dist/esm/radio-group/radio-group.template.js +30 -1
  278. package/dist/esm/radio-group/radio-group.template.js.map +1 -1
  279. package/dist/esm/slider/slider-utilities.js +12 -0
  280. package/dist/esm/slider/slider-utilities.js.map +1 -0
  281. package/dist/esm/slider/slider.form-associated.js +14 -0
  282. package/dist/esm/slider/slider.form-associated.js.map +1 -0
  283. package/dist/esm/slider/slider.js +432 -16
  284. package/dist/esm/slider/slider.js.map +1 -1
  285. package/dist/esm/slider/slider.options.js +11 -1
  286. package/dist/esm/slider/slider.options.js.map +1 -1
  287. package/dist/esm/slider/slider.styles.js +1 -1
  288. package/dist/esm/slider/slider.styles.js.map +1 -1
  289. package/dist/esm/slider/slider.template.js +38 -1
  290. package/dist/esm/slider/slider.template.js.map +1 -1
  291. package/dist/esm/spinner/spinner.definition.js +0 -4
  292. package/dist/esm/spinner/spinner.definition.js.map +1 -1
  293. package/dist/esm/spinner/spinner.js +2 -2
  294. package/dist/esm/spinner/spinner.js.map +1 -1
  295. package/dist/esm/spinner/spinner.styles.js +1 -1
  296. package/dist/esm/spinner/spinner.styles.js.map +1 -1
  297. package/dist/esm/spinner/spinner.template.js +27 -1
  298. package/dist/esm/spinner/spinner.template.js.map +1 -1
  299. package/dist/esm/styles/partials/badge.partials.js +1 -1
  300. package/dist/esm/styles/partials/badge.partials.js.map +1 -1
  301. package/dist/esm/switch/switch.form-associated.js +14 -0
  302. package/dist/esm/switch/switch.form-associated.js.map +1 -0
  303. package/dist/esm/switch/switch.js +48 -3
  304. package/dist/esm/switch/switch.js.map +1 -1
  305. package/dist/esm/switch/switch.styles.js +4 -3
  306. package/dist/esm/switch/switch.styles.js.map +1 -1
  307. package/dist/esm/switch/switch.template.js +25 -1
  308. package/dist/esm/switch/switch.template.js.map +1 -1
  309. package/dist/esm/tab/tab.js +14 -3
  310. package/dist/esm/tab/tab.js.map +1 -1
  311. package/dist/esm/tab/tab.styles.js +1 -1
  312. package/dist/esm/tab/tab.styles.js.map +1 -1
  313. package/dist/esm/tab/tab.template.js +1 -1
  314. package/dist/esm/tab/tab.template.js.map +1 -1
  315. package/dist/esm/tab-panel/tab-panel.js +2 -2
  316. package/dist/esm/tab-panel/tab-panel.js.map +1 -1
  317. package/dist/esm/tab-panel/tab-panel.styles.js +1 -1
  318. package/dist/esm/tab-panel/tab-panel.styles.js.map +1 -1
  319. package/dist/esm/tab-panel/tab-panel.template.js +8 -1
  320. package/dist/esm/tab-panel/tab-panel.template.js.map +1 -1
  321. package/dist/esm/tabs/tabs.js +278 -5
  322. package/dist/esm/tabs/tabs.js.map +1 -1
  323. package/dist/esm/tabs/tabs.options.js +6 -2
  324. package/dist/esm/tabs/tabs.options.js.map +1 -1
  325. package/dist/esm/tabs/tabs.styles.js +1 -1
  326. package/dist/esm/tabs/tabs.styles.js.map +1 -1
  327. package/dist/esm/tabs/tabs.template.js +14 -1
  328. package/dist/esm/tabs/tabs.template.js.map +1 -1
  329. package/dist/esm/text/text.styles.js +1 -1
  330. package/dist/esm/text/text.styles.js.map +1 -1
  331. package/dist/esm/text-input/index.js +0 -1
  332. package/dist/esm/text-input/index.js.map +1 -1
  333. package/dist/esm/text-input/text-field.form-associated.js +14 -0
  334. package/dist/esm/text-input/text-field.form-associated.js.map +1 -0
  335. package/dist/esm/text-input/text-input.js +167 -7
  336. package/dist/esm/text-input/text-input.js.map +1 -1
  337. package/dist/esm/text-input/text-input.options.js +26 -0
  338. package/dist/esm/text-input/text-input.options.js.map +1 -1
  339. package/dist/esm/text-input/text-input.styles.js +1 -1
  340. package/dist/esm/text-input/text-input.styles.js.map +1 -1
  341. package/dist/esm/text-input/text-input.template.js +64 -1
  342. package/dist/esm/text-input/text-input.template.js.map +1 -1
  343. package/dist/esm/theme/design-tokens.js +385 -386
  344. package/dist/esm/theme/design-tokens.js.map +1 -1
  345. package/dist/esm/theme/set-theme.js +2 -2
  346. package/dist/esm/theme/set-theme.js.map +1 -1
  347. package/dist/esm/toggle-button/toggle-button.definition.js +0 -2
  348. package/dist/esm/toggle-button/toggle-button.definition.js.map +1 -1
  349. package/dist/esm/toggle-button/toggle-button.options.js.map +1 -1
  350. package/dist/esm/toggle-button/toggle-button.styles.js +1 -1
  351. package/dist/esm/toggle-button/toggle-button.styles.js.map +1 -1
  352. package/dist/esm/toggle-button/toggle-button.template.js +1 -1
  353. package/dist/esm/toggle-button/toggle-button.template.js.map +1 -1
  354. package/dist/esm/utils/behaviors/match-media-stylesheet-behavior.js +142 -0
  355. package/dist/esm/utils/behaviors/match-media-stylesheet-behavior.js.map +1 -0
  356. package/dist/esm/utils/benchmark-dependencies/tokens.js +2 -0
  357. package/dist/esm/utils/benchmark-dependencies/tokens.js.map +1 -0
  358. package/dist/esm/utils/benchmark-wrapper.js +18 -0
  359. package/dist/esm/utils/benchmark-wrapper.js.map +1 -0
  360. package/dist/esm/utils/direction.js +15 -0
  361. package/dist/esm/utils/direction.js.map +1 -0
  362. package/dist/esm/utils/display.js +15 -0
  363. package/dist/esm/utils/display.js.map +1 -0
  364. package/dist/esm/utils/index.js +7 -0
  365. package/dist/esm/utils/index.js.map +1 -0
  366. package/dist/esm/utils/template-helpers.js +19 -0
  367. package/dist/esm/utils/template-helpers.js.map +1 -0
  368. package/dist/esm/utils/typings.js +3 -0
  369. package/dist/esm/utils/typings.js.map +1 -0
  370. package/dist/esm/utils/whitespace-filter.js +13 -0
  371. package/dist/esm/utils/whitespace-filter.js.map +1 -0
  372. package/dist/fluent-web-components.api.json +16013 -6435
  373. package/dist/storybook/289.703b1698.iframe.bundle.js +2 -0
  374. package/dist/storybook/{885.6558041f.iframe.bundle.js.LICENSE.txt → 289.703b1698.iframe.bundle.js.LICENSE.txt} +5 -0
  375. package/dist/storybook/591.f5bf0d78d2f203de19f5.manager.bundle.js +2 -0
  376. package/dist/storybook/iframe.html +1 -1
  377. package/dist/storybook/index.html +1 -1
  378. package/dist/storybook/{main.18c2c615e57574af12cd.manager.bundle.js → main.5d7b916dc1e37293b1d8.manager.bundle.js} +1 -1
  379. package/dist/storybook/main.81e47c59.iframe.bundle.js +2 -0
  380. package/dist/storybook/main.81e47c59.iframe.bundle.js.LICENSE.txt +1 -0
  381. package/dist/storybook/project.json +1 -1
  382. package/dist/storybook/runtime~main.dbf00b470fe610082919.manager.bundle.js +1 -0
  383. package/dist/web-components.d.ts +3213 -669
  384. package/dist/web-components.js +2530 -3937
  385. package/dist/web-components.min.js +195 -186
  386. package/docs/api-report.md +1104 -476
  387. package/package.json +43 -30
  388. package/tensile.config.js +22 -0
  389. package/dist/storybook/761.21909e5ef44f985ae0d4.manager.bundle.js +0 -2
  390. package/dist/storybook/885.6558041f.iframe.bundle.js +0 -462
  391. package/dist/storybook/885.6558041f.iframe.bundle.js.map +0 -1
  392. package/dist/storybook/main.2c02ce39.iframe.bundle.js +0 -1
  393. package/dist/storybook/runtime~main.8db883e762072830487f.manager.bundle.js +0 -1
  394. /package/dist/storybook/{761.21909e5ef44f985ae0d4.manager.bundle.js.LICENSE.txt → 591.f5bf0d78d2f203de19f5.manager.bundle.js.LICENSE.txt} +0 -0
@@ -1,53 +1,67 @@
1
- import type { AnchorOptions as AnchorButtonOptions } from '@microsoft/fast-foundation/anchor.js';
2
- import type { ButtonOptions } from '@microsoft/fast-foundation/button.js';
3
- import { CSSDesignToken } from '@microsoft/fast-foundation/design-token.js';
4
- import { DividerOrientation } from '@microsoft/fast-foundation/divider.js';
5
- import { DividerRole } from '@microsoft/fast-foundation/divider.js';
1
+ import type { Constructable } from '@microsoft/fast-element';
2
+ import { Direction } from '@microsoft/fast-web-utilities';
6
3
  import { ElementStyles } from '@microsoft/fast-element';
7
4
  import { ElementViewTemplate } from '@microsoft/fast-element';
8
- import { FASTAccordion } from '@microsoft/fast-foundation/accordion.js';
9
- import { FASTAccordionItem } from '@microsoft/fast-foundation/accordion-item.js';
10
- import { FASTAnchor } from '@microsoft/fast-foundation/anchor.js';
11
- import { FASTButton } from '@microsoft/fast-foundation/button.js';
12
- import { FASTCheckbox } from '@microsoft/fast-foundation/checkbox.js';
13
- import { FASTDivider } from '@microsoft/fast-foundation/divider.js';
14
5
  import { FASTElement } from '@microsoft/fast-element';
15
6
  import { FASTElementDefinition } from '@microsoft/fast-element';
16
- import { FASTMenu } from '@microsoft/fast-foundation/menu.js';
17
- import { FASTMenuItem } from '@microsoft/fast-foundation/menu-item.js';
18
- import { FASTProgress } from '@microsoft/fast-foundation/progress.js';
19
- import { FASTProgressRing } from '@microsoft/fast-foundation/progress-ring.js';
20
- import { FASTRadio } from '@microsoft/fast-foundation/radio.js';
21
- import { FASTRadioGroup } from '@microsoft/fast-foundation/radio-group.js';
22
- import { FASTSlider } from '@microsoft/fast-foundation/slider.js';
23
- import { FASTSwitch } from '@microsoft/fast-foundation/switch.js';
24
- import { FASTTab } from '@microsoft/fast-foundation/tab.js';
25
- import { FASTTabPanel } from '@microsoft/fast-foundation/tab-panel.js';
26
- import { FASTTabs } from '@microsoft/fast-foundation/tabs.js';
27
- import { FASTTextField } from '@microsoft/fast-foundation/text-field.js';
28
- import { MenuItemRole } from '@microsoft/fast-foundation/menu-item.js';
29
- import { RadioGroupOrientation } from '@microsoft/fast-foundation/radio-group.js';
30
- import { SliderOrientation } from '@microsoft/fast-foundation/slider.js';
31
- import { StartEnd } from '@microsoft/fast-foundation/patterns.js';
32
- import { StartEndOptions } from '@microsoft/fast-foundation/patterns.js';
33
- import type { StaticallyComposableHTML } from '@microsoft/fast-foundation/utilities.js';
34
- import { TabsOrientation } from '@microsoft/fast-foundation/tabs.js';
35
- import { TextFieldType as TextInputType } from '@microsoft/fast-foundation/text-field.js';
7
+ import type { HostBehavior } from '@microsoft/fast-element';
8
+ import type { HostController } from '@microsoft/fast-element';
9
+ import { HTMLDirective } from '@microsoft/fast-element';
10
+ import { Orientation } from '@microsoft/fast-web-utilities';
11
+ import type { SyntheticViewTemplate } from '@microsoft/fast-element';
36
12
  import type { Theme } from '@fluentui/tokens';
37
- import type { ValuesOf } from '@microsoft/fast-foundation/utilities.js';
38
13
 
39
14
  /**
40
- * The base class used for constructing a fluent-accordion custom element
15
+ * An Accordion Custom HTML Element
16
+ * Implements {@link https://www.w3.org/TR/wai-aria-practices-1.1/#accordion | ARIA Accordion}.
17
+ *
18
+ * @fires change - Fires a custom 'change' event when the active item changes
19
+ * @csspart item - The slot for the accordion items
41
20
  * @public
42
21
  */
43
- export declare class Accordion extends FASTAccordion {
22
+ export declare class Accordion extends FASTElement {
23
+ /**
24
+ * Controls the expand mode of the Accordion, either allowing
25
+ * single or multiple item expansion.
26
+ * @public
27
+ *
28
+ * @remarks
29
+ * HTML attribute: expand-mode
30
+ */
31
+ expandmode: AccordionExpandMode;
32
+ expandmodeChanged(prev: AccordionExpandMode, next: AccordionExpandMode): void;
33
+ /**
34
+ * @internal
35
+ */
36
+ slottedAccordionItems: HTMLElement[];
37
+ protected accordionItems: Element[];
38
+ /**
39
+ * @internal
40
+ */
41
+ slottedAccordionItemsChanged(oldValue: HTMLElement[], newValue: HTMLElement[]): void;
42
+ /**
43
+ * @internal
44
+ */
45
+ handleChange(source: any, propertyName: string): void;
46
+ private activeid;
47
+ private activeItemIndex;
48
+ private accordionIds;
49
+ private change;
50
+ private findExpandedItem;
51
+ private setItems;
52
+ private setSingleExpandMode;
53
+ private removeItemListeners;
54
+ private activeItemChange;
55
+ private handleExpandedChange;
56
+ private getItemIds;
57
+ private isSingleExpandMode;
58
+ private handleItemKeyDown;
59
+ private handleItemFocus;
60
+ private adjust;
61
+ private focusItem;
44
62
  }
45
63
 
46
64
  /**
47
- * The Fluent Accordion Element. Implements {@link @microsoft/fast-foundation#Accordion },
48
- * {@link @microsoft/fast-foundation#accordionTemplate}
49
- *
50
- *
51
65
  * @public
52
66
  * @remarks
53
67
  * HTML Element: \<fluent-accordion\>
@@ -55,9 +69,72 @@ export declare class Accordion extends FASTAccordion {
55
69
  export declare const accordionDefinition: FASTElementDefinition<typeof Accordion>;
56
70
 
57
71
  /**
58
- * @internal
72
+ * Expand mode for {@link FASTAccordion}
73
+ * @public
74
+ */
75
+ declare const AccordionExpandMode: {
76
+ readonly single: "single";
77
+ readonly multi: "multi";
78
+ };
79
+
80
+ /**
81
+ * Type for the {@link FASTAccordion} Expand Mode
82
+ * @public
83
+ */
84
+ declare type AccordionExpandMode = ValuesOf<typeof AccordionExpandMode>;
85
+
86
+ /**
87
+ *
88
+ * @slot start - Content which can be provided between the heading and the icon
89
+ * @slot end - Content which can be provided between the start slot and icon
90
+ * @slot heading - Content which serves as the accordion item heading and text of the expand button
91
+ * @slot - The default slot for accordion item content
92
+ * @slot expanded-icon - The expanded icon
93
+ * @slot collapsed-icon - The collapsed icon
94
+ * @fires change - Fires a custom 'change' event when the button is invoked
95
+ * @csspart heading - Wraps the button
96
+ * @csspart button - The button which serves to invoke the item
97
+ * @csspart heading-content - Wraps the slot for the heading content within the button
98
+ * @csspart icon - The icon container
99
+ * @csspart region - The wrapper for the accordion item content
100
+ *
101
+ * @public
59
102
  */
60
- export declare class AccordionItem extends FASTAccordionItem {
103
+ export declare class AccordionItem extends FASTElement {
104
+ /**
105
+ * Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the
106
+ * heading element.
107
+ *
108
+ * @defaultValue 2
109
+ * @public
110
+ * @remarks
111
+ * HTML attribute: heading-level
112
+ */
113
+ headinglevel: 1 | 2 | 3 | 4 | 5 | 6;
114
+ /**
115
+ * Expands or collapses the item.
116
+ *
117
+ * @public
118
+ * @remarks
119
+ * HTML attribute: expanded
120
+ */
121
+ expanded: boolean;
122
+ /**
123
+ * Disables an accordion item
124
+ *
125
+ * @public
126
+ * @remarks
127
+ * HTML attribute: disabled
128
+ */
129
+ disabled: boolean;
130
+ /**
131
+ * The item ID
132
+ *
133
+ * @public
134
+ * @remarks
135
+ * HTML Attribute: id
136
+ */
137
+ id: string;
61
138
  /**
62
139
  * Defines accordion header font size.
63
140
  *
@@ -84,12 +161,26 @@ export declare class AccordionItem extends FASTAccordionItem {
84
161
  * HTML Attribute: expandIconPosition
85
162
  */
86
163
  expandIconPosition?: AccordionItemExpandIconPosition;
164
+ /**
165
+ * @internal
166
+ */
167
+ expandbutton: HTMLElement;
168
+ /**
169
+ * @internal
170
+ */
171
+ clickHandler: (e: MouseEvent) => void;
172
+ }
173
+
174
+ /**
175
+ * Mark internal because exporting class and interface of the same name
176
+ * confuses API documenter.
177
+ * TODO: https://github.com/microsoft/fast/issues/3317
178
+ * @internal
179
+ */
180
+ export declare interface AccordionItem extends StartEnd {
87
181
  }
88
182
 
89
183
  /**
90
- * The Fluent AccordionItem Element. Implements {@link @microsoft/fast-foundation#AccordionItem },
91
- * {@link @microsoft/fast-foundation#accordionItemTemplate}
92
- *
93
184
  *
94
185
  * @public
95
186
  * @remarks
@@ -111,6 +202,15 @@ export declare const AccordionItemExpandIconPosition: {
111
202
  */
112
203
  export declare type AccordionItemExpandIconPosition = ValuesOf<typeof AccordionItemExpandIconPosition>;
113
204
 
205
+ /**
206
+ * Accordion Item configuration options
207
+ * @public
208
+ */
209
+ export declare type AccordionItemOptions = StartEndOptions<AccordionItem> & {
210
+ expandedIcon?: StaticallyComposableHTML<AccordionItem>;
211
+ collapsedIcon?: StaticallyComposableHTML<AccordionItem>;
212
+ };
213
+
114
214
  /**
115
215
  * An Accordion Item header font size can be small, medium, large, and extra-large
116
216
  */
@@ -140,10 +240,85 @@ export declare const accordionStyles: ElementStyles;
140
240
  export declare const accordionTemplate: ElementViewTemplate<Accordion>;
141
241
 
142
242
  /**
143
- * The base class used for constructing a fluent-anchor-button custom element
243
+ * An Anchor Custom HTML Element.
244
+ * Based largely on the {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element }.
245
+ *
246
+ * @slot start - Content which can be provided before the anchor content
247
+ * @slot end - Content which can be provided after the anchor content
248
+ * @slot - The default slot for anchor content
249
+ * @csspart control - The anchor element
250
+ * @csspart content - The element wrapping anchor content
251
+ *
144
252
  * @public
145
253
  */
146
- export declare class AnchorButton extends FASTAnchor {
254
+ export declare class AnchorButton extends FASTElement {
255
+ /**
256
+ * Prompts the user to save the linked URL. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.
257
+ * @public
258
+ * @remarks
259
+ * HTML Attribute: download
260
+ */
261
+ download: string;
262
+ /**
263
+ * The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.
264
+ * @public
265
+ * @remarks
266
+ * HTML Attribute: href
267
+ */
268
+ href: string;
269
+ /**
270
+ * Hints at the language of the referenced resource. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.
271
+ * @public
272
+ * @remarks
273
+ * HTML Attribute: hreflang
274
+ */
275
+ hreflang: string;
276
+ /**
277
+ * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.
278
+ * @public
279
+ * @remarks
280
+ * HTML Attribute: ping
281
+ */
282
+ ping: string;
283
+ /**
284
+ * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.
285
+ * @public
286
+ * @remarks
287
+ * HTML Attribute: referrerpolicy
288
+ */
289
+ referrerpolicy: string;
290
+ /**
291
+ * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.
292
+ * @public
293
+ * @remarks
294
+ * HTML Attribute: rel
295
+ */
296
+ rel: string;
297
+ /**
298
+ * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.
299
+ * @public
300
+ * @remarks
301
+ * HTML Attribute: target
302
+ */
303
+ target: AnchorTarget;
304
+ /**
305
+ * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.
306
+ * @public
307
+ * @remarks
308
+ * HTML Attribute: type
309
+ */
310
+ type: string;
311
+ /**
312
+ *
313
+ * Default slotted content
314
+ *
315
+ * @internal
316
+ */
317
+ defaultSlottedContent: HTMLElement[];
318
+ /**
319
+ * References the root element
320
+ */
321
+ control: HTMLAnchorElement;
147
322
  /**
148
323
  * The appearance the anchor button should have.
149
324
  *
@@ -202,6 +377,15 @@ export declare class AnchorButton extends FASTAnchor {
202
377
  disconnectedCallback(): void;
203
378
  }
204
379
 
380
+ /**
381
+ * Mark internal because exporting class and interface of the same name
382
+ * confuses API documenter.
383
+ * TODO: https://github.com/microsoft/fast/issues/3317
384
+ * @internal
385
+ */
386
+ export declare interface AnchorButton extends StartEnd, DelegatesARIALink {
387
+ }
388
+
205
389
  /**
206
390
  * Anchor Button Appearance constants
207
391
  * @public
@@ -221,17 +405,12 @@ export declare const AnchorButtonAppearance: {
221
405
  export declare type AnchorButtonAppearance = ValuesOf<typeof AnchorButtonAppearance>;
222
406
 
223
407
  /**
224
- * The Fluent Anchor Button Element. Implements {@link @microsoft/fast-foundation#Anchor },
225
- * {@link @microsoft/fast-foundation#anchorTemplate}
226
- *
227
408
  * @public
228
409
  * @remarks
229
410
  * HTML Element: \<fluent-anchor-button\>
230
411
  */
231
412
  export declare const AnchorButtonDefinition: FASTElementDefinition<typeof AnchorButton>;
232
413
 
233
- export { AnchorButtonOptions }
234
-
235
414
  /**
236
415
  * An Anchor Button can be square, circular or rounded.
237
416
  * @public
@@ -270,6 +449,223 @@ export declare type AnchorButtonSize = ValuesOf<typeof AnchorButtonSize>;
270
449
  */
271
450
  export declare const AnchorButtonTemplate: ElementViewTemplate<AnchorButton>;
272
451
 
452
+ /**
453
+ * Anchor configuration options
454
+ * @public
455
+ */
456
+ declare type AnchorOptions = StartEndOptions<AnchorButton>;
457
+ export { AnchorOptions as AnchorButtonOptions }
458
+ export { AnchorOptions }
459
+
460
+ /**
461
+ * Anchor target values.
462
+ *
463
+ * @public
464
+ */
465
+ export declare const AnchorTarget: {
466
+ readonly _self: "_self";
467
+ readonly _blank: "_blank";
468
+ readonly _parent: "_parent";
469
+ readonly _top: "_top";
470
+ };
471
+
472
+ /**
473
+ * Type for anchor target values.
474
+ *
475
+ * @public
476
+ */
477
+ export declare type AnchorTarget = ValuesOf<typeof AnchorTarget>;
478
+
479
+ /**
480
+ * Some states and properties are applicable to all host language elements regardless of whether a role is applied.
481
+ * The following global states and properties are supported by all roles and by all base markup elements.
482
+ * {@link https://www.w3.org/TR/wai-aria-1.1/#global_states}
483
+ *
484
+ * This is intended to be used as a mixin. Be sure you extend FASTElement.
485
+ *
486
+ * @public
487
+ */
488
+ declare class ARIAGlobalStatesAndProperties {
489
+ /**
490
+ * Indicates whether assistive technologies will present all, or only parts of,
491
+ * the changed region based on the change notifications defined by the aria-relevant attribute.
492
+ * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-atomic}
493
+ *
494
+ * @public
495
+ * @remarks
496
+ * HTML Attribute: aria-atomic
497
+ */
498
+ ariaAtomic: 'true' | 'false' | string | null;
499
+ /**
500
+ * Indicates an element is being modified and that assistive technologies MAY want to wait
501
+ * until the modifications are complete before exposing them to the user.
502
+ * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-busy}
503
+ *
504
+ * @public
505
+ * @remarks
506
+ * HTML Attribute: aria-busy
507
+ */
508
+ ariaBusy: 'true' | 'false' | string | null;
509
+ /**
510
+ * Identifies the element (or elements) whose contents or presence are controlled by the current element.
511
+ *
512
+ * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-controls}
513
+ * @public
514
+ * @remarks
515
+ * HTML Attribute: aria-controls
516
+ */
517
+ ariaControls: string | null;
518
+ /**
519
+ * Indicates the element that represents the current item within a container or set of related elements.
520
+ *
521
+ * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-current}
522
+ * @public
523
+ * @remarks
524
+ * HTML Attribute: aria-current
525
+ */
526
+ ariaCurrent: 'page' | 'step' | 'location' | 'date' | 'time' | 'true' | 'false' | string | null;
527
+ /**
528
+ * Identifies the element (or elements) that describes the object.
529
+ *
530
+ * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-describedby}
531
+ * @public
532
+ * @remarks
533
+ * HTML Attribute: aria-describedby
534
+ */
535
+ ariaDescribedby: string | null;
536
+ /**
537
+ * Identifies the element that provides a detailed, extended description for the object.
538
+ *
539
+ * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-details}
540
+ * @public
541
+ * @remarks
542
+ * HTML Attribute: aria-details
543
+ */
544
+ ariaDetails: string | null;
545
+ /**
546
+ * Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
547
+ *
548
+ * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-disabled}
549
+ * @public
550
+ * @remarks
551
+ * HTML Attribute: aria-disabled
552
+ */
553
+ ariaDisabled: 'true' | 'false' | string | null;
554
+ /**
555
+ * Identifies the element that provides an error message for the object.
556
+ *
557
+ * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage}
558
+ * @public
559
+ * @remarks
560
+ * HTML Attribute: aria-errormessage
561
+ */
562
+ ariaErrormessage: string | null;
563
+ /**
564
+ * Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,
565
+ * allows assistive technology to override the general default of reading in document source order.
566
+ *
567
+ * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-flowto}
568
+ * @public
569
+ * @remarks
570
+ * HTML Attribute: aria-flowto
571
+ */
572
+ ariaFlowto: string | null;
573
+ /**
574
+ * Indicates the availability and type of interactive popup element,
575
+ * such as menu or dialog, that can be triggered by an element.
576
+ *
577
+ * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup}
578
+ * @public
579
+ * @remarks
580
+ * HTML Attribute: aria-haspopup
581
+ */
582
+ ariaHaspopup: 'false' | 'true' | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog' | string | null;
583
+ /**
584
+ * Indicates whether the element is exposed to an accessibility API
585
+ *
586
+ * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-hidden}
587
+ * @public
588
+ * @remarks
589
+ * HTML Attribute: aria-hidden
590
+ */
591
+ ariaHidden: 'false' | 'true' | string | null;
592
+ /**
593
+ * Indicates the entered value does not conform to the format expected by the application.
594
+ *
595
+ * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-invalid}
596
+ * @public
597
+ * @remarks
598
+ * HTML Attribute: aria-invalid
599
+ */
600
+ ariaInvalid: 'false' | 'true' | 'grammar' | 'spelling' | string | null;
601
+ /**
602
+ * Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
603
+ *
604
+ * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-keyshortcuts}
605
+ * @public
606
+ * @remarks
607
+ * HTML Attribute: aria-keyshortcuts
608
+ */
609
+ ariaKeyshortcuts: string | null;
610
+ /**
611
+ * Defines a string value that labels the current element.
612
+ *
613
+ * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-label}
614
+ * @public
615
+ * @remarks
616
+ * HTML Attribute: aria-label
617
+ */
618
+ ariaLabel: string | null;
619
+ /**
620
+ * Identifies the element (or elements) that labels the current element.
621
+ *
622
+ * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby}
623
+ * @public
624
+ * @remarks
625
+ * HTML Attribute: aria-labelledby
626
+ */
627
+ ariaLabelledby: string | null;
628
+ /**
629
+ * Indicates that an element will be updated, and describes the types of updates the user agents,
630
+ * assistive technologies, and user can expect from the live region.
631
+ *
632
+ * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-live}
633
+ * @public
634
+ * @remarks
635
+ * HTML Attribute: aria-live
636
+ */
637
+ ariaLive: 'assertive' | 'off' | 'polite' | string | null;
638
+ /**
639
+ * Identifies an element (or elements) in order to define a visual,
640
+ * functional, or contextual parent/child relationship between DOM elements
641
+ * where the DOM hierarchy cannot be used to represent the relationship.
642
+ *
643
+ * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-owns}
644
+ * @public
645
+ * @remarks
646
+ * HTML Attribute: aria-owns
647
+ */
648
+ ariaOwns: string | null;
649
+ /**
650
+ * Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
651
+ *
652
+ * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-relevant}
653
+ * @public
654
+ * @remarks
655
+ * HTML Attribute: aria-relevant
656
+ */
657
+ ariaRelevant: 'additions' | 'additions text' | 'all' | 'removals' | 'text' | string | null;
658
+ /**
659
+ * Defines a human-readable, author-localized description for the role of an element.
660
+ *
661
+ * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-roledescription}
662
+ * @public
663
+ * @remarks
664
+ * HTML Attribute: aria-roledescription
665
+ */
666
+ ariaRoledescription: string | null;
667
+ }
668
+
273
669
  /**
274
670
  * The base class used for constructing a fluent-avatar custom element
275
671
  * @public
@@ -622,9 +1018,6 @@ export declare const BadgeColor: {
622
1018
  export declare type BadgeColor = ValuesOf<typeof BadgeColor>;
623
1019
 
624
1020
  /**
625
- * The Fluent Badge Element. Implements {@link @microsoft/fast-foundation#Badge },
626
- * {@link @microsoft/fast-foundation#badgeTemplate}
627
- *
628
1021
  *
629
1022
  * @public
630
1023
  * @remarks
@@ -681,49 +1074,257 @@ export declare const BadgeStyles: ElementStyles;
681
1074
 
682
1075
  export declare const BadgeTemplate: ElementViewTemplate<Badge>;
683
1076
 
684
- export declare const borderRadiusCircular: CSSDesignToken<string>;
685
-
686
- export declare const borderRadiusLarge: CSSDesignToken<string>;
687
-
688
- export declare const borderRadiusMedium: CSSDesignToken<string>;
689
-
690
- export declare const borderRadiusNone: CSSDesignToken<string>;
691
-
692
- export declare const borderRadiusSmall: CSSDesignToken<string>;
693
-
694
- export declare const borderRadiusXLarge: CSSDesignToken<string>;
695
-
696
1077
  /**
697
- * The base class used for constructing a fluent-button custom element
1078
+ * A base class for progress components.
698
1079
  * @public
699
1080
  */
700
- export declare class Button extends FASTButton {
1081
+ declare class BaseProgress extends FASTElement {
701
1082
  /**
702
- * The appearance the button should have.
703
- *
1083
+ * The value of the progress
704
1084
  * @public
705
1085
  * @remarks
706
- * HTML Attribute: appearance
1086
+ * HTML Attribute: value
707
1087
  */
708
- appearance?: ButtonAppearance | undefined;
1088
+ value: number | null;
1089
+ protected valueChanged(): void;
709
1090
  /**
710
- * The shape the button should have.
711
- *
1091
+ * The minimum value
712
1092
  * @public
713
1093
  * @remarks
714
- * HTML Attribute: shape
1094
+ * HTML Attribute: min
715
1095
  */
716
- shape?: ButtonShape | undefined;
1096
+ min: number;
1097
+ protected minChanged(): void;
717
1098
  /**
718
- * The size the button should have.
719
- *
1099
+ * The maximum value
720
1100
  * @public
721
1101
  * @remarks
722
- * HTML Attribute: size
1102
+ * HTML Attribute: max
723
1103
  */
724
- size?: ButtonSize;
1104
+ max: number;
1105
+ protected maxChanged(): void;
725
1106
  /**
726
- * The button has an icon only, no text content
1107
+ * Indicates progress in %
1108
+ * @internal
1109
+ */
1110
+ percentComplete: number;
1111
+ /**
1112
+ * @internal
1113
+ */
1114
+ connectedCallback(): void;
1115
+ private updatePercentComplete;
1116
+ }
1117
+
1118
+ /**
1119
+ *
1120
+ * @class TabList component
1121
+ * @public
1122
+ */
1123
+ export declare class BaseTabs extends FASTElement {
1124
+ /**
1125
+ * The orientation
1126
+ * @public
1127
+ * @remarks
1128
+ * HTML Attribute: orientation
1129
+ */
1130
+ orientation: TabsOrientation;
1131
+ /**
1132
+ * @internal
1133
+ */
1134
+ orientationChanged(): void;
1135
+ /**
1136
+ * The id of the active tab
1137
+ *
1138
+ * @public
1139
+ * @remarks
1140
+ * HTML Attribute: activeid
1141
+ */
1142
+ activeid: string;
1143
+ /**
1144
+ * @internal
1145
+ */
1146
+ activeidChanged(oldValue: string, newValue: string): void;
1147
+ /**
1148
+ * @internal
1149
+ */
1150
+ tabs: HTMLElement[];
1151
+ /**
1152
+ * @internal
1153
+ */
1154
+ tabsChanged(): void;
1155
+ /**
1156
+ * @internal
1157
+ */
1158
+ tabpanels: HTMLElement[];
1159
+ /**
1160
+ * @internal
1161
+ */
1162
+ tabpanelsChanged(): void;
1163
+ /**
1164
+ * A reference to the active tab
1165
+ * @public
1166
+ */
1167
+ activetab: HTMLElement;
1168
+ private prevActiveTabIndex;
1169
+ private activeTabIndex;
1170
+ private tabIds;
1171
+ private tabpanelIds;
1172
+ private change;
1173
+ private isDisabledElement;
1174
+ private isHiddenElement;
1175
+ private isFocusableElement;
1176
+ private getActiveIndex;
1177
+ /**
1178
+ * Function that is invoked whenever the selected tab or the tab collection changes.
1179
+ *
1180
+ * @public
1181
+ */
1182
+ protected setTabs(): void;
1183
+ private setTabPanels;
1184
+ private getTabIds;
1185
+ private getTabPanelIds;
1186
+ private setComponent;
1187
+ private handleTabClick;
1188
+ private isHorizontal;
1189
+ private handleTabKeyDown;
1190
+ /**
1191
+ * The adjust method for FASTTabs
1192
+ * @public
1193
+ * @remarks
1194
+ * This method allows the active index to be adjusted by numerical increments
1195
+ */
1196
+ adjust(adjustment: number): void;
1197
+ private adjustForward;
1198
+ private adjustBackward;
1199
+ private moveToTabByIndex;
1200
+ private focusTab;
1201
+ /**
1202
+ * @internal
1203
+ */
1204
+ connectedCallback(): void;
1205
+ }
1206
+
1207
+ export declare const borderRadiusCircular = "var(--borderRadiusCircular)";
1208
+
1209
+ export declare const borderRadiusLarge = "var(--borderRadiusLarge)";
1210
+
1211
+ export declare const borderRadiusMedium = "var(--borderRadiusMedium)";
1212
+
1213
+ export declare const borderRadiusNone = "var(--borderRadiusNone)";
1214
+
1215
+ export declare const borderRadiusSmall = "var(--borderRadiusSmall)";
1216
+
1217
+ export declare const borderRadiusXLarge = "var(--borderRadiusXLarge)";
1218
+
1219
+ /**
1220
+ * A Button Custom HTML Element.
1221
+ * Based largely on the {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element }.
1222
+ *
1223
+ * @slot start - Content which can be provided before the button content
1224
+ * @slot end - Content which can be provided after the button content
1225
+ * @slot - The default slot for button content
1226
+ * @csspart control - The button element
1227
+ * @csspart content - The element wrapping button content
1228
+ *
1229
+ * @public
1230
+ */
1231
+ export declare class Button extends FormAssociatedButton {
1232
+ /**
1233
+ * Determines if the element should receive document focus on page load.
1234
+ *
1235
+ * @public
1236
+ * @remarks
1237
+ * HTML Attribute: autofocus
1238
+ */
1239
+ autofocus: boolean;
1240
+ /**
1241
+ * The id of a form to associate the element to.
1242
+ *
1243
+ * @public
1244
+ * @remarks
1245
+ * HTML Attribute: form
1246
+ */
1247
+ formId: string;
1248
+ /**
1249
+ * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element} for more details.
1250
+ *
1251
+ * @public
1252
+ * @remarks
1253
+ * HTML Attribute: formaction
1254
+ */
1255
+ formaction: string;
1256
+ protected formactionChanged(): void;
1257
+ /**
1258
+ * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element} for more details.
1259
+ *
1260
+ * @public
1261
+ * @remarks
1262
+ * HTML Attribute: formenctype
1263
+ */
1264
+ formenctype: string;
1265
+ protected formenctypeChanged(): void;
1266
+ /**
1267
+ * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element} for more details.
1268
+ *
1269
+ * @public
1270
+ * @remarks
1271
+ * HTML Attribute: formmethod
1272
+ */
1273
+ formmethod: string;
1274
+ protected formmethodChanged(): void;
1275
+ /**
1276
+ * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element} for more details.
1277
+ *
1278
+ * @public
1279
+ * @remarks
1280
+ * HTML Attribute: formnovalidate
1281
+ */
1282
+ formnovalidate: boolean;
1283
+ protected formnovalidateChanged(): void;
1284
+ /**
1285
+ * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element} for more details.
1286
+ *
1287
+ * @public
1288
+ * @remarks
1289
+ * HTML Attribute: formtarget
1290
+ */
1291
+ formtarget: '_self' | '_blank' | '_parent' | '_top';
1292
+ protected formtargetChanged(): void;
1293
+ /**
1294
+ * The button type.
1295
+ *
1296
+ * @public
1297
+ * @remarks
1298
+ * HTML Attribute: type
1299
+ */
1300
+ type: ButtonType;
1301
+ protected typeChanged(previous: ButtonType | undefined, next: ButtonType): void;
1302
+ /**
1303
+ * The appearance the button should have.
1304
+ *
1305
+ * @public
1306
+ * @remarks
1307
+ * HTML Attribute: appearance
1308
+ */
1309
+ appearance?: ButtonAppearance | undefined;
1310
+ /**
1311
+ * The shape the button should have.
1312
+ *
1313
+ * @public
1314
+ * @remarks
1315
+ * HTML Attribute: shape
1316
+ */
1317
+ shape?: ButtonShape | undefined;
1318
+ /**
1319
+ * The size the button should have.
1320
+ *
1321
+ * @public
1322
+ * @remarks
1323
+ * HTML Attribute: size
1324
+ */
1325
+ size?: ButtonSize;
1326
+ /**
1327
+ * The button has an icon only, no text content
727
1328
  *
728
1329
  * @public
729
1330
  * @remarks
@@ -743,8 +1344,45 @@ export declare class Button extends FASTButton {
743
1344
  * Prevents disabledFocusable click events
744
1345
  */
745
1346
  private handleDisabledFocusableClick;
1347
+ /**
1348
+ *
1349
+ * Default slotted content
1350
+ *
1351
+ * @public
1352
+ * @remarks
1353
+ */
1354
+ defaultSlottedContent: HTMLElement[];
1355
+ /** {@inheritDoc (FormAssociated:interface).validate} */
1356
+ validate(): void;
1357
+ /**
1358
+ * @internal
1359
+ */
746
1360
  connectedCallback(): void;
747
1361
  disconnectedCallback(): void;
1362
+ /**
1363
+ * Submits the parent form
1364
+ */
1365
+ private handleSubmission;
1366
+ /**
1367
+ * Resets the parent form
1368
+ */
1369
+ private handleFormReset;
1370
+ control: HTMLButtonElement;
1371
+ }
1372
+
1373
+ /**
1374
+ * Mark internal because exporting class and interface of the same name
1375
+ * confuses API documenter.
1376
+ * TODO: https://github.com/microsoft/fast/issues/3317
1377
+ * @internal
1378
+ */
1379
+ export declare interface Button extends StartEnd, DelegatesARIAButton {
1380
+ }
1381
+
1382
+ declare class _Button extends FASTElement {
1383
+ }
1384
+
1385
+ declare interface _Button extends FormAssociated {
748
1386
  }
749
1387
 
750
1388
  /**
@@ -766,15 +1404,17 @@ export declare const ButtonAppearance: {
766
1404
  export declare type ButtonAppearance = ValuesOf<typeof ButtonAppearance>;
767
1405
 
768
1406
  /**
769
- * The Fluent Button Element. Implements {@link @microsoft/fast-foundation#Button },
770
- * {@link @microsoft/fast-foundation#buttonTemplate}
771
- *
772
1407
  * @public
773
1408
  * @remarks
774
1409
  * HTML Element: \<fluent-button\>
775
1410
  */
776
1411
  export declare const ButtonDefinition: FASTElementDefinition<typeof Button>;
777
1412
 
1413
+ /**
1414
+ * Button configuration options
1415
+ * @public
1416
+ */
1417
+ declare type ButtonOptions = StartEndOptions<Button>;
778
1418
  export { ButtonOptions }
779
1419
  export { ButtonOptions as CompoundButtonOptions }
780
1420
  export { ButtonOptions as MenuButtonOptions }
@@ -812,17 +1452,61 @@ export declare const ButtonSize: {
812
1452
  */
813
1453
  export declare type ButtonSize = ValuesOf<typeof ButtonSize>;
814
1454
 
1455
+ export declare const ButtonTemplate: ElementViewTemplate<Button>;
1456
+
815
1457
  /**
816
- * The template for the Button component.
1458
+ * Button type values.
1459
+ *
817
1460
  * @public
818
1461
  */
819
- export declare const ButtonTemplate: ElementViewTemplate<Button>;
1462
+ export declare const ButtonType: {
1463
+ readonly submit: "submit";
1464
+ readonly reset: "reset";
1465
+ readonly button: "button";
1466
+ };
1467
+
1468
+ /**
1469
+ * Type for button type values.
1470
+ *
1471
+ * @public
1472
+ */
1473
+ export declare type ButtonType = ValuesOf<typeof ButtonType>;
1474
+
1475
+ /**
1476
+ * Creates a checkable form associated component.
1477
+ * @beta
1478
+ */
1479
+ declare function CheckableFormAssociated<T extends ConstructableFormAssociated>(BaseCtor: T): T;
1480
+
1481
+ /**
1482
+ * Base class for providing Custom Element Form Association with checkable features.
1483
+ *
1484
+ * @beta
1485
+ */
1486
+ declare interface CheckableFormAssociated extends FormAssociated {
1487
+ currentChecked: boolean;
1488
+ dirtyChecked: boolean;
1489
+ checkedAttribute: boolean;
1490
+ defaultChecked: boolean;
1491
+ defaultCheckedChanged(oldValue: boolean | undefined, newValue: boolean): void;
1492
+ checked: boolean;
1493
+ checkedChanged(oldValue: boolean | undefined, newValue: boolean): void;
1494
+ }
820
1495
 
821
1496
  /**
822
- * The base class used for constucting a fluent checkbox custom element
1497
+ * A Checkbox Custom HTML Element.
1498
+ * Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#checkbox | ARIA checkbox }.
1499
+ *
1500
+ * @slot checked-indicator - The checked indicator
1501
+ * @slot indeterminate-indicator - The indeterminate indicator
1502
+ * @slot - The default slot for the label
1503
+ * @csspart control - The element representing the visual checkbox control
1504
+ * @csspart label - The label
1505
+ * @fires change - Emits a custom change event when the checked state changes
1506
+ *
823
1507
  * @public
824
1508
  */
825
- export declare class Checkbox extends FASTCheckbox {
1509
+ export declare class Checkbox extends FormAssociatedCheckbox {
826
1510
  /**
827
1511
  * Sets shape of the checkbox.
828
1512
  *
@@ -850,6 +1534,37 @@ export declare class Checkbox extends FASTCheckbox {
850
1534
  * HTML Attribute: label-position
851
1535
  */
852
1536
  labelPosition?: CheckboxLabelPosition;
1537
+ /**
1538
+ * The element's value to be included in form submission when checked.
1539
+ * Default to "on" to reach parity with input[type="checkbox"]
1540
+ *
1541
+ * @internal
1542
+ */
1543
+ initialValue: string;
1544
+ /**
1545
+ * @internal
1546
+ */
1547
+ defaultSlottedNodes: Node[];
1548
+ /**
1549
+ * The indeterminate state of the control
1550
+ */
1551
+ indeterminate: boolean;
1552
+ constructor();
1553
+ private toggleChecked;
1554
+ /**
1555
+ * @internal
1556
+ */
1557
+ keypressHandler: (e: KeyboardEvent) => void;
1558
+ /**
1559
+ * @internal
1560
+ */
1561
+ clickHandler: (e: MouseEvent) => void;
1562
+ }
1563
+
1564
+ declare class _Checkbox extends FASTElement {
1565
+ }
1566
+
1567
+ declare interface _Checkbox extends CheckableFormAssociated {
853
1568
  }
854
1569
 
855
1570
  /**
@@ -872,6 +1587,15 @@ export declare const CheckboxLabelPosition: {
872
1587
 
873
1588
  export declare type CheckboxLabelPosition = ValuesOf<typeof CheckboxLabelPosition>;
874
1589
 
1590
+ /**
1591
+ * Checkbox configuration options
1592
+ * @public
1593
+ */
1594
+ export declare type CheckboxOptions = {
1595
+ checkedIndicator?: StaticallyComposableHTML<Checkbox>;
1596
+ indeterminateIndicator?: StaticallyComposableHTML<Checkbox>;
1597
+ };
1598
+
875
1599
  /**
876
1600
  * Checkbox shape
877
1601
  * @public
@@ -906,599 +1630,599 @@ export declare const CheckboxStyles: ElementStyles;
906
1630
  */
907
1631
  export declare const CheckboxTemplate: ElementViewTemplate<Checkbox>;
908
1632
 
909
- export declare const colorBackgroundOverlay: CSSDesignToken<string>;
1633
+ export declare const colorBackgroundOverlay = "var(--colorBackgroundOverlay)";
910
1634
 
911
- export declare const colorBrandBackground: CSSDesignToken<string>;
1635
+ export declare const colorBrandBackground = "var(--colorBrandBackground)";
912
1636
 
913
- export declare const colorBrandBackground2: CSSDesignToken<string>;
1637
+ export declare const colorBrandBackground2 = "var(--colorBrandBackground2)";
914
1638
 
915
- export declare const colorBrandBackgroundHover: CSSDesignToken<string>;
1639
+ export declare const colorBrandBackgroundHover = "var(--colorBrandBackgroundHover)";
916
1640
 
917
- export declare const colorBrandBackgroundInverted: CSSDesignToken<string>;
1641
+ export declare const colorBrandBackgroundInverted = "var(--colorBrandBackgroundInverted)";
918
1642
 
919
- export declare const colorBrandBackgroundInvertedHover: CSSDesignToken<string>;
1643
+ export declare const colorBrandBackgroundInvertedHover = "var(--colorBrandBackgroundInvertedHover)";
920
1644
 
921
- export declare const colorBrandBackgroundInvertedPressed: CSSDesignToken<string>;
1645
+ export declare const colorBrandBackgroundInvertedPressed = "var(--colorBrandBackgroundInvertedPressed)";
922
1646
 
923
- export declare const colorBrandBackgroundInvertedSelected: CSSDesignToken<string>;
1647
+ export declare const colorBrandBackgroundInvertedSelected = "var(--colorBrandBackgroundInvertedSelected)";
924
1648
 
925
- export declare const colorBrandBackgroundPressed: CSSDesignToken<string>;
1649
+ export declare const colorBrandBackgroundPressed = "var(--colorBrandBackgroundPressed)";
926
1650
 
927
- export declare const colorBrandBackgroundSelected: CSSDesignToken<string>;
1651
+ export declare const colorBrandBackgroundSelected = "var(--colorBrandBackgroundSelected)";
928
1652
 
929
- export declare const colorBrandBackgroundStatic: CSSDesignToken<string>;
1653
+ export declare const colorBrandBackgroundStatic = "var(--colorBrandBackgroundStatic)";
930
1654
 
931
- export declare const colorBrandForeground1: CSSDesignToken<string>;
1655
+ export declare const colorBrandForeground1 = "var(--colorBrandForeground1)";
932
1656
 
933
- export declare const colorBrandForeground2: CSSDesignToken<string>;
1657
+ export declare const colorBrandForeground2 = "var(--colorBrandForeground2)";
934
1658
 
935
- export declare const colorBrandForegroundInverted: CSSDesignToken<string>;
1659
+ export declare const colorBrandForegroundInverted = "var(--colorBrandForegroundInverted)";
936
1660
 
937
- export declare const colorBrandForegroundInvertedHover: CSSDesignToken<string>;
1661
+ export declare const colorBrandForegroundInvertedHover = "var(--colorBrandForegroundInvertedHover)";
938
1662
 
939
- export declare const colorBrandForegroundInvertedPressed: CSSDesignToken<string>;
1663
+ export declare const colorBrandForegroundInvertedPressed = "var(--colorBrandForegroundInvertedPressed)";
940
1664
 
941
- export declare const colorBrandForegroundLink: CSSDesignToken<string>;
1665
+ export declare const colorBrandForegroundLink = "var(--colorBrandForegroundLink)";
942
1666
 
943
- export declare const colorBrandForegroundLinkHover: CSSDesignToken<string>;
1667
+ export declare const colorBrandForegroundLinkHover = "var(--colorBrandForegroundLinkHover)";
944
1668
 
945
- export declare const colorBrandForegroundLinkPressed: CSSDesignToken<string>;
1669
+ export declare const colorBrandForegroundLinkPressed = "var(--colorBrandForegroundLinkPressed)";
946
1670
 
947
- export declare const colorBrandForegroundLinkSelected: CSSDesignToken<string>;
1671
+ export declare const colorBrandForegroundLinkSelected = "var(--colorBrandForegroundLinkSelected)";
948
1672
 
949
- export declare const colorBrandForegroundOnLight: CSSDesignToken<string>;
1673
+ export declare const colorBrandForegroundOnLight = "var(--colorBrandForegroundOnLight)";
950
1674
 
951
- export declare const colorBrandForegroundOnLightHover: CSSDesignToken<string>;
1675
+ export declare const colorBrandForegroundOnLightHover = "var(--colorBrandForegroundOnLightHover)";
952
1676
 
953
- export declare const colorBrandForegroundOnLightPressed: CSSDesignToken<string>;
1677
+ export declare const colorBrandForegroundOnLightPressed = "var(--colorBrandForegroundOnLightPressed)";
954
1678
 
955
- export declare const colorBrandForegroundOnLightSelected: CSSDesignToken<string>;
1679
+ export declare const colorBrandForegroundOnLightSelected = "var(--colorBrandForegroundOnLightSelected)";
956
1680
 
957
- export declare const colorBrandShadowAmbient: CSSDesignToken<string>;
1681
+ export declare const colorBrandShadowAmbient = "var(--colorBrandShadowAmbient)";
958
1682
 
959
- export declare const colorBrandShadowKey: CSSDesignToken<string>;
1683
+ export declare const colorBrandShadowKey = "var(--colorBrandShadowKey)";
960
1684
 
961
- export declare const colorBrandStroke1: CSSDesignToken<string>;
1685
+ export declare const colorBrandStroke1 = "var(--colorBrandStroke1)";
962
1686
 
963
- export declare const colorBrandStroke2: CSSDesignToken<string>;
1687
+ export declare const colorBrandStroke2 = "var(--colorBrandStroke2)";
964
1688
 
965
- export declare const colorCompoundBrandBackground: CSSDesignToken<string>;
1689
+ export declare const colorCompoundBrandBackground = "var(--colorCompoundBrandBackground)";
966
1690
 
967
- export declare const colorCompoundBrandBackgroundHover: CSSDesignToken<string>;
1691
+ export declare const colorCompoundBrandBackgroundHover = "var(--colorCompoundBrandBackgroundHover)";
968
1692
 
969
- export declare const colorCompoundBrandBackgroundPressed: CSSDesignToken<string>;
1693
+ export declare const colorCompoundBrandBackgroundPressed = "var(--colorCompoundBrandBackgroundPressed)";
970
1694
 
971
- export declare const colorCompoundBrandForeground1: CSSDesignToken<string>;
1695
+ export declare const colorCompoundBrandForeground1 = "var(--colorCompoundBrandForeground1)";
972
1696
 
973
- export declare const colorCompoundBrandForeground1Hover: CSSDesignToken<string>;
1697
+ export declare const colorCompoundBrandForeground1Hover = "var(--colorCompoundBrandForeground1Hover)";
974
1698
 
975
- export declare const colorCompoundBrandForeground1Pressed: CSSDesignToken<string>;
1699
+ export declare const colorCompoundBrandForeground1Pressed = "var(--colorCompoundBrandForeground1Pressed)";
976
1700
 
977
- export declare const colorCompoundBrandStroke: CSSDesignToken<string>;
1701
+ export declare const colorCompoundBrandStroke = "var(--colorCompoundBrandStroke)";
978
1702
 
979
- export declare const colorCompoundBrandStrokeHover: CSSDesignToken<string>;
1703
+ export declare const colorCompoundBrandStrokeHover = "var(--colorCompoundBrandStrokeHover)";
980
1704
 
981
- export declare const colorCompoundBrandStrokePressed: CSSDesignToken<string>;
1705
+ export declare const colorCompoundBrandStrokePressed = "var(--colorCompoundBrandStrokePressed)";
982
1706
 
983
- export declare const colorNeutralBackground1: CSSDesignToken<string>;
1707
+ export declare const colorNeutralBackground1 = "var(--colorNeutralBackground1)";
984
1708
 
985
- export declare const colorNeutralBackground1Hover: CSSDesignToken<string>;
1709
+ export declare const colorNeutralBackground1Hover = "var(--colorNeutralBackground1Hover)";
986
1710
 
987
- export declare const colorNeutralBackground1Pressed: CSSDesignToken<string>;
1711
+ export declare const colorNeutralBackground1Pressed = "var(--colorNeutralBackground1Pressed)";
988
1712
 
989
- export declare const colorNeutralBackground1Selected: CSSDesignToken<string>;
1713
+ export declare const colorNeutralBackground1Selected = "var(--colorNeutralBackground1Selected)";
990
1714
 
991
- export declare const colorNeutralBackground2: CSSDesignToken<string>;
1715
+ export declare const colorNeutralBackground2 = "var(--colorNeutralBackground2)";
992
1716
 
993
- export declare const colorNeutralBackground2Hover: CSSDesignToken<string>;
1717
+ export declare const colorNeutralBackground2Hover = "var(--colorNeutralBackground2Hover)";
994
1718
 
995
- export declare const colorNeutralBackground2Pressed: CSSDesignToken<string>;
1719
+ export declare const colorNeutralBackground2Pressed = "var(--colorNeutralBackground2Pressed)";
996
1720
 
997
- export declare const colorNeutralBackground2Selected: CSSDesignToken<string>;
1721
+ export declare const colorNeutralBackground2Selected = "var(--colorNeutralBackground2Selected)";
998
1722
 
999
- export declare const colorNeutralBackground3: CSSDesignToken<string>;
1723
+ export declare const colorNeutralBackground3 = "var(--colorNeutralBackground3)";
1000
1724
 
1001
- export declare const colorNeutralBackground3Hover: CSSDesignToken<string>;
1725
+ export declare const colorNeutralBackground3Hover = "var(--colorNeutralBackground3Hover)";
1002
1726
 
1003
- export declare const colorNeutralBackground3Pressed: CSSDesignToken<string>;
1727
+ export declare const colorNeutralBackground3Pressed = "var(--colorNeutralBackground3Pressed)";
1004
1728
 
1005
- export declare const colorNeutralBackground3Selected: CSSDesignToken<string>;
1729
+ export declare const colorNeutralBackground3Selected = "var(--colorNeutralBackground3Selected)";
1006
1730
 
1007
- export declare const colorNeutralBackground4: CSSDesignToken<string>;
1731
+ export declare const colorNeutralBackground4 = "var(--colorNeutralBackground4)";
1008
1732
 
1009
- export declare const colorNeutralBackground4Hover: CSSDesignToken<string>;
1733
+ export declare const colorNeutralBackground4Hover = "var(--colorNeutralBackground4Hover)";
1010
1734
 
1011
- export declare const colorNeutralBackground4Pressed: CSSDesignToken<string>;
1735
+ export declare const colorNeutralBackground4Pressed = "var(--colorNeutralBackground4Pressed)";
1012
1736
 
1013
- export declare const colorNeutralBackground4Selected: CSSDesignToken<string>;
1737
+ export declare const colorNeutralBackground4Selected = "var(--colorNeutralBackground4Selected)";
1014
1738
 
1015
- export declare const colorNeutralBackground5: CSSDesignToken<string>;
1739
+ export declare const colorNeutralBackground5 = "var(--colorNeutralBackground5)";
1016
1740
 
1017
- export declare const colorNeutralBackground5Hover: CSSDesignToken<string>;
1741
+ export declare const colorNeutralBackground5Hover = "var(--colorNeutralBackground5Hover)";
1018
1742
 
1019
- export declare const colorNeutralBackground5Pressed: CSSDesignToken<string>;
1743
+ export declare const colorNeutralBackground5Pressed = "var(--colorNeutralBackground5Pressed)";
1020
1744
 
1021
- export declare const colorNeutralBackground5Selected: CSSDesignToken<string>;
1745
+ export declare const colorNeutralBackground5Selected = "var(--colorNeutralBackground5Selected)";
1022
1746
 
1023
- export declare const colorNeutralBackground6: CSSDesignToken<string>;
1747
+ export declare const colorNeutralBackground6 = "var(--colorNeutralBackground6)";
1024
1748
 
1025
- export declare const colorNeutralBackgroundDisabled: CSSDesignToken<string>;
1749
+ export declare const colorNeutralBackgroundDisabled = "var(--colorNeutralBackgroundDisabled)";
1026
1750
 
1027
- export declare const colorNeutralBackgroundInverted: CSSDesignToken<string>;
1751
+ export declare const colorNeutralBackgroundInverted = "var(--colorNeutralBackgroundInverted)";
1028
1752
 
1029
- export declare const colorNeutralBackgroundInvertedDisabled: CSSDesignToken<string>;
1753
+ export declare const colorNeutralBackgroundInvertedDisabled = "var(--colorNeutralBackgroundInvertedDisabled)";
1030
1754
 
1031
- export declare const colorNeutralBackgroundStatic: CSSDesignToken<string>;
1755
+ export declare const colorNeutralBackgroundStatic = "var(--colorNeutralBackgroundStatic)";
1032
1756
 
1033
- export declare const colorNeutralForeground1: CSSDesignToken<string>;
1757
+ export declare const colorNeutralForeground1 = "var(--colorNeutralForeground1)";
1034
1758
 
1035
- export declare const colorNeutralForeground1Hover: CSSDesignToken<string>;
1759
+ export declare const colorNeutralForeground1Hover = "var(--colorNeutralForeground1Hover)";
1036
1760
 
1037
- export declare const colorNeutralForeground1Pressed: CSSDesignToken<string>;
1761
+ export declare const colorNeutralForeground1Pressed = "var(--colorNeutralForeground1Pressed)";
1038
1762
 
1039
- export declare const colorNeutralForeground1Selected: CSSDesignToken<string>;
1763
+ export declare const colorNeutralForeground1Selected = "var(--colorNeutralForeground1Selected)";
1040
1764
 
1041
- export declare const colorNeutralForeground1Static: CSSDesignToken<string>;
1765
+ export declare const colorNeutralForeground1Static = "var(--colorNeutralForeground1Static)";
1042
1766
 
1043
- export declare const colorNeutralForeground2: CSSDesignToken<string>;
1767
+ export declare const colorNeutralForeground2 = "var(--colorNeutralForeground2)";
1044
1768
 
1045
- export declare const colorNeutralForeground2BrandHover: CSSDesignToken<string>;
1769
+ export declare const colorNeutralForeground2BrandHover = "var(--colorNeutralForeground2BrandHover)";
1046
1770
 
1047
- export declare const colorNeutralForeground2BrandPressed: CSSDesignToken<string>;
1771
+ export declare const colorNeutralForeground2BrandPressed = "var(--colorNeutralForeground2BrandPressed)";
1048
1772
 
1049
- export declare const colorNeutralForeground2BrandSelected: CSSDesignToken<string>;
1773
+ export declare const colorNeutralForeground2BrandSelected = "var(--colorNeutralForeground2BrandSelected)";
1050
1774
 
1051
- export declare const colorNeutralForeground2Hover: CSSDesignToken<string>;
1775
+ export declare const colorNeutralForeground2Hover = "var(--colorNeutralForeground2Hover)";
1052
1776
 
1053
- export declare const colorNeutralForeground2Link: CSSDesignToken<string>;
1777
+ export declare const colorNeutralForeground2Link = "var(--colorNeutralForeground2Link)";
1054
1778
 
1055
- export declare const colorNeutralForeground2LinkHover: CSSDesignToken<string>;
1779
+ export declare const colorNeutralForeground2LinkHover = "var(--colorNeutralForeground2LinkHover)";
1056
1780
 
1057
- export declare const colorNeutralForeground2LinkPressed: CSSDesignToken<string>;
1781
+ export declare const colorNeutralForeground2LinkPressed = "var(--colorNeutralForeground2LinkPressed)";
1058
1782
 
1059
- export declare const colorNeutralForeground2LinkSelected: CSSDesignToken<string>;
1783
+ export declare const colorNeutralForeground2LinkSelected = "var(--colorNeutralForeground2LinkSelected)";
1060
1784
 
1061
- export declare const colorNeutralForeground2Pressed: CSSDesignToken<string>;
1785
+ export declare const colorNeutralForeground2Pressed = "var(--colorNeutralForeground2Pressed)";
1062
1786
 
1063
- export declare const colorNeutralForeground2Selected: CSSDesignToken<string>;
1787
+ export declare const colorNeutralForeground2Selected = "var(--colorNeutralForeground2Selected)";
1064
1788
 
1065
- export declare const colorNeutralForeground3: CSSDesignToken<string>;
1789
+ export declare const colorNeutralForeground3 = "var(--colorNeutralForeground3)";
1066
1790
 
1067
- export declare const colorNeutralForeground3BrandHover: CSSDesignToken<string>;
1791
+ export declare const colorNeutralForeground3BrandHover = "var(--colorNeutralForeground3BrandHover)";
1068
1792
 
1069
- export declare const colorNeutralForeground3BrandPressed: CSSDesignToken<string>;
1793
+ export declare const colorNeutralForeground3BrandPressed = "var(--colorNeutralForeground3BrandPressed)";
1070
1794
 
1071
- export declare const colorNeutralForeground3BrandSelected: CSSDesignToken<string>;
1795
+ export declare const colorNeutralForeground3BrandSelected = "var(--colorNeutralForeground3BrandSelected)";
1072
1796
 
1073
- export declare const colorNeutralForeground3Hover: CSSDesignToken<string>;
1797
+ export declare const colorNeutralForeground3Hover = "var(--colorNeutralForeground3Hover)";
1074
1798
 
1075
- export declare const colorNeutralForeground3Pressed: CSSDesignToken<string>;
1799
+ export declare const colorNeutralForeground3Pressed = "var(--colorNeutralForeground3Pressed)";
1076
1800
 
1077
- export declare const colorNeutralForeground3Selected: CSSDesignToken<string>;
1801
+ export declare const colorNeutralForeground3Selected = "var(--colorNeutralForeground3Selected)";
1078
1802
 
1079
- export declare const colorNeutralForeground4: CSSDesignToken<string>;
1803
+ export declare const colorNeutralForeground4 = "var(--colorNeutralForeground4)";
1080
1804
 
1081
- export declare const colorNeutralForegroundDisabled: CSSDesignToken<string>;
1805
+ export declare const colorNeutralForegroundDisabled = "var(--colorNeutralForegroundDisabled)";
1082
1806
 
1083
- export declare const colorNeutralForegroundInverted: CSSDesignToken<string>;
1807
+ export declare const colorNeutralForegroundInverted = "var(--colorNeutralForegroundInverted)";
1084
1808
 
1085
- export declare const colorNeutralForegroundInverted2: CSSDesignToken<string>;
1809
+ export declare const colorNeutralForegroundInverted2 = "var(--colorNeutralForegroundInverted2)";
1086
1810
 
1087
- export declare const colorNeutralForegroundInvertedDisabled: CSSDesignToken<string>;
1811
+ export declare const colorNeutralForegroundInvertedDisabled = "var(--colorNeutralForegroundInvertedDisabled)";
1088
1812
 
1089
- export declare const colorNeutralForegroundInvertedHover: CSSDesignToken<string>;
1813
+ export declare const colorNeutralForegroundInvertedHover = "var(--colorNeutralForegroundInvertedHover)";
1090
1814
 
1091
- export declare const colorNeutralForegroundInvertedLink: CSSDesignToken<string>;
1815
+ export declare const colorNeutralForegroundInvertedLink = "var(--colorNeutralForegroundInvertedLink)";
1092
1816
 
1093
- export declare const colorNeutralForegroundInvertedLinkHover: CSSDesignToken<string>;
1817
+ export declare const colorNeutralForegroundInvertedLinkHover = "var(--colorNeutralForegroundInvertedLinkHover)";
1094
1818
 
1095
- export declare const colorNeutralForegroundInvertedLinkPressed: CSSDesignToken<string>;
1819
+ export declare const colorNeutralForegroundInvertedLinkPressed = "var(--colorNeutralForegroundInvertedLinkPressed)";
1096
1820
 
1097
- export declare const colorNeutralForegroundInvertedLinkSelected: CSSDesignToken<string>;
1821
+ export declare const colorNeutralForegroundInvertedLinkSelected = "var(--colorNeutralForegroundInvertedLinkSelected)";
1098
1822
 
1099
- export declare const colorNeutralForegroundInvertedPressed: CSSDesignToken<string>;
1823
+ export declare const colorNeutralForegroundInvertedPressed = "var(--colorNeutralForegroundInvertedPressed)";
1100
1824
 
1101
- export declare const colorNeutralForegroundInvertedSelected: CSSDesignToken<string>;
1825
+ export declare const colorNeutralForegroundInvertedSelected = "var(--colorNeutralForegroundInvertedSelected)";
1102
1826
 
1103
- export declare const colorNeutralForegroundOnBrand: CSSDesignToken<string>;
1827
+ export declare const colorNeutralForegroundOnBrand = "var(--colorNeutralForegroundOnBrand)";
1104
1828
 
1105
- export declare const colorNeutralForegroundStaticInverted: CSSDesignToken<string>;
1829
+ export declare const colorNeutralForegroundStaticInverted = "var(--colorNeutralForegroundStaticInverted)";
1106
1830
 
1107
- export declare const colorNeutralShadowAmbient: CSSDesignToken<string>;
1831
+ export declare const colorNeutralShadowAmbient = "var(--colorNeutralShadowAmbient)";
1108
1832
 
1109
- export declare const colorNeutralShadowAmbientDarker: CSSDesignToken<string>;
1833
+ export declare const colorNeutralShadowAmbientDarker = "var(--colorNeutralShadowAmbientDarker)";
1110
1834
 
1111
- export declare const colorNeutralShadowAmbientLighter: CSSDesignToken<string>;
1835
+ export declare const colorNeutralShadowAmbientLighter = "var(--colorNeutralShadowAmbientLighter)";
1112
1836
 
1113
- export declare const colorNeutralShadowKey: CSSDesignToken<string>;
1837
+ export declare const colorNeutralShadowKey = "var(--colorNeutralShadowKey)";
1114
1838
 
1115
- export declare const colorNeutralShadowKeyDarker: CSSDesignToken<string>;
1839
+ export declare const colorNeutralShadowKeyDarker = "var(--colorNeutralShadowKeyDarker)";
1116
1840
 
1117
- export declare const colorNeutralShadowKeyLighter: CSSDesignToken<string>;
1841
+ export declare const colorNeutralShadowKeyLighter = "var(--colorNeutralShadowKeyLighter)";
1118
1842
 
1119
- export declare const colorNeutralStencil1: CSSDesignToken<string>;
1843
+ export declare const colorNeutralStencil1 = "var(--colorNeutralStencil1)";
1120
1844
 
1121
- export declare const colorNeutralStencil1Alpha: CSSDesignToken<string>;
1845
+ export declare const colorNeutralStencil1Alpha = "var(--colorNeutralStencil1Alpha)";
1122
1846
 
1123
- export declare const colorNeutralStencil2: CSSDesignToken<string>;
1847
+ export declare const colorNeutralStencil2 = "var(--colorNeutralStencil2)";
1124
1848
 
1125
- export declare const colorNeutralStencil2Alpha: CSSDesignToken<string>;
1849
+ export declare const colorNeutralStencil2Alpha = "var(--colorNeutralStencil2Alpha)";
1126
1850
 
1127
- export declare const colorNeutralStroke1: CSSDesignToken<string>;
1851
+ export declare const colorNeutralStroke1 = "var(--colorNeutralStroke1)";
1128
1852
 
1129
- export declare const colorNeutralStroke1Hover: CSSDesignToken<string>;
1853
+ export declare const colorNeutralStroke1Hover = "var(--colorNeutralStroke1Hover)";
1130
1854
 
1131
- export declare const colorNeutralStroke1Pressed: CSSDesignToken<string>;
1855
+ export declare const colorNeutralStroke1Pressed = "var(--colorNeutralStroke1Pressed)";
1132
1856
 
1133
- export declare const colorNeutralStroke1Selected: CSSDesignToken<string>;
1857
+ export declare const colorNeutralStroke1Selected = "var(--colorNeutralStroke1Selected)";
1134
1858
 
1135
- export declare const colorNeutralStroke2: CSSDesignToken<string>;
1859
+ export declare const colorNeutralStroke2 = "var(--colorNeutralStroke2)";
1136
1860
 
1137
- export declare const colorNeutralStroke3: CSSDesignToken<string>;
1861
+ export declare const colorNeutralStroke3 = "var(--colorNeutralStroke3)";
1138
1862
 
1139
- export declare const colorNeutralStrokeAccessible: CSSDesignToken<string>;
1863
+ export declare const colorNeutralStrokeAccessible = "var(--colorNeutralStrokeAccessible)";
1140
1864
 
1141
- export declare const colorNeutralStrokeAccessibleHover: CSSDesignToken<string>;
1865
+ export declare const colorNeutralStrokeAccessibleHover = "var(--colorNeutralStrokeAccessibleHover)";
1142
1866
 
1143
- export declare const colorNeutralStrokeAccessiblePressed: CSSDesignToken<string>;
1867
+ export declare const colorNeutralStrokeAccessiblePressed = "var(--colorNeutralStrokeAccessiblePressed)";
1144
1868
 
1145
- export declare const colorNeutralStrokeAccessibleSelected: CSSDesignToken<string>;
1869
+ export declare const colorNeutralStrokeAccessibleSelected = "var(--colorNeutralStrokeAccessibleSelected)";
1146
1870
 
1147
- export declare const colorNeutralStrokeDisabled: CSSDesignToken<string>;
1871
+ export declare const colorNeutralStrokeDisabled = "var(--colorNeutralStrokeDisabled)";
1148
1872
 
1149
- export declare const colorNeutralStrokeInvertedDisabled: CSSDesignToken<string>;
1873
+ export declare const colorNeutralStrokeInvertedDisabled = "var(--colorNeutralStrokeInvertedDisabled)";
1150
1874
 
1151
- export declare const colorNeutralStrokeOnBrand: CSSDesignToken<string>;
1875
+ export declare const colorNeutralStrokeOnBrand = "var(--colorNeutralStrokeOnBrand)";
1152
1876
 
1153
- export declare const colorNeutralStrokeOnBrand2: CSSDesignToken<string>;
1877
+ export declare const colorNeutralStrokeOnBrand2 = "var(--colorNeutralStrokeOnBrand2)";
1154
1878
 
1155
- export declare const colorNeutralStrokeOnBrand2Hover: CSSDesignToken<string>;
1879
+ export declare const colorNeutralStrokeOnBrand2Hover = "var(--colorNeutralStrokeOnBrand2Hover)";
1156
1880
 
1157
- export declare const colorNeutralStrokeOnBrand2Pressed: CSSDesignToken<string>;
1881
+ export declare const colorNeutralStrokeOnBrand2Pressed = "var(--colorNeutralStrokeOnBrand2Pressed)";
1158
1882
 
1159
- export declare const colorNeutralStrokeOnBrand2Selected: CSSDesignToken<string>;
1883
+ export declare const colorNeutralStrokeOnBrand2Selected = "var(--colorNeutralStrokeOnBrand2Selected)";
1160
1884
 
1161
- export declare const colorPaletteAnchorBackground2: CSSDesignToken<string>;
1885
+ export declare const colorPaletteAnchorBackground2 = "var(--colorPaletteAnchorBackground2)";
1162
1886
 
1163
- export declare const colorPaletteAnchorBorderActive: CSSDesignToken<string>;
1887
+ export declare const colorPaletteAnchorBorderActive = "var(--colorPaletteAnchorBorderActive)";
1164
1888
 
1165
- export declare const colorPaletteAnchorForeground2: CSSDesignToken<string>;
1889
+ export declare const colorPaletteAnchorForeground2 = "var(--colorPaletteAnchorForeground2)";
1166
1890
 
1167
- export declare const colorPaletteBeigeBackground2: CSSDesignToken<string>;
1891
+ export declare const colorPaletteBeigeBackground2 = "var(--colorPaletteBeigeBackground2)";
1168
1892
 
1169
- export declare const colorPaletteBeigeBorderActive: CSSDesignToken<string>;
1893
+ export declare const colorPaletteBeigeBorderActive = "var(--colorPaletteBeigeBorderActive)";
1170
1894
 
1171
- export declare const colorPaletteBeigeForeground2: CSSDesignToken<string>;
1895
+ export declare const colorPaletteBeigeForeground2 = "var(--colorPaletteBeigeForeground2)";
1172
1896
 
1173
- export declare const colorPaletteBerryBackground1: CSSDesignToken<string>;
1897
+ export declare const colorPaletteBerryBackground1 = "var(--colorPaletteBerryBackground1)";
1174
1898
 
1175
- export declare const colorPaletteBerryBackground2: CSSDesignToken<string>;
1899
+ export declare const colorPaletteBerryBackground2 = "var(--colorPaletteBerryBackground2)";
1176
1900
 
1177
- export declare const colorPaletteBerryBackground3: CSSDesignToken<string>;
1901
+ export declare const colorPaletteBerryBackground3 = "var(--colorPaletteBerryBackground3)";
1178
1902
 
1179
- export declare const colorPaletteBerryBorder1: CSSDesignToken<string>;
1903
+ export declare const colorPaletteBerryBorder1 = "var(--colorPaletteBerryBorder1)";
1180
1904
 
1181
- export declare const colorPaletteBerryBorder2: CSSDesignToken<string>;
1905
+ export declare const colorPaletteBerryBorder2 = "var(--colorPaletteBerryBorder2)";
1182
1906
 
1183
- export declare const colorPaletteBerryBorderActive: CSSDesignToken<string>;
1907
+ export declare const colorPaletteBerryBorderActive = "var(--colorPaletteBerryBorderActive)";
1184
1908
 
1185
- export declare const colorPaletteBerryForeground1: CSSDesignToken<string>;
1909
+ export declare const colorPaletteBerryForeground1 = "var(--colorPaletteBerryForeground1)";
1186
1910
 
1187
- export declare const colorPaletteBerryForeground2: CSSDesignToken<string>;
1911
+ export declare const colorPaletteBerryForeground2 = "var(--colorPaletteBerryForeground2)";
1188
1912
 
1189
- export declare const colorPaletteBerryForeground3: CSSDesignToken<string>;
1913
+ export declare const colorPaletteBerryForeground3 = "var(--colorPaletteBerryForeground3)";
1190
1914
 
1191
- export declare const colorPaletteBlueBackground2: CSSDesignToken<string>;
1915
+ export declare const colorPaletteBlueBackground2 = "var(--colorPaletteBlueBackground2)";
1192
1916
 
1193
- export declare const colorPaletteBlueBorderActive: CSSDesignToken<string>;
1917
+ export declare const colorPaletteBlueBorderActive = "var(--colorPaletteBlueBorderActive)";
1194
1918
 
1195
- export declare const colorPaletteBlueForeground2: CSSDesignToken<string>;
1919
+ export declare const colorPaletteBlueForeground2 = "var(--colorPaletteBlueForeground2)";
1196
1920
 
1197
- export declare const colorPaletteBrassBackground2: CSSDesignToken<string>;
1921
+ export declare const colorPaletteBrassBackground2 = "var(--colorPaletteBrassBackground2)";
1198
1922
 
1199
- export declare const colorPaletteBrassBorderActive: CSSDesignToken<string>;
1923
+ export declare const colorPaletteBrassBorderActive = "var(--colorPaletteBrassBorderActive)";
1200
1924
 
1201
- export declare const colorPaletteBrassForeground2: CSSDesignToken<string>;
1925
+ export declare const colorPaletteBrassForeground2 = "var(--colorPaletteBrassForeground2)";
1202
1926
 
1203
- export declare const colorPaletteBrownBackground2: CSSDesignToken<string>;
1927
+ export declare const colorPaletteBrownBackground2 = "var(--colorPaletteBrownBackground2)";
1204
1928
 
1205
- export declare const colorPaletteBrownBorderActive: CSSDesignToken<string>;
1929
+ export declare const colorPaletteBrownBorderActive = "var(--colorPaletteBrownBorderActive)";
1206
1930
 
1207
- export declare const colorPaletteBrownForeground2: CSSDesignToken<string>;
1931
+ export declare const colorPaletteBrownForeground2 = "var(--colorPaletteBrownForeground2)";
1208
1932
 
1209
- export declare const colorPaletteCornflowerBackground2: CSSDesignToken<string>;
1933
+ export declare const colorPaletteCornflowerBackground2 = "var(--colorPaletteCornflowerBackground2)";
1210
1934
 
1211
- export declare const colorPaletteCornflowerBorderActive: CSSDesignToken<string>;
1935
+ export declare const colorPaletteCornflowerBorderActive = "var(--colorPaletteCornflowerBorderActive)";
1212
1936
 
1213
- export declare const colorPaletteCornflowerForeground2: CSSDesignToken<string>;
1937
+ export declare const colorPaletteCornflowerForeground2 = "var(--colorPaletteCornflowerForeground2)";
1214
1938
 
1215
- export declare const colorPaletteCranberryBackground2: CSSDesignToken<string>;
1939
+ export declare const colorPaletteCranberryBackground2 = "var(--colorPaletteCranberryBackground2)";
1216
1940
 
1217
- export declare const colorPaletteCranberryBorderActive: CSSDesignToken<string>;
1941
+ export declare const colorPaletteCranberryBorderActive = "var(--colorPaletteCranberryBorderActive)";
1218
1942
 
1219
- export declare const colorPaletteCranberryForeground2: CSSDesignToken<string>;
1943
+ export declare const colorPaletteCranberryForeground2 = "var(--colorPaletteCranberryForeground2)";
1220
1944
 
1221
- export declare const colorPaletteDarkGreenBackground2: CSSDesignToken<string>;
1945
+ export declare const colorPaletteDarkGreenBackground2 = "var(--colorPaletteDarkGreenBackground2)";
1222
1946
 
1223
- export declare const colorPaletteDarkGreenBorderActive: CSSDesignToken<string>;
1947
+ export declare const colorPaletteDarkGreenBorderActive = "var(--colorPaletteDarkGreenBorderActive)";
1224
1948
 
1225
- export declare const colorPaletteDarkGreenForeground2: CSSDesignToken<string>;
1949
+ export declare const colorPaletteDarkGreenForeground2 = "var(--colorPaletteDarkGreenForeground2)";
1226
1950
 
1227
- export declare const colorPaletteDarkOrangeBackground1: CSSDesignToken<string>;
1951
+ export declare const colorPaletteDarkOrangeBackground1 = "var(--colorPaletteDarkOrangeBackground1)";
1228
1952
 
1229
- export declare const colorPaletteDarkOrangeBackground2: CSSDesignToken<string>;
1953
+ export declare const colorPaletteDarkOrangeBackground2 = "var(--colorPaletteDarkOrangeBackground2)";
1230
1954
 
1231
- export declare const colorPaletteDarkOrangeBackground3: CSSDesignToken<string>;
1955
+ export declare const colorPaletteDarkOrangeBackground3 = "var(--colorPaletteDarkOrangeBackground3)";
1232
1956
 
1233
- export declare const colorPaletteDarkOrangeBorder1: CSSDesignToken<string>;
1957
+ export declare const colorPaletteDarkOrangeBorder1 = "var(--colorPaletteDarkOrangeBorder1)";
1234
1958
 
1235
- export declare const colorPaletteDarkOrangeBorder2: CSSDesignToken<string>;
1959
+ export declare const colorPaletteDarkOrangeBorder2 = "var(--colorPaletteDarkOrangeBorder2)";
1236
1960
 
1237
- export declare const colorPaletteDarkOrangeBorderActive: CSSDesignToken<string>;
1961
+ export declare const colorPaletteDarkOrangeBorderActive = "var(--colorPaletteDarkOrangeBorderActive)";
1238
1962
 
1239
- export declare const colorPaletteDarkOrangeForeground1: CSSDesignToken<string>;
1963
+ export declare const colorPaletteDarkOrangeForeground1 = "var(--colorPaletteDarkOrangeForeground1)";
1240
1964
 
1241
- export declare const colorPaletteDarkOrangeForeground2: CSSDesignToken<string>;
1965
+ export declare const colorPaletteDarkOrangeForeground2 = "var(--colorPaletteDarkOrangeForeground2)";
1242
1966
 
1243
- export declare const colorPaletteDarkOrangeForeground3: CSSDesignToken<string>;
1967
+ export declare const colorPaletteDarkOrangeForeground3 = "var(--colorPaletteDarkOrangeForeground3)";
1244
1968
 
1245
- export declare const colorPaletteDarkRedBackground2: CSSDesignToken<string>;
1969
+ export declare const colorPaletteDarkRedBackground2 = "var(--colorPaletteDarkRedBackground2)";
1246
1970
 
1247
- export declare const colorPaletteDarkRedBorderActive: CSSDesignToken<string>;
1971
+ export declare const colorPaletteDarkRedBorderActive = "var(--colorPaletteDarkRedBorderActive)";
1248
1972
 
1249
- export declare const colorPaletteDarkRedForeground2: CSSDesignToken<string>;
1973
+ export declare const colorPaletteDarkRedForeground2 = "var(--colorPaletteDarkRedForeground2)";
1250
1974
 
1251
- export declare const colorPaletteForestBackground2: CSSDesignToken<string>;
1975
+ export declare const colorPaletteForestBackground2 = "var(--colorPaletteForestBackground2)";
1252
1976
 
1253
- export declare const colorPaletteForestBorderActive: CSSDesignToken<string>;
1977
+ export declare const colorPaletteForestBorderActive = "var(--colorPaletteForestBorderActive)";
1254
1978
 
1255
- export declare const colorPaletteForestForeground2: CSSDesignToken<string>;
1979
+ export declare const colorPaletteForestForeground2 = "var(--colorPaletteForestForeground2)";
1256
1980
 
1257
- export declare const colorPaletteGoldBackground2: CSSDesignToken<string>;
1981
+ export declare const colorPaletteGoldBackground2 = "var(--colorPaletteGoldBackground2)";
1258
1982
 
1259
- export declare const colorPaletteGoldBorderActive: CSSDesignToken<string>;
1983
+ export declare const colorPaletteGoldBorderActive = "var(--colorPaletteGoldBorderActive)";
1260
1984
 
1261
- export declare const colorPaletteGoldForeground2: CSSDesignToken<string>;
1985
+ export declare const colorPaletteGoldForeground2 = "var(--colorPaletteGoldForeground2)";
1262
1986
 
1263
- export declare const colorPaletteGrapeBackground2: CSSDesignToken<string>;
1987
+ export declare const colorPaletteGrapeBackground2 = "var(--colorPaletteGrapeBackground2)";
1264
1988
 
1265
- export declare const colorPaletteGrapeBorderActive: CSSDesignToken<string>;
1989
+ export declare const colorPaletteGrapeBorderActive = "var(--colorPaletteGrapeBorderActive)";
1266
1990
 
1267
- export declare const colorPaletteGrapeForeground2: CSSDesignToken<string>;
1991
+ export declare const colorPaletteGrapeForeground2 = "var(--colorPaletteGrapeForeground2)";
1268
1992
 
1269
- export declare const colorPaletteGreenBackground1: CSSDesignToken<string>;
1993
+ export declare const colorPaletteGreenBackground1 = "var(--colorPaletteGreenBackground1)";
1270
1994
 
1271
- export declare const colorPaletteGreenBackground2: CSSDesignToken<string>;
1995
+ export declare const colorPaletteGreenBackground2 = "var(--colorPaletteGreenBackground2)";
1272
1996
 
1273
- export declare const colorPaletteGreenBackground3: CSSDesignToken<string>;
1997
+ export declare const colorPaletteGreenBackground3 = "var(--colorPaletteGreenBackground3)";
1274
1998
 
1275
- export declare const colorPaletteGreenBorder1: CSSDesignToken<string>;
1999
+ export declare const colorPaletteGreenBorder1 = "var(--colorPaletteGreenBorder1)";
1276
2000
 
1277
- export declare const colorPaletteGreenBorder2: CSSDesignToken<string>;
2001
+ export declare const colorPaletteGreenBorder2 = "var(--colorPaletteGreenBorder2)";
1278
2002
 
1279
- export declare const colorPaletteGreenBorderActive: CSSDesignToken<string>;
2003
+ export declare const colorPaletteGreenBorderActive = "var(--colorPaletteGreenBorderActive)";
1280
2004
 
1281
- export declare const colorPaletteGreenForeground1: CSSDesignToken<string>;
2005
+ export declare const colorPaletteGreenForeground1 = "var(--colorPaletteGreenForeground1)";
1282
2006
 
1283
- export declare const colorPaletteGreenForeground2: CSSDesignToken<string>;
2007
+ export declare const colorPaletteGreenForeground2 = "var(--colorPaletteGreenForeground2)";
1284
2008
 
1285
- export declare const colorPaletteGreenForeground3: CSSDesignToken<string>;
2009
+ export declare const colorPaletteGreenForeground3 = "var(--colorPaletteGreenForeground3)";
1286
2010
 
1287
- export declare const colorPaletteGreenForegroundInverted: CSSDesignToken<string>;
2011
+ export declare const colorPaletteGreenForegroundInverted = "var(--colorPaletteGreenForegroundInverted)";
1288
2012
 
1289
- export declare const colorPaletteLavenderBackground2: CSSDesignToken<string>;
2013
+ export declare const colorPaletteLavenderBackground2 = "var(--colorPaletteLavenderBackground2)";
1290
2014
 
1291
- export declare const colorPaletteLavenderBorderActive: CSSDesignToken<string>;
2015
+ export declare const colorPaletteLavenderBorderActive = "var(--colorPaletteLavenderBorderActive)";
1292
2016
 
1293
- export declare const colorPaletteLavenderForeground2: CSSDesignToken<string>;
2017
+ export declare const colorPaletteLavenderForeground2 = "var(--colorPaletteLavenderForeground2)";
1294
2018
 
1295
- export declare const colorPaletteLightGreenBackground1: CSSDesignToken<string>;
2019
+ export declare const colorPaletteLightGreenBackground1 = "var(--colorPaletteLightGreenBackground1)";
1296
2020
 
1297
- export declare const colorPaletteLightGreenBackground2: CSSDesignToken<string>;
2021
+ export declare const colorPaletteLightGreenBackground2 = "var(--colorPaletteLightGreenBackground2)";
1298
2022
 
1299
- export declare const colorPaletteLightGreenBackground3: CSSDesignToken<string>;
2023
+ export declare const colorPaletteLightGreenBackground3 = "var(--colorPaletteLightGreenBackground3)";
1300
2024
 
1301
- export declare const colorPaletteLightGreenBorder1: CSSDesignToken<string>;
2025
+ export declare const colorPaletteLightGreenBorder1 = "var(--colorPaletteLightGreenBorder1)";
1302
2026
 
1303
- export declare const colorPaletteLightGreenBorder2: CSSDesignToken<string>;
2027
+ export declare const colorPaletteLightGreenBorder2 = "var(--colorPaletteLightGreenBorder2)";
1304
2028
 
1305
- export declare const colorPaletteLightGreenBorderActive: CSSDesignToken<string>;
2029
+ export declare const colorPaletteLightGreenBorderActive = "var(--colorPaletteLightGreenBorderActive)";
1306
2030
 
1307
- export declare const colorPaletteLightGreenForeground1: CSSDesignToken<string>;
2031
+ export declare const colorPaletteLightGreenForeground1 = "var(--colorPaletteLightGreenForeground1)";
1308
2032
 
1309
- export declare const colorPaletteLightGreenForeground2: CSSDesignToken<string>;
2033
+ export declare const colorPaletteLightGreenForeground2 = "var(--colorPaletteLightGreenForeground2)";
1310
2034
 
1311
- export declare const colorPaletteLightGreenForeground3: CSSDesignToken<string>;
2035
+ export declare const colorPaletteLightGreenForeground3 = "var(--colorPaletteLightGreenForeground3)";
1312
2036
 
1313
- export declare const colorPaletteLightTealBackground2: CSSDesignToken<string>;
2037
+ export declare const colorPaletteLightTealBackground2 = "var(--colorPaletteLightTealBackground2)";
1314
2038
 
1315
- export declare const colorPaletteLightTealBorderActive: CSSDesignToken<string>;
2039
+ export declare const colorPaletteLightTealBorderActive = "var(--colorPaletteLightTealBorderActive)";
1316
2040
 
1317
- export declare const colorPaletteLightTealForeground2: CSSDesignToken<string>;
2041
+ export declare const colorPaletteLightTealForeground2 = "var(--colorPaletteLightTealForeground2)";
1318
2042
 
1319
- export declare const colorPaletteLilacBackground2: CSSDesignToken<string>;
2043
+ export declare const colorPaletteLilacBackground2 = "var(--colorPaletteLilacBackground2)";
1320
2044
 
1321
- export declare const colorPaletteLilacBorderActive: CSSDesignToken<string>;
2045
+ export declare const colorPaletteLilacBorderActive = "var(--colorPaletteLilacBorderActive)";
1322
2046
 
1323
- export declare const colorPaletteLilacForeground2: CSSDesignToken<string>;
2047
+ export declare const colorPaletteLilacForeground2 = "var(--colorPaletteLilacForeground2)";
1324
2048
 
1325
- export declare const colorPaletteMagentaBackground2: CSSDesignToken<string>;
2049
+ export declare const colorPaletteMagentaBackground2 = "var(--colorPaletteMagentaBackground2)";
1326
2050
 
1327
- export declare const colorPaletteMagentaBorderActive: CSSDesignToken<string>;
2051
+ export declare const colorPaletteMagentaBorderActive = "var(--colorPaletteMagentaBorderActive)";
1328
2052
 
1329
- export declare const colorPaletteMagentaForeground2: CSSDesignToken<string>;
2053
+ export declare const colorPaletteMagentaForeground2 = "var(--colorPaletteMagentaForeground2)";
1330
2054
 
1331
- export declare const colorPaletteMarigoldBackground1: CSSDesignToken<string>;
2055
+ export declare const colorPaletteMarigoldBackground1 = "var(--colorPaletteMarigoldBackground1)";
1332
2056
 
1333
- export declare const colorPaletteMarigoldBackground2: CSSDesignToken<string>;
2057
+ export declare const colorPaletteMarigoldBackground2 = "var(--colorPaletteMarigoldBackground2)";
1334
2058
 
1335
- export declare const colorPaletteMarigoldBackground3: CSSDesignToken<string>;
2059
+ export declare const colorPaletteMarigoldBackground3 = "var(--colorPaletteMarigoldBackground3)";
1336
2060
 
1337
- export declare const colorPaletteMarigoldBorder1: CSSDesignToken<string>;
2061
+ export declare const colorPaletteMarigoldBorder1 = "var(--colorPaletteMarigoldBorder1)";
1338
2062
 
1339
- export declare const colorPaletteMarigoldBorder2: CSSDesignToken<string>;
2063
+ export declare const colorPaletteMarigoldBorder2 = "var(--colorPaletteMarigoldBorder2)";
1340
2064
 
1341
- export declare const colorPaletteMarigoldBorderActive: CSSDesignToken<string>;
2065
+ export declare const colorPaletteMarigoldBorderActive = "var(--colorPaletteMarigoldBorderActive)";
1342
2066
 
1343
- export declare const colorPaletteMarigoldForeground1: CSSDesignToken<string>;
2067
+ export declare const colorPaletteMarigoldForeground1 = "var(--colorPaletteMarigoldForeground1)";
1344
2068
 
1345
- export declare const colorPaletteMarigoldForeground2: CSSDesignToken<string>;
2069
+ export declare const colorPaletteMarigoldForeground2 = "var(--colorPaletteMarigoldForeground2)";
1346
2070
 
1347
- export declare const colorPaletteMarigoldForeground3: CSSDesignToken<string>;
2071
+ export declare const colorPaletteMarigoldForeground3 = "var(--colorPaletteMarigoldForeground3)";
1348
2072
 
1349
- export declare const colorPaletteMinkBackground2: CSSDesignToken<string>;
2073
+ export declare const colorPaletteMinkBackground2 = "var(--colorPaletteMinkBackground2)";
1350
2074
 
1351
- export declare const colorPaletteMinkBorderActive: CSSDesignToken<string>;
2075
+ export declare const colorPaletteMinkBorderActive = "var(--colorPaletteMinkBorderActive)";
1352
2076
 
1353
- export declare const colorPaletteMinkForeground2: CSSDesignToken<string>;
2077
+ export declare const colorPaletteMinkForeground2 = "var(--colorPaletteMinkForeground2)";
1354
2078
 
1355
- export declare const colorPaletteNavyBackground2: CSSDesignToken<string>;
2079
+ export declare const colorPaletteNavyBackground2 = "var(--colorPaletteNavyBackground2)";
1356
2080
 
1357
- export declare const colorPaletteNavyBorderActive: CSSDesignToken<string>;
2081
+ export declare const colorPaletteNavyBorderActive = "var(--colorPaletteNavyBorderActive)";
1358
2082
 
1359
- export declare const colorPaletteNavyForeground2: CSSDesignToken<string>;
2083
+ export declare const colorPaletteNavyForeground2 = "var(--colorPaletteNavyForeground2)";
1360
2084
 
1361
- export declare const colorPalettePeachBackground2: CSSDesignToken<string>;
2085
+ export declare const colorPalettePeachBackground2 = "var(--colorPalettePeachBackground2)";
1362
2086
 
1363
- export declare const colorPalettePeachBorderActive: CSSDesignToken<string>;
2087
+ export declare const colorPalettePeachBorderActive = "var(--colorPalettePeachBorderActive)";
1364
2088
 
1365
- export declare const colorPalettePeachForeground2: CSSDesignToken<string>;
2089
+ export declare const colorPalettePeachForeground2 = "var(--colorPalettePeachForeground2)";
1366
2090
 
1367
- export declare const colorPalettePinkBackground2: CSSDesignToken<string>;
2091
+ export declare const colorPalettePinkBackground2 = "var(--colorPalettePinkBackground2)";
1368
2092
 
1369
- export declare const colorPalettePinkBorderActive: CSSDesignToken<string>;
2093
+ export declare const colorPalettePinkBorderActive = "var(--colorPalettePinkBorderActive)";
1370
2094
 
1371
- export declare const colorPalettePinkForeground2: CSSDesignToken<string>;
2095
+ export declare const colorPalettePinkForeground2 = "var(--colorPalettePinkForeground2)";
1372
2096
 
1373
- export declare const colorPalettePlatinumBackground2: CSSDesignToken<string>;
2097
+ export declare const colorPalettePlatinumBackground2 = "var(--colorPalettePlatinumBackground2)";
1374
2098
 
1375
- export declare const colorPalettePlatinumBorderActive: CSSDesignToken<string>;
2099
+ export declare const colorPalettePlatinumBorderActive = "var(--colorPalettePlatinumBorderActive)";
1376
2100
 
1377
- export declare const colorPalettePlatinumForeground2: CSSDesignToken<string>;
2101
+ export declare const colorPalettePlatinumForeground2 = "var(--colorPalettePlatinumForeground2)";
1378
2102
 
1379
- export declare const colorPalettePlumBackground2: CSSDesignToken<string>;
2103
+ export declare const colorPalettePlumBackground2 = "var(--colorPalettePlumBackground2)";
1380
2104
 
1381
- export declare const colorPalettePlumBorderActive: CSSDesignToken<string>;
2105
+ export declare const colorPalettePlumBorderActive = "var(--colorPalettePlumBorderActive)";
1382
2106
 
1383
- export declare const colorPalettePlumForeground2: CSSDesignToken<string>;
2107
+ export declare const colorPalettePlumForeground2 = "var(--colorPalettePlumForeground2)";
1384
2108
 
1385
- export declare const colorPalettePumpkinBackground2: CSSDesignToken<string>;
2109
+ export declare const colorPalettePumpkinBackground2 = "var(--colorPalettePumpkinBackground2)";
1386
2110
 
1387
- export declare const colorPalettePumpkinBorderActive: CSSDesignToken<string>;
2111
+ export declare const colorPalettePumpkinBorderActive = "var(--colorPalettePumpkinBorderActive)";
1388
2112
 
1389
- export declare const colorPalettePumpkinForeground2: CSSDesignToken<string>;
2113
+ export declare const colorPalettePumpkinForeground2 = "var(--colorPalettePumpkinForeground2)";
1390
2114
 
1391
- export declare const colorPalettePurpleBackground2: CSSDesignToken<string>;
2115
+ export declare const colorPalettePurpleBackground2 = "var(--colorPalettePurpleBackground2)";
1392
2116
 
1393
- export declare const colorPalettePurpleBorderActive: CSSDesignToken<string>;
2117
+ export declare const colorPalettePurpleBorderActive = "var(--colorPalettePurpleBorderActive)";
1394
2118
 
1395
- export declare const colorPalettePurpleForeground2: CSSDesignToken<string>;
2119
+ export declare const colorPalettePurpleForeground2 = "var(--colorPalettePurpleForeground2)";
1396
2120
 
1397
- export declare const colorPaletteRedBackground1: CSSDesignToken<string>;
2121
+ export declare const colorPaletteRedBackground1 = "var(--colorPaletteRedBackground1)";
1398
2122
 
1399
- export declare const colorPaletteRedBackground2: CSSDesignToken<string>;
2123
+ export declare const colorPaletteRedBackground2 = "var(--colorPaletteRedBackground2)";
1400
2124
 
1401
- export declare const colorPaletteRedBackground3: CSSDesignToken<string>;
2125
+ export declare const colorPaletteRedBackground3 = "var(--colorPaletteRedBackground3)";
1402
2126
 
1403
- export declare const colorPaletteRedBorder1: CSSDesignToken<string>;
2127
+ export declare const colorPaletteRedBorder1 = "var(--colorPaletteRedBorder1)";
1404
2128
 
1405
- export declare const colorPaletteRedBorder2: CSSDesignToken<string>;
2129
+ export declare const colorPaletteRedBorder2 = "var(--colorPaletteRedBorder2)";
1406
2130
 
1407
- export declare const colorPaletteRedBorderActive: CSSDesignToken<string>;
2131
+ export declare const colorPaletteRedBorderActive = "var(--colorPaletteRedBorderActive)";
1408
2132
 
1409
- export declare const colorPaletteRedForeground1: CSSDesignToken<string>;
2133
+ export declare const colorPaletteRedForeground1 = "var(--colorPaletteRedForeground1)";
1410
2134
 
1411
- export declare const colorPaletteRedForeground2: CSSDesignToken<string>;
2135
+ export declare const colorPaletteRedForeground2 = "var(--colorPaletteRedForeground2)";
1412
2136
 
1413
- export declare const colorPaletteRedForeground3: CSSDesignToken<string>;
2137
+ export declare const colorPaletteRedForeground3 = "var(--colorPaletteRedForeground3)";
1414
2138
 
1415
- export declare const colorPaletteRedForegroundInverted: CSSDesignToken<string>;
2139
+ export declare const colorPaletteRedForegroundInverted = "var(--colorPaletteRedForegroundInverted)";
1416
2140
 
1417
- export declare const colorPaletteRoyalBlueBackground2: CSSDesignToken<string>;
2141
+ export declare const colorPaletteRoyalBlueBackground2 = "var(--colorPaletteRoyalBlueBackground2)";
1418
2142
 
1419
- export declare const colorPaletteRoyalBlueBorderActive: CSSDesignToken<string>;
2143
+ export declare const colorPaletteRoyalBlueBorderActive = "var(--colorPaletteRoyalBlueBorderActive)";
1420
2144
 
1421
- export declare const colorPaletteRoyalBlueForeground2: CSSDesignToken<string>;
2145
+ export declare const colorPaletteRoyalBlueForeground2 = "var(--colorPaletteRoyalBlueForeground2)";
1422
2146
 
1423
- export declare const colorPaletteSeafoamBackground2: CSSDesignToken<string>;
2147
+ export declare const colorPaletteSeafoamBackground2 = "var(--colorPaletteSeafoamBackground2)";
1424
2148
 
1425
- export declare const colorPaletteSeafoamBorderActive: CSSDesignToken<string>;
2149
+ export declare const colorPaletteSeafoamBorderActive = "var(--colorPaletteSeafoamBorderActive)";
1426
2150
 
1427
- export declare const colorPaletteSeafoamForeground2: CSSDesignToken<string>;
2151
+ export declare const colorPaletteSeafoamForeground2 = "var(--colorPaletteSeafoamForeground2)";
1428
2152
 
1429
- export declare const colorPaletteSteelBackground2: CSSDesignToken<string>;
2153
+ export declare const colorPaletteSteelBackground2 = "var(--colorPaletteSteelBackground2)";
1430
2154
 
1431
- export declare const colorPaletteSteelBorderActive: CSSDesignToken<string>;
2155
+ export declare const colorPaletteSteelBorderActive = "var(--colorPaletteSteelBorderActive)";
1432
2156
 
1433
- export declare const colorPaletteSteelForeground2: CSSDesignToken<string>;
2157
+ export declare const colorPaletteSteelForeground2 = "var(--colorPaletteSteelForeground2)";
1434
2158
 
1435
- export declare const colorPaletteTealBackground2: CSSDesignToken<string>;
2159
+ export declare const colorPaletteTealBackground2 = "var(--colorPaletteTealBackground2)";
1436
2160
 
1437
- export declare const colorPaletteTealBorderActive: CSSDesignToken<string>;
2161
+ export declare const colorPaletteTealBorderActive = "var(--colorPaletteTealBorderActive)";
1438
2162
 
1439
- export declare const colorPaletteTealForeground2: CSSDesignToken<string>;
2163
+ export declare const colorPaletteTealForeground2 = "var(--colorPaletteTealForeground2)";
1440
2164
 
1441
- export declare const colorPaletteYellowBackground1: CSSDesignToken<string>;
2165
+ export declare const colorPaletteYellowBackground1 = "var(--colorPaletteYellowBackground1)";
1442
2166
 
1443
- export declare const colorPaletteYellowBackground2: CSSDesignToken<string>;
2167
+ export declare const colorPaletteYellowBackground2 = "var(--colorPaletteYellowBackground2)";
1444
2168
 
1445
- export declare const colorPaletteYellowBackground3: CSSDesignToken<string>;
2169
+ export declare const colorPaletteYellowBackground3 = "var(--colorPaletteYellowBackground3)";
1446
2170
 
1447
- export declare const colorPaletteYellowBorder1: CSSDesignToken<string>;
2171
+ export declare const colorPaletteYellowBorder1 = "var(--colorPaletteYellowBorder1)";
1448
2172
 
1449
- export declare const colorPaletteYellowBorder2: CSSDesignToken<string>;
2173
+ export declare const colorPaletteYellowBorder2 = "var(--colorPaletteYellowBorder2)";
1450
2174
 
1451
- export declare const colorPaletteYellowBorderActive: CSSDesignToken<string>;
2175
+ export declare const colorPaletteYellowBorderActive = "var(--colorPaletteYellowBorderActive)";
1452
2176
 
1453
- export declare const colorPaletteYellowForeground1: CSSDesignToken<string>;
2177
+ export declare const colorPaletteYellowForeground1 = "var(--colorPaletteYellowForeground1)";
1454
2178
 
1455
- export declare const colorPaletteYellowForeground2: CSSDesignToken<string>;
2179
+ export declare const colorPaletteYellowForeground2 = "var(--colorPaletteYellowForeground2)";
1456
2180
 
1457
- export declare const colorPaletteYellowForeground3: CSSDesignToken<string>;
2181
+ export declare const colorPaletteYellowForeground3 = "var(--colorPaletteYellowForeground3)";
1458
2182
 
1459
- export declare const colorPaletteYellowForegroundInverted: CSSDesignToken<string>;
2183
+ export declare const colorPaletteYellowForegroundInverted = "var(--colorPaletteYellowForegroundInverted)";
1460
2184
 
1461
- export declare const colorScrollbarOverlay: CSSDesignToken<string>;
2185
+ export declare const colorScrollbarOverlay = "var(--colorScrollbarOverlay)";
1462
2186
 
1463
- export declare const colorStrokeFocus1: CSSDesignToken<string>;
2187
+ export declare const colorStrokeFocus1 = "var(--colorStrokeFocus1)";
1464
2188
 
1465
- export declare const colorStrokeFocus2: CSSDesignToken<string>;
2189
+ export declare const colorStrokeFocus2 = "var(--colorStrokeFocus2)";
1466
2190
 
1467
- export declare const colorSubtleBackground: CSSDesignToken<string>;
2191
+ export declare const colorSubtleBackground = "var(--colorSubtleBackground)";
1468
2192
 
1469
- export declare const colorSubtleBackgroundHover: CSSDesignToken<string>;
2193
+ export declare const colorSubtleBackgroundHover = "var(--colorSubtleBackgroundHover)";
1470
2194
 
1471
- export declare const colorSubtleBackgroundInverted: CSSDesignToken<string>;
2195
+ export declare const colorSubtleBackgroundInverted = "var(--colorSubtleBackgroundInverted)";
1472
2196
 
1473
- export declare const colorSubtleBackgroundInvertedHover: CSSDesignToken<string>;
2197
+ export declare const colorSubtleBackgroundInvertedHover = "var(--colorSubtleBackgroundInvertedHover)";
1474
2198
 
1475
- export declare const colorSubtleBackgroundInvertedPressed: CSSDesignToken<string>;
2199
+ export declare const colorSubtleBackgroundInvertedPressed = "var(--colorSubtleBackgroundInvertedPressed)";
1476
2200
 
1477
- export declare const colorSubtleBackgroundInvertedSelected: CSSDesignToken<string>;
2201
+ export declare const colorSubtleBackgroundInvertedSelected = "var(--colorSubtleBackgroundInvertedSelected)";
1478
2202
 
1479
- export declare const colorSubtleBackgroundLightAlphaHover: CSSDesignToken<string>;
2203
+ export declare const colorSubtleBackgroundLightAlphaHover = "var(--colorSubtleBackgroundLightAlphaHover)";
1480
2204
 
1481
- export declare const colorSubtleBackgroundLightAlphaPressed: CSSDesignToken<string>;
2205
+ export declare const colorSubtleBackgroundLightAlphaPressed = "var(--colorSubtleBackgroundLightAlphaPressed)";
1482
2206
 
1483
- export declare const colorSubtleBackgroundLightAlphaSelected: CSSDesignToken<string>;
2207
+ export declare const colorSubtleBackgroundLightAlphaSelected = "var(--colorSubtleBackgroundLightAlphaSelected)";
1484
2208
 
1485
- export declare const colorSubtleBackgroundPressed: CSSDesignToken<string>;
2209
+ export declare const colorSubtleBackgroundPressed = "var(--colorSubtleBackgroundPressed)";
1486
2210
 
1487
- export declare const colorSubtleBackgroundSelected: CSSDesignToken<string>;
2211
+ export declare const colorSubtleBackgroundSelected = "var(--colorSubtleBackgroundSelected)";
1488
2212
 
1489
- export declare const colorTransparentBackground: CSSDesignToken<string>;
2213
+ export declare const colorTransparentBackground = "var(--colorTransparentBackground)";
1490
2214
 
1491
- export declare const colorTransparentBackgroundHover: CSSDesignToken<string>;
2215
+ export declare const colorTransparentBackgroundHover = "var(--colorTransparentBackgroundHover)";
1492
2216
 
1493
- export declare const colorTransparentBackgroundPressed: CSSDesignToken<string>;
2217
+ export declare const colorTransparentBackgroundPressed = "var(--colorTransparentBackgroundPressed)";
1494
2218
 
1495
- export declare const colorTransparentBackgroundSelected: CSSDesignToken<string>;
2219
+ export declare const colorTransparentBackgroundSelected = "var(--colorTransparentBackgroundSelected)";
1496
2220
 
1497
- export declare const colorTransparentStroke: CSSDesignToken<string>;
2221
+ export declare const colorTransparentStroke = "var(--colorTransparentStroke)";
1498
2222
 
1499
- export declare const colorTransparentStrokeDisabled: CSSDesignToken<string>;
2223
+ export declare const colorTransparentStrokeDisabled = "var(--colorTransparentStrokeDisabled)";
1500
2224
 
1501
- export declare const colorTransparentStrokeInteractive: CSSDesignToken<string>;
2225
+ export declare const colorTransparentStrokeInteractive = "var(--colorTransparentStrokeInteractive)";
1502
2226
 
1503
2227
  /**
1504
2228
  * The base class used for constructing a fluent-compound-button custom element
@@ -1516,6 +2240,10 @@ export declare const CompoundButtonAppearance: {
1516
2240
  readonly outline: "outline";
1517
2241
  readonly subtle: "subtle";
1518
2242
  readonly secondary: "secondary";
2243
+ /**
2244
+ * A Compound Button can be secondary, primary, outline, subtle, transparent
2245
+ * @public
2246
+ */
1519
2247
  readonly transparent: "transparent";
1520
2248
  };
1521
2249
 
@@ -1526,9 +2254,6 @@ export declare const CompoundButtonAppearance: {
1526
2254
  export declare type CompoundButtonAppearance = ValuesOf<typeof CompoundButtonAppearance>;
1527
2255
 
1528
2256
  /**
1529
- * The Fluent Compound Button Element. Implements {@link @microsoft/fast-foundation#Button },
1530
- * {@link @microsoft/fast-foundation#buttonTemplate}
1531
- *
1532
2257
  * @public
1533
2258
  * @remarks
1534
2259
  * HTML Element: \<fluent-comopund-button\>
@@ -1557,10 +2282,6 @@ export declare type CompoundButtonShape = ValuesOf<typeof CompoundButtonShape>;
1557
2282
  */
1558
2283
  export declare const CompoundButtonSize: {
1559
2284
  readonly small: "small";
1560
- /**
1561
- * A Compound Button can be on of several preset sizes.
1562
- * @public
1563
- */
1564
2285
  readonly medium: "medium";
1565
2286
  readonly large: "large";
1566
2287
  };
@@ -1579,6 +2300,13 @@ export declare const CompoundButtonStyles: ElementStyles;
1579
2300
  */
1580
2301
  export declare const CompoundButtonTemplate: ElementViewTemplate<CompoundButton>;
1581
2302
 
2303
+ /**
2304
+ * Combined type to describe a Constructable Form-Associated type.
2305
+ *
2306
+ * @beta
2307
+ */
2308
+ declare type ConstructableFormAssociated = Constructable<HTMLElement & FASTElement>;
2309
+
1582
2310
  /**
1583
2311
  * The base class used for constructing a fluent-badge custom element
1584
2312
  * @public
@@ -1705,10 +2433,6 @@ export declare const CounterBadgeColor: {
1705
2433
  export declare type CounterBadgeColor = ValuesOf<typeof CounterBadgeColor>;
1706
2434
 
1707
2435
  /**
1708
- * The Fluent CounterBadge Element. Implements {@link @microsoft/fast-foundation#Badge },
1709
- * {@link @microsoft/fast-foundation#badgeTemplate}
1710
- *
1711
- *
1712
2436
  * @public
1713
2437
  * @remarks
1714
2438
  * HTML Element: \<fluent-counter-badge\>
@@ -1766,57 +2490,381 @@ export declare const CounterBadgeStyles: ElementStyles;
1766
2490
  */
1767
2491
  export declare const CounterBadgeTemplate: ElementViewTemplate<CounterBadge>;
1768
2492
 
1769
- export declare const curveAccelerateMax: CSSDesignToken<string>;
2493
+ /**
2494
+ * Define all possible CSS display values.
2495
+ * @public
2496
+ */
2497
+ export declare type CSSDisplayPropertyValue = 'block' | 'contents' | 'flex' | 'grid' | 'inherit' | 'initial' | 'inline' | 'inline-block' | 'inline-flex' | 'inline-grid' | 'inline-table' | 'list-item' | 'none' | 'run-in' | 'table' | 'table-caption' | 'table-cell' | 'table-column' | 'table-column-group' | 'table-footer-group' | 'table-header-group' | 'table-row' | 'table-row-group';
2498
+
2499
+ export declare const curveAccelerateMax = "var(--curveAccelerateMax)";
1770
2500
 
1771
- export declare const curveAccelerateMid: CSSDesignToken<string>;
2501
+ export declare const curveAccelerateMid = "var(--curveAccelerateMid)";
1772
2502
 
1773
- export declare const curveAccelerateMin: CSSDesignToken<string>;
2503
+ export declare const curveAccelerateMin = "var(--curveAccelerateMin)";
1774
2504
 
1775
- export declare const curveDecelerateMax: CSSDesignToken<string>;
2505
+ export declare const curveDecelerateMax = "var(--curveDecelerateMax)";
1776
2506
 
1777
- export declare const curveDecelerateMid: CSSDesignToken<string>;
2507
+ export declare const curveDecelerateMid = "var(--curveDecelerateMid)";
1778
2508
 
1779
- export declare const curveDecelerateMin: CSSDesignToken<string>;
2509
+ export declare const curveDecelerateMin = "var(--curveDecelerateMin)";
1780
2510
 
1781
- export declare const curveEasyEase: CSSDesignToken<string>;
2511
+ export declare const curveEasyEase = "var(--curveEasyEase)";
1782
2512
 
1783
- export declare const curveEasyEaseMax: CSSDesignToken<string>;
2513
+ export declare const curveEasyEaseMax = "var(--curveEasyEaseMax)";
1784
2514
 
1785
- export declare const curveLinear: CSSDesignToken<string>;
2515
+ export declare const curveLinear = "var(--curveLinear)";
1786
2516
 
1787
2517
  /**
1788
- * @class Divider component
2518
+ * This can be used to construct a behavior to apply a prefers color scheme: dark only stylesheet.
2519
+ * @public
2520
+ */
2521
+ export declare const darkModeStylesheetBehavior: (styles: ElementStyles) => MatchMediaStyleSheetBehavior;
2522
+
2523
+ /**
2524
+ * Includes ARIA states and properties relating to the ARIA button role
1789
2525
  *
1790
- * @remarks
1791
- * This class extends the FASTDivider. A divider groups sections of content to create visual rhythm and hierarchy. Use dividers along with spacing and headers to organize content in your layout.
2526
+ * @public
1792
2527
  */
1793
- export declare class Divider extends FASTDivider {
1794
- /**
1795
- * @property alignContent
1796
- * @default center
1797
- * @remarks
1798
- * Determines the alignment of the content within the divider. Select from start or end. When not specified, the content will be aligned to the center.
1799
- */
1800
- alignContent?: DividerAlignContent;
2528
+ export declare class DelegatesARIAButton {
1801
2529
  /**
1802
- * @property appearance
1803
- * @default default
2530
+ * See {@link https://www.w3.org/WAI/PF/aria/roles#button} for more information
2531
+ * @public
1804
2532
  * @remarks
1805
- * A divider can have one of the preset appearances. Select from strong, brand, subtle. When not specified, the divider has its default appearance.
2533
+ * HTML Attribute: aria-expanded
1806
2534
  */
1807
- appearance?: DividerAppearance;
2535
+ ariaExpanded: 'true' | 'false' | string | null;
1808
2536
  /**
1809
- * @property inset
1810
- * @default false
2537
+ * See {@link https://www.w3.org/WAI/PF/aria/roles#button} for more information
2538
+ * @public
1811
2539
  * @remarks
1812
- * Adds padding to the beginning and end of the divider.
2540
+ * HTML Attribute: aria-pressed
1813
2541
  */
1814
- inset?: boolean;
2542
+ ariaPressed: 'true' | 'false' | 'mixed' | string | null;
1815
2543
  }
1816
2544
 
1817
2545
  /**
1818
- * Align content within divider
1819
- * @public
2546
+ * Mark internal because exporting class and interface of the same name
2547
+ * confuses API documenter.
2548
+ * TODO: https://github.com/microsoft/fast/issues/3317
2549
+ * @internal
2550
+ */
2551
+ export declare interface DelegatesARIAButton extends ARIAGlobalStatesAndProperties {
2552
+ }
2553
+
2554
+ /**
2555
+ * Includes ARIA states and properties relating to the ARIA link role
2556
+ *
2557
+ * @public
2558
+ */
2559
+ export declare class DelegatesARIALink {
2560
+ /**
2561
+ * See {@link https://www.w3.org/WAI/PF/aria/roles#link} for more information
2562
+ * @public
2563
+ * @remarks
2564
+ * HTML Attribute: aria-expanded
2565
+ */
2566
+ ariaExpanded: 'true' | 'false' | string | null;
2567
+ }
2568
+
2569
+ /**
2570
+ * Mark internal because exporting class and interface of the same name
2571
+ * confuses API documenter.
2572
+ * TODO: https://github.com/microsoft/fast/issues/3317
2573
+ * @internal
2574
+ */
2575
+ export declare interface DelegatesARIALink extends ARIAGlobalStatesAndProperties {
2576
+ }
2577
+
2578
+ /**
2579
+ * Includes ARIA states and properties relating to the ARIA textbox role
2580
+ *
2581
+ * @public
2582
+ */
2583
+ export declare class DelegatesARIATextbox {
2584
+ }
2585
+
2586
+ export declare interface DelegatesARIATextbox extends ARIAGlobalStatesAndProperties {
2587
+ }
2588
+
2589
+ /**
2590
+ * Dialog component that extends the FASTElement class.
2591
+ *
2592
+ * @public
2593
+ * @extends FASTElement
2594
+ */
2595
+ export declare class Dialog extends FASTElement {
2596
+ /**
2597
+ * @private
2598
+ * Indicates whether focus is being trapped within the dialog
2599
+ */
2600
+ private isTrappingFocus;
2601
+ /**
2602
+ * @public
2603
+ * Lifecycle method called when the element is connected to the DOM
2604
+ */
2605
+ connectedCallback(): void;
2606
+ /**
2607
+ * @public
2608
+ * Lifecycle method called when the element is disconnected from the DOM
2609
+ */
2610
+ disconnectedCallback(): void;
2611
+ /**
2612
+ * @public
2613
+ * The dialog element
2614
+ */
2615
+ dialog: HTMLDialogElement;
2616
+ /**
2617
+ * @public
2618
+ * The title action elements
2619
+ */
2620
+ titleAction: HTMLElement[];
2621
+ /**
2622
+ * @public
2623
+ * The default title action button
2624
+ */
2625
+ defaultTitleAction?: Button;
2626
+ /**
2627
+ * @public
2628
+ * The ID of the element that describes the dialog
2629
+ */
2630
+ ariaDescribedby?: string;
2631
+ /**
2632
+ * @public
2633
+ * The ID of the element that labels the dialog
2634
+ */
2635
+ ariaLabelledby?: string;
2636
+ /**
2637
+ * @public
2638
+ * The type of the dialog modal
2639
+ */
2640
+ modalType: DialogModalType;
2641
+ /**
2642
+ * @public
2643
+ * Indicates whether the dialog is open
2644
+ */
2645
+ open: boolean;
2646
+ /**
2647
+ * @public
2648
+ * Indicates whether the dialog has a title action
2649
+ */
2650
+ noTitleAction: boolean;
2651
+ /**
2652
+ * @private
2653
+ * Indicates whether focus should be trapped within the dialog
2654
+ */
2655
+ private trapFocus;
2656
+ /**
2657
+ * @public
2658
+ * Method called when the 'open' attribute changes
2659
+ */
2660
+ openChanged(oldValue: boolean, newValue: boolean): void;
2661
+ /**
2662
+ * @public
2663
+ * Method called when the 'modalType' attribute changes
2664
+ */
2665
+ modalTypeChanged(oldValue: DialogModalType, newValue: DialogModalType): void;
2666
+ /**
2667
+ * @public
2668
+ * Method to set the component's state based on its attributes
2669
+ */
2670
+ setComponent(): void;
2671
+ /**
2672
+ * @public
2673
+ * Method to emit an event when the dialog's open state changes
2674
+ * @param dismissed - Indicates whether the dialog was dismissed
2675
+ */
2676
+ onOpenChangeEvent: (dismissed?: boolean) => void;
2677
+ /**
2678
+ * @public
2679
+ * Method to show the dialog
2680
+ */
2681
+ show(): void;
2682
+ /**
2683
+ * @public
2684
+ * Method to hide the dialog
2685
+ * @param dismissed - Indicates whether the dialog was dismissed
2686
+ */
2687
+ hide(dismissed?: boolean): void;
2688
+ /**
2689
+ * @public
2690
+ * Method to dismiss the dialog
2691
+ */
2692
+ dismiss(): void;
2693
+ /**
2694
+ * @public
2695
+ * Handles click events on the dialog
2696
+ * @param event - The click event
2697
+ * @returns boolean
2698
+ */
2699
+ handleClick(event: Event): boolean;
2700
+ /**
2701
+ * @public
2702
+ * Handles keydown events on the dialog
2703
+ * @param e - The keydown event
2704
+ * @returns boolean | void
2705
+ */
2706
+ handleKeydown: (e: KeyboardEvent) => boolean | void;
2707
+ /**
2708
+ * @private
2709
+ * Handles keydown events on the document
2710
+ * @param e - The keydown event
2711
+ */
2712
+ private handleDocumentKeydown;
2713
+ /**
2714
+ * @private
2715
+ * Handles tab keydown events
2716
+ * @param e - The keydown event
2717
+ */
2718
+ private handleTabKeyDown;
2719
+ /**
2720
+ * @private
2721
+ * Gets the bounds of the tab queue
2722
+ * @returns (HTMLElement | SVGElement)[]
2723
+ */
2724
+ private getTabQueueBounds;
2725
+ /**
2726
+ * @private
2727
+ * Focuses the first element in the tab queue
2728
+ */
2729
+ private focusFirstElement;
2730
+ /**
2731
+ * @private
2732
+ * Determines if focus should be forced
2733
+ * @param currentFocusElement - The currently focused element
2734
+ * @returns boolean
2735
+ */
2736
+ private shouldForceFocus;
2737
+ /**
2738
+ * @private
2739
+ * Determines if focus should be trapped
2740
+ * @returns boolean
2741
+ */
2742
+ private shouldTrapFocus;
2743
+ /**
2744
+ * @private
2745
+ * Handles focus events on the document
2746
+ * @param e - The focus event
2747
+ */
2748
+ private handleDocumentFocus;
2749
+ /**
2750
+ * @private
2751
+ * Updates the state of focus trapping
2752
+ * @param shouldTrapFocusOverride - Optional override for whether focus should be trapped
2753
+ */
2754
+ private updateTrapFocus;
2755
+ /**
2756
+ * @private
2757
+ * Reduces the list of tabbable items
2758
+ * @param elements - The current list of elements
2759
+ * @param element - The element to consider adding to the list
2760
+ * @returns HTMLElement[]
2761
+ */
2762
+ private static reduceTabbableItems;
2763
+ /**
2764
+ * @private
2765
+ * Determines if an element is a focusable FASTElement
2766
+ * @param element - The element to check
2767
+ * @returns boolean
2768
+ */
2769
+ private static isFocusableFastElement;
2770
+ /**
2771
+ * @private
2772
+ * Determines if an element has a tabbable shadow
2773
+ * @param element - The element to check
2774
+ * @returns boolean
2775
+ */
2776
+ private static hasTabbableShadow;
2777
+ }
2778
+
2779
+ /**
2780
+ * The Fluent Dialog Element
2781
+ *
2782
+ * @public
2783
+ * @remarks
2784
+ * HTML Element: \<fluent-dialog\>
2785
+ */
2786
+ export declare const DialogDefinition: FASTElementDefinition<typeof Dialog>;
2787
+
2788
+ /**
2789
+ * Dialog modal type
2790
+ * @public
2791
+ */
2792
+ declare const DialogModalType: {
2793
+ readonly modal: "modal";
2794
+ readonly nonModal: "non-modal";
2795
+ readonly alert: "alert";
2796
+ };
2797
+
2798
+ declare type DialogModalType = ValuesOf<typeof DialogModalType>;
2799
+
2800
+ /** Dialog styles
2801
+ * @public
2802
+ */
2803
+ export declare const DialogStyles: ElementStyles;
2804
+
2805
+ /**
2806
+ * Template for the Dialog component
2807
+ * @public
2808
+ */
2809
+ export declare const DialogTemplate: ElementViewTemplate<Dialog>;
2810
+
2811
+ /**
2812
+ * Applies a CSS display property.
2813
+ * Also adds CSS rules to not display the element when the [hidden] attribute is applied to the element.
2814
+ * @param display - The CSS display property value
2815
+ * @public
2816
+ */
2817
+ export declare function display(displayValue: CSSDisplayPropertyValue): string;
2818
+
2819
+ /**
2820
+ * @class Divider component
2821
+ *
2822
+ * @remarks
2823
+ * A divider groups sections of content to create visual rhythm and hierarchy. Use dividers along with spacing and headers to organize content in your layout.
2824
+ */
2825
+ export declare class Divider extends FASTElement {
2826
+ /**
2827
+ * The role of the element.
2828
+ *
2829
+ * @public
2830
+ * @remarks
2831
+ * HTML Attribute: role
2832
+ */
2833
+ role: DividerRole;
2834
+ /**
2835
+ * The orientation of the divider.
2836
+ *
2837
+ * @public
2838
+ * @remarks
2839
+ * HTML Attribute: orientation
2840
+ */
2841
+ orientation: DividerOrientation;
2842
+ /**
2843
+ * @property alignContent
2844
+ * @default center
2845
+ * @remarks
2846
+ * Determines the alignment of the content within the divider. Select from start or end. When not specified, the content will be aligned to the center.
2847
+ */
2848
+ alignContent?: DividerAlignContent;
2849
+ /**
2850
+ * @property appearance
2851
+ * @default default
2852
+ * @remarks
2853
+ * A divider can have one of the preset appearances. Select from strong, brand, subtle. When not specified, the divider has its default appearance.
2854
+ */
2855
+ appearance?: DividerAppearance;
2856
+ /**
2857
+ * @property inset
2858
+ * @default false
2859
+ * @remarks
2860
+ * Adds padding to the beginning and end of the divider.
2861
+ */
2862
+ inset?: boolean;
2863
+ }
2864
+
2865
+ /**
2866
+ * Align content within divider
2867
+ * @public
1820
2868
  */
1821
2869
  export declare const DividerAlignContent: {
1822
2870
  readonly center: "center";
@@ -1856,9 +2904,44 @@ export declare type DividerAppearance = ValuesOf<typeof DividerAppearance>;
1856
2904
  */
1857
2905
  export declare const DividerDefinition: FASTElementDefinition<typeof Divider>;
1858
2906
 
1859
- export { DividerOrientation }
2907
+ /**
2908
+ * Divider orientation
2909
+ * @public
2910
+ */
2911
+ export declare const DividerOrientation: {
2912
+ readonly horizontal: "horizontal"; /**
2913
+ * Divider roles
2914
+ * @public
2915
+ */
2916
+ readonly vertical: "vertical";
2917
+ };
2918
+
2919
+ /**
2920
+ * The types for Divider orientation
2921
+ * @public
2922
+ */
2923
+ export declare type DividerOrientation = ValuesOf<typeof DividerOrientation>;
2924
+
2925
+ /**
2926
+ * Divider roles
2927
+ * @public
2928
+ */
2929
+ export declare const DividerRole: {
2930
+ /**
2931
+ * The divider semantically separates content
2932
+ */
2933
+ readonly separator: "separator";
2934
+ /**
2935
+ * The divider has no semantic value and is for visual presentation only.
2936
+ */
2937
+ readonly presentation: "presentation";
2938
+ };
1860
2939
 
1861
- export { DividerRole }
2940
+ /**
2941
+ * The types for Divider roles
2942
+ * @public
2943
+ */
2944
+ export declare type DividerRole = ValuesOf<typeof DividerRole>;
1862
2945
 
1863
2946
  /** Divider styles
1864
2947
  * @public
@@ -1871,19 +2954,84 @@ export declare const DividerStyles: ElementStyles;
1871
2954
  */
1872
2955
  export declare const DividerTemplate: ElementViewTemplate<Divider>;
1873
2956
 
1874
- export declare const durationFast: CSSDesignToken<string>;
2957
+ export declare const durationFast = "var(--durationFast)";
1875
2958
 
1876
- export declare const durationFaster: CSSDesignToken<string>;
2959
+ export declare const durationFaster = "var(--durationFaster)";
1877
2960
 
1878
- export declare const durationNormal: CSSDesignToken<string>;
2961
+ export declare const durationNormal = "var(--durationNormal)";
1879
2962
 
1880
- export declare const durationSlow: CSSDesignToken<string>;
2963
+ export declare const durationSlow = "var(--durationSlow)";
1881
2964
 
1882
- export declare const durationSlower: CSSDesignToken<string>;
2965
+ export declare const durationSlower = "var(--durationSlower)";
2966
+
2967
+ export declare const durationUltraFast = "var(--durationUltraFast)";
2968
+
2969
+ export declare const durationUltraSlow = "var(--durationUltraSlow)";
2970
+
2971
+ /**
2972
+ * Source:
2973
+ * https://html.spec.whatwg.org/multipage/custom-elements.html#elementinternals
2974
+ */
2975
+ declare interface ElementInternals_2 {
2976
+ /**
2977
+ * Returns the form owner of internals target element.
2978
+ */
2979
+ readonly form: HTMLFormElement | null;
2980
+ /**
2981
+ * Returns a NodeList of all the label elements that internals target element is associated with.
2982
+ */
2983
+ readonly labels: NodeList;
2984
+ /**
2985
+ * Returns the error message that would be shown to the user if internals target element was to be checked for validity.
2986
+ */
2987
+ readonly validationMessage: string;
2988
+ /**
2989
+ * Returns the ValidityState object for internals target element.
2990
+ */
2991
+ readonly validity: ValidityState;
2992
+ /**
2993
+ * Returns true if internals target element will be validated when the form is submitted; false otherwise.
2994
+ */
2995
+ readonly willValidate: boolean;
2996
+ /**
2997
+ * Returns true if internals target element has no validity problems; false otherwise. Fires an invalid event at the element in the latter case.
2998
+ */
2999
+ checkValidity(): boolean;
3000
+ /**
3001
+ * Returns true if internals target element has no validity problems; otherwise,
3002
+ * returns false, fires an invalid event at the element, and (if the event isn't canceled) reports the problem to the user.
3003
+ */
3004
+ reportValidity(): boolean;
3005
+ /**
3006
+ * Sets both the state and submission value of internals target element to value.
3007
+ *
3008
+ * While "null" isn't enumerated as a argument type (here)[https://html.spec.whatwg.org/multipage/custom-elements.html#the-elementinternals-interface],
3009
+ * In practice it appears to remove the value from the form data on submission. Adding it as a valid type here
3010
+ * becuase that capability is required for checkbox and radio types
3011
+ */
3012
+ setFormValue(value: File | string | FormData | null, state?: File | string | FormData | null): void;
3013
+ /**
3014
+ * Marks internals target element as suffering from the constraints indicated by the flags argument,
3015
+ * and sets the element's validation message to message.
3016
+ * If anchor is specified, the user agent might use
3017
+ * it to indicate problems with the constraints of internals target
3018
+ * element when the form owner is validated interactively or reportValidity() is called.
3019
+ */
3020
+ setValidity(flags: ValidityStateFlags, message?: string, anchor?: HTMLElement): void;
3021
+ }
1883
3022
 
1884
- export declare const durationUltraFast: CSSDesignToken<string>;
3023
+ declare let ElementInternals_2: {
3024
+ prototype: ElementInternals_2;
3025
+ new (): ElementInternals_2;
3026
+ };
1885
3027
 
1886
- export declare const durationUltraSlow: CSSDesignToken<string>;
3028
+ /**
3029
+ * End configuration options
3030
+ * @public
3031
+ */
3032
+ declare type EndOptions<TSource = any, TParent = any> = {
3033
+ end?: StaticallyComposableHTML<TSource, TParent>;
3034
+ };
1887
3035
 
1888
3036
  export declare const FluentDesignSystem: Readonly<{
1889
3037
  prefix: "fluent";
@@ -1891,58 +3039,176 @@ export declare const FluentDesignSystem: Readonly<{
1891
3039
  registry: CustomElementRegistry;
1892
3040
  }>;
1893
3041
 
1894
- export declare const fontFamilyBase: CSSDesignToken<string>;
3042
+ export declare const fontFamilyBase = "var(--fontFamilyBase)";
1895
3043
 
1896
- export declare const fontFamilyMonospace: CSSDesignToken<string>;
3044
+ export declare const fontFamilyMonospace = "var(--fontFamilyMonospace)";
1897
3045
 
1898
- export declare const fontFamilyNumeric: CSSDesignToken<string>;
3046
+ export declare const fontFamilyNumeric = "var(--fontFamilyNumeric)";
1899
3047
 
1900
- export declare const fontSizeBase100: CSSDesignToken<string>;
3048
+ export declare const fontSizeBase100 = "var(--fontSizeBase100)";
1901
3049
 
1902
- export declare const fontSizeBase200: CSSDesignToken<string>;
3050
+ export declare const fontSizeBase200 = "var(--fontSizeBase200)";
1903
3051
 
1904
- export declare const fontSizeBase300: CSSDesignToken<string>;
3052
+ export declare const fontSizeBase300 = "var(--fontSizeBase300)";
1905
3053
 
1906
- export declare const fontSizeBase400: CSSDesignToken<string>;
3054
+ export declare const fontSizeBase400 = "var(--fontSizeBase400)";
1907
3055
 
1908
- export declare const fontSizeBase500: CSSDesignToken<string>;
3056
+ export declare const fontSizeBase500 = "var(--fontSizeBase500)";
1909
3057
 
1910
- export declare const fontSizeBase600: CSSDesignToken<string>;
3058
+ export declare const fontSizeBase600 = "var(--fontSizeBase600)";
1911
3059
 
1912
- export declare const fontSizeHero1000: CSSDesignToken<string>;
3060
+ export declare const fontSizeHero1000 = "var(--fontSizeHero1000)";
1913
3061
 
1914
- export declare const fontSizeHero700: CSSDesignToken<string>;
3062
+ export declare const fontSizeHero700 = "var(--fontSizeHero700)";
1915
3063
 
1916
- export declare const fontSizeHero800: CSSDesignToken<string>;
3064
+ export declare const fontSizeHero800 = "var(--fontSizeHero800)";
1917
3065
 
1918
- export declare const fontSizeHero900: CSSDesignToken<string>;
3066
+ export declare const fontSizeHero900 = "var(--fontSizeHero900)";
1919
3067
 
1920
- export declare const fontWeightBold: CSSDesignToken<string>;
3068
+ export declare const fontWeightBold = "var(--fontWeightBold)";
1921
3069
 
1922
- export declare const fontWeightMedium: CSSDesignToken<string>;
3070
+ export declare const fontWeightMedium = "var(--fontWeightMedium)";
1923
3071
 
1924
- export declare const fontWeightRegular: CSSDesignToken<string>;
3072
+ export declare const fontWeightRegular = "var(--fontWeightRegular)";
1925
3073
 
1926
- export declare const fontWeightSemibold: CSSDesignToken<string>;
3074
+ export declare const fontWeightSemibold = "var(--fontWeightSemibold)";
1927
3075
 
1928
3076
  /**
1929
- * The base class used for constucting a fluent image custom element
3077
+ * This can be used to construct a behavior to apply a forced-colors only stylesheet.
1930
3078
  * @public
1931
3079
  */
1932
- declare class Image_2 extends FASTElement {
3080
+ export declare const forcedColorsStylesheetBehavior: (styles: ElementStyles) => MatchMediaStyleSheetBehavior;
3081
+
3082
+ /**
3083
+ * Base function for providing Custom Element Form Association.
3084
+ *
3085
+ * @beta
3086
+ */
3087
+ declare function FormAssociated<T extends ConstructableFormAssociated>(BaseCtor: T): T;
3088
+
3089
+ /**
3090
+ * Base class for providing Custom Element Form Association.
3091
+ *
3092
+ * @beta
3093
+ */
3094
+ declare interface FormAssociated extends Omit<ElementInternals_2, 'labels'> {
3095
+ dirtyValue: boolean;
3096
+ disabled: boolean;
3097
+ readonly elementInternals: ElementInternals_2 | null;
3098
+ readonly formAssociated: boolean;
3099
+ initialValue: string;
3100
+ readonly labels: ReadonlyArray<Node[]>;
3101
+ name: string;
3102
+ required: boolean;
3103
+ value: string;
3104
+ currentValue: string;
3105
+ attachProxy(): void;
3106
+ detachProxy(): void;
3107
+ disabledChanged?(previous: boolean, next: boolean): void;
3108
+ formDisabledCallback?(disabled: boolean): void;
3109
+ formResetCallback(): void;
3110
+ initialValueChanged?(previous: string, next: string): void;
3111
+ nameChanged?(previous: string, next: string): void;
3112
+ requiredChanged(prev: boolean, next: boolean): void;
3113
+ stopPropagation(e: Event): void;
1933
3114
  /**
1934
- * Image layout
3115
+ * Sets the validity of the custom element. By default this uses the proxy element to determine
3116
+ * validity, but this can be extended or replaced in implementation.
1935
3117
  *
1936
- * @public
1937
- * @remarks
1938
- * HTML attribute: block.
3118
+ * @param anchor - The anchor element to provide to ElementInternals.setValidity for surfacing the browser's constraint validation UI
1939
3119
  */
1940
- block?: boolean;
1941
- /**
1942
- * Image border
1943
- *
1944
- * @public
1945
- * @remarks
3120
+ validate(anchor?: HTMLElement): void;
3121
+ valueChanged(previous: string, next: string): void;
3122
+ }
3123
+
3124
+ /**
3125
+ * @beta
3126
+ */
3127
+ declare class FormAssociatedButton extends FormAssociatedButton_base {
3128
+ proxy: HTMLInputElement;
3129
+ }
3130
+
3131
+ declare const FormAssociatedButton_base: typeof _Button;
3132
+
3133
+ /**
3134
+ * @beta
3135
+ */
3136
+ declare class FormAssociatedCheckbox extends FormAssociatedCheckbox_base {
3137
+ proxy: HTMLInputElement;
3138
+ }
3139
+
3140
+ declare const FormAssociatedCheckbox_base: typeof _Checkbox;
3141
+
3142
+ /**
3143
+ * @beta
3144
+ */
3145
+ declare class FormAssociatedRadio extends FormAssociatedRadio_base {
3146
+ proxy: HTMLInputElement;
3147
+ }
3148
+
3149
+ declare const FormAssociatedRadio_base: typeof _Radio;
3150
+
3151
+ /**
3152
+ * @beta
3153
+ */
3154
+ declare class FormAssociatedSlider extends FormAssociatedSlider_base {
3155
+ proxy: HTMLInputElement;
3156
+ }
3157
+
3158
+ declare const FormAssociatedSlider_base: typeof _Slider;
3159
+
3160
+ /**
3161
+ * @beta
3162
+ */
3163
+ declare class FormAssociatedSwitch extends FormAssociatedSwitch_base {
3164
+ proxy: HTMLInputElement;
3165
+ }
3166
+
3167
+ declare const FormAssociatedSwitch_base: typeof _Switch;
3168
+
3169
+ /**
3170
+ * @beta
3171
+ */
3172
+ declare class FormAssociatedTextField extends FormAssociatedTextField_base {
3173
+ proxy: HTMLInputElement;
3174
+ }
3175
+
3176
+ declare const FormAssociatedTextField_base: typeof _TextField;
3177
+
3178
+ /**
3179
+ * Determines the current localization direction of an element.
3180
+ *
3181
+ * @param rootNode - the HTMLElement to begin the query from, usually "this" when used in a component controller
3182
+ * @returns the localization direction of the element
3183
+ *
3184
+ * @public
3185
+ */
3186
+ export declare const getDirection: (rootNode: HTMLElement) => Direction;
3187
+
3188
+ /**
3189
+ * A CSS fragment to set `display: none;` when the host is hidden using the [hidden] attribute.
3190
+ * @public
3191
+ */
3192
+ export declare const hidden = ":host([hidden]){display:none}";
3193
+
3194
+ /**
3195
+ * The base class used for constucting a fluent image custom element
3196
+ * @public
3197
+ */
3198
+ declare class Image_2 extends FASTElement {
3199
+ /**
3200
+ * Image layout
3201
+ *
3202
+ * @public
3203
+ * @remarks
3204
+ * HTML attribute: block.
3205
+ */
3206
+ block?: boolean;
3207
+ /**
3208
+ * Image border
3209
+ *
3210
+ * @public
3211
+ * @remarks
1946
3212
  * HTML attribute: border.
1947
3213
  */
1948
3214
  bordered?: boolean;
@@ -2111,25 +3377,335 @@ declare const LabelWeight: {
2111
3377
  */
2112
3378
  declare type LabelWeight = ValuesOf<typeof LabelWeight>;
2113
3379
 
2114
- export declare const lineHeightBase100: CSSDesignToken<string>;
3380
+ /**
3381
+ * This can be used to construct a behavior to apply a prefers color scheme: light only stylesheet.
3382
+ * @public
3383
+ */
3384
+ export declare const lightModeStylesheetBehavior: (styles: ElementStyles) => MatchMediaStyleSheetBehavior;
3385
+
3386
+ export declare const lineHeightBase100 = "var(--lineHeightBase100)";
2115
3387
 
2116
- export declare const lineHeightBase200: CSSDesignToken<string>;
3388
+ export declare const lineHeightBase200 = "var(--lineHeightBase200)";
2117
3389
 
2118
- export declare const lineHeightBase300: CSSDesignToken<string>;
3390
+ export declare const lineHeightBase300 = "var(--lineHeightBase300)";
2119
3391
 
2120
- export declare const lineHeightBase400: CSSDesignToken<string>;
3392
+ export declare const lineHeightBase400 = "var(--lineHeightBase400)";
2121
3393
 
2122
- export declare const lineHeightBase500: CSSDesignToken<string>;
3394
+ export declare const lineHeightBase500 = "var(--lineHeightBase500)";
2123
3395
 
2124
- export declare const lineHeightBase600: CSSDesignToken<string>;
3396
+ export declare const lineHeightBase600 = "var(--lineHeightBase600)";
2125
3397
 
2126
- export declare const lineHeightHero1000: CSSDesignToken<string>;
3398
+ export declare const lineHeightHero1000 = "var(--lineHeightHero1000)";
2127
3399
 
2128
- export declare const lineHeightHero700: CSSDesignToken<string>;
3400
+ export declare const lineHeightHero700 = "var(--lineHeightHero700)";
2129
3401
 
2130
- export declare const lineHeightHero800: CSSDesignToken<string>;
3402
+ export declare const lineHeightHero800 = "var(--lineHeightHero800)";
2131
3403
 
2132
- export declare const lineHeightHero900: CSSDesignToken<string>;
3404
+ export declare const lineHeightHero900 = "var(--lineHeightHero900)";
3405
+
3406
+ /**
3407
+ * An abstract behavior to react to media queries. Implementations should implement
3408
+ * the `constructListener` method to perform some action based on media query changes.
3409
+ *
3410
+ * @public
3411
+ */
3412
+ export declare abstract class MatchMediaBehavior implements HostBehavior {
3413
+ /**
3414
+ * The behavior needs to operate on element instances but elements might share a behavior instance.
3415
+ * To ensure proper attachment / detachment per instance, we construct a listener for
3416
+ * each bind invocation and cache the listeners by element reference.
3417
+ */
3418
+ private listenerCache;
3419
+ /**
3420
+ * The media query that the behavior operates on.
3421
+ */
3422
+ readonly query: MediaQueryList;
3423
+ /**
3424
+ *
3425
+ * @param query - The media query to operate from.
3426
+ */
3427
+ constructor(query: MediaQueryList);
3428
+ /**
3429
+ * Constructs a function that will be invoked with the MediaQueryList context
3430
+ * @param controller - The host controller orchestrating this behavior.
3431
+ */
3432
+ protected abstract constructListener(controller: HostController): MediaQueryListListener;
3433
+ /**
3434
+ * Binds the behavior to the element.
3435
+ * @param controller - The host controller orchestrating this behavior.
3436
+ */
3437
+ connectedCallback(controller: HostController): void;
3438
+ /**
3439
+ * Unbinds the behavior from the element.
3440
+ * @param controller - The host controller orchestrating this behavior.
3441
+ */
3442
+ disconnectedCallback(controller: HostController): void;
3443
+ }
3444
+
3445
+ /**
3446
+ * A behavior to add or remove a stylesheet from an element based on a media query. The behavior ensures that
3447
+ * styles are applied while the a query matches the environment and that styles are not applied if the query does
3448
+ * not match the environment.
3449
+ *
3450
+ * @public
3451
+ */
3452
+ export declare class MatchMediaStyleSheetBehavior extends MatchMediaBehavior {
3453
+ /**
3454
+ * The media query that the behavior operates on.
3455
+ */
3456
+ readonly query: MediaQueryList;
3457
+ /**
3458
+ * The styles object to be managed by the behavior.
3459
+ */
3460
+ readonly styles: ElementStyles;
3461
+ /**
3462
+ * Constructs a {@link MatchMediaStyleSheetBehavior} instance.
3463
+ * @param query - The media query to operate from.
3464
+ * @param styles - The styles to coordinate with the query.
3465
+ */
3466
+ constructor(query: MediaQueryList, styles: ElementStyles);
3467
+ /**
3468
+ * Defines a function to construct {@link MatchMediaStyleSheetBehavior | MatchMediaStyleSheetBehaviors} for
3469
+ * a provided query.
3470
+ * @param query - The media query to operate from.
3471
+ *
3472
+ * @public
3473
+ * @example
3474
+ *
3475
+ * ```ts
3476
+ * import { css } from "@microsoft/fast-element";
3477
+ * import { MatchMediaStyleSheetBehavior } from "@fluentui/web-components";
3478
+ *
3479
+ * const landscapeBehavior = MatchMediaStyleSheetBehavior.with(
3480
+ * window.matchMedia("(orientation: landscape)")
3481
+ * );
3482
+ *
3483
+ * const styles = css`
3484
+ * :host {
3485
+ * width: 200px;
3486
+ * height: 400px;
3487
+ * }
3488
+ * `
3489
+ * .withBehaviors(landscapeBehavior(css`
3490
+ * :host {
3491
+ * width: 400px;
3492
+ * height: 200px;
3493
+ * }
3494
+ * `))
3495
+ * ```
3496
+ */
3497
+ static with(query: MediaQueryList): (styles: ElementStyles) => MatchMediaStyleSheetBehavior;
3498
+ /**
3499
+ * Constructs a match-media listener for a provided element.
3500
+ * @param source - the element for which to attach or detach styles.
3501
+ */
3502
+ protected constructListener(controller: HostController): MediaQueryListListener;
3503
+ /**
3504
+ * Unbinds the behavior from the element.
3505
+ * @param controller - The host controller orchestrating this behavior.
3506
+ * @internal
3507
+ */
3508
+ removedCallback(controller: HostController<any>): void;
3509
+ }
3510
+
3511
+ /**
3512
+ * An event listener fired by a {@link https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList | MediaQueryList }.
3513
+ * @public
3514
+ */
3515
+ export declare type MediaQueryListListener = (this: MediaQueryList, ev?: MediaQueryListEvent) => void;
3516
+
3517
+ /**
3518
+ * The Menu class represents a menu component.
3519
+ * @public
3520
+ */
3521
+ export declare class Menu extends FASTElement {
3522
+ /**
3523
+ * Determines if the menu should open on hover.
3524
+ * @public
3525
+ */
3526
+ openOnHover?: boolean;
3527
+ /**
3528
+ * Determines if the menu should open on right click.
3529
+ * @public
3530
+ */
3531
+ openOnContext?: boolean;
3532
+ /**
3533
+ * Determines if the menu should close on scroll.
3534
+ * @public
3535
+ */
3536
+ closeOnScroll?: boolean;
3537
+ /**
3538
+ * Determines if the menu open state should persis on click of menu item
3539
+ * @public
3540
+ */
3541
+ persistOnItemClick?: boolean;
3542
+ /**
3543
+ * Defines whether the menu is open or not.
3544
+ * @public
3545
+ */
3546
+ open: boolean;
3547
+ /**
3548
+ * Holds the slotted menu list.
3549
+ * @public
3550
+ */
3551
+ slottedMenuList: MenuList[];
3552
+ /**
3553
+ * Holds the slotted triggers.
3554
+ * @public
3555
+ */
3556
+ slottedTriggers: HTMLElement[];
3557
+ /**
3558
+ * The positioning container of the menu.
3559
+ * @internal
3560
+ */
3561
+ positioningContainer?: HTMLElement;
3562
+ /**
3563
+ * The trigger element of the menu.
3564
+ * @private
3565
+ */
3566
+ private _trigger?;
3567
+ /**
3568
+ * The menu list element of the menu.
3569
+ * @private
3570
+ */
3571
+ private _menuList?;
3572
+ /**
3573
+ * Holds a reference to a function that is used to cleanup resources.
3574
+ * @public
3575
+ */
3576
+ cleanup?: () => void;
3577
+ /**
3578
+ * Called when the element is connected to the DOM.
3579
+ * Sets up the component.
3580
+ * @public
3581
+ */
3582
+ connectedCallback(): void;
3583
+ /**
3584
+ * Called when the element is disconnected from the DOM.
3585
+ * Removes event listeners.
3586
+ * @public
3587
+ */
3588
+ disconnectedCallback(): void;
3589
+ /**
3590
+ * Sets the component.
3591
+ * Sets the trigger and menu list elements and adds event listeners.
3592
+ * @public
3593
+ */
3594
+ setComponent(): void;
3595
+ /**
3596
+ * Toggles the open state of the menu.
3597
+ * @public
3598
+ */
3599
+ toggleMenu: () => void;
3600
+ /**
3601
+ * Closes the menu.
3602
+ * @public
3603
+ */
3604
+ closeMenu: () => void;
3605
+ /**
3606
+ * Opens the menu.
3607
+ * @public
3608
+ */
3609
+ openMenu: (e?: Event) => void;
3610
+ /**
3611
+ * Focuses on the menu list.
3612
+ * @public
3613
+ */
3614
+ focusMenuList(): void;
3615
+ /**
3616
+ * Focuses on the menu trigger.
3617
+ * @public
3618
+ */
3619
+ focusTrigger(): void;
3620
+ /**
3621
+ * Called whenever the open state changes.
3622
+ * Updates the 'aria-expanded' attribute and sets the positioning of the menu.
3623
+ * Sets menu list position
3624
+ * emits openChanged event
3625
+ * @public
3626
+ * @param {boolean} oldValue - The previous value of 'open'.
3627
+ * @param {boolean} newValue - The new value of 'open'.
3628
+ */
3629
+ openChanged(oldValue: boolean, newValue: boolean): void;
3630
+ /**
3631
+ * Called whenever the 'openOnHover' property changes.
3632
+ * Adds or removes a 'mouseover' event listener to the trigger based on the new value.
3633
+ * @public
3634
+ * @param {boolean} oldValue - The previous value of 'openOnHover'.
3635
+ * @param {boolean} newValue - The new value of 'openOnHover'.
3636
+ */
3637
+ openOnHoverChanged(oldValue: boolean, newValue: boolean): void;
3638
+ /**
3639
+ * Called whenever the 'persistOnItemClick' property changes.
3640
+ * Adds or removes a 'click' event listener to the menu list based on the new value.
3641
+ * @public
3642
+ * @param {boolean} oldValue - The previous value of 'persistOnItemClick'.
3643
+ * @param {boolean} newValue - The new value of 'persistOnItemClick'.
3644
+ */
3645
+ persistOnItemClickChanged(oldValue: boolean, newValue: boolean): void;
3646
+ /**
3647
+ * Called whenever the 'openOnContext' property changes.
3648
+ * Adds or removes a 'contextmenu' event listener to the trigger based on the new value.
3649
+ * @public
3650
+ * @param {boolean} oldValue - The previous value of 'openOnContext'.
3651
+ * @param {boolean} newValue - The new value of 'openOnContext'.
3652
+ */
3653
+ openOnContextChanged(oldValue: boolean, newValue: boolean): void;
3654
+ /**
3655
+ * Called whenever the 'closeOnScroll' property changes.
3656
+ * Adds or removes a 'closeOnScroll' event listener to the trigger based on the new value.
3657
+ * @public
3658
+ * @param {boolean} oldValue - The previous value of 'closeOnScroll'.
3659
+ * @param {boolean} newValue - The new value of 'closeOnScroll'.
3660
+ */
3661
+ closeOnScrollChanged(oldValue: boolean, newValue: boolean): void;
3662
+ /**
3663
+ * The task to set the positioning of the menu.
3664
+ * @protected
3665
+ */
3666
+ protected setPositioningTask: () => void;
3667
+ /**
3668
+ * Sets the positioning of the menu.
3669
+ * @protected
3670
+ */
3671
+ protected setPositioning(): void;
3672
+ /**
3673
+ * Adds event listeners.
3674
+ * Adds click and keydown event listeners to the trigger and a click event listener to the document.
3675
+ * If 'openOnHover' is true, adds a 'mouseover' event listener to the trigger.
3676
+ * @public
3677
+ */
3678
+ private addListeners;
3679
+ /**
3680
+ * Removes event listeners.
3681
+ * Removes click and keydown event listeners from the trigger and a click event listener from the document.
3682
+ * Also removes 'mouseover' event listeners from the trigger.
3683
+ * @private
3684
+ */
3685
+ private removeListeners;
3686
+ /**
3687
+ * Handles keyboard interaction for the menu.
3688
+ * Closes the menu and focuses on the trigger when the Escape key is pressed.
3689
+ * Closes the menu when the Tab key is pressed.
3690
+ * @public
3691
+ * @param {KeyboardEvent} e - the keyboard event
3692
+ */
3693
+ handleMenuKeydown(e: KeyboardEvent): boolean | void;
3694
+ /**
3695
+ * Handles keyboard interaction for the trigger.
3696
+ * Toggles the menu when the Space or Enter key is pressed.
3697
+ * If the menu is open, focuses on the menu list.
3698
+ * @public
3699
+ * @param {KeyboardEvent} e - the keyboard event
3700
+ */
3701
+ handleTriggerKeydown: (e: KeyboardEvent) => boolean | void;
3702
+ /**
3703
+ * Handles document click events to close the menu when a click occurs outside of the menu or the trigger.
3704
+ * @private
3705
+ * @param {Event} e - The event triggered on document click.
3706
+ */
3707
+ private handleDocumentClick;
3708
+ }
2133
3709
 
2134
3710
  /**
2135
3711
  * The base class used for constructing a fluent-menu-button custom element
@@ -2157,9 +3733,6 @@ export declare const MenuButtonAppearance: {
2157
3733
  export declare type MenuButtonAppearance = ValuesOf<typeof MenuButtonAppearance>;
2158
3734
 
2159
3735
  /**
2160
- * The Fluent Menu Button Element. Implements {@link @microsoft/fast-foundation#Button },
2161
- * {@link @microsoft/fast-foundation#buttonTemplate}
2162
- *
2163
3736
  * @public
2164
3737
  * @remarks
2165
3738
  * HTML Element: \<fluent-button\>
@@ -2205,83 +3778,343 @@ export declare type MenuButtonSize = ValuesOf<typeof MenuButtonSize>;
2205
3778
  export declare const MenuButtonTemplate: ElementViewTemplate<MenuButton>;
2206
3779
 
2207
3780
  /**
2208
- * The base class used for constructing a fluent-menu-item custom element
2209
- * @public
2210
- */
2211
- export declare class MenuItem extends FASTMenuItem {
2212
- }
2213
-
2214
- export declare type MenuItemColumnCount = 0 | 1 | 2;
2215
-
2216
- /**
2217
- * The Fluent Menu Item Element. Implements {@link @microsoft/fast-foundation#MenuItem },
2218
- * {@link @microsoft/fast-foundation#menuItemTemplate}
2219
- *
3781
+ * The Fluent Menu Element.
2220
3782
  *
2221
3783
  * @public
2222
3784
  * @remarks
2223
- * HTML Element: <fluent-menu-item>
2224
- */
2225
- export declare const MenuItemDefinition: FASTElementDefinition<typeof MenuItem>;
2226
-
2227
- export { MenuItemRole }
2228
-
2229
- /** MenuItem styles
2230
- * @public
2231
- */
2232
- export declare const MenuItemStyles: ElementStyles;
2233
-
2234
- export declare const MenuItemTemplate: ElementViewTemplate<MenuItem>;
2235
-
2236
- /**
2237
- * The base class used for constructing a fluent-menu-list custom element
2238
- * @public
3785
+ * HTML Element: <fluent-menu>
2239
3786
  */
2240
- export declare class MenuList extends FASTMenu {
2241
- protected setItems(): void;
2242
- private static elementIndent;
2243
- }
3787
+ export declare const MenuDefinition: FASTElementDefinition<typeof Menu>;
2244
3788
 
2245
3789
  /**
2246
- * The Fluent MenuList Element. Implements {@link @microsoft/fast-foundation#Menu },
2247
- * {@link @microsoft/fast-foundation#menuTemplate}
3790
+ * A Switch Custom HTML Element.
3791
+ * Implements {@link https://www.w3.org/TR/wai-aria-1.1/#menuitem | ARIA menuitem }, {@link https://www.w3.org/TR/wai-aria-1.1/#menuitemcheckbox | ARIA menuitemcheckbox}, or {@link https://www.w3.org/TR/wai-aria-1.1/#menuitemradio | ARIA menuitemradio }.
2248
3792
  *
3793
+ * @slot checked-indicator - The checked indicator
3794
+ * @slot radio-indicator - The radio indicator
3795
+ * @slot start - Content which can be provided before the menu item content
3796
+ * @slot end - Content which can be provided after the menu item content
3797
+ * @slot - The default slot for menu item content
3798
+ * @slot expand-collapse-indicator - The expand/collapse indicator
3799
+ * @slot submenu - Used to nest menu's within menu items
3800
+ * @csspart input-container - The element representing the visual checked or radio indicator
3801
+ * @csspart checkbox - The element wrapping the `menuitemcheckbox` indicator
3802
+ * @csspart radio - The element wrapping the `menuitemradio` indicator
3803
+ * @csspart content - The element wrapping the menu item content
3804
+ * @csspart expand-collapse-glyph-container - The element wrapping the expand collapse element
3805
+ * @csspart expand-collapse - The expand/collapse element
3806
+ * @csspart submenu-region - The container for the submenu, used for positioning
3807
+ * @fires expanded-change - Fires a custom 'expanded-change' event when the expanded state changes
3808
+ * @fires change - Fires a custom 'change' event when a non-submenu item with a role of `menuitemcheckbox`, `menuitemradio`, or `menuitem` is invoked
2249
3809
  *
2250
3810
  * @public
2251
- * @remarks
2252
- * HTML Element: <fluent-menu-list>
2253
- */
2254
- export declare const MenuListDefinition: FASTElementDefinition<typeof MenuList>;
2255
-
2256
- /** MenuList styles
2257
- * @public
2258
- */
2259
- export declare const MenuListStyles: ElementStyles;
2260
-
2261
- export declare const MenuListTemplate: ElementViewTemplate<MenuList>;
2262
-
2263
- /**
2264
- * The base class used for constructing a fluent-progress-bar custom element
2265
- * @public
2266
3811
  */
2267
- declare class ProgressBar_2 extends FASTProgress {
3812
+ export declare class MenuItem extends FASTElement {
2268
3813
  /**
2269
- * The thickness of the progress bar
3814
+ * The disabled state of the element.
2270
3815
  *
2271
3816
  * @public
2272
3817
  * @remarks
2273
- * HTML Attribute: thickness
3818
+ * HTML Attribute: disabled
2274
3819
  */
2275
- thickness?: ProgressBarThickness;
3820
+ disabled: boolean;
2276
3821
  /**
2277
- * The shape of the progress bar
3822
+ * The expanded state of the element.
3823
+ *
2278
3824
  * @public
2279
3825
  * @remarks
2280
- * HTML Attribute: shape
3826
+ * HTML Attribute: expanded
2281
3827
  */
2282
- shape?: ProgressBarShape;
3828
+ expanded: boolean;
3829
+ protected expandedChanged(prev: boolean | undefined, next: boolean): void;
2283
3830
  /**
2284
- * The validation state of the progress bar
3831
+ * The role of the element.
3832
+ *
3833
+ * @public
3834
+ * @remarks
3835
+ * HTML Attribute: role
3836
+ */
3837
+ role: MenuItemRole;
3838
+ /**
3839
+ * Cleanup function for the submenu positioner.
3840
+ *
3841
+ * @public
3842
+ */
3843
+ cleanup: () => void;
3844
+ /**
3845
+ * The checked value of the element.
3846
+ *
3847
+ * @public
3848
+ * @remarks
3849
+ * HTML Attribute: checked
3850
+ */
3851
+ checked: boolean;
3852
+ protected checkedChanged(oldValue: boolean, newValue: boolean): void;
3853
+ /**
3854
+ * The hidden attribute.
3855
+ *
3856
+ * @public
3857
+ * @remarks
3858
+ * HTML Attribute: hidden
3859
+ */
3860
+ hidden: boolean;
3861
+ /**
3862
+ * The submenu slotted content.
3863
+ *
3864
+ * @internal
3865
+ */
3866
+ slottedSubmenu: HTMLElement[];
3867
+ /**
3868
+ * @internal
3869
+ */
3870
+ get hasSubmenu(): boolean;
3871
+ /**
3872
+ * Sets the submenu and updates its position.
3873
+ *
3874
+ * @internal
3875
+ */
3876
+ protected slottedSubmenuChanged(prev: HTMLElement[] | undefined, next: HTMLElement[]): void;
3877
+ /**
3878
+ * The container for the submenu.
3879
+ *
3880
+ * @internal
3881
+ */
3882
+ submenuContainer: HTMLDivElement;
3883
+ /**
3884
+ * @internal
3885
+ */
3886
+ submenu: HTMLElement | undefined;
3887
+ private focusSubmenuOnLoad;
3888
+ /**
3889
+ * @internal
3890
+ */
3891
+ disconnectedCallback(): void;
3892
+ /**
3893
+ * @internal
3894
+ */
3895
+ handleMenuItemKeyDown: (e: KeyboardEvent) => boolean;
3896
+ /**
3897
+ * @internal
3898
+ */
3899
+ handleMenuItemClick: (e: MouseEvent) => boolean;
3900
+ /**
3901
+ * @internal
3902
+ */
3903
+ submenuLoaded: () => void;
3904
+ /**
3905
+ * @internal
3906
+ */
3907
+ handleMouseOver: (e: MouseEvent) => boolean;
3908
+ /**
3909
+ * @internal
3910
+ */
3911
+ handleMouseOut: (e: MouseEvent) => boolean;
3912
+ /**
3913
+ * @internal
3914
+ */
3915
+ private closeSubMenu;
3916
+ /**
3917
+ * @internal
3918
+ */
3919
+ private expandAndFocus;
3920
+ /**
3921
+ * @internal
3922
+ */
3923
+ private invoke;
3924
+ /**
3925
+ * Calculate and apply submenu positioning.
3926
+ *
3927
+ * @public
3928
+ */
3929
+ updateSubmenu(): void;
3930
+ }
3931
+
3932
+ /**
3933
+ * Mark internal because exporting class and interface of the same name
3934
+ * confuses API documenter.
3935
+ * TODO: https://github.com/microsoft/fast/issues/3317
3936
+ * @internal
3937
+ */
3938
+ export declare interface MenuItem extends StartEnd {
3939
+ }
3940
+
3941
+ export declare type MenuItemColumnCount = 0 | 1 | 2;
3942
+
3943
+ /**
3944
+ * @public
3945
+ * @remarks
3946
+ * HTML Element: <fluent-menu-item>
3947
+ */
3948
+ export declare const MenuItemDefinition: FASTElementDefinition<typeof MenuItem>;
3949
+
3950
+ /**
3951
+ * Menu Item configuration options
3952
+ * @public
3953
+ */
3954
+ export declare type MenuItemOptions = StartEndOptions<MenuItem> & {
3955
+ checkboxIndicator?: StaticallyComposableHTML<MenuItem>;
3956
+ expandCollapseGlyph?: StaticallyComposableHTML<MenuItem>;
3957
+ radioIndicator?: StaticallyComposableHTML<MenuItem>;
3958
+ };
3959
+
3960
+ /**
3961
+ * Menu items roles.
3962
+ * @public
3963
+ */
3964
+ export declare const MenuItemRole: {
3965
+ /**
3966
+ * The menu item has a "menuitem" role
3967
+ */
3968
+ readonly menuitem: "menuitem";
3969
+ /**
3970
+ * The menu item has a "menuitemcheckbox" role
3971
+ */
3972
+ readonly menuitemcheckbox: "menuitemcheckbox";
3973
+ /**
3974
+ * The menu item has a "menuitemradio" role
3975
+ */
3976
+ readonly menuitemradio: "menuitemradio";
3977
+ };
3978
+
3979
+ /**
3980
+ * The types for menu item roles
3981
+ * @public
3982
+ */
3983
+ export declare type MenuItemRole = ValuesOf<typeof MenuItemRole>;
3984
+
3985
+ /** MenuItem styles
3986
+ * @public
3987
+ */
3988
+ export declare const MenuItemStyles: ElementStyles;
3989
+
3990
+ export declare const MenuItemTemplate: ElementViewTemplate<MenuItem>;
3991
+
3992
+ /**
3993
+ * A Menu Custom HTML Element.
3994
+ * Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#menu | ARIA menu }.
3995
+ *
3996
+ * @slot - The default slot for the menu items
3997
+ *
3998
+ * @public
3999
+ */
4000
+ export declare class MenuList extends FASTElement {
4001
+ /**
4002
+ * @internal
4003
+ */
4004
+ items: HTMLElement[];
4005
+ protected itemsChanged(oldValue: HTMLElement[], newValue: HTMLElement[]): void;
4006
+ protected menuItems: Element[] | undefined;
4007
+ private expandedItem;
4008
+ /**
4009
+ * The index of the focusable element in the items array
4010
+ * defaults to -1
4011
+ */
4012
+ private focusIndex;
4013
+ private static focusableElementRoles;
4014
+ /**
4015
+ * @internal
4016
+ */
4017
+ connectedCallback(): void;
4018
+ /**
4019
+ * @internal
4020
+ */
4021
+ disconnectedCallback(): void;
4022
+ /**
4023
+ * @internal
4024
+ */
4025
+ readonly isNestedMenu: () => boolean;
4026
+ /**
4027
+ * Focuses the first item in the menu.
4028
+ *
4029
+ * @public
4030
+ */
4031
+ focus(): void;
4032
+ /**
4033
+ * Collapses any expanded menu items.
4034
+ *
4035
+ * @public
4036
+ */
4037
+ collapseExpandedItem(): void;
4038
+ /**
4039
+ * @internal
4040
+ */
4041
+ handleMenuKeyDown(e: KeyboardEvent): void | boolean;
4042
+ /**
4043
+ * if focus is moving out of the menu, reset to a stable initial state
4044
+ * @internal
4045
+ */
4046
+ handleFocusOut: (e: FocusEvent) => void;
4047
+ private handleItemFocus;
4048
+ private handleExpandedChanged;
4049
+ private removeItemListeners;
4050
+ private static elementIndent;
4051
+ protected setItems(): void;
4052
+ handleChange(source: any, propertyName: string): void;
4053
+ /**
4054
+ * handle change from child element
4055
+ */
4056
+ private changeHandler;
4057
+ /**
4058
+ * check if the item is a menu item
4059
+ */
4060
+ protected isMenuItemElement: (el: Element) => el is HTMLElement;
4061
+ /**
4062
+ * check if the item is focusable
4063
+ */
4064
+ private isFocusableElement;
4065
+ private setFocus;
4066
+ }
4067
+
4068
+ /**
4069
+ * @public
4070
+ * @remarks
4071
+ * HTML Element: <fluent-menu-list>
4072
+ */
4073
+ export declare const MenuListDefinition: FASTElementDefinition<typeof MenuList>;
4074
+
4075
+ /** MenuList styles
4076
+ * @public
4077
+ */
4078
+ export declare const MenuListStyles: ElementStyles;
4079
+
4080
+ export declare const MenuListTemplate: ElementViewTemplate<MenuList>;
4081
+
4082
+ /** Menu styles
4083
+ * @public
4084
+ */
4085
+ export declare const MenuStyles: ElementStyles;
4086
+
4087
+ export declare const MenuTemplate: ElementViewTemplate<Menu>;
4088
+
4089
+ /**
4090
+ * An Progress HTML Element.
4091
+ * Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#progressbar | ARIA progressbar }.
4092
+ *
4093
+ * @slot indeterminate - The slot for a custom indeterminate indicator
4094
+ * @csspart progress - Represents the progress element
4095
+ * @csspart determinate - The determinate indicator
4096
+ * @csspart indeterminate - The indeterminate indicator
4097
+ *
4098
+ * @public
4099
+ */
4100
+ declare class ProgressBar_2 extends BaseProgress {
4101
+ /**
4102
+ * The thickness of the progress bar
4103
+ *
4104
+ * @public
4105
+ * @remarks
4106
+ * HTML Attribute: thickness
4107
+ */
4108
+ thickness?: ProgressBarThickness;
4109
+ /**
4110
+ * The shape of the progress bar
4111
+ * @public
4112
+ * @remarks
4113
+ * HTML Attribute: shape
4114
+ */
4115
+ shape?: ProgressBarShape;
4116
+ /**
4117
+ * The validation state of the progress bar
2285
4118
  * @public
2286
4119
  * @remarks
2287
4120
  * HTML Attribute: validation-state
@@ -2354,12 +4187,86 @@ export declare const ProgressBarValidationState: {
2354
4187
  export declare type ProgressBarValidationState = ValuesOf<typeof ProgressBarValidationState>;
2355
4188
 
2356
4189
  /**
2357
- * The base class used for constructing a fluent-radio custom element
4190
+ * Progress configuration options
2358
4191
  * @public
2359
4192
  */
2360
- export declare class Radio extends FASTRadio {
4193
+ export declare type ProgressOptions = {
4194
+ indeterminateIndicator1?: StaticallyComposableHTML<ProgressBar_2>;
4195
+ indeterminateIndicator2?: StaticallyComposableHTML<ProgressBar_2>;
4196
+ };
4197
+
4198
+ /**
4199
+ * An circular Progress HTML Element.
4200
+ * Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#progressbar | ARIA progressbar }.
4201
+ *
4202
+ * @slot indeterminate - The slot for a custom indeterminate indicator
4203
+ * @slot determinate - The slot for a custom determinate indicator
4204
+ * @csspart progress - Represents the progress element
4205
+ * @csspart determinate - The determinate indicator
4206
+ * @csspart background - The background
4207
+ *
4208
+ * @public
4209
+ */
4210
+ declare class ProgressRing extends BaseProgress {
4211
+ }
4212
+
4213
+ /**
4214
+ * A Radio Custom HTML Element.
4215
+ * Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#radio | ARIA radio }.
4216
+ *
4217
+ * @slot checked-indicator - The checked indicator
4218
+ * @slot - The default slot for the label
4219
+ * @csspart control - The element representing the visual radio control
4220
+ * @csspart label - The label
4221
+ * @fires change - Emits a custom change event when the checked state changes
4222
+ *
4223
+ * @public
4224
+ */
4225
+ export declare class Radio extends FormAssociatedRadio implements RadioControl {
4226
+ /**
4227
+ * The name of the radio. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefname | name attribute} for more info.
4228
+ */
4229
+ name: string;
4230
+ /**
4231
+ * The element's value to be included in form submission when checked.
4232
+ * Default to "on" to reach parity with input[type="radio"]
4233
+ *
4234
+ * @internal
4235
+ */
4236
+ initialValue: string;
4237
+ /**
4238
+ * @internal
4239
+ */
4240
+ defaultSlottedNodes: Node[];
4241
+ private get radioGroup();
4242
+ /**
4243
+ * @internal
4244
+ */
4245
+ defaultCheckedChanged(): void;
4246
+ constructor();
4247
+ /**
4248
+ * @internal
4249
+ */
4250
+ connectedCallback(): void;
4251
+ private isInsideRadioGroup;
4252
+ /**
4253
+ * Handles key presses on the radio.
4254
+ * @beta
4255
+ */
4256
+ keypressHandler(e: KeyboardEvent): boolean | void;
2361
4257
  }
2362
4258
 
4259
+ declare class _Radio extends FASTElement {
4260
+ }
4261
+
4262
+ declare interface _Radio extends CheckableFormAssociated {
4263
+ }
4264
+
4265
+ /**
4266
+ * @public
4267
+ */
4268
+ export declare type RadioControl = Pick<HTMLInputElement, 'checked' | 'disabled' | 'focus' | 'setAttribute' | 'getAttribute'>;
4269
+
2363
4270
  /**
2364
4271
  * The Fluent Radio Element.
2365
4272
  *
@@ -2371,112 +4278,470 @@ export declare class Radio extends FASTRadio {
2371
4278
  export declare const RadioDefinition: FASTElementDefinition<typeof Radio>;
2372
4279
 
2373
4280
  /**
2374
- * The base class used for constructing a fluent-radio-group custom element
4281
+ * The base class used for constructing a fluent-radio-group custom element
4282
+ * @public
4283
+ */
4284
+ export declare class RadioGroup extends FASTElement {
4285
+ /**
4286
+ * sets radio layout styles
4287
+ *
4288
+ * @public
4289
+ * @remarks
4290
+ * HTML Attribute: stacked
4291
+ */
4292
+ stacked: boolean;
4293
+ /**
4294
+ * When true, the child radios will be immutable by user interaction. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute} for more information.
4295
+ * @public
4296
+ * @remarks
4297
+ * HTML Attribute: readonly
4298
+ */
4299
+ readOnly: boolean;
4300
+ /**
4301
+ * Disables the radio group and child radios.
4302
+ *
4303
+ * @public
4304
+ * @remarks
4305
+ * HTML Attribute: disabled
4306
+ */
4307
+ disabled: boolean;
4308
+ /**
4309
+ * The name of the radio group. Setting this value will set the name value
4310
+ * for all child radio elements.
4311
+ *
4312
+ * @public
4313
+ * @remarks
4314
+ * HTML Attribute: name
4315
+ */
4316
+ name: string;
4317
+ protected nameChanged(): void;
4318
+ /**
4319
+ * The value of the checked radio
4320
+ *
4321
+ * @public
4322
+ * @remarks
4323
+ * HTML Attribute: value
4324
+ */
4325
+ value: string;
4326
+ protected valueChanged(): void;
4327
+ /**
4328
+ * The orientation of the group
4329
+ *
4330
+ * @public
4331
+ * @remarks
4332
+ * HTML Attribute: orientation
4333
+ */
4334
+ orientation: RadioGroupOrientation;
4335
+ childItems: HTMLElement[];
4336
+ /**
4337
+ * @internal
4338
+ */
4339
+ slottedRadioButtons: HTMLElement[];
4340
+ protected slottedRadioButtonsChanged(oldValue: unknown, newValue: HTMLElement[]): void;
4341
+ private selectedRadio;
4342
+ private focusedRadio;
4343
+ private direction;
4344
+ private get parentToolbar();
4345
+ private get isInsideToolbar();
4346
+ private get isInsideFoundationToolbar();
4347
+ /**
4348
+ * @internal
4349
+ */
4350
+ connectedCallback(): void;
4351
+ disconnectedCallback(): void;
4352
+ private setupRadioButtons;
4353
+ private radioChangeHandler;
4354
+ private moveToRadioByIndex;
4355
+ private moveRightOffGroup;
4356
+ private moveLeftOffGroup;
4357
+ /**
4358
+ * @internal
4359
+ */
4360
+ focusOutHandler: (e: FocusEvent) => boolean | void;
4361
+ /**
4362
+ * @internal
4363
+ */
4364
+ handleDisabledClick: (e: MouseEvent) => void | boolean;
4365
+ /**
4366
+ * @internal
4367
+ */
4368
+ clickHandler: (e: MouseEvent) => void | boolean;
4369
+ private shouldMoveOffGroupToTheRight;
4370
+ private shouldMoveOffGroupToTheLeft;
4371
+ private checkFocusedRadio;
4372
+ private moveRight;
4373
+ private moveLeft;
4374
+ /**
4375
+ * keyboard handling per https://w3c.github.io/aria-practices/#for-radio-groups-not-contained-in-a-toolbar
4376
+ * navigation is different when there is an ancestor with role='toolbar'
4377
+ *
4378
+ * @internal
4379
+ */
4380
+ keydownHandler: (e: KeyboardEvent) => boolean | void;
4381
+ }
4382
+
4383
+ /**
4384
+ * The Fluent RadioGroup Element.
4385
+ *
4386
+ *
4387
+ * @public
4388
+ * @remarks
4389
+ * HTML Element: \<fluent-radio-group\>
4390
+ */
4391
+ export declare const RadioGroupDefinition: FASTElementDefinition<typeof RadioGroup>;
4392
+
4393
+ /**
4394
+ * Radio Group orientation
4395
+ * @public
4396
+ */
4397
+ declare const RadioGroupOrientation: {
4398
+ readonly horizontal: "horizontal"; /**
4399
+ * Radio Group orientation
4400
+ * @public
4401
+ */
4402
+ readonly vertical: "vertical";
4403
+ };
4404
+
4405
+ /**
4406
+ * Types of Radio Group orientation
4407
+ * @public
4408
+ */
4409
+ declare type RadioGroupOrientation = ValuesOf<typeof RadioGroupOrientation>;
4410
+
4411
+ /** RadioGroup styles
4412
+ * @public
4413
+ */
4414
+ export declare const RadioGroupStyles: ElementStyles;
4415
+
4416
+ export declare const RadioGroupTemplate: ElementViewTemplate<RadioGroup>;
4417
+
4418
+ /**
4419
+ * Radio configuration options
4420
+ * @public
4421
+ */
4422
+ export declare type RadioOptions = {
4423
+ checkedIndicator?: StaticallyComposableHTML<Radio>;
4424
+ };
4425
+
4426
+ /** Radio styles
4427
+ * @public
4428
+ */
4429
+ export declare const RadioStyles: ElementStyles;
4430
+
4431
+ export declare const RadioTemplate: ElementViewTemplate<Radio>;
4432
+
4433
+ /**
4434
+ * @internal
4435
+ */
4436
+ export declare const roleForMenuItem: {
4437
+ [value in keyof typeof MenuItemRole]: typeof MenuItemRole[value];
4438
+ };
4439
+
4440
+ /**
4441
+ * Sets the theme tokens on defaultNode.
4442
+ * @param theme Flat object of theme token values.
4443
+ */
4444
+ export declare const setTheme: (theme: Theme) => void;
4445
+
4446
+ export declare const setThemeFor: (element: HTMLElement, theme: Theme) => void;
4447
+
4448
+ export declare const shadow16 = "var(--shadow16)";
4449
+
4450
+ export declare const shadow16Brand = "var(--shadow16Brand)";
4451
+
4452
+ export declare const shadow2 = "var(--shadow2)";
4453
+
4454
+ export declare const shadow28 = "var(--shadow28)";
4455
+
4456
+ export declare const shadow28Brand = "var(--shadow28Brand)";
4457
+
4458
+ export declare const shadow2Brand = "var(--shadow2Brand)";
4459
+
4460
+ export declare const shadow4 = "var(--shadow4)";
4461
+
4462
+ export declare const shadow4Brand = "var(--shadow4Brand)";
4463
+
4464
+ export declare const shadow64 = "var(--shadow64)";
4465
+
4466
+ export declare const shadow64Brand = "var(--shadow64Brand)";
4467
+
4468
+ export declare const shadow8 = "var(--shadow8)";
4469
+
4470
+ export declare const shadow8Brand = "var(--shadow8Brand)";
4471
+
4472
+ /**
4473
+ * The base class used for constructing a fluent-slider custom element
4474
+ * @public
4475
+ */
4476
+ export declare class Slider extends FormAssociatedSlider implements SliderConfiguration {
4477
+ /**
4478
+ * The size of the slider
4479
+ * @public
4480
+ * @remarks
4481
+ * HTML Attribute: size
4482
+ */
4483
+ size?: SliderSize;
4484
+ handleChange(source: any, propertyName: string): void;
4485
+ private stepStyles?;
4486
+ /**
4487
+ * Handles changes to step styling based on the step value
4488
+ * NOTE: This function is not a changed callback, stepStyles is not observable
4489
+ */
4490
+ private handleStepStyles;
4491
+ /**
4492
+ * When true, the control will be immutable by user interaction. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute} for more information.
4493
+ *
4494
+ * @public
4495
+ * @remarks
4496
+ * HTML Attribute: readonly
4497
+ */
4498
+ readOnly: boolean;
4499
+ protected readOnlyChanged(): void;
4500
+ /**
4501
+ * @internal
4502
+ */
4503
+ track: HTMLDivElement;
4504
+ /**
4505
+ * @internal
4506
+ */
4507
+ thumb: HTMLDivElement;
4508
+ /**
4509
+ * @internal
4510
+ */
4511
+ stepMultiplier: number;
4512
+ /**
4513
+ * @internal
4514
+ */
4515
+ direction: Direction;
4516
+ /**
4517
+ * @internal
4518
+ */
4519
+ isDragging: boolean;
4520
+ /**
4521
+ * @internal
4522
+ */
4523
+ position: string;
4524
+ /**
4525
+ * @internal
4526
+ */
4527
+ trackWidth: number;
4528
+ /**
4529
+ * @internal
4530
+ */
4531
+ trackMinWidth: number;
4532
+ /**
4533
+ * @internal
4534
+ */
4535
+ trackHeight: number;
4536
+ /**
4537
+ * @internal
4538
+ */
4539
+ trackLeft: number;
4540
+ /**
4541
+ * @internal
4542
+ */
4543
+ trackMinHeight: number;
4544
+ /**
4545
+ * The value property, typed as a number.
4546
+ *
4547
+ * @public
4548
+ */
4549
+ get valueAsNumber(): number;
4550
+ set valueAsNumber(next: number);
4551
+ /**
4552
+ * Custom function that generates a string for the component's "aria-valuetext" attribute based on the current value.
4553
+ *
4554
+ * @public
4555
+ */
4556
+ valueTextFormatter: (value: string) => string | null;
4557
+ /**
4558
+ * @internal
4559
+ */
4560
+ valueChanged(previous: string, next: string): void;
4561
+ /**
4562
+ * The minimum allowed value.
4563
+ *
4564
+ * @defaultValue - 0
4565
+ * @public
4566
+ * @remarks
4567
+ * HTML Attribute: min
4568
+ */
4569
+ min: number;
4570
+ protected minChanged(): void;
4571
+ /**
4572
+ * The maximum allowed value.
4573
+ *
4574
+ * @defaultValue - 10
4575
+ * @public
4576
+ * @remarks
4577
+ * HTML Attribute: max
4578
+ */
4579
+ max: number;
4580
+ protected maxChanged(): void;
4581
+ /**
4582
+ * Value to increment or decrement via arrow keys, mouse click or drag.
4583
+ *
4584
+ * @public
4585
+ * @remarks
4586
+ * HTML Attribute: step
4587
+ */
4588
+ step: number | undefined;
4589
+ protected stepChanged(): void;
4590
+ /**
4591
+ * The orientation of the slider.
4592
+ *
4593
+ * @public
4594
+ * @remarks
4595
+ * HTML Attribute: orientation
4596
+ */
4597
+ orientation: Orientation;
4598
+ protected orientationChanged(): void;
4599
+ /**
4600
+ * The selection mode.
4601
+ *
4602
+ * @public
4603
+ * @remarks
4604
+ * HTML Attribute: mode
4605
+ */
4606
+ mode: SliderMode;
4607
+ /**
4608
+ * @internal
4609
+ */
4610
+ connectedCallback(): void;
4611
+ /**
4612
+ * @internal
4613
+ */
4614
+ disconnectedCallback(): void;
4615
+ /**
4616
+ * Increment the value by the step
4617
+ *
4618
+ * @public
4619
+ */
4620
+ increment(): void;
4621
+ /**
4622
+ * Decrement the value by the step
4623
+ *
4624
+ * @public
4625
+ */
4626
+ decrement(): void;
4627
+ keypressHandler: (e: KeyboardEvent) => void;
4628
+ /**
4629
+ * Gets the actual step value for the slider
4630
+ *
4631
+ */
4632
+ private get stepValue();
4633
+ /**
4634
+ * Places the thumb based on the current value
4635
+ *
4636
+ * @public
4637
+ * @param direction - writing mode
4638
+ */
4639
+ private setThumbPositionForOrientation;
4640
+ /**
4641
+ * Update the step multiplier used to ensure rounding errors from steps that
4642
+ * are not whole numbers
4643
+ */
4644
+ private updateStepMultiplier;
4645
+ private setupTrackConstraints;
4646
+ private setupListeners;
4647
+ /**
4648
+ * @internal
4649
+ */
4650
+ initialValue: string;
4651
+ private get midpoint();
4652
+ private setupDefaultValue;
4653
+ /**
4654
+ * Handle mouse moves during a thumb drag operation
4655
+ * If the event handler is null it removes the events
4656
+ */
4657
+ handleThumbMouseDown: (event: MouseEvent | null) => void;
4658
+ /**
4659
+ * Handle mouse moves during a thumb drag operation
4660
+ */
4661
+ private handleMouseMove;
4662
+ /**
4663
+ * Calculate the new value based on the given raw pixel value.
4664
+ *
4665
+ * @param rawValue - the value to be converted to a constrained value
4666
+ * @returns the constrained value
4667
+ *
4668
+ * @internal
4669
+ */
4670
+ calculateNewValue(rawValue: number): number;
4671
+ /**
4672
+ * Handle a window mouse up during a drag operation
4673
+ */
4674
+ private handleWindowMouseUp;
4675
+ private stopDragging;
4676
+ /**
4677
+ *
4678
+ * @param e - MouseEvent or null. If there is no event handler it will remove the events
4679
+ */
4680
+ handleMouseDown: (e: MouseEvent | null) => void;
4681
+ private convertToConstrainedValue;
4682
+ }
4683
+
4684
+ declare class _Slider extends FASTElement {
4685
+ }
4686
+
4687
+ declare interface _Slider extends FormAssociated {
4688
+ }
4689
+
4690
+ /**
2375
4691
  * @public
2376
4692
  */
2377
- export declare class RadioGroup extends FASTRadioGroup {
2378
- /**
2379
- * sets radio layout styles
2380
- *
2381
- * @public
2382
- * @remarks
2383
- * HTML Attribute: stacked
2384
- */
2385
- stacked: boolean;
4693
+ export declare interface SliderConfiguration {
4694
+ max: number;
4695
+ min: number;
4696
+ orientation?: SliderOrientation;
4697
+ direction?: Direction;
4698
+ disabled?: boolean;
2386
4699
  }
2387
4700
 
2388
4701
  /**
2389
- * The Fluent RadioGroup Element.
4702
+ * The Fluent Slider Element.
2390
4703
  *
2391
4704
  *
2392
4705
  * @public
2393
4706
  * @remarks
2394
- * HTML Element: \<fluent-radio-group\>
4707
+ * HTML Element: \<fluent-slider\>
2395
4708
  */
2396
- export declare const RadioGroupDefinition: FASTElementDefinition<typeof RadioGroup>;
2397
-
2398
- export { RadioGroupOrientation }
4709
+ export declare const SliderDefinition: FASTElementDefinition<typeof Slider>;
2399
4710
 
2400
- /** RadioGroup styles
4711
+ /**
2401
4712
  * @public
2402
4713
  */
2403
- export declare const RadioGroupStyles: ElementStyles;
2404
-
2405
- export declare const RadioGroupTemplate: ElementViewTemplate<RadioGroup>;
4714
+ export declare const SliderMode: {
4715
+ readonly singleValue: "single-value";
4716
+ };
2406
4717
 
2407
- /** Radio styles
4718
+ /**
4719
+ * The types for the selection mode of the slider
2408
4720
  * @public
2409
4721
  */
2410
- export declare const RadioStyles: ElementStyles;
2411
-
2412
- export declare const RadioTemplate: ElementViewTemplate<Radio>;
4722
+ export declare type SliderMode = ValuesOf<typeof SliderMode>;
2413
4723
 
2414
4724
  /**
2415
- * Sets the theme tokens on defaultNode.
2416
- * @param theme Flat object of theme token values.
4725
+ * Slider configuration options
4726
+ * @public
2417
4727
  */
2418
- export declare const setTheme: (theme: Theme) => void;
2419
-
2420
- export declare const setThemeFor: (element: FASTElement, theme: Theme) => void;
2421
-
2422
- export declare const shadow16: CSSDesignToken<string>;
2423
-
2424
- export declare const shadow16Brand: CSSDesignToken<string>;
2425
-
2426
- export declare const shadow2: CSSDesignToken<string>;
2427
-
2428
- export declare const shadow28: CSSDesignToken<string>;
2429
-
2430
- export declare const shadow28Brand: CSSDesignToken<string>;
2431
-
2432
- export declare const shadow2Brand: CSSDesignToken<string>;
2433
-
2434
- export declare const shadow4: CSSDesignToken<string>;
2435
-
2436
- export declare const shadow4Brand: CSSDesignToken<string>;
2437
-
2438
- export declare const shadow64: CSSDesignToken<string>;
2439
-
2440
- export declare const shadow64Brand: CSSDesignToken<string>;
2441
-
2442
- export declare const shadow8: CSSDesignToken<string>;
2443
-
2444
- export declare const shadow8Brand: CSSDesignToken<string>;
4728
+ export declare type SliderOptions = {
4729
+ thumb?: StaticallyComposableHTML<Slider>;
4730
+ };
2445
4731
 
2446
4732
  /**
2447
- * The base class used for constructing a fluent-slider custom element
2448
4733
  * @public
2449
4734
  */
2450
- export declare class Slider extends FASTSlider {
2451
- /**
2452
- * The size of the slider
2453
- * @public
2454
- * @remarks
2455
- * HTML Attribute: size
2456
- */
2457
- size?: SliderSize;
2458
- handleChange(source: any, propertyName: string): void;
2459
- connectedCallback(): void;
2460
- disconnectedCallback(): void;
2461
- private stepStyles?;
2462
- /**
2463
- * Handles changes to step styling based on the step value
2464
- * NOTE: This function is not a changed callback, stepStyles is not observable
2465
- */
2466
- private handleStepStyles;
2467
- }
4735
+ export declare const SliderOrientation: {
4736
+ readonly horizontal: "horizontal";
4737
+ readonly vertical: "vertical";
4738
+ };
2468
4739
 
2469
4740
  /**
2470
- * The Fluent Slider Element.
2471
- *
2472
- *
4741
+ * The types for the orientation of the slider
2473
4742
  * @public
2474
- * @remarks
2475
- * HTML Element: \<fluent-slider\>
2476
4743
  */
2477
- export declare const SliderDefinition: FASTElementDefinition<typeof Slider>;
2478
-
2479
- export { SliderOrientation }
4744
+ export declare type SliderOrientation = ValuesOf<typeof SliderOrientation>;
2480
4745
 
2481
4746
  /**
2482
4747
  * SliderSize Constants
@@ -2498,57 +4763,57 @@ export declare type SliderSize = ValuesOf<typeof SliderSize>;
2498
4763
  */
2499
4764
  export declare const SliderStyles: ElementStyles;
2500
4765
 
2501
- export declare const SliderTemplate: ElementViewTemplate<FASTSlider>;
4766
+ export declare const SliderTemplate: ElementViewTemplate<Slider>;
2502
4767
 
2503
- export declare const spacingHorizontalL: CSSDesignToken<string>;
4768
+ export declare const spacingHorizontalL = "var(--spacingHorizontalL)";
2504
4769
 
2505
- export declare const spacingHorizontalM: CSSDesignToken<string>;
4770
+ export declare const spacingHorizontalM = "var(--spacingHorizontalM)";
2506
4771
 
2507
- export declare const spacingHorizontalMNudge: CSSDesignToken<string>;
4772
+ export declare const spacingHorizontalMNudge = "var(--spacingHorizontalMNudge)";
2508
4773
 
2509
- export declare const spacingHorizontalNone: CSSDesignToken<string>;
4774
+ export declare const spacingHorizontalNone = "var(--spacingHorizontalNone)";
2510
4775
 
2511
- export declare const spacingHorizontalS: CSSDesignToken<string>;
4776
+ export declare const spacingHorizontalS = "var(--spacingHorizontalS)";
2512
4777
 
2513
- export declare const spacingHorizontalSNudge: CSSDesignToken<string>;
4778
+ export declare const spacingHorizontalSNudge = "var(--spacingHorizontalSNudge)";
2514
4779
 
2515
- export declare const spacingHorizontalXL: CSSDesignToken<string>;
4780
+ export declare const spacingHorizontalXL = "var(--spacingHorizontalXL)";
2516
4781
 
2517
- export declare const spacingHorizontalXS: CSSDesignToken<string>;
4782
+ export declare const spacingHorizontalXS = "var(--spacingHorizontalXS)";
2518
4783
 
2519
- export declare const spacingHorizontalXXL: CSSDesignToken<string>;
4784
+ export declare const spacingHorizontalXXL = "var(--spacingHorizontalXXL)";
2520
4785
 
2521
- export declare const spacingHorizontalXXS: CSSDesignToken<string>;
4786
+ export declare const spacingHorizontalXXS = "var(--spacingHorizontalXXS)";
2522
4787
 
2523
- export declare const spacingHorizontalXXXL: CSSDesignToken<string>;
4788
+ export declare const spacingHorizontalXXXL = "var(--spacingHorizontalXXXL)";
2524
4789
 
2525
- export declare const spacingVerticalL: CSSDesignToken<string>;
4790
+ export declare const spacingVerticalL = "var(--spacingVerticalL)";
2526
4791
 
2527
- export declare const spacingVerticalM: CSSDesignToken<string>;
4792
+ export declare const spacingVerticalM = "var(--spacingVerticalM)";
2528
4793
 
2529
- export declare const spacingVerticalMNudge: CSSDesignToken<string>;
4794
+ export declare const spacingVerticalMNudge = "var(--spacingVerticalMNudge)";
2530
4795
 
2531
- export declare const spacingVerticalNone: CSSDesignToken<string>;
4796
+ export declare const spacingVerticalNone = "var(--spacingVerticalNone)";
2532
4797
 
2533
- export declare const spacingVerticalS: CSSDesignToken<string>;
4798
+ export declare const spacingVerticalS = "var(--spacingVerticalS)";
2534
4799
 
2535
- export declare const spacingVerticalSNudge: CSSDesignToken<string>;
4800
+ export declare const spacingVerticalSNudge = "var(--spacingVerticalSNudge)";
2536
4801
 
2537
- export declare const spacingVerticalXL: CSSDesignToken<string>;
4802
+ export declare const spacingVerticalXL = "var(--spacingVerticalXL)";
2538
4803
 
2539
- export declare const spacingVerticalXS: CSSDesignToken<string>;
4804
+ export declare const spacingVerticalXS = "var(--spacingVerticalXS)";
2540
4805
 
2541
- export declare const spacingVerticalXXL: CSSDesignToken<string>;
4806
+ export declare const spacingVerticalXXL = "var(--spacingVerticalXXL)";
2542
4807
 
2543
- export declare const spacingVerticalXXS: CSSDesignToken<string>;
4808
+ export declare const spacingVerticalXXS = "var(--spacingVerticalXXS)";
2544
4809
 
2545
- export declare const spacingVerticalXXXL: CSSDesignToken<string>;
4810
+ export declare const spacingVerticalXXXL = "var(--spacingVerticalXXXL)";
2546
4811
 
2547
4812
  /**
2548
4813
  * The base class used for constructing a fluent-spinner custom element
2549
4814
  * @public
2550
4815
  */
2551
- export declare class Spinner extends FASTProgressRing {
4816
+ export declare class Spinner extends ProgressRing {
2552
4817
  /**
2553
4818
  * The size of the spinner
2554
4819
  *
@@ -2584,10 +4849,6 @@ export declare const SpinnerAppearance: {
2584
4849
  export declare type SpinnerAppearance = ValuesOf<typeof SpinnerAppearance>;
2585
4850
 
2586
4851
  /**
2587
- * The Fluent Spinner Element. Implements {@link @microsoft/fast-foundation#ProgressRing },
2588
- * {@link @microsoft/fast-foundation#progress-ringTemplate}
2589
- *
2590
- *
2591
4852
  * @public
2592
4853
  * @remarks
2593
4854
  * HTML Element: \<fluent-spinner\>
@@ -2618,19 +4879,53 @@ export declare const SpinnerStyles: ElementStyles;
2618
4879
 
2619
4880
  export declare const SpinnerTemplate: ElementViewTemplate<Spinner>;
2620
4881
 
2621
- export declare const strokeWidthThick: CSSDesignToken<string>;
4882
+ /**
4883
+ * A mixin class implementing start and end slots.
4884
+ * These are generally used to decorate text elements with icons or other visual indicators.
4885
+ * @public
4886
+ */
4887
+ declare class StartEnd {
4888
+ start: HTMLSlotElement;
4889
+ end: HTMLSlotElement;
4890
+ }
4891
+
4892
+ /**
4893
+ * Start/End configuration options
4894
+ * @public
4895
+ */
4896
+ declare type StartEndOptions<TSource = any, TParent = any> = StartOptions<TSource, TParent> & EndOptions<TSource, TParent>;
4897
+
4898
+ /**
4899
+ * Start configuration options
4900
+ * @public
4901
+ */
4902
+ declare type StartOptions<TSource = any, TParent = any> = {
4903
+ start?: StaticallyComposableHTML<TSource, TParent>;
4904
+ };
4905
+
4906
+ /**
4907
+ * A value that can be statically composed into a
4908
+ * foundation template.
4909
+ * @remarks
4910
+ * When providing a string, take care to ensure that it is
4911
+ * safe and will not enable an XSS attack.
4912
+ * @public
4913
+ */
4914
+ declare type StaticallyComposableHTML<TSource = any, TParent = any> = string | HTMLDirective | SyntheticViewTemplate<TSource, TParent> | undefined;
4915
+
4916
+ export declare const strokeWidthThick = "var(--strokeWidthThick)";
2622
4917
 
2623
- export declare const strokeWidthThicker: CSSDesignToken<string>;
4918
+ export declare const strokeWidthThicker = "var(--strokeWidthThicker)";
2624
4919
 
2625
- export declare const strokeWidthThickest: CSSDesignToken<string>;
4920
+ export declare const strokeWidthThickest = "var(--strokeWidthThickest)";
2626
4921
 
2627
- export declare const strokeWidthThin: CSSDesignToken<string>;
4922
+ export declare const strokeWidthThin = "var(--strokeWidthThin)";
2628
4923
 
2629
4924
  declare const styles: ElementStyles;
2630
4925
  export { styles as ButtonStyles }
2631
4926
  export { styles as MenuButtonStyles }
2632
4927
 
2633
- export declare class Switch extends FASTSwitch {
4928
+ export declare class Switch extends FormAssociatedSwitch {
2634
4929
  /**
2635
4930
  * The label position of the switch
2636
4931
  *
@@ -2640,6 +4935,40 @@ export declare class Switch extends FASTSwitch {
2640
4935
  * HTML Attribute: labelposition
2641
4936
  */
2642
4937
  labelPosition: SwitchLabelPosition | undefined;
4938
+ /**
4939
+ * When true, the control will be immutable by user interaction. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute} for more information.
4940
+ * @public
4941
+ * @remarks
4942
+ * HTML Attribute: readonly
4943
+ */
4944
+ readOnly: boolean;
4945
+ protected readOnlyChanged(): void;
4946
+ /**
4947
+ * The element's value to be included in form submission when checked.
4948
+ * Default to "on" to reach parity with input[type="checkbox"]
4949
+ *
4950
+ * @internal
4951
+ */
4952
+ initialValue: string;
4953
+ /**
4954
+ * @internal
4955
+ */
4956
+ defaultSlottedNodes: Node[];
4957
+ constructor();
4958
+ /**
4959
+ * @internal
4960
+ */
4961
+ keypressHandler: (e: KeyboardEvent) => void;
4962
+ /**
4963
+ * @internal
4964
+ */
4965
+ clickHandler: (e: MouseEvent) => void;
4966
+ }
4967
+
4968
+ declare class _Switch extends FASTElement {
4969
+ }
4970
+
4971
+ declare interface _Switch extends CheckableFormAssociated {
2643
4972
  }
2644
4973
 
2645
4974
  /**
@@ -2667,6 +4996,10 @@ export declare const SwitchLabelPosition: {
2667
4996
  */
2668
4997
  export declare type SwitchLabelPosition = ValuesOf<typeof SwitchLabelPosition>;
2669
4998
 
4999
+ export declare type SwitchOptions = {
5000
+ switch?: StaticallyComposableHTML<Switch>;
5001
+ };
5002
+
2670
5003
  export declare const SwitchStyles: ElementStyles;
2671
5004
 
2672
5005
  export declare const SwitchTemplate: ElementViewTemplate<Switch>;
@@ -2674,29 +5007,39 @@ export declare const SwitchTemplate: ElementViewTemplate<Switch>;
2674
5007
  /**
2675
5008
  * Tab extends the FASTTab and is a child of the TabList
2676
5009
  */
2677
- export declare class Tab extends FASTTab {
5010
+ export declare class Tab extends FASTElement {
5011
+ /**
5012
+ * When true, the control will be immutable by user interaction. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled | disabled HTML attribute} for more information.
5013
+ * @public
5014
+ * @remarks
5015
+ * HTML Attribute: disabled
5016
+ */
5017
+ disabled: boolean;
2678
5018
  private styles;
2679
5019
  connectedCallback(): void;
2680
5020
  }
2681
5021
 
5022
+ export declare interface Tab extends StartEnd {
5023
+ }
5024
+
2682
5025
  export declare const TabDefinition: FASTElementDefinition<typeof Tab>;
2683
5026
 
2684
- export declare class TabPanel extends FASTTabPanel {
5027
+ /**
5028
+ * Tab configuration options
5029
+ * @public
5030
+ */
5031
+ export declare type TabOptions = StartEndOptions<Tab>;
5032
+
5033
+ export declare class TabPanel extends FASTElement {
2685
5034
  }
2686
5035
 
2687
5036
  export declare const TabPanelDefinition: FASTElementDefinition<typeof TabPanel>;
2688
5037
 
2689
5038
  export declare const TabPanelStyles: ElementStyles;
2690
5039
 
2691
- export declare const TabPanelTemplate: ElementViewTemplate<FASTTabPanel, any>;
5040
+ export declare const TabPanelTemplate: ElementViewTemplate<TabPanel, any>;
2692
5041
 
2693
- /**
2694
- * TabList extends FASTTabs and is used for constructing a fluent-tab-list custom html element.
2695
- *
2696
- * @class TabList component
2697
- * @public
2698
- */
2699
- export declare class Tabs extends FASTTabs {
5042
+ export declare class Tabs extends BaseTabs {
2700
5043
  /**
2701
5044
  * activeTabData
2702
5045
  * The positional coordinates and size dimensions of the active tab. Used for calculating the offset and scale of the tab active indicator.
@@ -2777,6 +5120,9 @@ export declare class Tabs extends FASTTabs {
2777
5120
  tabsChanged(): void;
2778
5121
  }
2779
5122
 
5123
+ export declare interface Tabs extends StartEnd {
5124
+ }
5125
+
2780
5126
  export declare const TabsAppearance: {
2781
5127
  readonly subtle: "subtle";
2782
5128
  readonly transparent: "transparent";
@@ -2786,7 +5132,26 @@ export declare type TabsAppearance = ValuesOf<typeof TabsAppearance>;
2786
5132
 
2787
5133
  export declare const TabsDefinition: FASTElementDefinition<typeof Tabs>;
2788
5134
 
2789
- export { TabsOrientation }
5135
+ /**
5136
+ * Tabs option configuration options
5137
+ * @public
5138
+ */
5139
+ export declare type TabsOptions = StartEndOptions<Tabs>;
5140
+
5141
+ /**
5142
+ * The orientation of the component
5143
+ * @public
5144
+ */
5145
+ export declare const TabsOrientation: {
5146
+ readonly horizontal: "horizontal";
5147
+ readonly vertical: "vertical";
5148
+ };
5149
+
5150
+ /**
5151
+ * The types for the Tabs component
5152
+ * @public
5153
+ */
5154
+ export declare type TabsOrientation = ValuesOf<typeof TabsOrientation>;
2790
5155
 
2791
5156
  export declare const TabsSize: {
2792
5157
  readonly small: "small";
@@ -2798,11 +5163,11 @@ export declare type TabsSize = ValuesOf<typeof TabsSize>;
2798
5163
 
2799
5164
  export declare const TabsStyles: ElementStyles;
2800
5165
 
2801
- export declare const TabsTemplate: ElementViewTemplate<FASTTabs, any>;
5166
+ export declare const TabsTemplate: ElementViewTemplate<Tabs, any>;
2802
5167
 
2803
5168
  export declare const TabStyles: ElementStyles;
2804
5169
 
2805
- export declare const TabTemplate: ElementViewTemplate<FASTTab, any>;
5170
+ export declare const TabTemplate: ElementViewTemplate<Tab, any>;
2806
5171
 
2807
5172
  /**
2808
5173
  * The base class used for constructing a fluent-text custom element
@@ -2922,6 +5287,47 @@ export declare type TextAlign = ValuesOf<typeof TextAlign>;
2922
5287
  */
2923
5288
  export declare const TextDefinition: FASTElementDefinition<typeof Text_2>;
2924
5289
 
5290
+ declare class _TextField extends FASTElement {
5291
+ }
5292
+
5293
+ declare interface _TextField extends FormAssociated {
5294
+ }
5295
+
5296
+ export declare type TextFieldOptions = StartEndOptions<TextInput>;
5297
+
5298
+ /**
5299
+ * Text field sub-types
5300
+ * @public
5301
+ */
5302
+ export declare const TextFieldType: {
5303
+ /**
5304
+ * An email TextField
5305
+ */
5306
+ readonly email: "email";
5307
+ /**
5308
+ * A password TextField
5309
+ */
5310
+ readonly password: "password";
5311
+ /**
5312
+ * A telephone TextField
5313
+ */
5314
+ readonly tel: "tel";
5315
+ /**
5316
+ * A text TextField
5317
+ */
5318
+ readonly text: "text";
5319
+ /**
5320
+ * A URL TextField
5321
+ */
5322
+ readonly url: "url";
5323
+ };
5324
+
5325
+ /**
5326
+ * Types for the text field sub-types
5327
+ * @public
5328
+ */
5329
+ export declare type TextFieldType = ValuesOf<typeof TextFieldType>;
5330
+
2925
5331
  /**
2926
5332
  * TextFont Constants
2927
5333
  * @public
@@ -2938,11 +5344,7 @@ export declare const TextFont: {
2938
5344
  */
2939
5345
  export declare type TextFont = ValuesOf<typeof TextFont>;
2940
5346
 
2941
- /**
2942
- * The base class used for constructing a fluent-text-input custom element
2943
- * @public
2944
- */
2945
- export declare class TextInput extends FASTTextField {
5347
+ export declare class TextInput extends FormAssociatedTextField {
2946
5348
  /**
2947
5349
  * Defines TextInput control size
2948
5350
  *
@@ -2961,6 +5363,126 @@ export declare class TextInput extends FASTTextField {
2961
5363
  * HTML Attribute: appearance
2962
5364
  */
2963
5365
  appearance?: TextInputAppearance;
5366
+ /**
5367
+ * When true, the control will be immutable by user interaction. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute} for more information.
5368
+ * @public
5369
+ * @remarks
5370
+ * HTML Attribute: readonly
5371
+ */
5372
+ readOnly: boolean;
5373
+ protected readOnlyChanged(): void;
5374
+ /**
5375
+ * Indicates that this element should get focus after the page finishes loading. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefautofocus | autofocus HTML attribute} for more information.
5376
+ * @public
5377
+ * @remarks
5378
+ * HTML Attribute: autofocus
5379
+ */
5380
+ autofocus: boolean;
5381
+ protected autofocusChanged(): void;
5382
+ /**
5383
+ * Sets the placeholder value of the element, generally used to provide a hint to the user.
5384
+ * @public
5385
+ * @remarks
5386
+ * HTML Attribute: placeholder
5387
+ * Using this attribute does is not a valid substitute for a labeling element.
5388
+ */
5389
+ placeholder: string;
5390
+ protected placeholderChanged(): void;
5391
+ /**
5392
+ * Allows setting a type or mode of text.
5393
+ * @public
5394
+ * @remarks
5395
+ * HTML Attribute: type
5396
+ */
5397
+ type: TextFieldType;
5398
+ private typeChanged;
5399
+ /**
5400
+ * Allows associating a {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist | datalist} to the element by {@link https://developer.mozilla.org/en-US/docs/Web/API/Element/id}.
5401
+ * @public
5402
+ * @remarks
5403
+ * HTML Attribute: list
5404
+ */
5405
+ list: string;
5406
+ protected listChanged(): void;
5407
+ /**
5408
+ * The maximum number of characters a user can enter.
5409
+ * @public
5410
+ * @remarks
5411
+ * HTMLAttribute: maxlength
5412
+ */
5413
+ maxlength: number;
5414
+ protected maxlengthChanged(): void;
5415
+ /**
5416
+ * The minimum number of characters a user can enter.
5417
+ * @public
5418
+ * @remarks
5419
+ * HTMLAttribute: minlength
5420
+ */
5421
+ minlength: number;
5422
+ protected minlengthChanged(): void;
5423
+ /**
5424
+ * A regular expression that the value must match to pass validation.
5425
+ * @public
5426
+ * @remarks
5427
+ * HTMLAttribute: pattern
5428
+ */
5429
+ pattern: string;
5430
+ protected patternChanged(): void;
5431
+ /**
5432
+ * Sets the width of the element to a specified number of characters.
5433
+ * @public
5434
+ * @remarks
5435
+ * HTMLAttribute: size
5436
+ */
5437
+ size: number;
5438
+ protected sizeChanged(): void;
5439
+ /**
5440
+ * Controls whether or not to enable spell checking for the input field, or if the default spell checking configuration should be used.
5441
+ * @public
5442
+ * @remarks
5443
+ * HTMLAttribute: size
5444
+ */
5445
+ spellcheck: boolean;
5446
+ protected spellcheckChanged(): void;
5447
+ /**
5448
+ * @internal
5449
+ */
5450
+ defaultSlottedNodes: Node[];
5451
+ /**
5452
+ * A reference to the internal input element
5453
+ * @internal
5454
+ */
5455
+ control: HTMLInputElement;
5456
+ /**
5457
+ * @internal
5458
+ */
5459
+ connectedCallback(): void;
5460
+ /**
5461
+ * Selects all the text in the text field
5462
+ *
5463
+ * @public
5464
+ */
5465
+ select(): void;
5466
+ /**
5467
+ * Handles the internal control's `input` event
5468
+ * @internal
5469
+ */
5470
+ handleTextInput(): void;
5471
+ /**
5472
+ * Change event handler for inner control.
5473
+ * @remarks
5474
+ * "Change" events are not `composable` so they will not
5475
+ * permeate the shadow DOM boundary. This fn effectively proxies
5476
+ * the change event, emitting a `change` event whenever the internal
5477
+ * control emits a `change` event
5478
+ * @internal
5479
+ */
5480
+ handleChange(): void;
5481
+ /** {@inheritDoc (FormAssociated:interface).validate} */
5482
+ validate(): void;
5483
+ }
5484
+
5485
+ export declare interface TextInput extends StartEnd, DelegatesARIATextbox {
2964
5486
  }
2965
5487
 
2966
5488
  /**
@@ -3016,8 +5538,6 @@ export declare const TextInputStyles: ElementStyles;
3016
5538
  */
3017
5539
  export declare const TextInputTemplate: ElementViewTemplate<TextInput>;
3018
5540
 
3019
- export { TextInputType }
3020
-
3021
5541
  /**
3022
5542
  * TextSize constants
3023
5543
  * @public
@@ -3136,8 +5656,6 @@ export declare const ToggleButtonAppearance: {
3136
5656
  export declare type ToggleButtonAppearance = ValuesOf<typeof ToggleButtonAppearance>;
3137
5657
 
3138
5658
  /**
3139
- * The Fluent Toggle Button Element. Implements {@link @microsoft/fast-foundation#Button },
3140
- * {@link @microsoft/fast-foundation#buttonTemplate}
3141
5659
  *
3142
5660
  * @public
3143
5661
  * @remarks
@@ -3185,4 +5703,30 @@ export declare const ToggleButtonStyles: ElementStyles;
3185
5703
  */
3186
5704
  export declare const ToggleButtonTemplate: ElementViewTemplate<ToggleButton>;
3187
5705
 
5706
+ /**
5707
+ * This file enables typing support for ElementInternals APIs.
5708
+ * It is largely taken from https://github.com/microsoft/TSJS-lib-generator/pull/818/files.
5709
+ *
5710
+ * When TypeScript adds support for these APIs we can delete this file.
5711
+ */
5712
+ declare interface ValidityStateFlags {
5713
+ badInput?: boolean;
5714
+ customError?: boolean;
5715
+ patternMismatch?: boolean;
5716
+ rangeOverflow?: boolean;
5717
+ rangeUnderflow?: boolean;
5718
+ stepMismatch?: boolean;
5719
+ tooLong?: boolean;
5720
+ tooShort?: boolean;
5721
+ typeMismatch?: boolean;
5722
+ valueMissing?: boolean;
5723
+ }
5724
+
5725
+ /**
5726
+ * Helper for enumerating a type from a const object
5727
+ * Example: export type Foo = ValuesOf\<typeof Foo\>
5728
+ * @public
5729
+ */
5730
+ declare type ValuesOf<T> = T[keyof T];
5731
+
3188
5732
  export { }