@fluentui/web-components 3.0.0-alpha.9 → 3.0.0-beta.2

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 (464) hide show
  1. package/CHANGELOG.md +225 -2
  2. package/README.md +4 -0
  3. package/dist/dts/accordion/accordion.d.ts +1 -1
  4. package/dist/dts/accordion-item/accordion-item.d.ts +1 -1
  5. package/dist/dts/accordion-item/accordion-item.options.d.ts +1 -1
  6. package/dist/dts/anchor-button/anchor-button.d.ts +64 -0
  7. package/dist/dts/anchor-button/anchor-button.definition.d.ts +10 -0
  8. package/dist/dts/anchor-button/anchor-button.options.d.ts +47 -0
  9. package/dist/dts/anchor-button/anchor-button.styles.d.ts +1 -0
  10. package/dist/dts/anchor-button/anchor-button.template.d.ts +7 -0
  11. package/dist/dts/anchor-button/define.d.ts +1 -0
  12. package/dist/dts/anchor-button/index.d.ts +4 -0
  13. package/dist/dts/avatar/avatar.options.d.ts +1 -1
  14. package/dist/dts/badge/badge.d.ts +1 -1
  15. package/dist/dts/badge/badge.options.d.ts +2 -1
  16. package/dist/dts/button/button.d.ts +55 -0
  17. package/dist/dts/button/button.definition.d.ts +10 -0
  18. package/dist/dts/button/button.options.d.ts +47 -0
  19. package/dist/dts/button/button.styles.d.ts +1 -0
  20. package/dist/dts/button/button.template.d.ts +7 -0
  21. package/dist/dts/button/define.d.ts +1 -0
  22. package/dist/dts/button/index.d.ts +5 -0
  23. package/dist/dts/checkbox/checkbox.d.ts +35 -0
  24. package/dist/dts/checkbox/checkbox.definition.d.ts +9 -0
  25. package/dist/dts/checkbox/checkbox.options.d.ts +28 -0
  26. package/dist/dts/checkbox/checkbox.styles.d.ts +5 -0
  27. package/dist/dts/checkbox/checkbox.template.d.ts +7 -0
  28. package/dist/dts/checkbox/define.d.ts +1 -0
  29. package/dist/dts/checkbox/index.d.ts +5 -0
  30. package/dist/dts/compound-button/compound-button.d.ts +7 -0
  31. package/dist/dts/compound-button/compound-button.definition.d.ts +10 -0
  32. package/dist/dts/compound-button/compound-button.options.d.ts +51 -0
  33. package/dist/dts/compound-button/compound-button.styles.d.ts +1 -0
  34. package/dist/dts/compound-button/compound-button.template.d.ts +13 -0
  35. package/dist/dts/compound-button/define.d.ts +1 -0
  36. package/dist/dts/compound-button/index.d.ts +5 -0
  37. package/dist/dts/counter-badge/counter-badge.d.ts +1 -1
  38. package/dist/dts/counter-badge/counter-badge.options.d.ts +1 -1
  39. package/dist/dts/divider/divider.d.ts +1 -1
  40. package/dist/dts/divider/divider.options.d.ts +2 -1
  41. package/dist/dts/helpers.tests.d.ts +8 -0
  42. package/dist/dts/image/image.options.d.ts +1 -1
  43. package/dist/dts/index.d.ts +17 -0
  44. package/dist/dts/label/define.d.ts +1 -0
  45. package/dist/dts/label/index.d.ts +4 -0
  46. package/dist/dts/label/label.d.ts +42 -0
  47. package/dist/dts/label/label.definition.d.ts +10 -0
  48. package/dist/dts/label/label.options.d.ts +26 -0
  49. package/dist/dts/label/label.styles.d.ts +4 -0
  50. package/dist/dts/label/label.template.d.ts +8 -0
  51. package/dist/dts/menu-button/define.d.ts +1 -0
  52. package/dist/dts/menu-button/index.d.ts +5 -0
  53. package/dist/dts/menu-button/menu-button.d.ts +7 -0
  54. package/dist/dts/menu-button/menu-button.definition.d.ts +10 -0
  55. package/dist/dts/menu-button/menu-button.options.d.ts +47 -0
  56. package/dist/dts/menu-button/menu-button.template.d.ts +7 -0
  57. package/dist/dts/menu-item/define.d.ts +1 -0
  58. package/dist/dts/menu-item/index.d.ts +4 -0
  59. package/dist/dts/menu-item/menu-item.d.ts +9 -0
  60. package/dist/dts/menu-item/menu-item.definition.d.ts +11 -0
  61. package/dist/dts/menu-item/menu-item.styles.d.ts +4 -0
  62. package/dist/dts/menu-item/menu-item.template.d.ts +3 -0
  63. package/dist/dts/menu-list/define.d.ts +1 -0
  64. package/dist/dts/menu-list/index.d.ts +4 -0
  65. package/dist/dts/menu-list/menu-list.d.ts +9 -0
  66. package/dist/dts/menu-list/menu-list.definition.d.ts +11 -0
  67. package/dist/dts/menu-list/menu-list.styles.d.ts +4 -0
  68. package/dist/dts/menu-list/menu-list.template.d.ts +3 -0
  69. package/dist/dts/progress-bar/progress-bar.d.ts +1 -1
  70. package/dist/dts/progress-bar/progress-bar.options.d.ts +1 -1
  71. package/dist/dts/progress-bar/progress-bar.styles.d.ts +1 -1
  72. package/dist/dts/radio/define.d.ts +1 -0
  73. package/dist/dts/radio/index.d.ts +4 -0
  74. package/dist/dts/radio/radio.d.ts +7 -0
  75. package/dist/dts/radio/radio.definition.d.ts +10 -0
  76. package/dist/dts/radio/radio.styles.d.ts +4 -0
  77. package/dist/dts/radio/radio.template.d.ts +3 -0
  78. package/dist/dts/radio-group/define.d.ts +1 -0
  79. package/dist/dts/radio-group/index.d.ts +5 -0
  80. package/dist/dts/radio-group/radio-group.d.ts +15 -0
  81. package/dist/dts/radio-group/radio-group.definition.d.ts +10 -0
  82. package/dist/dts/radio-group/radio-group.styles.d.ts +4 -0
  83. package/dist/dts/radio-group/radio-group.template.d.ts +3 -0
  84. package/dist/dts/slider/define.d.ts +1 -0
  85. package/dist/dts/slider/index.d.ts +5 -0
  86. package/dist/dts/slider/slider.d.ts +24 -0
  87. package/dist/dts/slider/slider.definition.d.ts +10 -0
  88. package/dist/dts/slider/slider.options.d.ts +15 -0
  89. package/dist/dts/slider/slider.styles.d.ts +4 -0
  90. package/dist/dts/slider/slider.template.d.ts +3 -0
  91. package/dist/dts/spinner/spinner.d.ts +1 -1
  92. package/dist/dts/spinner/spinner.options.d.ts +1 -1
  93. package/dist/dts/switch/index.d.ts +3 -3
  94. package/dist/dts/switch/switch.d.ts +1 -1
  95. package/dist/dts/switch/switch.options.d.ts +1 -1
  96. package/dist/dts/tab/define.d.ts +1 -0
  97. package/dist/dts/tab/index.d.ts +4 -0
  98. package/dist/dts/tab/tab.d.ts +8 -0
  99. package/dist/dts/tab/tab.definition.d.ts +2 -0
  100. package/dist/dts/tab/tab.styles.d.ts +1 -0
  101. package/dist/dts/tab/tab.template.d.ts +4 -0
  102. package/dist/dts/tab-panel/define.d.ts +1 -0
  103. package/dist/dts/tab-panel/index.d.ts +4 -0
  104. package/dist/dts/tab-panel/tab-panel.d.ts +3 -0
  105. package/dist/dts/tab-panel/tab-panel.definition.d.ts +2 -0
  106. package/dist/dts/tab-panel/tab-panel.styles.d.ts +1 -0
  107. package/dist/dts/tab-panel/tab-panel.template.d.ts +1 -0
  108. package/dist/dts/tabs/define.d.ts +1 -0
  109. package/dist/dts/tabs/index.d.ts +5 -0
  110. package/dist/dts/tabs/tabs.d.ts +88 -0
  111. package/dist/dts/tabs/tabs.definition.d.ts +2 -0
  112. package/dist/dts/tabs/tabs.options.d.ts +14 -0
  113. package/dist/dts/tabs/tabs.styles.d.ts +1 -0
  114. package/dist/dts/tabs/tabs.template.d.ts +1 -0
  115. package/dist/dts/text/text.options.d.ts +1 -1
  116. package/dist/dts/text-input/define.d.ts +1 -0
  117. package/dist/dts/text-input/index.d.ts +6 -0
  118. package/dist/dts/text-input/text-input.d.ts +26 -0
  119. package/dist/dts/text-input/text-input.definition.d.ts +10 -0
  120. package/dist/dts/text-input/text-input.options.d.ts +30 -0
  121. package/dist/dts/text-input/text-input.styles.d.ts +4 -0
  122. package/dist/dts/text-input/text-input.template.d.ts +6 -0
  123. package/dist/dts/theme/design-tokens.d.ts +384 -384
  124. package/dist/dts/theme/index.d.ts +2 -2
  125. package/dist/dts/theme/set-theme.d.ts +2 -0
  126. package/dist/dts/toggle-button/define.d.ts +1 -0
  127. package/dist/dts/toggle-button/index.d.ts +5 -0
  128. package/dist/dts/toggle-button/toggle-button.d.ts +48 -0
  129. package/dist/dts/toggle-button/toggle-button.definition.d.ts +10 -0
  130. package/dist/dts/toggle-button/toggle-button.options.d.ts +47 -0
  131. package/dist/dts/toggle-button/toggle-button.styles.d.ts +1 -0
  132. package/dist/dts/toggle-button/toggle-button.template.d.ts +7 -0
  133. package/dist/dts/utils/apply-mixins.d.ts +11 -0
  134. package/dist/esm/accordion/accordion.js +1 -1
  135. package/dist/esm/accordion/accordion.js.map +1 -1
  136. package/dist/esm/accordion/accordion.styles.js +2 -1
  137. package/dist/esm/accordion/accordion.styles.js.map +1 -1
  138. package/dist/esm/accordion/accordion.template.js +1 -1
  139. package/dist/esm/accordion/accordion.template.js.map +1 -1
  140. package/dist/esm/accordion-item/accordion-item.js +7 -2
  141. package/dist/esm/accordion-item/accordion-item.js.map +1 -1
  142. package/dist/esm/accordion-item/accordion-item.styles.js +2 -1
  143. package/dist/esm/accordion-item/accordion-item.styles.js.map +1 -1
  144. package/dist/esm/accordion-item/accordion-item.template.js +3 -3
  145. package/dist/esm/accordion-item/accordion-item.template.js.map +1 -1
  146. package/dist/esm/anchor-button/anchor-button.definition.js +21 -0
  147. package/dist/esm/anchor-button/anchor-button.definition.js.map +1 -0
  148. package/dist/esm/anchor-button/anchor-button.js +98 -0
  149. package/dist/esm/anchor-button/anchor-button.js.map +1 -0
  150. package/dist/esm/anchor-button/anchor-button.options.js +17 -0
  151. package/dist/esm/anchor-button/anchor-button.options.js.map +1 -0
  152. package/dist/esm/anchor-button/anchor-button.styles.js +11 -0
  153. package/dist/esm/anchor-button/anchor-button.styles.js.map +1 -0
  154. package/dist/esm/anchor-button/anchor-button.template.js +7 -0
  155. package/dist/esm/anchor-button/anchor-button.template.js.map +1 -0
  156. package/dist/esm/anchor-button/define.js +4 -0
  157. package/dist/esm/anchor-button/define.js.map +1 -0
  158. package/dist/esm/anchor-button/index.js +5 -0
  159. package/dist/esm/anchor-button/index.js.map +1 -0
  160. package/dist/esm/avatar/avatar.js +6 -1
  161. package/dist/esm/avatar/avatar.js.map +1 -1
  162. package/dist/esm/avatar/avatar.styles.js +2 -1
  163. package/dist/esm/avatar/avatar.styles.js.map +1 -1
  164. package/dist/esm/badge/badge.js +9 -2
  165. package/dist/esm/badge/badge.js.map +1 -1
  166. package/dist/esm/badge/badge.options.js.map +1 -1
  167. package/dist/esm/badge/badge.template.js +2 -1
  168. package/dist/esm/badge/badge.template.js.map +1 -1
  169. package/dist/esm/button/button.definition.js +21 -0
  170. package/dist/esm/button/button.definition.js.map +1 -0
  171. package/dist/esm/button/button.js +77 -0
  172. package/dist/esm/button/button.js.map +1 -0
  173. package/dist/esm/button/button.options.js +30 -0
  174. package/dist/esm/button/button.options.js.map +1 -0
  175. package/dist/esm/button/button.styles.js +260 -0
  176. package/dist/esm/button/button.styles.js.map +1 -0
  177. package/dist/esm/button/button.template.js +7 -0
  178. package/dist/esm/button/button.template.js.map +1 -0
  179. package/dist/esm/button/define.js +4 -0
  180. package/dist/esm/button/define.js.map +1 -0
  181. package/dist/esm/button/index.js +6 -0
  182. package/dist/esm/button/index.js.map +1 -0
  183. package/dist/esm/checkbox/checkbox.definition.js +17 -0
  184. package/dist/esm/checkbox/checkbox.definition.js.map +1 -0
  185. package/dist/esm/checkbox/checkbox.js +24 -0
  186. package/dist/esm/checkbox/checkbox.js.map +1 -0
  187. package/dist/esm/checkbox/checkbox.options.js +25 -0
  188. package/dist/esm/checkbox/checkbox.options.js.map +1 -0
  189. package/dist/esm/checkbox/checkbox.styles.js +164 -0
  190. package/dist/esm/checkbox/checkbox.styles.js.map +1 -0
  191. package/dist/esm/checkbox/checkbox.template.js +27 -0
  192. package/dist/esm/checkbox/checkbox.template.js.map +1 -0
  193. package/dist/esm/checkbox/define.js +4 -0
  194. package/dist/esm/checkbox/define.js.map +1 -0
  195. package/dist/esm/checkbox/index.js +6 -0
  196. package/dist/esm/checkbox/index.js.map +1 -0
  197. package/dist/esm/compound-button/compound-button.definition.js +21 -0
  198. package/dist/esm/compound-button/compound-button.definition.js.map +1 -0
  199. package/dist/esm/compound-button/compound-button.js +8 -0
  200. package/dist/esm/compound-button/compound-button.js.map +1 -0
  201. package/dist/esm/compound-button/compound-button.options.js +17 -0
  202. package/dist/esm/compound-button/compound-button.options.js.map +1 -0
  203. package/dist/esm/compound-button/compound-button.styles.js +105 -0
  204. package/dist/esm/compound-button/compound-button.styles.js.map +1 -0
  205. package/dist/esm/compound-button/compound-button.template.js +60 -0
  206. package/dist/esm/compound-button/compound-button.template.js.map +1 -0
  207. package/dist/esm/compound-button/define.js +4 -0
  208. package/dist/esm/compound-button/define.js.map +1 -0
  209. package/dist/esm/compound-button/index.js +6 -0
  210. package/dist/esm/compound-button/index.js.map +1 -0
  211. package/dist/esm/counter-badge/counter-badge.js +9 -2
  212. package/dist/esm/counter-badge/counter-badge.js.map +1 -1
  213. package/dist/esm/divider/divider.js +7 -2
  214. package/dist/esm/divider/divider.js.map +1 -1
  215. package/dist/esm/divider/divider.options.js +1 -1
  216. package/dist/esm/divider/divider.options.js.map +1 -1
  217. package/dist/esm/divider/divider.styles.js +18 -2
  218. package/dist/esm/divider/divider.styles.js.map +1 -1
  219. package/dist/esm/divider/divider.template.js +1 -1
  220. package/dist/esm/divider/divider.template.js.map +1 -1
  221. package/dist/esm/helpers.tests.js +29 -0
  222. package/dist/esm/helpers.tests.js.map +1 -0
  223. package/dist/esm/image/image.js +6 -1
  224. package/dist/esm/image/image.js.map +1 -1
  225. package/dist/esm/image/image.styles.js +8 -1
  226. package/dist/esm/image/image.styles.js.map +1 -1
  227. package/dist/esm/index.js +17 -0
  228. package/dist/esm/index.js.map +1 -1
  229. package/dist/esm/label/define.js +4 -0
  230. package/dist/esm/label/define.js.map +1 -0
  231. package/dist/esm/label/index.js +5 -0
  232. package/dist/esm/label/index.js.map +1 -0
  233. package/dist/esm/label/label.definition.js +18 -0
  234. package/dist/esm/label/label.definition.js.map +1 -0
  235. package/dist/esm/label/label.js +45 -0
  236. package/dist/esm/label/label.js.map +1 -0
  237. package/dist/esm/label/label.options.js +16 -0
  238. package/dist/esm/label/label.options.js.map +1 -0
  239. package/dist/esm/label/label.styles.js +38 -0
  240. package/dist/esm/label/label.styles.js.map +1 -0
  241. package/dist/esm/label/label.template.js +13 -0
  242. package/dist/esm/label/label.template.js.map +1 -0
  243. package/dist/esm/menu-button/define.js +4 -0
  244. package/dist/esm/menu-button/define.js.map +1 -0
  245. package/dist/esm/menu-button/index.js +6 -0
  246. package/dist/esm/menu-button/index.js.map +1 -0
  247. package/dist/esm/menu-button/menu-button.definition.js +21 -0
  248. package/dist/esm/menu-button/menu-button.definition.js.map +1 -0
  249. package/dist/esm/menu-button/menu-button.js +8 -0
  250. package/dist/esm/menu-button/menu-button.js.map +1 -0
  251. package/dist/esm/menu-button/menu-button.options.js +17 -0
  252. package/dist/esm/menu-button/menu-button.options.js.map +1 -0
  253. package/dist/esm/menu-button/menu-button.template.js +10 -0
  254. package/dist/esm/menu-button/menu-button.template.js.map +1 -0
  255. package/dist/esm/menu-item/define.js +4 -0
  256. package/dist/esm/menu-item/define.js.map +1 -0
  257. package/dist/esm/menu-item/index.js +5 -0
  258. package/dist/esm/menu-item/index.js.map +1 -0
  259. package/dist/esm/menu-item/menu-item.definition.js +19 -0
  260. package/dist/esm/menu-item/menu-item.definition.js.map +1 -0
  261. package/dist/esm/menu-item/menu-item.js +9 -0
  262. package/dist/esm/menu-item/menu-item.js.map +1 -0
  263. package/dist/esm/menu-item/menu-item.styles.js +183 -0
  264. package/dist/esm/menu-item/menu-item.styles.js.map +1 -0
  265. package/dist/esm/menu-item/menu-item.template.js +10 -0
  266. package/dist/esm/menu-item/menu-item.template.js.map +1 -0
  267. package/dist/esm/menu-list/define.js +4 -0
  268. package/dist/esm/menu-list/define.js.map +1 -0
  269. package/dist/esm/menu-list/index.js +5 -0
  270. package/dist/esm/menu-list/index.js.map +1 -0
  271. package/dist/esm/menu-list/menu-list.definition.js +19 -0
  272. package/dist/esm/menu-list/menu-list.definition.js.map +1 -0
  273. package/dist/esm/menu-list/menu-list.js +36 -0
  274. package/dist/esm/menu-list/menu-list.js.map +1 -0
  275. package/dist/esm/menu-list/menu-list.styles.js +24 -0
  276. package/dist/esm/menu-list/menu-list.styles.js.map +1 -0
  277. package/dist/esm/menu-list/menu-list.template.js +3 -0
  278. package/dist/esm/menu-list/menu-list.template.js.map +1 -0
  279. package/dist/esm/progress-bar/progress-bar.js +7 -2
  280. package/dist/esm/progress-bar/progress-bar.js.map +1 -1
  281. package/dist/esm/progress-bar/progress-bar.styles.js +20 -3
  282. package/dist/esm/progress-bar/progress-bar.styles.js.map +1 -1
  283. package/dist/esm/progress-bar/progress-bar.template.js +1 -1
  284. package/dist/esm/progress-bar/progress-bar.template.js.map +1 -1
  285. package/dist/esm/radio/define.js +4 -0
  286. package/dist/esm/radio/define.js.map +1 -0
  287. package/dist/esm/radio/index.js +5 -0
  288. package/dist/esm/radio/index.js.map +1 -0
  289. package/dist/esm/radio/radio.definition.js +18 -0
  290. package/dist/esm/radio/radio.definition.js.map +1 -0
  291. package/dist/esm/radio/radio.js +8 -0
  292. package/dist/esm/radio/radio.js.map +1 -0
  293. package/dist/esm/radio/radio.styles.js +118 -0
  294. package/dist/esm/radio/radio.styles.js.map +1 -0
  295. package/dist/esm/radio/radio.template.js +6 -0
  296. package/dist/esm/radio/radio.template.js.map +1 -0
  297. package/dist/esm/radio-group/define.js +4 -0
  298. package/dist/esm/radio-group/define.js.map +1 -0
  299. package/dist/esm/radio-group/index.js +6 -0
  300. package/dist/esm/radio-group/index.js.map +1 -0
  301. package/dist/esm/radio-group/radio-group.definition.js +18 -0
  302. package/dist/esm/radio-group/radio-group.definition.js.map +1 -0
  303. package/dist/esm/radio-group/radio-group.js +29 -0
  304. package/dist/esm/radio-group/radio-group.js.map +1 -0
  305. package/dist/esm/radio-group/radio-group.styles.js +52 -0
  306. package/dist/esm/radio-group/radio-group.styles.js.map +1 -0
  307. package/dist/esm/radio-group/radio-group.template.js +3 -0
  308. package/dist/esm/radio-group/radio-group.template.js.map +1 -0
  309. package/dist/esm/slider/define.js +4 -0
  310. package/dist/esm/slider/define.js.map +1 -0
  311. package/dist/esm/slider/index.js +6 -0
  312. package/dist/esm/slider/index.js.map +1 -0
  313. package/dist/esm/slider/slider.definition.js +18 -0
  314. package/dist/esm/slider/slider.definition.js.map +1 -0
  315. package/dist/esm/slider/slider.js +64 -0
  316. package/dist/esm/slider/slider.js.map +1 -0
  317. package/dist/esm/slider/slider.options.js +10 -0
  318. package/dist/esm/slider/slider.options.js.map +1 -0
  319. package/dist/esm/slider/slider.styles.js +203 -0
  320. package/dist/esm/slider/slider.styles.js.map +1 -0
  321. package/dist/esm/slider/slider.template.js +5 -0
  322. package/dist/esm/slider/slider.template.js.map +1 -0
  323. package/dist/esm/spinner/spinner.js +7 -2
  324. package/dist/esm/spinner/spinner.js.map +1 -1
  325. package/dist/esm/spinner/spinner.styles.js +2 -1
  326. package/dist/esm/spinner/spinner.styles.js.map +1 -1
  327. package/dist/esm/spinner/spinner.template.js +1 -1
  328. package/dist/esm/spinner/spinner.template.js.map +1 -1
  329. package/dist/esm/styles/partials/badge.partials.js +5 -4
  330. package/dist/esm/styles/partials/badge.partials.js.map +1 -1
  331. package/dist/esm/switch/index.js +3 -3
  332. package/dist/esm/switch/index.js.map +1 -1
  333. package/dist/esm/switch/switch.js +7 -2
  334. package/dist/esm/switch/switch.js.map +1 -1
  335. package/dist/esm/switch/switch.styles.js +30 -3
  336. package/dist/esm/switch/switch.styles.js.map +1 -1
  337. package/dist/esm/switch/switch.template.js +1 -1
  338. package/dist/esm/switch/switch.template.js.map +1 -1
  339. package/dist/esm/tab/define.js +4 -0
  340. package/dist/esm/tab/define.js.map +1 -0
  341. package/dist/esm/tab/index.js +5 -0
  342. package/dist/esm/tab/index.js.map +1 -0
  343. package/dist/esm/tab/tab.definition.js +10 -0
  344. package/dist/esm/tab/tab.definition.js.map +1 -0
  345. package/dist/esm/tab/tab.js +20 -0
  346. package/dist/esm/tab/tab.js.map +1 -0
  347. package/dist/esm/tab/tab.styles.js +98 -0
  348. package/dist/esm/tab/tab.styles.js.map +1 -0
  349. package/dist/esm/tab/tab.template.js +13 -0
  350. package/dist/esm/tab/tab.template.js.map +1 -0
  351. package/dist/esm/tab-panel/define.js +4 -0
  352. package/dist/esm/tab-panel/define.js.map +1 -0
  353. package/dist/esm/tab-panel/index.js +5 -0
  354. package/dist/esm/tab-panel/index.js.map +1 -0
  355. package/dist/esm/tab-panel/tab-panel.definition.js +10 -0
  356. package/dist/esm/tab-panel/tab-panel.definition.js.map +1 -0
  357. package/dist/esm/tab-panel/tab-panel.js +4 -0
  358. package/dist/esm/tab-panel/tab-panel.js.map +1 -0
  359. package/dist/esm/tab-panel/tab-panel.styles.js +12 -0
  360. package/dist/esm/tab-panel/tab-panel.styles.js.map +1 -0
  361. package/dist/esm/tab-panel/tab-panel.template.js +3 -0
  362. package/dist/esm/tab-panel/tab-panel.template.js.map +1 -0
  363. package/dist/esm/tabs/define.js +4 -0
  364. package/dist/esm/tabs/define.js.map +1 -0
  365. package/dist/esm/tabs/index.js +6 -0
  366. package/dist/esm/tabs/index.js.map +1 -0
  367. package/dist/esm/tabs/tabs.definition.js +10 -0
  368. package/dist/esm/tabs/tabs.definition.js.map +1 -0
  369. package/dist/esm/tabs/tabs.js +163 -0
  370. package/dist/esm/tabs/tabs.js.map +1 -0
  371. package/dist/esm/tabs/tabs.options.js +12 -0
  372. package/dist/esm/tabs/tabs.options.js.map +1 -0
  373. package/dist/esm/tabs/tabs.styles.js +230 -0
  374. package/dist/esm/tabs/tabs.styles.js.map +1 -0
  375. package/dist/esm/tabs/tabs.template.js +3 -0
  376. package/dist/esm/tabs/tabs.template.js.map +1 -0
  377. package/dist/esm/text/text.js +6 -1
  378. package/dist/esm/text/text.js.map +1 -1
  379. package/dist/esm/text/text.styles.js +8 -2
  380. package/dist/esm/text/text.styles.js.map +1 -1
  381. package/dist/esm/text-input/define.js +4 -0
  382. package/dist/esm/text-input/define.js.map +1 -0
  383. package/dist/esm/text-input/index.js +7 -0
  384. package/dist/esm/text-input/index.js.map +1 -0
  385. package/dist/esm/text-input/text-input.definition.js +18 -0
  386. package/dist/esm/text-input/text-input.definition.js.map +1 -0
  387. package/dist/esm/text-input/text-input.js +21 -0
  388. package/dist/esm/text-input/text-input.js.map +1 -0
  389. package/dist/esm/text-input/text-input.options.js +20 -0
  390. package/dist/esm/text-input/text-input.options.js.map +1 -0
  391. package/dist/esm/text-input/text-input.styles.js +200 -0
  392. package/dist/esm/text-input/text-input.styles.js.map +1 -0
  393. package/dist/esm/text-input/text-input.template.js +6 -0
  394. package/dist/esm/text-input/text-input.template.js.map +1 -0
  395. package/dist/esm/theme/design-tokens.js +1 -1
  396. package/dist/esm/theme/design-tokens.js.map +1 -1
  397. package/dist/esm/theme/index.js +2 -2
  398. package/dist/esm/theme/index.js.map +1 -1
  399. package/dist/esm/theme/set-theme.js +5 -0
  400. package/dist/esm/theme/set-theme.js.map +1 -1
  401. package/dist/esm/toggle-button/define.js +4 -0
  402. package/dist/esm/toggle-button/define.js.map +1 -0
  403. package/dist/esm/toggle-button/index.js +6 -0
  404. package/dist/esm/toggle-button/index.js.map +1 -0
  405. package/dist/esm/toggle-button/toggle-button.definition.js +21 -0
  406. package/dist/esm/toggle-button/toggle-button.definition.js.map +1 -0
  407. package/dist/esm/toggle-button/toggle-button.js +107 -0
  408. package/dist/esm/toggle-button/toggle-button.js.map +1 -0
  409. package/dist/esm/toggle-button/toggle-button.options.js +17 -0
  410. package/dist/esm/toggle-button/toggle-button.options.js.map +1 -0
  411. package/dist/esm/toggle-button/toggle-button.styles.js +94 -0
  412. package/dist/esm/toggle-button/toggle-button.styles.js.map +1 -0
  413. package/dist/esm/toggle-button/toggle-button.template.js +7 -0
  414. package/dist/esm/toggle-button/toggle-button.template.js.map +1 -0
  415. package/dist/esm/utils/apply-mixins.js +26 -0
  416. package/dist/esm/utils/apply-mixins.js.map +1 -0
  417. package/dist/fluent-web-components.api.json +8842 -7023
  418. package/dist/storybook/108.78b731e00015540915a8.manager.bundle.js +1 -0
  419. package/dist/storybook/108.b31ec3a1.iframe.bundle.js +1 -0
  420. package/dist/storybook/316.bc4aabd3.iframe.bundle.js +2 -0
  421. package/dist/storybook/316.bc4aabd3.iframe.bundle.js.LICENSE.txt +17 -0
  422. package/dist/storybook/401.7edec720.iframe.bundle.js +2 -0
  423. package/dist/storybook/401.7edec720.iframe.bundle.js.LICENSE.txt +12 -0
  424. package/dist/storybook/401.c9bdfaf0dda8b194127f.manager.bundle.js +2 -0
  425. package/dist/storybook/401.c9bdfaf0dda8b194127f.manager.bundle.js.LICENSE.txt +12 -0
  426. package/dist/storybook/491.77b24750.iframe.bundle.js +1 -0
  427. package/dist/storybook/591.f5bf0d78d2f203de19f5.manager.bundle.js +2 -0
  428. package/dist/storybook/591.f5bf0d78d2f203de19f5.manager.bundle.js.LICENSE.txt +94 -0
  429. package/dist/storybook/651.e36cf1e8.iframe.bundle.js +462 -0
  430. package/dist/storybook/651.e36cf1e8.iframe.bundle.js.LICENSE.txt +46 -0
  431. package/dist/storybook/651.e36cf1e8.iframe.bundle.js.map +1 -0
  432. package/dist/storybook/709.22096ad4.iframe.bundle.js +2 -0
  433. package/dist/storybook/709.22096ad4.iframe.bundle.js.LICENSE.txt +8 -0
  434. package/dist/storybook/709.b131e33993a6b94d7ad8.manager.bundle.js +2 -0
  435. package/dist/storybook/709.b131e33993a6b94d7ad8.manager.bundle.js.LICENSE.txt +8 -0
  436. package/dist/storybook/721.46fa9f53.iframe.bundle.js +2 -0
  437. package/dist/storybook/721.46fa9f53.iframe.bundle.js.LICENSE.txt +31 -0
  438. package/dist/storybook/721.c225c101a0a55a8f98eb.manager.bundle.js +2 -0
  439. package/dist/storybook/721.c225c101a0a55a8f98eb.manager.bundle.js.LICENSE.txt +31 -0
  440. package/dist/storybook/858.da40ed98.iframe.bundle.js +1 -0
  441. package/dist/storybook/858.e08e25a6901d2e21e9d8.manager.bundle.js +1 -0
  442. package/dist/storybook/950.674e7934b4a26a022608.manager.bundle.js +1 -0
  443. package/dist/storybook/954.630c5748.iframe.bundle.js +1 -0
  444. package/dist/storybook/954.7f985e2fdf9f15a7748b.manager.bundle.js +1 -0
  445. package/dist/storybook/SegoeUI-VF.ttf +0 -0
  446. package/dist/storybook/favicon.ico +0 -0
  447. package/dist/storybook/favicon.png +0 -0
  448. package/dist/storybook/iframe.html +364 -0
  449. package/dist/storybook/index.html +165 -0
  450. package/dist/storybook/main.5d7b916dc1e37293b1d8.manager.bundle.js +1 -0
  451. package/dist/storybook/main.696937e6.iframe.bundle.js +1 -0
  452. package/dist/storybook/project.json +1 -0
  453. package/dist/storybook/runtime~main.5d918fe7.iframe.bundle.js +1 -0
  454. package/dist/storybook/runtime~main.dbf00b470fe610082919.manager.bundle.js +1 -0
  455. package/dist/storybook/shell.css +83 -0
  456. package/dist/storybook/theme-switch.ts +13 -0
  457. package/dist/web-components.d.ts +1164 -50
  458. package/dist/web-components.js +7684 -3611
  459. package/dist/web-components.min.js +189 -128
  460. package/docs/api-report.md +585 -18
  461. package/package.json +129 -63
  462. package/playwright.config.ts +25 -0
  463. package/CHANGELOG.json +0 -2935
  464. package/dist/tsdoc-metadata.json +0 -11
@@ -1,21 +1,40 @@
1
- import { CSSDesignToken } from '@microsoft/fast-foundation';
2
- import { DividerOrientation } from '@microsoft/fast-foundation';
3
- import { DividerRole } from '@microsoft/fast-foundation';
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';
4
6
  import { ElementStyles } from '@microsoft/fast-element';
5
7
  import { ElementViewTemplate } from '@microsoft/fast-element';
6
- import { FASTAccordion } from '@microsoft/fast-foundation';
7
- import { FASTAccordionItem } from '@microsoft/fast-foundation';
8
- import { FASTDivider } from '@microsoft/fast-foundation';
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';
9
14
  import { FASTElement } from '@microsoft/fast-element';
10
15
  import { FASTElementDefinition } from '@microsoft/fast-element';
11
- import { FASTProgress } from '@microsoft/fast-foundation';
12
- import { FASTProgressRing } from '@microsoft/fast-foundation';
13
- import { FASTSwitch } from '@microsoft/fast-foundation';
14
- import { StartEnd } from '@microsoft/fast-foundation';
15
- import { StartEndOptions } from '@microsoft/fast-foundation';
16
- import { StaticallyComposableHTML } from '@microsoft/fast-foundation';
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';
17
36
  import type { Theme } from '@fluentui/tokens';
18
- import { ValuesOf } from '@microsoft/fast-foundation';
37
+ import type { ValuesOf } from '@microsoft/fast-foundation/utilities.js';
19
38
 
20
39
  /**
21
40
  * The base class used for constructing a fluent-accordion custom element
@@ -120,6 +139,137 @@ export declare const accordionStyles: ElementStyles;
120
139
 
121
140
  export declare const accordionTemplate: ElementViewTemplate<Accordion>;
122
141
 
142
+ /**
143
+ * The base class used for constructing a fluent-anchor-button custom element
144
+ * @public
145
+ */
146
+ export declare class AnchorButton extends FASTAnchor {
147
+ /**
148
+ * The appearance the anchor button should have.
149
+ *
150
+ * @public
151
+ * @remarks
152
+ * HTML Attribute: appearance
153
+ */
154
+ appearance?: AnchorButtonAppearance | undefined;
155
+ /**
156
+ * The shape the anchor button should have.
157
+ *
158
+ * @public
159
+ * @remarks
160
+ * HTML Attribute: shape
161
+ */
162
+ shape?: AnchorButtonShape | undefined;
163
+ /**
164
+ * The size the anchor button should have.
165
+ *
166
+ * @public
167
+ * @remarks
168
+ * HTML Attribute: size
169
+ */
170
+ size?: AnchorButtonSize;
171
+ /**
172
+ * The anchor button has an icon only, no text content
173
+ *
174
+ * @public
175
+ * @remarks
176
+ * HTML Attribute: icon-only
177
+ */
178
+ iconOnly: boolean;
179
+ /**
180
+ * The anchor button is disabled
181
+ *
182
+ * @public
183
+ * @remarks
184
+ * HTML Attribute: disabled-focusable
185
+ */
186
+ disabled?: boolean;
187
+ protected disabledChanged(prev: boolean, next: boolean): void;
188
+ /**
189
+ * The anchor button is disabled but focusable
190
+ *
191
+ * @public
192
+ * @remarks
193
+ * HTML Attribute: disabled-focusable
194
+ */
195
+ disabledFocusable?: boolean;
196
+ protected disabledFocusableChanged(prev: boolean, next: boolean): void;
197
+ /**
198
+ * Prevents disabledFocusable click events
199
+ */
200
+ private handleDisabledFocusableClick;
201
+ connectedCallback(): void;
202
+ disconnectedCallback(): void;
203
+ }
204
+
205
+ /**
206
+ * Anchor Button Appearance constants
207
+ * @public
208
+ */
209
+ export declare const AnchorButtonAppearance: {
210
+ readonly primary: "primary";
211
+ readonly outline: "outline";
212
+ readonly subtle: "subtle";
213
+ readonly secondary: "secondary";
214
+ readonly transparent: "transparent";
215
+ };
216
+
217
+ /**
218
+ * An Anchor Button can be secondary, primary, outline, subtle, transparent
219
+ * @public
220
+ */
221
+ export declare type AnchorButtonAppearance = ValuesOf<typeof AnchorButtonAppearance>;
222
+
223
+ /**
224
+ * The Fluent Anchor Button Element. Implements {@link @microsoft/fast-foundation#Anchor },
225
+ * {@link @microsoft/fast-foundation#anchorTemplate}
226
+ *
227
+ * @public
228
+ * @remarks
229
+ * HTML Element: \<fluent-anchor-button\>
230
+ */
231
+ export declare const AnchorButtonDefinition: FASTElementDefinition<typeof AnchorButton>;
232
+
233
+ export { AnchorButtonOptions }
234
+
235
+ /**
236
+ * An Anchor Button can be square, circular or rounded.
237
+ * @public
238
+ */
239
+ export declare const AnchorButtonShape: {
240
+ readonly circular: "circular";
241
+ readonly rounded: "rounded";
242
+ readonly square: "square";
243
+ };
244
+
245
+ /**
246
+ * An Anchor Button can be square, circular or rounded
247
+ * @public
248
+ */
249
+ export declare type AnchorButtonShape = ValuesOf<typeof AnchorButtonShape>;
250
+
251
+ /**
252
+ * An Anchor Button can be a size of small, medium or large.
253
+ * @public
254
+ */
255
+ export declare const AnchorButtonSize: {
256
+ readonly small: "small";
257
+ readonly medium: "medium";
258
+ readonly large: "large";
259
+ };
260
+
261
+ /**
262
+ * An Anchor Button can be on of several preset sizes.
263
+ * @public
264
+ */
265
+ export declare type AnchorButtonSize = ValuesOf<typeof AnchorButtonSize>;
266
+
267
+ /**
268
+ * The template for the Button component.
269
+ * @public
270
+ */
271
+ export declare const AnchorButtonTemplate: ElementViewTemplate<AnchorButton>;
272
+
123
273
  /**
124
274
  * The base class used for constructing a fluent-avatar custom element
125
275
  * @public
@@ -543,6 +693,219 @@ export declare const borderRadiusSmall: CSSDesignToken<string>;
543
693
 
544
694
  export declare const borderRadiusXLarge: CSSDesignToken<string>;
545
695
 
696
+ /**
697
+ * The base class used for constructing a fluent-button custom element
698
+ * @public
699
+ */
700
+ export declare class Button extends FASTButton {
701
+ /**
702
+ * The appearance the button should have.
703
+ *
704
+ * @public
705
+ * @remarks
706
+ * HTML Attribute: appearance
707
+ */
708
+ appearance?: ButtonAppearance | undefined;
709
+ /**
710
+ * The shape the button should have.
711
+ *
712
+ * @public
713
+ * @remarks
714
+ * HTML Attribute: shape
715
+ */
716
+ shape?: ButtonShape | undefined;
717
+ /**
718
+ * The size the button should have.
719
+ *
720
+ * @public
721
+ * @remarks
722
+ * HTML Attribute: size
723
+ */
724
+ size?: ButtonSize;
725
+ /**
726
+ * The button has an icon only, no text content
727
+ *
728
+ * @public
729
+ * @remarks
730
+ * HTML Attribute: icon-only
731
+ */
732
+ iconOnly: boolean;
733
+ /**
734
+ * The button is disabled but focusable
735
+ *
736
+ * @public
737
+ * @remarks
738
+ * HTML Attribute: disabled-focusable
739
+ */
740
+ disabledFocusable?: boolean;
741
+ protected disabledFocusableChanged(prev: boolean, next: boolean): void;
742
+ /**
743
+ * Prevents disabledFocusable click events
744
+ */
745
+ private handleDisabledFocusableClick;
746
+ connectedCallback(): void;
747
+ disconnectedCallback(): void;
748
+ }
749
+
750
+ /**
751
+ * ButtonAppearance constants
752
+ * @public
753
+ */
754
+ export declare const ButtonAppearance: {
755
+ readonly primary: "primary";
756
+ readonly outline: "outline";
757
+ readonly subtle: "subtle";
758
+ readonly secondary: "secondary";
759
+ readonly transparent: "transparent";
760
+ };
761
+
762
+ /**
763
+ * A Button can be secondary, primary, outline, subtle, transparent
764
+ * @public
765
+ */
766
+ export declare type ButtonAppearance = ValuesOf<typeof ButtonAppearance>;
767
+
768
+ /**
769
+ * The Fluent Button Element. Implements {@link @microsoft/fast-foundation#Button },
770
+ * {@link @microsoft/fast-foundation#buttonTemplate}
771
+ *
772
+ * @public
773
+ * @remarks
774
+ * HTML Element: \<fluent-button\>
775
+ */
776
+ export declare const ButtonDefinition: FASTElementDefinition<typeof Button>;
777
+
778
+ export { ButtonOptions }
779
+ export { ButtonOptions as CompoundButtonOptions }
780
+ export { ButtonOptions as MenuButtonOptions }
781
+ export { ButtonOptions as ToggleButtonOptions }
782
+
783
+ /**
784
+ * A Button can be square, circular or rounded.
785
+ * @public
786
+ */
787
+ export declare const ButtonShape: {
788
+ readonly circular: "circular";
789
+ readonly rounded: "rounded";
790
+ readonly square: "square";
791
+ };
792
+
793
+ /**
794
+ * A Button can be square, circular or rounded
795
+ * @public
796
+ */
797
+ export declare type ButtonShape = ValuesOf<typeof ButtonShape>;
798
+
799
+ /**
800
+ * A Button can be a size of small, medium or large.
801
+ * @public
802
+ */
803
+ export declare const ButtonSize: {
804
+ readonly small: "small";
805
+ readonly medium: "medium";
806
+ readonly large: "large";
807
+ };
808
+
809
+ /**
810
+ * A Button can be on of several preset sizes.
811
+ * @public
812
+ */
813
+ export declare type ButtonSize = ValuesOf<typeof ButtonSize>;
814
+
815
+ /**
816
+ * The template for the Button component.
817
+ * @public
818
+ */
819
+ export declare const ButtonTemplate: ElementViewTemplate<Button>;
820
+
821
+ /**
822
+ * The base class used for constucting a fluent checkbox custom element
823
+ * @public
824
+ */
825
+ export declare class Checkbox extends FASTCheckbox {
826
+ /**
827
+ * Sets shape of the checkbox.
828
+ *
829
+ * @public
830
+ * @default 'square'
831
+ * @remarks
832
+ * HTML Attribute: shape
833
+ */
834
+ shape?: CheckboxShape;
835
+ /**
836
+ * Sets size of the checkbox.
837
+ *
838
+ * @public
839
+ * @default 'medium'
840
+ * @remarks
841
+ * HTML Attribute: size
842
+ */
843
+ size?: CheckboxSize;
844
+ /**
845
+ * Sets position of the label relative to the input
846
+ *
847
+ * @public
848
+ * @default 'after'
849
+ * @remarks
850
+ * HTML Attribute: label-position
851
+ */
852
+ labelPosition?: CheckboxLabelPosition;
853
+ }
854
+
855
+ /**
856
+ * The Fluent Checkbox Element
857
+ *
858
+ * @public
859
+ * @remarks
860
+ * HTML Element: \<fluent-checkbox\>
861
+ */
862
+ export declare const CheckboxDefinition: FASTElementDefinition<typeof Checkbox>;
863
+
864
+ /**
865
+ * Checkbox label position
866
+ * @public
867
+ */
868
+ export declare const CheckboxLabelPosition: {
869
+ readonly before: "before";
870
+ readonly after: "after";
871
+ };
872
+
873
+ export declare type CheckboxLabelPosition = ValuesOf<typeof CheckboxLabelPosition>;
874
+
875
+ /**
876
+ * Checkbox shape
877
+ * @public
878
+ */
879
+ export declare const CheckboxShape: {
880
+ readonly circular: "circular";
881
+ readonly square: "square";
882
+ };
883
+
884
+ export declare type CheckboxShape = ValuesOf<typeof CheckboxShape>;
885
+
886
+ /**
887
+ * Checkbox size
888
+ * @public
889
+ */
890
+ export declare const CheckboxSize: {
891
+ readonly medium: "medium";
892
+ readonly large: "large";
893
+ };
894
+
895
+ export declare type CheckboxSize = ValuesOf<typeof CheckboxSize>;
896
+
897
+ /** Checkbox styles
898
+ *
899
+ * @public
900
+ */
901
+ export declare const CheckboxStyles: ElementStyles;
902
+
903
+ /**
904
+ * Template for the Checkbox component
905
+ * @public
906
+ */
907
+ export declare const CheckboxTemplate: ElementViewTemplate<Checkbox>;
908
+
546
909
  export declare const colorBackgroundOverlay: CSSDesignToken<string>;
547
910
 
548
911
  export declare const colorBrandBackground: CSSDesignToken<string>;
@@ -1138,33 +1501,112 @@ export declare const colorTransparentStrokeDisabled: CSSDesignToken<string>;
1138
1501
  export declare const colorTransparentStrokeInteractive: CSSDesignToken<string>;
1139
1502
 
1140
1503
  /**
1141
- * The base class used for constructing a fluent-badge custom element
1504
+ * The base class used for constructing a fluent-compound-button custom element
1142
1505
  * @public
1143
1506
  */
1144
- export declare class CounterBadge extends FASTElement {
1145
- /**
1146
- * The appearance the badge should have.
1147
- *
1148
- * @public
1149
- * @remarks
1150
- * HTML Attribute: appearance
1151
- */
1152
- appearance?: CounterBadgeAppearance;
1153
- /**
1154
- * The color the badge should have.
1155
- *
1156
- * @public
1157
- * @remarks
1158
- * HTML Attribute: color
1159
- */
1160
- color?: CounterBadgeColor;
1161
- /**
1162
- * The shape the badge should have.
1163
- *
1164
- * @public
1165
- * @remarks
1166
- * HTML Attribute: shape
1167
- */
1507
+ export declare class CompoundButton extends Button {
1508
+ }
1509
+
1510
+ /**
1511
+ * Compound Button Appearance constants
1512
+ * @public
1513
+ */
1514
+ export declare const CompoundButtonAppearance: {
1515
+ readonly primary: "primary";
1516
+ readonly outline: "outline";
1517
+ readonly subtle: "subtle";
1518
+ readonly secondary: "secondary";
1519
+ readonly transparent: "transparent";
1520
+ };
1521
+
1522
+ /**
1523
+ * A Compound Button can be secondary, primary, outline, subtle, transparent
1524
+ * @public
1525
+ */
1526
+ export declare type CompoundButtonAppearance = ValuesOf<typeof CompoundButtonAppearance>;
1527
+
1528
+ /**
1529
+ * The Fluent Compound Button Element. Implements {@link @microsoft/fast-foundation#Button },
1530
+ * {@link @microsoft/fast-foundation#buttonTemplate}
1531
+ *
1532
+ * @public
1533
+ * @remarks
1534
+ * HTML Element: \<fluent-comopund-button\>
1535
+ */
1536
+ export declare const CompoundButtonDefinition: FASTElementDefinition<typeof CompoundButton>;
1537
+
1538
+ /**
1539
+ * A Compound Button can be square, circular or rounded.
1540
+ * @public
1541
+ */
1542
+ export declare const CompoundButtonShape: {
1543
+ readonly circular: "circular";
1544
+ readonly rounded: "rounded";
1545
+ readonly square: "square";
1546
+ };
1547
+
1548
+ /**
1549
+ * A Compound Button can be square, circular or rounded
1550
+ * @public
1551
+ */
1552
+ export declare type CompoundButtonShape = ValuesOf<typeof CompoundButtonShape>;
1553
+
1554
+ /**
1555
+ * A Compound Button can be a size of small, medium or large.
1556
+ * @public
1557
+ */
1558
+ export declare const CompoundButtonSize: {
1559
+ readonly small: "small";
1560
+ /**
1561
+ * A Compound Button can be on of several preset sizes.
1562
+ * @public
1563
+ */
1564
+ readonly medium: "medium";
1565
+ readonly large: "large";
1566
+ };
1567
+
1568
+ /**
1569
+ * A Compound Button can be on of several preset sizes.
1570
+ * @public
1571
+ */
1572
+ export declare type CompoundButtonSize = ValuesOf<typeof CompoundButtonSize>;
1573
+
1574
+ export declare const CompoundButtonStyles: ElementStyles;
1575
+
1576
+ /**
1577
+ * The template for the Button component.
1578
+ * @public
1579
+ */
1580
+ export declare const CompoundButtonTemplate: ElementViewTemplate<CompoundButton>;
1581
+
1582
+ /**
1583
+ * The base class used for constructing a fluent-badge custom element
1584
+ * @public
1585
+ */
1586
+ export declare class CounterBadge extends FASTElement {
1587
+ /**
1588
+ * The appearance the badge should have.
1589
+ *
1590
+ * @public
1591
+ * @remarks
1592
+ * HTML Attribute: appearance
1593
+ */
1594
+ appearance?: CounterBadgeAppearance;
1595
+ /**
1596
+ * The color the badge should have.
1597
+ *
1598
+ * @public
1599
+ * @remarks
1600
+ * HTML Attribute: color
1601
+ */
1602
+ color?: CounterBadgeColor;
1603
+ /**
1604
+ * The shape the badge should have.
1605
+ *
1606
+ * @public
1607
+ * @remarks
1608
+ * HTML Attribute: shape
1609
+ */
1168
1610
  shape?: CounterBadgeShape;
1169
1611
  /**
1170
1612
  * The size the badge should have.
@@ -1342,15 +1784,6 @@ export declare const curveEasyEaseMax: CSSDesignToken<string>;
1342
1784
 
1343
1785
  export declare const curveLinear: CSSDesignToken<string>;
1344
1786
 
1345
- /**
1346
- * The Fluent Switch Element.
1347
- *
1348
- * @public
1349
- * @remarks
1350
- * HTML Element: \<fluent-switch\>
1351
- */
1352
- export declare const definition: FASTElementDefinition<typeof Switch>;
1353
-
1354
1787
  /**
1355
1788
  * @class Divider component
1356
1789
  *
@@ -1452,6 +1885,12 @@ export declare const durationUltraFast: CSSDesignToken<string>;
1452
1885
 
1453
1886
  export declare const durationUltraSlow: CSSDesignToken<string>;
1454
1887
 
1888
+ export declare const FluentDesignSystem: Readonly<{
1889
+ prefix: "fluent";
1890
+ shadowRootMode: "open";
1891
+ registry: CustomElementRegistry;
1892
+ }>;
1893
+
1455
1894
  export declare const fontFamilyBase: CSSDesignToken<string>;
1456
1895
 
1457
1896
  export declare const fontFamilyMonospace: CSSDesignToken<string>;
@@ -1585,6 +2024,93 @@ export declare const ImageStyles: ElementStyles;
1585
2024
  */
1586
2025
  export declare const ImageTemplate: ElementViewTemplate<Image_2>;
1587
2026
 
2027
+ /**
2028
+ * The base class used for constructing a fluent-label custom element
2029
+ * @public
2030
+ */
2031
+ export declare class Label extends FASTElement {
2032
+ /**
2033
+ * Specifies font size of a label
2034
+ *
2035
+ * @public
2036
+ * @default 'medium'
2037
+ * @remarks
2038
+ * HTML Attribute: size
2039
+ */
2040
+ size?: LabelSize;
2041
+ /**
2042
+ * Specifies font weight of a label
2043
+ *
2044
+ * @public
2045
+ * @default 'regular'
2046
+ * @remarks
2047
+ * HTML Attribute: weight
2048
+ */
2049
+ weight?: LabelWeight;
2050
+ /**
2051
+ * Specifies styles for label when associated input is disabled
2052
+ *
2053
+ * @public
2054
+ * @remarks
2055
+ * HTML Attribute: disabled
2056
+ */
2057
+ disabled: boolean;
2058
+ /**
2059
+ * Specifies styles for label when associated input is a required field
2060
+ *
2061
+ * @public
2062
+ * @remarks
2063
+ * HTML Attribute: required
2064
+ */
2065
+ required: boolean;
2066
+ }
2067
+
2068
+ /**
2069
+ * The Fluent Label Element.
2070
+ *
2071
+ *
2072
+ * @public
2073
+ * @remarks
2074
+ * HTML Element: \<fluent-label\>
2075
+ */
2076
+ export declare const LabelDefinition: FASTElementDefinition<typeof Label>;
2077
+
2078
+ /**
2079
+ * A Labels font size can be small, medium, or large
2080
+ */
2081
+ declare const LabelSize: {
2082
+ readonly small: "small";
2083
+ readonly medium: "medium";
2084
+ readonly large: "large";
2085
+ };
2086
+
2087
+ /**
2088
+ * Applies font size to label
2089
+ * @public
2090
+ */
2091
+ declare type LabelSize = ValuesOf<typeof LabelSize>;
2092
+
2093
+ /** Label styles
2094
+ * @public
2095
+ */
2096
+ export declare const LabelStyles: ElementStyles;
2097
+
2098
+ export declare const LabelTemplate: ElementViewTemplate<Label>;
2099
+
2100
+ /**
2101
+ * A label can have a font weight of regular or strong
2102
+ */
2103
+ declare const LabelWeight: {
2104
+ readonly regular: "regular";
2105
+ readonly semibold: "semibold";
2106
+ };
2107
+
2108
+ /**
2109
+ * Applies font weight to label
2110
+ * @public
2111
+ */
2112
+ declare type LabelWeight = ValuesOf<typeof LabelWeight>;
2113
+
1588
2114
  export declare const lineHeightBase100: CSSDesignToken<string>;
1589
2115
 
1590
2116
  export declare const lineHeightBase200: CSSDesignToken<string>;
@@ -1605,6 +2131,135 @@ export declare const lineHeightHero800: CSSDesignToken<string>;
1605
2131
 
1606
2132
  export declare const lineHeightHero900: CSSDesignToken<string>;
1607
2133
 
2134
+ /**
2135
+ * The base class used for constructing a fluent-menu-button custom element
2136
+ * @public
2137
+ */
2138
+ export declare class MenuButton extends Button {
2139
+ }
2140
+
2141
+ /**
2142
+ * Menu Button Appearance constants
2143
+ * @public
2144
+ */
2145
+ export declare const MenuButtonAppearance: {
2146
+ readonly primary: "primary";
2147
+ readonly outline: "outline";
2148
+ readonly subtle: "subtle";
2149
+ readonly secondary: "secondary";
2150
+ readonly transparent: "transparent";
2151
+ };
2152
+
2153
+ /**
2154
+ * A Menu Button can be secondary, primary, outline, subtle, transparent
2155
+ * @public
2156
+ */
2157
+ export declare type MenuButtonAppearance = ValuesOf<typeof MenuButtonAppearance>;
2158
+
2159
+ /**
2160
+ * The Fluent Menu Button Element. Implements {@link @microsoft/fast-foundation#Button },
2161
+ * {@link @microsoft/fast-foundation#buttonTemplate}
2162
+ *
2163
+ * @public
2164
+ * @remarks
2165
+ * HTML Element: \<fluent-button\>
2166
+ */
2167
+ export declare const MenuButtonDefinition: FASTElementDefinition<typeof MenuButton>;
2168
+
2169
+ /**
2170
+ * A Menu Button can be square, circular or rounded.
2171
+ * @public
2172
+ */
2173
+ export declare const MenuButtonShape: {
2174
+ readonly circular: "circular";
2175
+ readonly rounded: "rounded";
2176
+ readonly square: "square";
2177
+ };
2178
+
2179
+ /**
2180
+ * A Menu Button can be square, circular or rounded
2181
+ * @public
2182
+ */
2183
+ export declare type MenuButtonShape = ValuesOf<typeof MenuButtonShape>;
2184
+
2185
+ /**
2186
+ * A Menu Button can be a size of small, medium or large.
2187
+ * @public
2188
+ */
2189
+ export declare const MenuButtonSize: {
2190
+ readonly small: "small";
2191
+ readonly medium: "medium";
2192
+ readonly large: "large";
2193
+ };
2194
+
2195
+ /**
2196
+ * A Menu Button can be on of several preset sizes.
2197
+ * @public
2198
+ */
2199
+ export declare type MenuButtonSize = ValuesOf<typeof MenuButtonSize>;
2200
+
2201
+ /**
2202
+ * The template for the Button component.
2203
+ * @public
2204
+ */
2205
+ export declare const MenuButtonTemplate: ElementViewTemplate<MenuButton>;
2206
+
2207
+ /**
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
+ *
2220
+ *
2221
+ * @public
2222
+ * @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
2239
+ */
2240
+ export declare class MenuList extends FASTMenu {
2241
+ protected setItems(): void;
2242
+ private static elementIndent;
2243
+ }
2244
+
2245
+ /**
2246
+ * The Fluent MenuList Element. Implements {@link @microsoft/fast-foundation#Menu },
2247
+ * {@link @microsoft/fast-foundation#menuTemplate}
2248
+ *
2249
+ *
2250
+ * @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
+
1608
2263
  /**
1609
2264
  * The base class used for constructing a fluent-progress-bar custom element
1610
2265
  * @public
@@ -1660,7 +2315,7 @@ export declare const ProgressBarShape: {
1660
2315
  */
1661
2316
  export declare type ProgressBarShape = ValuesOf<typeof ProgressBarShape>;
1662
2317
 
1663
- /** Text styles
2318
+ /** ProgressBar styles
1664
2319
  * @public
1665
2320
  */
1666
2321
  export declare const ProgressBarStyles: ElementStyles;
@@ -1698,12 +2353,72 @@ export declare const ProgressBarValidationState: {
1698
2353
  */
1699
2354
  export declare type ProgressBarValidationState = ValuesOf<typeof ProgressBarValidationState>;
1700
2355
 
2356
+ /**
2357
+ * The base class used for constructing a fluent-radio custom element
2358
+ * @public
2359
+ */
2360
+ export declare class Radio extends FASTRadio {
2361
+ }
2362
+
2363
+ /**
2364
+ * The Fluent Radio Element.
2365
+ *
2366
+ *
2367
+ * @public
2368
+ * @remarks
2369
+ * HTML Element: \<fluent-radio\>
2370
+ */
2371
+ export declare const RadioDefinition: FASTElementDefinition<typeof Radio>;
2372
+
2373
+ /**
2374
+ * The base class used for constructing a fluent-radio-group custom element
2375
+ * @public
2376
+ */
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;
2386
+ }
2387
+
2388
+ /**
2389
+ * The Fluent RadioGroup Element.
2390
+ *
2391
+ *
2392
+ * @public
2393
+ * @remarks
2394
+ * HTML Element: \<fluent-radio-group\>
2395
+ */
2396
+ export declare const RadioGroupDefinition: FASTElementDefinition<typeof RadioGroup>;
2397
+
2398
+ export { RadioGroupOrientation }
2399
+
2400
+ /** RadioGroup styles
2401
+ * @public
2402
+ */
2403
+ export declare const RadioGroupStyles: ElementStyles;
2404
+
2405
+ export declare const RadioGroupTemplate: ElementViewTemplate<RadioGroup>;
2406
+
2407
+ /** Radio styles
2408
+ * @public
2409
+ */
2410
+ export declare const RadioStyles: ElementStyles;
2411
+
2412
+ export declare const RadioTemplate: ElementViewTemplate<Radio>;
2413
+
1701
2414
  /**
1702
2415
  * Sets the theme tokens on defaultNode.
1703
2416
  * @param theme Flat object of theme token values.
1704
2417
  */
1705
2418
  export declare const setTheme: (theme: Theme) => void;
1706
2419
 
2420
+ export declare const setThemeFor: (element: FASTElement, theme: Theme) => void;
2421
+
1707
2422
  export declare const shadow16: CSSDesignToken<string>;
1708
2423
 
1709
2424
  export declare const shadow16Brand: CSSDesignToken<string>;
@@ -1728,6 +2443,63 @@ export declare const shadow8: CSSDesignToken<string>;
1728
2443
 
1729
2444
  export declare const shadow8Brand: CSSDesignToken<string>;
1730
2445
 
2446
+ /**
2447
+ * The base class used for constructing a fluent-slider custom element
2448
+ * @public
2449
+ */
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
+ }
2468
+
2469
+ /**
2470
+ * The Fluent Slider Element.
2471
+ *
2472
+ *
2473
+ * @public
2474
+ * @remarks
2475
+ * HTML Element: \<fluent-slider\>
2476
+ */
2477
+ export declare const SliderDefinition: FASTElementDefinition<typeof Slider>;
2478
+
2479
+ export { SliderOrientation }
2480
+
2481
+ /**
2482
+ * SliderSize Constants
2483
+ * @public
2484
+ */
2485
+ export declare const SliderSize: {
2486
+ readonly small: "small";
2487
+ readonly medium: "medium";
2488
+ };
2489
+
2490
+ /**
2491
+ * Applies bar height to the slider rail and diameter to the slider thumbs
2492
+ * @public
2493
+ */
2494
+ export declare type SliderSize = ValuesOf<typeof SliderSize>;
2495
+
2496
+ /** Text styles
2497
+ * @public
2498
+ */
2499
+ export declare const SliderStyles: ElementStyles;
2500
+
2501
+ export declare const SliderTemplate: ElementViewTemplate<FASTSlider>;
2502
+
1731
2503
  export declare const spacingHorizontalL: CSSDesignToken<string>;
1732
2504
 
1733
2505
  export declare const spacingHorizontalM: CSSDesignToken<string>;
@@ -1854,6 +2626,10 @@ export declare const strokeWidthThickest: CSSDesignToken<string>;
1854
2626
 
1855
2627
  export declare const strokeWidthThin: CSSDesignToken<string>;
1856
2628
 
2629
+ declare const styles: ElementStyles;
2630
+ export { styles as ButtonStyles }
2631
+ export { styles as MenuButtonStyles }
2632
+
1857
2633
  export declare class Switch extends FASTSwitch {
1858
2634
  /**
1859
2635
  * The label position of the switch
@@ -1866,6 +2642,15 @@ export declare class Switch extends FASTSwitch {
1866
2642
  labelPosition: SwitchLabelPosition | undefined;
1867
2643
  }
1868
2644
 
2645
+ /**
2646
+ * The Fluent Switch Element.
2647
+ *
2648
+ * @public
2649
+ * @remarks
2650
+ * HTML Element: \<fluent-switch\>
2651
+ */
2652
+ export declare const SwitchDefinition: FASTElementDefinition<typeof Switch>;
2653
+
1869
2654
  /**
1870
2655
  * SwitchLabelPosition Constants
1871
2656
  * @public
@@ -1882,9 +2667,142 @@ export declare const SwitchLabelPosition: {
1882
2667
  */
1883
2668
  export declare type SwitchLabelPosition = ValuesOf<typeof SwitchLabelPosition>;
1884
2669
 
1885
- export declare const switchStyles: ElementStyles;
2670
+ export declare const SwitchStyles: ElementStyles;
2671
+
2672
+ export declare const SwitchTemplate: ElementViewTemplate<Switch>;
2673
+
2674
+ /**
2675
+ * Tab extends the FASTTab and is a child of the TabList
2676
+ */
2677
+ export declare class Tab extends FASTTab {
2678
+ private styles;
2679
+ connectedCallback(): void;
2680
+ }
2681
+
2682
+ export declare const TabDefinition: FASTElementDefinition<typeof Tab>;
2683
+
2684
+ export declare class TabPanel extends FASTTabPanel {
2685
+ }
2686
+
2687
+ export declare const TabPanelDefinition: FASTElementDefinition<typeof TabPanel>;
2688
+
2689
+ export declare const TabPanelStyles: ElementStyles;
1886
2690
 
1887
- export declare const switchTemplate: ElementViewTemplate<Switch>;
2691
+ export declare const TabPanelTemplate: ElementViewTemplate<FASTTabPanel, any>;
2692
+
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 {
2700
+ /**
2701
+ * activeTabData
2702
+ * The positional coordinates and size dimensions of the active tab. Used for calculating the offset and scale of the tab active indicator.
2703
+ */
2704
+ private activeTabData;
2705
+ /**
2706
+ * previousActiveTabData
2707
+ * The positional coordinates and size dimensions of the active tab. Used for calculating the offset and scale of the tab active indicator.
2708
+ */
2709
+ private previousActiveTabData;
2710
+ /**
2711
+ * activeTabOffset
2712
+ * Used to position the active indicator for animations of the active indicator on active tab changes.
2713
+ */
2714
+ private activeTabOffset;
2715
+ /**
2716
+ * activeTabScale
2717
+ * Used to scale the tab active indicator up or down as animations of the active indicator occur.
2718
+ */
2719
+ private activeTabScale;
2720
+ /**
2721
+ * styles
2722
+ * used in the class for storing the css variables required for animations
2723
+ */
2724
+ private styles;
2725
+ /**
2726
+ * appearance
2727
+ * There are two modes of appearance: transparent and subtle.
2728
+ */
2729
+ appearance?: TabsAppearance;
2730
+ /**
2731
+ * disabled
2732
+ * Used for disabling all click and keyboard events for the tabs, child tab elements and tab panel elements. UI styling of content and tabs will appear as "grayed out."
2733
+ */
2734
+ disabled?: boolean;
2735
+ /**
2736
+ * size
2737
+ * defaults to medium.
2738
+ * Used to set the size of all the tab controls, which effects text size and margins. Three sizes: small, medium and large.
2739
+ */
2740
+ size?: TabsSize;
2741
+ /**
2742
+ * calculateAnimationProperties
2743
+ *
2744
+ * Recalculates the active tab offset and scale.
2745
+ * These values will be applied to css variables that control the tab active indicator position animations
2746
+ */
2747
+ private calculateAnimationProperties;
2748
+ /**
2749
+ * getSelectedTabPosition - gets the x or y coordinates of the tab
2750
+ */
2751
+ private getTabPosition;
2752
+ /**
2753
+ * getSelectedTabScale - gets the scale of the tab
2754
+ */
2755
+ private getTabScale;
2756
+ /**
2757
+ * applyUpdatedCSSValues
2758
+ *
2759
+ * calculates and applies updated values to CSS variables
2760
+ * @param tab
2761
+ */
2762
+ private applyUpdatedCSSValues;
2763
+ /**
2764
+ * animationLoop
2765
+ * runs through all the operations required for setting the tab active indicator to its starting location, ending location, and applying the animated css class to the tab.
2766
+ * @param tab
2767
+ */
2768
+ private animationLoop;
2769
+ /**
2770
+ * setTabData
2771
+ * sets the data from the active tab onto the class. used for making all the animation calculations for the active tab indicator.
2772
+ */
2773
+ private setTabData;
2774
+ private setTabOffsetCSSVar;
2775
+ private setTabScaleCSSVar;
2776
+ activeidChanged(oldValue: string, newValue: string): void;
2777
+ tabsChanged(): void;
2778
+ }
2779
+
2780
+ export declare const TabsAppearance: {
2781
+ readonly subtle: "subtle";
2782
+ readonly transparent: "transparent";
2783
+ };
2784
+
2785
+ export declare type TabsAppearance = ValuesOf<typeof TabsAppearance>;
2786
+
2787
+ export declare const TabsDefinition: FASTElementDefinition<typeof Tabs>;
2788
+
2789
+ export { TabsOrientation }
2790
+
2791
+ export declare const TabsSize: {
2792
+ readonly small: "small";
2793
+ readonly medium: "medium";
2794
+ readonly large: "large";
2795
+ };
2796
+
2797
+ export declare type TabsSize = ValuesOf<typeof TabsSize>;
2798
+
2799
+ export declare const TabsStyles: ElementStyles;
2800
+
2801
+ export declare const TabsTemplate: ElementViewTemplate<FASTTabs, any>;
2802
+
2803
+ export declare const TabStyles: ElementStyles;
2804
+
2805
+ export declare const TabTemplate: ElementViewTemplate<FASTTab, any>;
1888
2806
 
1889
2807
  /**
1890
2808
  * The base class used for constructing a fluent-text custom element
@@ -2020,6 +2938,86 @@ export declare const TextFont: {
2020
2938
  */
2021
2939
  export declare type TextFont = ValuesOf<typeof TextFont>;
2022
2940
 
2941
+ /**
2942
+ * The base class used for constructing a fluent-text-input custom element
2943
+ * @public
2944
+ */
2945
+ export declare class TextInput extends FASTTextField {
2946
+ /**
2947
+ * Defines TextInput control size
2948
+ *
2949
+ * @public
2950
+ * @default 'medium'
2951
+ * @remarks
2952
+ * HTML Attribute: control-size
2953
+ */
2954
+ controlSize?: TextInputControlSize;
2955
+ /**
2956
+ * Defines TextInput appearance.
2957
+ *
2958
+ * @public
2959
+ * @default 'outline'
2960
+ * @remarks
2961
+ * HTML Attribute: appearance
2962
+ */
2963
+ appearance?: TextInputAppearance;
2964
+ }
2965
+
2966
+ /**
2967
+ * TextInput appearance constants
2968
+ * @public
2969
+ */
2970
+ export declare const TextInputAppearance: {
2971
+ readonly outline: "outline";
2972
+ readonly underline: "underline";
2973
+ readonly filledLighter: "filled-lighter";
2974
+ readonly filledDarker: "filled-darker";
2975
+ };
2976
+
2977
+ /**
2978
+ * Applies appearance styling to TextInput
2979
+ * @public
2980
+ */
2981
+ export declare type TextInputAppearance = ValuesOf<typeof TextInputAppearance>;
2982
+
2983
+ /**
2984
+ * TextInput size constants
2985
+ * @public
2986
+ */
2987
+ export declare const TextInputControlSize: {
2988
+ readonly small: "small";
2989
+ readonly medium: "medium";
2990
+ readonly large: "large";
2991
+ };
2992
+
2993
+ /**
2994
+ * Applies size styling to TextInput
2995
+ * @public
2996
+ */
2997
+ export declare type TextInputControlSize = ValuesOf<typeof TextInputControlSize>;
2998
+
2999
+ /**
3000
+ * The Fluent TextInput Element.
3001
+ *
3002
+ *
3003
+ * @public
3004
+ * @remarks
3005
+ * HTML Element: \<fluent-text-input\>
3006
+ */
3007
+ export declare const TextInputDefinition: FASTElementDefinition<typeof TextInput>;
3008
+
3009
+ /** TextInput styles
3010
+ * @public
3011
+ */
3012
+ export declare const TextInputStyles: ElementStyles;
3013
+
3014
+ /**
3015
+ * @internal
3016
+ */
3017
+ export declare const TextInputTemplate: ElementViewTemplate<TextInput>;
3018
+
3019
+ export { TextInputType }
3020
+
2023
3021
  /**
2024
3022
  * TextSize constants
2025
3023
  * @public
@@ -2071,4 +3069,120 @@ export declare const TextWeight: {
2071
3069
  */
2072
3070
  export declare type TextWeight = ValuesOf<typeof TextWeight>;
2073
3071
 
3072
+ /**
3073
+ * The base class used for constructing a fluent-toggle-button custom element
3074
+ * @public
3075
+ */
3076
+ export declare class ToggleButton extends Button {
3077
+ /**
3078
+ * Tracks whether the "checked" property has been changed.
3079
+ * This is necessary to provide consistent behavior with
3080
+ * normal input checkboxes
3081
+ */
3082
+ protected dirtyChecked: boolean;
3083
+ /**
3084
+ * Provides the default checkedness of the input element
3085
+ * Passed down to proxy
3086
+ *
3087
+ * @public
3088
+ * @remarks
3089
+ * HTML Attribute: checked
3090
+ */
3091
+ checkedAttribute: boolean;
3092
+ protected checkedAttributeChanged(): void;
3093
+ defaultChecked: boolean;
3094
+ protected defaultCheckedChanged(): void;
3095
+ /**
3096
+ * The checked state of the control.
3097
+ *
3098
+ * @public
3099
+ */
3100
+ checked: boolean;
3101
+ protected checkedChanged(prev: boolean | undefined, next: boolean): void;
3102
+ /**
3103
+ * The current checkedness of the element. This property serves as a mechanism
3104
+ * to set the `checked` property through both property assignment and the
3105
+ * .setAttribute() method. This is useful for setting the field's checkedness
3106
+ * in UI libraries that bind data through the .setAttribute() API
3107
+ * and don't support IDL attribute binding.
3108
+ */
3109
+ currentChecked: boolean;
3110
+ currentCheckedChanged(prev: boolean | undefined, next: boolean): void;
3111
+ constructor();
3112
+ connectedCallback(): void;
3113
+ disconnectedCallback(): void;
3114
+ /**
3115
+ * @internal
3116
+ */
3117
+ protected handleToggleButtonClick: (e: MouseEvent) => void;
3118
+ }
3119
+
3120
+ /**
3121
+ * Toggle Button Appearance constants
3122
+ * @public
3123
+ */
3124
+ export declare const ToggleButtonAppearance: {
3125
+ readonly primary: "primary";
3126
+ readonly outline: "outline";
3127
+ readonly subtle: "subtle";
3128
+ readonly secondary: "secondary";
3129
+ readonly transparent: "transparent";
3130
+ };
3131
+
3132
+ /**
3133
+ * A Toggle Button can be secondary, primary, outline, subtle, transparent
3134
+ * @public
3135
+ */
3136
+ export declare type ToggleButtonAppearance = ValuesOf<typeof ToggleButtonAppearance>;
3137
+
3138
+ /**
3139
+ * The Fluent Toggle Button Element. Implements {@link @microsoft/fast-foundation#Button },
3140
+ * {@link @microsoft/fast-foundation#buttonTemplate}
3141
+ *
3142
+ * @public
3143
+ * @remarks
3144
+ * HTML Element: \<fluent-toggle-button\>
3145
+ */
3146
+ export declare const ToggleButtonDefinition: FASTElementDefinition<typeof ToggleButton>;
3147
+
3148
+ /**
3149
+ * A Toggle Button can be square, circular or rounded.
3150
+ * @public
3151
+ */
3152
+ export declare const ToggleButtonShape: {
3153
+ readonly circular: "circular";
3154
+ readonly rounded: "rounded";
3155
+ readonly square: "square";
3156
+ };
3157
+
3158
+ /**
3159
+ * A Toggle Button can be square, circular or rounded
3160
+ * @public
3161
+ */
3162
+ export declare type ToggleButtonShape = ValuesOf<typeof ToggleButtonShape>;
3163
+
3164
+ /**
3165
+ * A Toggle Button can be a size of small, medium or large.
3166
+ * @public
3167
+ */
3168
+ export declare const ToggleButtonSize: {
3169
+ readonly small: "small";
3170
+ readonly medium: "medium";
3171
+ readonly large: "large";
3172
+ };
3173
+
3174
+ /**
3175
+ * A Toggle Button can be on of several preset sizes.
3176
+ * @public
3177
+ */
3178
+ export declare type ToggleButtonSize = ValuesOf<typeof ToggleButtonSize>;
3179
+
3180
+ export declare const ToggleButtonStyles: ElementStyles;
3181
+
3182
+ /**
3183
+ * The template for the ToggleButton component.
3184
+ * @public
3185
+ */
3186
+ export declare const ToggleButtonTemplate: ElementViewTemplate<ToggleButton>;
3187
+
2074
3188
  export { }