@fluentui/web-components 3.0.0-alpha.8 → 3.0.0-beta.1

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/709.22096ad4.iframe.bundle.js +2 -0
  428. package/dist/storybook/709.22096ad4.iframe.bundle.js.LICENSE.txt +8 -0
  429. package/dist/storybook/709.b131e33993a6b94d7ad8.manager.bundle.js +2 -0
  430. package/dist/storybook/709.b131e33993a6b94d7ad8.manager.bundle.js.LICENSE.txt +8 -0
  431. package/dist/storybook/721.46fa9f53.iframe.bundle.js +2 -0
  432. package/dist/storybook/721.46fa9f53.iframe.bundle.js.LICENSE.txt +31 -0
  433. package/dist/storybook/721.c225c101a0a55a8f98eb.manager.bundle.js +2 -0
  434. package/dist/storybook/721.c225c101a0a55a8f98eb.manager.bundle.js.LICENSE.txt +31 -0
  435. package/dist/storybook/761.21909e5ef44f985ae0d4.manager.bundle.js +2 -0
  436. package/dist/storybook/761.21909e5ef44f985ae0d4.manager.bundle.js.LICENSE.txt +94 -0
  437. package/dist/storybook/858.da40ed98.iframe.bundle.js +1 -0
  438. package/dist/storybook/858.e08e25a6901d2e21e9d8.manager.bundle.js +1 -0
  439. package/dist/storybook/885.6558041f.iframe.bundle.js +462 -0
  440. package/dist/storybook/885.6558041f.iframe.bundle.js.LICENSE.txt +46 -0
  441. package/dist/storybook/885.6558041f.iframe.bundle.js.map +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.18c2c615e57574af12cd.manager.bundle.js +1 -0
  451. package/dist/storybook/main.2c02ce39.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.8db883e762072830487f.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 +120 -54
  462. package/playwright.config.ts +25 -0
  463. package/CHANGELOG.json +0 -2920
  464. package/dist/tsdoc-metadata.json +0 -11
@@ -1,2 +1,2 @@
1
- export * from './design-tokens.js';
2
- export { setTheme } from './set-theme.js';
1
+ export { borderRadiusNone, borderRadiusSmall, borderRadiusMedium, borderRadiusLarge, borderRadiusXLarge, borderRadiusCircular, fontSizeBase100, fontSizeBase200, fontSizeBase300, fontSizeBase400, fontSizeBase500, fontSizeBase600, fontSizeHero700, fontSizeHero800, fontSizeHero900, fontSizeHero1000, lineHeightBase100, lineHeightBase200, lineHeightBase300, lineHeightBase400, lineHeightBase500, lineHeightBase600, lineHeightHero700, lineHeightHero800, lineHeightHero900, lineHeightHero1000, fontFamilyBase, fontFamilyMonospace, fontFamilyNumeric, fontWeightRegular, fontWeightMedium, fontWeightSemibold, fontWeightBold, strokeWidthThin, strokeWidthThick, strokeWidthThicker, strokeWidthThickest, spacingHorizontalNone, spacingHorizontalXXS, spacingHorizontalXS, spacingHorizontalSNudge, spacingHorizontalS, spacingHorizontalMNudge, spacingHorizontalM, spacingHorizontalL, spacingHorizontalXL, spacingHorizontalXXL, spacingHorizontalXXXL, spacingVerticalNone, spacingVerticalXXS, spacingVerticalXS, spacingVerticalSNudge, spacingVerticalS, spacingVerticalMNudge, spacingVerticalM, spacingVerticalL, spacingVerticalXL, spacingVerticalXXL, spacingVerticalXXXL, durationUltraFast, durationFaster, durationFast, durationNormal, durationSlow, durationSlower, durationUltraSlow, curveAccelerateMax, curveAccelerateMid, curveAccelerateMin, curveDecelerateMax, curveDecelerateMid, curveDecelerateMin, curveEasyEaseMax, curveEasyEase, curveLinear, colorNeutralForeground1, colorNeutralForeground1Hover, colorNeutralForeground1Pressed, colorNeutralForeground1Selected, colorNeutralForeground2, colorNeutralForeground2Hover, colorNeutralForeground2Pressed, colorNeutralForeground2Selected, colorNeutralForeground2BrandHover, colorNeutralForeground2BrandPressed, colorNeutralForeground2BrandSelected, colorNeutralForeground3, colorNeutralForeground3Hover, colorNeutralForeground3Pressed, colorNeutralForeground3Selected, colorNeutralForeground3BrandHover, colorNeutralForeground3BrandPressed, colorNeutralForeground3BrandSelected, colorNeutralForeground4, colorNeutralForegroundDisabled, colorNeutralForegroundInvertedDisabled, colorBrandForegroundLink, colorBrandForegroundLinkHover, colorBrandForegroundLinkPressed, colorBrandForegroundLinkSelected, colorNeutralForeground2Link, colorNeutralForeground2LinkHover, colorNeutralForeground2LinkPressed, colorNeutralForeground2LinkSelected, colorCompoundBrandForeground1, colorCompoundBrandForeground1Hover, colorCompoundBrandForeground1Pressed, colorBrandForeground1, colorBrandForeground2, colorNeutralForeground1Static, colorNeutralForegroundStaticInverted, colorNeutralForegroundInverted, colorNeutralForegroundInvertedHover, colorNeutralForegroundInvertedPressed, colorNeutralForegroundInvertedSelected, colorNeutralForegroundInverted2, colorNeutralForegroundOnBrand, colorNeutralForegroundInvertedLink, colorNeutralForegroundInvertedLinkHover, colorNeutralForegroundInvertedLinkPressed, colorNeutralForegroundInvertedLinkSelected, colorBrandForegroundInverted, colorBrandForegroundInvertedHover, colorBrandForegroundInvertedPressed, colorBrandForegroundOnLight, colorBrandForegroundOnLightHover, colorBrandForegroundOnLightPressed, colorBrandForegroundOnLightSelected, colorNeutralBackground1, colorNeutralBackground1Hover, colorNeutralBackground1Pressed, colorNeutralBackground1Selected, colorNeutralBackground2, colorNeutralBackground2Hover, colorNeutralBackground2Pressed, colorNeutralBackground2Selected, colorNeutralBackground3, colorNeutralBackground3Hover, colorNeutralBackground3Pressed, colorNeutralBackground3Selected, colorNeutralBackground4, colorNeutralBackground4Hover, colorNeutralBackground4Pressed, colorNeutralBackground4Selected, colorNeutralBackground5, colorNeutralBackground5Hover, colorNeutralBackground5Pressed, colorNeutralBackground5Selected, colorNeutralBackground6, colorNeutralBackgroundInverted, colorNeutralBackgroundStatic, colorSubtleBackground, colorSubtleBackgroundHover, colorSubtleBackgroundPressed, colorSubtleBackgroundSelected, colorSubtleBackgroundLightAlphaHover, colorSubtleBackgroundLightAlphaPressed, colorSubtleBackgroundLightAlphaSelected, colorSubtleBackgroundInverted, colorSubtleBackgroundInvertedHover, colorSubtleBackgroundInvertedPressed, colorSubtleBackgroundInvertedSelected, colorTransparentBackground, colorTransparentBackgroundHover, colorTransparentBackgroundPressed, colorTransparentBackgroundSelected, colorNeutralBackgroundDisabled, colorNeutralBackgroundInvertedDisabled, colorNeutralStencil1, colorNeutralStencil2, colorNeutralStencil1Alpha, colorNeutralStencil2Alpha, colorBackgroundOverlay, colorScrollbarOverlay, colorBrandBackground, colorBrandBackgroundHover, colorBrandBackgroundPressed, colorBrandBackgroundSelected, colorCompoundBrandBackground, colorCompoundBrandBackgroundHover, colorCompoundBrandBackgroundPressed, colorBrandBackgroundStatic, colorBrandBackground2, colorBrandBackgroundInverted, colorBrandBackgroundInvertedHover, colorBrandBackgroundInvertedPressed, colorBrandBackgroundInvertedSelected, colorNeutralStrokeAccessible, colorNeutralStrokeAccessibleHover, colorNeutralStrokeAccessiblePressed, colorNeutralStrokeAccessibleSelected, colorNeutralStroke1, colorNeutralStroke1Hover, colorNeutralStroke1Pressed, colorNeutralStroke1Selected, colorNeutralStroke2, colorNeutralStroke3, colorNeutralStrokeOnBrand, colorNeutralStrokeOnBrand2, colorNeutralStrokeOnBrand2Hover, colorNeutralStrokeOnBrand2Pressed, colorNeutralStrokeOnBrand2Selected, colorBrandStroke1, colorBrandStroke2, colorCompoundBrandStroke, colorCompoundBrandStrokeHover, colorCompoundBrandStrokePressed, colorNeutralStrokeDisabled, colorNeutralStrokeInvertedDisabled, colorTransparentStroke, colorTransparentStrokeInteractive, colorTransparentStrokeDisabled, colorStrokeFocus1, colorStrokeFocus2, colorNeutralShadowAmbient, colorNeutralShadowKey, colorNeutralShadowAmbientLighter, colorNeutralShadowKeyLighter, colorNeutralShadowAmbientDarker, colorNeutralShadowKeyDarker, colorBrandShadowAmbient, colorBrandShadowKey, colorPaletteRedBackground1, colorPaletteRedBackground2, colorPaletteRedBackground3, colorPaletteRedForeground1, colorPaletteRedForeground2, colorPaletteRedForeground3, colorPaletteRedBorderActive, colorPaletteRedBorder1, colorPaletteRedBorder2, colorPaletteGreenBackground1, colorPaletteGreenBackground2, colorPaletteGreenBackground3, colorPaletteGreenForeground1, colorPaletteGreenForeground2, colorPaletteGreenForeground3, colorPaletteGreenBorderActive, colorPaletteGreenBorder1, colorPaletteGreenBorder2, colorPaletteDarkOrangeBackground1, colorPaletteDarkOrangeBackground2, colorPaletteDarkOrangeBackground3, colorPaletteDarkOrangeForeground1, colorPaletteDarkOrangeForeground2, colorPaletteDarkOrangeForeground3, colorPaletteDarkOrangeBorderActive, colorPaletteDarkOrangeBorder1, colorPaletteDarkOrangeBorder2, colorPaletteYellowBackground1, colorPaletteYellowBackground2, colorPaletteYellowBackground3, colorPaletteYellowForeground1, colorPaletteYellowForeground2, colorPaletteYellowForeground3, colorPaletteYellowBorderActive, colorPaletteYellowBorder1, colorPaletteYellowBorder2, colorPaletteBerryBackground1, colorPaletteBerryBackground2, colorPaletteBerryBackground3, colorPaletteBerryForeground1, colorPaletteBerryForeground2, colorPaletteBerryForeground3, colorPaletteBerryBorderActive, colorPaletteBerryBorder1, colorPaletteBerryBorder2, colorPaletteLightGreenBackground1, colorPaletteLightGreenBackground2, colorPaletteLightGreenBackground3, colorPaletteLightGreenForeground1, colorPaletteLightGreenForeground2, colorPaletteLightGreenForeground3, colorPaletteLightGreenBorderActive, colorPaletteLightGreenBorder1, colorPaletteLightGreenBorder2, colorPaletteMarigoldBackground1, colorPaletteMarigoldBackground2, colorPaletteMarigoldBackground3, colorPaletteMarigoldForeground1, colorPaletteMarigoldForeground2, colorPaletteMarigoldForeground3, colorPaletteMarigoldBorderActive, colorPaletteMarigoldBorder1, colorPaletteMarigoldBorder2, colorPaletteDarkRedBackground2, colorPaletteDarkRedForeground2, colorPaletteDarkRedBorderActive, colorPaletteCranberryBackground2, colorPaletteCranberryForeground2, colorPaletteCranberryBorderActive, colorPalettePumpkinBackground2, colorPalettePumpkinForeground2, colorPalettePumpkinBorderActive, colorPalettePeachBackground2, colorPalettePeachForeground2, colorPalettePeachBorderActive, colorPaletteGoldBackground2, colorPaletteGoldForeground2, colorPaletteGoldBorderActive, colorPaletteBrassBackground2, colorPaletteBrassForeground2, colorPaletteBrassBorderActive, colorPaletteBrownBackground2, colorPaletteBrownForeground2, colorPaletteBrownBorderActive, colorPaletteForestBackground2, colorPaletteForestForeground2, colorPaletteForestBorderActive, colorPaletteSeafoamBackground2, colorPaletteSeafoamForeground2, colorPaletteSeafoamBorderActive, colorPaletteDarkGreenBackground2, colorPaletteDarkGreenForeground2, colorPaletteDarkGreenBorderActive, colorPaletteLightTealBackground2, colorPaletteLightTealForeground2, colorPaletteLightTealBorderActive, colorPaletteTealBackground2, colorPaletteTealForeground2, colorPaletteTealBorderActive, colorPaletteSteelBackground2, colorPaletteSteelForeground2, colorPaletteSteelBorderActive, colorPaletteBlueBackground2, colorPaletteBlueForeground2, colorPaletteBlueBorderActive, colorPaletteRoyalBlueBackground2, colorPaletteRoyalBlueForeground2, colorPaletteRoyalBlueBorderActive, colorPaletteCornflowerBackground2, colorPaletteCornflowerForeground2, colorPaletteCornflowerBorderActive, colorPaletteNavyBackground2, colorPaletteNavyForeground2, colorPaletteNavyBorderActive, colorPaletteLavenderBackground2, colorPaletteLavenderForeground2, colorPaletteLavenderBorderActive, colorPalettePurpleBackground2, colorPalettePurpleForeground2, colorPalettePurpleBorderActive, colorPaletteGrapeBackground2, colorPaletteGrapeForeground2, colorPaletteGrapeBorderActive, colorPaletteLilacBackground2, colorPaletteLilacForeground2, colorPaletteLilacBorderActive, colorPalettePinkBackground2, colorPalettePinkForeground2, colorPalettePinkBorderActive, colorPaletteMagentaBackground2, colorPaletteMagentaForeground2, colorPaletteMagentaBorderActive, colorPalettePlumBackground2, colorPalettePlumForeground2, colorPalettePlumBorderActive, colorPaletteBeigeBackground2, colorPaletteBeigeForeground2, colorPaletteBeigeBorderActive, colorPaletteMinkBackground2, colorPaletteMinkForeground2, colorPaletteMinkBorderActive, colorPalettePlatinumBackground2, colorPalettePlatinumForeground2, colorPalettePlatinumBorderActive, colorPaletteAnchorBackground2, colorPaletteAnchorForeground2, colorPaletteAnchorBorderActive, colorPaletteRedForegroundInverted, colorPaletteGreenForegroundInverted, colorPaletteYellowForegroundInverted, shadow2, shadow4, shadow8, shadow16, shadow28, shadow64, shadow2Brand, shadow4Brand, shadow8Brand, shadow16Brand, shadow28Brand, shadow64Brand, } from './design-tokens.js';
2
+ export { setTheme, setThemeFor } from './set-theme.js';
@@ -1,6 +1,8 @@
1
1
  import type { Theme } from '@fluentui/tokens';
2
+ import { FASTElement } from '@microsoft/fast-element';
2
3
  /**
3
4
  * Sets the theme tokens on defaultNode.
4
5
  * @param theme Flat object of theme token values.
5
6
  */
6
7
  export declare const setTheme: (theme: Theme) => void;
8
+ export declare const setThemeFor: (element: FASTElement, theme: Theme) => void;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,5 @@
1
+ export * from './toggle-button.js';
2
+ export * from './toggle-button.options.js';
3
+ export { template as ToggleButtonTemplate } from './toggle-button.template.js';
4
+ export { styles as ToggleButtonStyles } from './toggle-button.styles.js';
5
+ export { definition as ToggleButtonDefinition } from './toggle-button.definition.js';
@@ -0,0 +1,48 @@
1
+ import { Button } from '../button/button.js';
2
+ /**
3
+ * The base class used for constructing a fluent-toggle-button custom element
4
+ * @public
5
+ */
6
+ export declare class ToggleButton extends Button {
7
+ /**
8
+ * Tracks whether the "checked" property has been changed.
9
+ * This is necessary to provide consistent behavior with
10
+ * normal input checkboxes
11
+ */
12
+ protected dirtyChecked: boolean;
13
+ /**
14
+ * Provides the default checkedness of the input element
15
+ * Passed down to proxy
16
+ *
17
+ * @public
18
+ * @remarks
19
+ * HTML Attribute: checked
20
+ */
21
+ checkedAttribute: boolean;
22
+ protected checkedAttributeChanged(): void;
23
+ defaultChecked: boolean;
24
+ protected defaultCheckedChanged(): void;
25
+ /**
26
+ * The checked state of the control.
27
+ *
28
+ * @public
29
+ */
30
+ checked: boolean;
31
+ protected checkedChanged(prev: boolean | undefined, next: boolean): void;
32
+ /**
33
+ * The current checkedness of the element. This property serves as a mechanism
34
+ * to set the `checked` property through both property assignment and the
35
+ * .setAttribute() method. This is useful for setting the field's checkedness
36
+ * in UI libraries that bind data through the .setAttribute() API
37
+ * and don't support IDL attribute binding.
38
+ */
39
+ currentChecked: boolean;
40
+ currentCheckedChanged(prev: boolean | undefined, next: boolean): void;
41
+ constructor();
42
+ connectedCallback(): void;
43
+ disconnectedCallback(): void;
44
+ /**
45
+ * @internal
46
+ */
47
+ protected handleToggleButtonClick: (e: MouseEvent) => void;
48
+ }
@@ -0,0 +1,10 @@
1
+ import { ToggleButton } from './toggle-button.js';
2
+ /**
3
+ * The Fluent Toggle Button Element. Implements {@link @microsoft/fast-foundation#Button },
4
+ * {@link @microsoft/fast-foundation#buttonTemplate}
5
+ *
6
+ * @public
7
+ * @remarks
8
+ * HTML Element: \<fluent-toggle-button\>
9
+ */
10
+ export declare const definition: import("@microsoft/fast-element").FASTElementDefinition<typeof ToggleButton>;
@@ -0,0 +1,47 @@
1
+ import type { ButtonOptions } from '@microsoft/fast-foundation/button.js';
2
+ import type { ValuesOf } from '@microsoft/fast-foundation/utilities.js';
3
+ /**
4
+ * Toggle Button Appearance constants
5
+ * @public
6
+ */
7
+ export declare const ToggleButtonAppearance: {
8
+ readonly primary: "primary";
9
+ readonly outline: "outline";
10
+ readonly subtle: "subtle";
11
+ readonly secondary: "secondary";
12
+ readonly transparent: "transparent";
13
+ };
14
+ /**
15
+ * A Toggle Button can be secondary, primary, outline, subtle, transparent
16
+ * @public
17
+ */
18
+ export declare type ToggleButtonAppearance = ValuesOf<typeof ToggleButtonAppearance>;
19
+ /**
20
+ * A Toggle Button can be square, circular or rounded.
21
+ * @public
22
+ */
23
+ export declare const ToggleButtonShape: {
24
+ readonly circular: "circular";
25
+ readonly rounded: "rounded";
26
+ readonly square: "square";
27
+ };
28
+ /**
29
+ * A Toggle Button can be square, circular or rounded
30
+ * @public
31
+ */
32
+ export declare type ToggleButtonShape = ValuesOf<typeof ToggleButtonShape>;
33
+ /**
34
+ * A Toggle Button can be a size of small, medium or large.
35
+ * @public
36
+ */
37
+ export declare const ToggleButtonSize: {
38
+ readonly small: "small";
39
+ readonly medium: "medium";
40
+ readonly large: "large";
41
+ };
42
+ /**
43
+ * A Toggle Button can be on of several preset sizes.
44
+ * @public
45
+ */
46
+ export declare type ToggleButtonSize = ValuesOf<typeof ToggleButtonSize>;
47
+ export { ButtonOptions as ToggleButtonOptions };
@@ -0,0 +1 @@
1
+ export declare const styles: import("@microsoft/fast-element").ElementStyles;
@@ -0,0 +1,7 @@
1
+ import { ElementViewTemplate } from '@microsoft/fast-element';
2
+ import type { ToggleButton } from './toggle-button.js';
3
+ /**
4
+ * The template for the ToggleButton component.
5
+ * @public
6
+ */
7
+ export declare const template: ElementViewTemplate<ToggleButton>;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Apply mixins to a constructor.
3
+ * Sourced from {@link https://www.typescriptlang.org/docs/handbook/mixins.html | TypeScript Documentation }.
4
+ *
5
+ * TODO: Remove with https://github.com/microsoft/fast/pull/6797
6
+ * This was used for Badge where start/end was not yet implemented.
7
+ * The method itself was deprecated as it was largely intended to be "internals" for Fast Foundation.
8
+ * Adding here to avoid breaking of the existing API.
9
+ * @internal
10
+ */
11
+ export declare function applyMixins(derivedCtor: any, ...baseCtors: any[]): void;
@@ -1,4 +1,4 @@
1
- import { FASTAccordion } from '@microsoft/fast-foundation';
1
+ import { FASTAccordion } from '@microsoft/fast-foundation/accordion.js';
2
2
  /**
3
3
  * The base class used for constructing a fluent-accordion custom element
4
4
  * @public
@@ -1 +1 @@
1
- {"version":3,"file":"accordion.js","sourceRoot":"","sources":["../../../src/accordion/accordion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D;;;GAGG;AACH,MAAM,OAAO,SAAU,SAAQ,aAAa;CAAG"}
1
+ {"version":3,"file":"accordion.js","sourceRoot":"","sources":["../../../src/accordion/accordion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAC;AAExE;;;GAGG;AACH,MAAM,OAAO,SAAU,SAAQ,aAAa;CAAG"}
@@ -1,11 +1,12 @@
1
1
  import { css } from '@microsoft/fast-element';
2
- import { display } from '@microsoft/fast-foundation';
2
+ import { display } from '@microsoft/fast-foundation/utilities.js';
3
3
  export const styles = css `
4
4
  ${display('flex')}
5
5
 
6
6
  :host {
7
7
  flex-direction: column;
8
8
  width: 100%;
9
+ contain: content;
9
10
  }
10
11
  `;
11
12
  //# sourceMappingURL=accordion.styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"accordion.styles.js","sourceRoot":"","sources":["../../../src/accordion/accordion.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAErD,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;IACrB,OAAO,CAAC,MAAM,CAAC;;;;;;CAMlB,CAAC"}
1
+ {"version":3,"file":"accordion.styles.js","sourceRoot":"","sources":["../../../src/accordion/accordion.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,yCAAyC,CAAC;AAElE,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;IACrB,OAAO,CAAC,MAAM,CAAC;;;;;;;CAOlB,CAAC"}
@@ -1,3 +1,3 @@
1
- import { accordionTemplate } from '@microsoft/fast-foundation';
1
+ import { accordionTemplate } from '@microsoft/fast-foundation/accordion.js';
2
2
  export const template = accordionTemplate();
3
3
  //# sourceMappingURL=accordion.template.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"accordion.template.js","sourceRoot":"","sources":["../../../src/accordion/accordion.template.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAG/D,MAAM,CAAC,MAAM,QAAQ,GAAmC,iBAAiB,EAAE,CAAC"}
1
+ {"version":3,"file":"accordion.template.js","sourceRoot":"","sources":["../../../src/accordion/accordion.template.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAG5E,MAAM,CAAC,MAAM,QAAQ,GAAmC,iBAAiB,EAAE,CAAC"}
@@ -1,6 +1,11 @@
1
- import { __decorate } from "tslib";
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
2
7
  import { attr } from '@microsoft/fast-element';
3
- import { FASTAccordionItem } from '@microsoft/fast-foundation';
8
+ import { FASTAccordionItem } from '@microsoft/fast-foundation/accordion-item.js';
4
9
  /**
5
10
  * @internal
6
11
  */
@@ -1 +1 @@
1
- {"version":3,"file":"accordion-item.js","sourceRoot":"","sources":["../../../src/accordion-item/accordion-item.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAG/D;;GAEG;AACH,MAAM,OAAO,aAAc,SAAQ,iBAAiB;IAApD;;QAYE;;;;;;WAMG;QAEI,UAAK,GAAY,KAAK,CAAC;IAYhC,CAAC;CAAA;AAtBC;IADC,IAAI;2CAC2B;AAUhC;IADC,IAAI,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;4CACI;AAW9B;IADC,IAAI,CAAC,EAAE,SAAS,EAAE,sBAAsB,EAAE,CAAC;yDACgB"}
1
+ {"version":3,"file":"accordion-item.js","sourceRoot":"","sources":["../../../src/accordion-item/accordion-item.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AAGjF;;GAEG;AACH,MAAM,OAAO,aAAc,SAAQ,iBAAiB;IAApD;;QAYE;;;;;;WAMG;QAEI,UAAK,GAAY,KAAK,CAAC;IAYhC,CAAC;CAAA;AAtBC;IADC,IAAI;2CAC2B;AAUhC;IADC,IAAI,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;4CACI;AAW9B;IADC,IAAI,CAAC,EAAE,SAAS,EAAE,sBAAsB,EAAE,CAAC;yDACgB"}
@@ -1,11 +1,12 @@
1
1
  import { css } from '@microsoft/fast-element';
2
- import { display } from '@microsoft/fast-foundation';
2
+ import { display } from '@microsoft/fast-foundation/utilities.js';
3
3
  import { borderRadiusMedium, borderRadiusSmall, colorNeutralForeground1, colorNeutralForegroundDisabled, colorStrokeFocus1, colorStrokeFocus2, colorTransparentBackground, fontFamilyBase, fontSizeBase200, fontSizeBase300, fontSizeBase400, fontSizeBase500, fontWeightRegular, lineHeightBase200, lineHeightBase300, lineHeightBase400, lineHeightBase500, spacingHorizontalM, spacingHorizontalMNudge, spacingHorizontalS, } from '../theme/design-tokens.js';
4
4
  export const styles = css `
5
5
  ${display('block')}
6
6
 
7
7
  :host {
8
8
  max-width: fit-content;
9
+ contain: content;
9
10
  }
10
11
 
11
12
  .heading {
@@ -1 +1 @@
1
- {"version":3,"file":"accordion-item.styles.js","sourceRoot":"","sources":["../../../src/accordion-item/accordion-item.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EACjB,uBAAuB,EACvB,8BAA8B,EAC9B,iBAAiB,EACjB,iBAAiB,EACjB,0BAA0B,EAC1B,cAAc,EACd,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,2BAA2B,CAAC;AAEnC,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;IACrB,OAAO,CAAC,OAAO,CAAC;;;;;;;;;;;sBAWE,kBAAkB,IAAI,uBAAuB;qBAC9C,kBAAkB;mBACpB,cAAc;iBAChB,eAAe;mBACb,iBAAiB;mBACjB,iBAAiB;;;;;;;;;;;;;;;;;;;aAmBvB,uBAAuB;kBAClB,0BAA0B;mBACzB,iBAAiB;;;;;;;;;;;;;qBAaf,iBAAiB;;;;;;;;;;qBAUjB,kBAAkB;;;;;;gBAMvB,kBAAkB;;;;;;;qBAOb,kBAAkB;;;;;;;;;;qBAUlB,iBAAiB;;wBAEd,iBAAiB;kCACP,iBAAiB;;;;;;aAMtC,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAgC1B,eAAe;mBACb,iBAAiB;;;;iBAInB,eAAe;mBACb,iBAAiB;;;;iBAInB,eAAe;mBACb,iBAAiB;;;;iBAInB,eAAe;mBACb,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmDnC,CAAC"}
1
+ {"version":3,"file":"accordion-item.styles.js","sourceRoot":"","sources":["../../../src/accordion-item/accordion-item.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,yCAAyC,CAAC;AAClE,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EACjB,uBAAuB,EACvB,8BAA8B,EAC9B,iBAAiB,EACjB,iBAAiB,EACjB,0BAA0B,EAC1B,cAAc,EACd,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,2BAA2B,CAAC;AAEnC,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;IACrB,OAAO,CAAC,OAAO,CAAC;;;;;;;;;;;;sBAYE,kBAAkB,IAAI,uBAAuB;qBAC9C,kBAAkB;mBACpB,cAAc;iBAChB,eAAe;mBACb,iBAAiB;mBACjB,iBAAiB;;;;;;;;;;;;;;;;;;;aAmBvB,uBAAuB;kBAClB,0BAA0B;mBACzB,iBAAiB;;;;;;;;;;;;;qBAaf,iBAAiB;;;;;;;;;;qBAUjB,kBAAkB;;;;;;gBAMvB,kBAAkB;;;;;;;qBAOb,kBAAkB;;;;;;;;;;qBAUlB,iBAAiB;;wBAEd,iBAAiB;kCACP,iBAAiB;;;;;;aAMtC,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAgC1B,eAAe;mBACb,iBAAiB;;;;iBAInB,eAAe;mBACb,iBAAiB;;;;iBAInB,eAAe;mBACb,iBAAiB;;;;iBAInB,eAAe;mBACb,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmDnC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { html } from '@microsoft/fast-element';
2
- import { accordionItemTemplate } from '@microsoft/fast-foundation';
2
+ import { accordionItemTemplate } from '@microsoft/fast-foundation/accordion-item.js';
3
3
  const chevronRight20Filled = html.partial(`<svg
4
4
  width="20"
5
5
  height="20"
@@ -10,7 +10,7 @@ const chevronRight20Filled = html.partial(`<svg
10
10
  >
11
11
  <path
12
12
  d="M7.73271 4.20694C8.03263 3.92125 8.50737 3.93279 8.79306 4.23271L13.7944 9.48318C14.0703 9.77285 14.0703 10.2281 13.7944 10.5178L8.79306 15.7682C8.50737 16.0681 8.03263 16.0797 7.73271 15.794C7.43279 15.5083 7.42125 15.0336 7.70694 14.7336L12.2155 10.0005L7.70694 5.26729C7.42125 4.96737 7.43279 4.49264 7.73271 4.20694Z"
13
- fill="#212121"
13
+ fill="currentColor"
14
14
  />
15
15
  </svg>`);
16
16
  const chevronDown20Filled = html.partial(`<svg
@@ -23,7 +23,7 @@ const chevronDown20Filled = html.partial(`<svg
23
23
  >
24
24
  <path
25
25
  d="M15.794 7.73271C16.0797 8.03263 16.0681 8.50737 15.7682 8.79306L10.5178 13.7944C10.2281 14.0703 9.77285 14.0703 9.48318 13.7944L4.23271 8.79306C3.93279 8.50737 3.92125 8.03263 4.20694 7.73271C4.49264 7.43279 4.96737 7.42125 5.26729 7.70694L10.0005 12.2155L14.7336 7.70694C15.0336 7.42125 15.5083 7.43279 15.794 7.73271Z"
26
- fill="#212121"
26
+ fill="currentColor"
27
27
  />
28
28
  </svg>`);
29
29
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"accordion-item.template.js","sourceRoot":"","sources":["../../../src/accordion-item/accordion-item.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,IAAI,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAGnE,MAAM,oBAAoB,GAAG,IAAI,CAAC,OAAO,CAAC;;;;;;;;;;;;OAYnC,CAAC,CAAC;AAET,MAAM,mBAAmB,GAAG,IAAI,CAAC,OAAO,CAAC;;;;;;;;;;;;OAYlC,CAAC,CAAC;AAET;;;GAGG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAuC,qBAAqB,CAAC;IAChF,aAAa,EAAE,oBAAoB;IACnC,YAAY,EAAE,mBAAmB;CAClC,CAAC,CAAC"}
1
+ {"version":3,"file":"accordion-item.template.js","sourceRoot":"","sources":["../../../src/accordion-item/accordion-item.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,IAAI,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,8CAA8C,CAAC;AAGrF,MAAM,oBAAoB,GAAG,IAAI,CAAC,OAAO,CAAC;;;;;;;;;;;;OAYnC,CAAC,CAAC;AAET,MAAM,mBAAmB,GAAG,IAAI,CAAC,OAAO,CAAC;;;;;;;;;;;;OAYlC,CAAC,CAAC;AAET;;;GAGG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAuC,qBAAqB,CAAC;IAChF,aAAa,EAAE,oBAAoB;IACnC,YAAY,EAAE,mBAAmB;CAClC,CAAC,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { FluentDesignSystem } from '../fluent-design-system.js';
2
+ import { AnchorButton } from './anchor-button.js';
3
+ import { styles } from './anchor-button.styles.js';
4
+ import { template } from './anchor-button.template.js';
5
+ /**
6
+ * The Fluent Anchor Button Element. Implements {@link @microsoft/fast-foundation#Anchor },
7
+ * {@link @microsoft/fast-foundation#anchorTemplate}
8
+ *
9
+ * @public
10
+ * @remarks
11
+ * HTML Element: \<fluent-anchor-button\>
12
+ */
13
+ export const definition = AnchorButton.compose({
14
+ name: `${FluentDesignSystem.prefix}-anchor-button`,
15
+ template,
16
+ styles,
17
+ shadowOptions: {
18
+ delegatesFocus: true,
19
+ },
20
+ });
21
+ //# sourceMappingURL=anchor-button.definition.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"anchor-button.definition.js","sourceRoot":"","sources":["../../../src/anchor-button/anchor-button.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,YAAY,CAAC,OAAO,CAAC;IAC7C,IAAI,EAAE,GAAG,kBAAkB,CAAC,MAAM,gBAAgB;IAClD,QAAQ;IACR,MAAM;IACN,aAAa,EAAE;QACb,cAAc,EAAE,IAAI;KACrB;CACF,CAAC,CAAC"}
@@ -0,0 +1,98 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ import { attr } from '@microsoft/fast-element';
8
+ import { FASTAnchor } from '@microsoft/fast-foundation/anchor.js';
9
+ /**
10
+ * The base class used for constructing a fluent-anchor-button custom element
11
+ * @public
12
+ */
13
+ export class AnchorButton extends FASTAnchor {
14
+ constructor() {
15
+ super(...arguments);
16
+ /**
17
+ * The anchor button has an icon only, no text content
18
+ *
19
+ * @public
20
+ * @remarks
21
+ * HTML Attribute: icon-only
22
+ */
23
+ this.iconOnly = false;
24
+ /**
25
+ * The anchor button is disabled
26
+ *
27
+ * @public
28
+ * @remarks
29
+ * HTML Attribute: disabled-focusable
30
+ */
31
+ this.disabled = false;
32
+ /**
33
+ * The anchor button is disabled but focusable
34
+ *
35
+ * @public
36
+ * @remarks
37
+ * HTML Attribute: disabled-focusable
38
+ */
39
+ this.disabledFocusable = false;
40
+ /**
41
+ * Prevents disabledFocusable click events
42
+ */
43
+ this.handleDisabledFocusableClick = (e) => {
44
+ if ((e && this.disabled) || this.disabledFocusable) {
45
+ e.stopImmediatePropagation();
46
+ return;
47
+ }
48
+ };
49
+ }
50
+ disabledChanged(prev, next) {
51
+ if (this.disabled) {
52
+ this.setAttribute('aria-disabled', 'true');
53
+ this.setAttribute('tabindex', '-1');
54
+ }
55
+ else {
56
+ this.removeAttribute('aria-disabled');
57
+ this.removeAttribute('tabindex');
58
+ }
59
+ }
60
+ disabledFocusableChanged(prev, next) {
61
+ if (!this.$fastController.isConnected) {
62
+ return;
63
+ }
64
+ if (this.disabledFocusable) {
65
+ this.setAttribute('aria-disabled', 'true');
66
+ }
67
+ else {
68
+ this.removeAttribute('aria-disabled');
69
+ }
70
+ }
71
+ connectedCallback() {
72
+ super.connectedCallback();
73
+ this.addEventListener('click', this.handleDisabledFocusableClick);
74
+ }
75
+ disconnectedCallback() {
76
+ super.disconnectedCallback();
77
+ this.removeEventListener('click', this.handleDisabledFocusableClick);
78
+ }
79
+ }
80
+ __decorate([
81
+ attr
82
+ ], AnchorButton.prototype, "appearance", void 0);
83
+ __decorate([
84
+ attr
85
+ ], AnchorButton.prototype, "shape", void 0);
86
+ __decorate([
87
+ attr
88
+ ], AnchorButton.prototype, "size", void 0);
89
+ __decorate([
90
+ attr({ attribute: 'icon-only', mode: 'boolean' })
91
+ ], AnchorButton.prototype, "iconOnly", void 0);
92
+ __decorate([
93
+ attr({ mode: 'boolean' })
94
+ ], AnchorButton.prototype, "disabled", void 0);
95
+ __decorate([
96
+ attr({ attribute: 'disabled-focusable', mode: 'boolean' })
97
+ ], AnchorButton.prototype, "disabledFocusable", void 0);
98
+ //# sourceMappingURL=anchor-button.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"anchor-button.js","sourceRoot":"","sources":["../../../src/anchor-button/anchor-button.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAGlE;;;GAGG;AACH,MAAM,OAAO,YAAa,SAAQ,UAAU;IAA5C;;QA+BE;;;;;;WAMG;QAEI,aAAQ,GAAY,KAAK,CAAC;QAEjC;;;;;;WAMG;QAEI,aAAQ,GAAa,KAAK,CAAC;QAWlC;;;;;;WAMG;QAEI,sBAAiB,GAAa,KAAK,CAAC;QAa3C;;WAEG;QACK,iCAA4B,GAAG,CAAC,CAAa,EAAQ,EAAE;YAC7D,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,iBAAiB,EAAE;gBAClD,CAAC,CAAC,wBAAwB,EAAE,CAAC;gBAC7B,OAAO;aACR;QACH,CAAC,CAAC;IAaJ,CAAC;IApDW,eAAe,CAAC,IAAa,EAAE,IAAa;QACpD,IAAI,IAAI,CAAC,QAAQ,EAAE;YACf,IAAgC,CAAC,YAAY,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC;YACvE,IAAgC,CAAC,YAAY,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;SACnE;aAAM;YACH,IAAgC,CAAC,eAAe,CAAC,eAAe,CAAC,CAAC;YAClE,IAAgC,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;SAChE;IACH,CAAC;IAWS,wBAAwB,CAAC,IAAa,EAAE,IAAa;QAC7D,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,WAAW,EAAE;YACrC,OAAO;SACR;QAED,IAAI,IAAI,CAAC,iBAAiB,EAAE;YACxB,IAAgC,CAAC,YAAY,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC;SAC1E;aAAM;YACH,IAAgC,CAAC,eAAe,CAAC,eAAe,CAAC,CAAC;SACrE;IACH,CAAC;IAYM,iBAAiB;QACtB,KAAK,CAAC,iBAAiB,EAAE,CAAC;QAExB,IAAgC,CAAC,gBAAgB,CAAC,OAAO,EAAE,IAAI,CAAC,4BAA4B,CAAC,CAAC;IAClG,CAAC;IAEM,oBAAoB;QACzB,KAAK,CAAC,oBAAoB,EAAE,CAAC;QAE3B,IAAgC,CAAC,mBAAmB,CAAC,OAAO,EAAE,IAAI,CAAC,4BAA4B,CAAC,CAAC;IACrG,CAAC;CACF;AA7FC;IADC,IAAI;gDACkD;AAUvD;IADC,IAAI;2CACwC;AAU7C;IADC,IAAI;0CAC0B;AAU/B;IADC,IAAI,CAAC,EAAE,SAAS,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;8CACjB;AAUjC;IADC,IAAI,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;8CACQ;AAmBlC;IADC,IAAI,CAAC,EAAE,SAAS,EAAE,oBAAoB,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;uDAChB"}
@@ -0,0 +1,17 @@
1
+ import { ButtonAppearance, ButtonShape, ButtonSize } from '../button/button.options.js';
2
+ /**
3
+ * Anchor Button Appearance constants
4
+ * @public
5
+ */
6
+ export const AnchorButtonAppearance = ButtonAppearance;
7
+ /**
8
+ * An Anchor Button can be square, circular or rounded.
9
+ * @public
10
+ */
11
+ export const AnchorButtonShape = ButtonShape;
12
+ /**
13
+ * An Anchor Button can be a size of small, medium or large.
14
+ * @public
15
+ */
16
+ export const AnchorButtonSize = ButtonSize;
17
+ //# sourceMappingURL=anchor-button.options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"anchor-button.options.js","sourceRoot":"","sources":["../../../src/anchor-button/anchor-button.options.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAExF;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,gBAAgB,CAAC;AAQvD;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,WAAW,CAAC;AAQ7C;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,UAAU,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { css } from '@microsoft/fast-element';
2
+ import { styles as ButtonStyles } from '../button/button.styles.js';
3
+ // Need to support icon hover styles
4
+ export const styles = css `
5
+ ${ButtonStyles}
6
+
7
+ .content {
8
+ text-align: center;
9
+ }
10
+ `;
11
+ //# sourceMappingURL=anchor-button.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"anchor-button.styles.js","sourceRoot":"","sources":["../../../src/anchor-button/anchor-button.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAEpE,oCAAoC;AACpC,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;IACrB,YAAY;;;;;CAKf,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { anchorTemplate } from '@microsoft/fast-foundation/anchor.js';
2
+ /**
3
+ * The template for the Button component.
4
+ * @public
5
+ */
6
+ export const template = anchorTemplate();
7
+ //# sourceMappingURL=anchor-button.template.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"anchor-button.template.js","sourceRoot":"","sources":["../../../src/anchor-button/anchor-button.template.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AAGtE;;;GAGG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAsC,cAAc,EAAE,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { FluentDesignSystem } from '../fluent-design-system.js';
2
+ import { definition } from './anchor-button.definition.js';
3
+ definition.define(FluentDesignSystem.registry);
4
+ //# sourceMappingURL=define.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"define.js","sourceRoot":"","sources":["../../../src/anchor-button/define.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAE3D,UAAU,CAAC,MAAM,CAAC,kBAAkB,CAAC,QAAQ,CAAC,CAAC"}
@@ -0,0 +1,5 @@
1
+ export * from './anchor-button.js';
2
+ export * from './anchor-button.options.js';
3
+ export { template as AnchorButtonTemplate } from './anchor-button.template.js';
4
+ export { definition as AnchorButtonDefinition } from './anchor-button.definition.js';
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/anchor-button/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,OAAO,EAAE,QAAQ,IAAI,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAC/E,OAAO,EAAE,UAAU,IAAI,sBAAsB,EAAE,MAAM,+BAA+B,CAAC"}
@@ -1,4 +1,9 @@
1
- import { __decorate } from "tslib";
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
2
7
  import { attr, FASTElement, nullableNumberConverter } from '@microsoft/fast-element';
3
8
  import { getInitials } from '../utils/get-initials.js';
4
9
  import { AvatarColor, AvatarNamedColor, } from './avatar.options.js';
@@ -1 +1 @@
1
- {"version":3,"file":"avatar.js","sourceRoot":"","sources":["../../../src/avatar/avatar.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AACrF,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAGL,WAAW,EACX,gBAAgB,GAGjB,MAAM,qBAAqB,CAAC;AAE7B;;;GAGG;AACH,MAAM,OAAO,MAAO,SAAQ,WAAW;IAAvC;;QAuEE;;;;;;;;;;WAUG;QAEI,UAAK,GAAiB,SAAS,CAAC;IA+CzC,CAAC;IAtCC;;;OAGG;IACI,aAAa;;QAClB,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE;YACf,OAAO;SACR;QAED,OAAO,IAAI,CAAC,KAAK,KAAK,WAAW,CAAC,QAAQ;YACxC,CAAC,CAAE,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,MAAA,MAAA,IAAI,CAAC,OAAO,mCAAI,IAAI,CAAC,IAAI,mCAAI,EAAE,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAiB;YACrG,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC;IACjB,CAAC;IAED;;;OAGG;IACI,gBAAgB;;QACrB,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;YAChC,OAAO;SACR;QAED,wDAAwD;QACxD,MAAM,IAAI,GAAG,MAAA,IAAI,CAAC,IAAI,mCAAI,EAAE,CAAC;QAE7B,OAAO,CACL,MAAA,IAAI,CAAC,QAAQ,mCACb,WAAW,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,gBAAgB,CAAE,IAA+B,CAAC,CAAC,SAAS,KAAK,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C,IAAI,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC;uCACc;AA0ChD,2BAA2B;AAC3B,MAAM,WAAW,GAAG,CAAC,GAAW,EAAU,EAAE;IAC1C,IAAI,QAAQ,GAAG,CAAC,CAAC;IACjB,KAAK,IAAI,GAAG,GAAW,GAAG,CAAC,MAAM,GAAG,CAAC,EAAE,GAAG,IAAI,CAAC,EAAE,GAAG,EAAE,EAAE;QACtD,MAAM,EAAE,GAAG,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;QAC/B,MAAM,KAAK,GAAG,GAAG,GAAG,CAAC,CAAC;QACtB,QAAQ,IAAI,CAAC,EAAE,IAAI,KAAK,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,iCAAiC;KACnF;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { css } from '@microsoft/fast-element';
2
- import { display } from '@microsoft/fast-foundation';
2
+ import { display } from '@microsoft/fast-foundation/utilities.js';
3
3
  import { borderRadiusCircular, borderRadiusLarge, borderRadiusMedium, borderRadiusSmall, borderRadiusXLarge, colorBrandBackgroundStatic, colorNeutralBackground1, colorNeutralBackground6, colorNeutralForeground3, colorNeutralForegroundStaticInverted, colorPaletteAnchorBackground2, colorPaletteAnchorForeground2, colorPaletteBeigeBackground2, colorPaletteBeigeForeground2, colorPaletteBlueBackground2, colorPaletteBlueForeground2, colorPaletteBrassBackground2, colorPaletteBrassForeground2, colorPaletteBrownBackground2, colorPaletteBrownForeground2, colorPaletteCornflowerBackground2, colorPaletteCornflowerForeground2, colorPaletteCranberryBackground2, colorPaletteCranberryForeground2, colorPaletteDarkGreenBackground2, colorPaletteDarkGreenForeground2, colorPaletteDarkRedBackground2, colorPaletteDarkRedForeground2, colorPaletteForestBackground2, colorPaletteForestForeground2, colorPaletteGoldBackground2, colorPaletteGoldForeground2, colorPaletteGrapeBackground2, colorPaletteGrapeForeground2, colorPaletteLavenderBackground2, colorPaletteLavenderForeground2, colorPaletteLightTealBackground2, colorPaletteLightTealForeground2, colorPaletteLilacBackground2, colorPaletteLilacForeground2, colorPaletteMagentaBackground2, colorPaletteMagentaForeground2, colorPaletteMarigoldBackground2, colorPaletteMarigoldForeground2, colorPaletteMinkBackground2, colorPaletteMinkForeground2, colorPaletteNavyBackground2, colorPaletteNavyForeground2, colorPalettePeachBackground2, colorPalettePeachForeground2, colorPalettePinkBackground2, colorPalettePinkForeground2, colorPalettePlatinumBackground2, colorPalettePlatinumForeground2, colorPalettePlumBackground2, colorPalettePlumForeground2, colorPalettePumpkinBackground2, colorPalettePumpkinForeground2, colorPalettePurpleBackground2, colorPalettePurpleForeground2, colorPaletteRedBackground2, colorPaletteRedForeground2, colorPaletteRoyalBlueBackground2, colorPaletteRoyalBlueForeground2, colorPaletteSeafoamBackground2, colorPaletteSeafoamForeground2, colorPaletteSteelBackground2, colorPaletteSteelForeground2, colorPaletteTealBackground2, colorPaletteTealForeground2, curveAccelerateMax, curveAccelerateMid, curveAccelerateMin, curveDecelerateMax, curveDecelerateMid, curveDecelerateMin, curveEasyEase, curveEasyEaseMax, curveLinear, durationFaster, durationSlower, durationUltraSlow, fontFamilyBase, fontSizeBase100, fontSizeBase200, fontSizeBase300, fontSizeBase400, fontSizeBase500, fontSizeBase600, fontWeightRegular, fontWeightSemibold, shadow16, shadow28, shadow4, shadow8, strokeWidthThick, strokeWidthThicker, strokeWidthThickest, strokeWidthThin, } from '../theme/design-tokens.js';
4
4
  const animations = {
5
5
  fastOutSlowInMax: curveDecelerateMax,
@@ -29,6 +29,7 @@ export const styles = css `
29
29
  border-radius: ${borderRadiusCircular};
30
30
  color: ${colorNeutralForeground3};
31
31
  background-color: ${colorNeutralBackground6};
32
+ contain: layout style;
32
33
  }
33
34
 
34
35
  .default-icon,
@@ -1 +1 @@
1
- {"version":3,"file":"avatar.styles.js","sourceRoot":"","sources":["../../../src/avatar/avatar.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AiC;wBACtB,iCAAiC;;;;aAI5C,2BAA2B;wBAChB,2BAA2B;;;;aAItC,+BAA+B;wBACpB,+BAA+B;;;;aAI1C,6BAA6B;wBAClB,6BAA6B;;;;aAIxC,4BAA4B;wBACjB,4BAA4B;;;;aAIvC,4BAA4B;wBACjB,4BAA4B;;;;aAIvC,2BAA2B;wBAChB,2BAA2B;;;;aAItC,8BAA8B;wBACnB,8BAA8B;;;;aAIzC,2BAA2B;wBAChB,2BAA2B;;;;aAItC,4BAA4B;wBACjB,4BAA4B;;;;aAIvC,2BAA2B;wBAChB,2BAA2B;;;;aAItC,+BAA+B;wBACpB,+BAA+B;;;;aAI1C,6BAA6B;wBAClB,6BAA6B;;;;;;;2BAO1B,iBAAiB,KAAK,cAAc;wBACvC,UAAU,CAAC,QAAQ,KAAK,UAAU,CAAC,UAAU;;;;;;;;;;;;2BAY1C,iBAAiB,KAAK,cAAc;wBACvC,UAAU,CAAC,QAAQ,KAAK,UAAU,CAAC,UAAU;;;kBAGnD,OAAO;;oBAEL,0BAA0B;;;;;;;;;wBAStB,gBAAgB;oBACpB,gBAAgB;;;;;wBAKZ,kBAAkB;oBACtB,kBAAkB;;;;;;;wBAOd,mBAAmB;oBACvB,mBAAmB;;;;;;kBAMrB,OAAO;;;;;kBAKP,QAAQ;;;;;;;kBAOR,QAAQ;;;;;;;;;;;2BAWC,iBAAiB,KAAK,cAAc;wBACvC,UAAU,CAAC,gBAAgB,KAAK,UAAU,CAAC,UAAU;;;;;;;2BAOlD,iBAAiB,KAAK,cAAc;wBACvC,UAAU,CAAC,gBAAgB,KAAK,UAAU,CAAC,UAAU;;;;;;;;;;;;;CAa5E,CAAC"}
@@ -1,6 +1,13 @@
1
- import { __decorate } from "tslib";
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
2
7
  import { attr, FASTElement } from '@microsoft/fast-element';
3
- import { applyMixins, StartEnd } from '@microsoft/fast-foundation';
8
+ import { StartEnd } from '@microsoft/fast-foundation/patterns.js';
9
+ // TODO: Remove with https://github.com/microsoft/fast/pull/6797
10
+ import { applyMixins } from '../utils/apply-mixins.js';
4
11
  import { BadgeAppearance, BadgeColor } from './badge.options.js';
5
12
  /**
6
13
  * The base class used for constructing a fluent-badge custom element
@@ -1 +1 @@
1
- {"version":3,"file":"badge.js","sourceRoot":"","sources":["../../../src/badge/badge.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,UAAU,EAAyB,MAAM,oBAAoB,CAAC;AAExF;;;GAGG;AACH,MAAM,OAAO,KAAM,SAAQ,WAAW;IAAtC;;QACE;;;;;;WAMG;QAEI,eAAU,GAAoB,eAAe,CAAC,MAAM,CAAC;QAE5D;;;;;;WAMG;QAEI,UAAK,GAAe,UAAU,CAAC,KAAK,CAAC;IAoB9C,CAAC;CAAA;AA9BC;IADC,IAAI;yCACuD;AAU5D;IADC,IAAI;oCACuC;AAS5C;IADC,IAAI;oCACqB;AAU1B;IADC,IAAI;mCACmB;AAW1B,WAAW,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC"}
1
+ {"version":3,"file":"badge.js","sourceRoot":"","sources":["../../../src/badge/badge.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,QAAQ,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,EAAE,aAAa;IACzB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,UAAU,EAAE,aAAa;CACjB,CAAC"}
1
+ {"version":3,"file":"badge.options.js","sourceRoot":"","sources":["../../../src/badge/badge.options.ts"],"names":[],"mappings":"AAWA;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;CACJ,CAAC;AAQX;;;GAGG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,WAAW;IACtB,WAAW,EAAE,aAAa;IAC1B,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;CACV,CAAC;AAQX;;;GAGG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;CACR,CAAC;AAQX;;;GAGG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,aAAa;IACzB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,UAAU,EAAE,aAAa;CACjB,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { html } from '@microsoft/fast-element';
2
- import { endSlotTemplate, startSlotTemplate, staticallyCompose } from '@microsoft/fast-foundation';
2
+ import { endSlotTemplate, startSlotTemplate } from '@microsoft/fast-foundation/patterns.js';
3
+ import { staticallyCompose } from '@microsoft/fast-foundation/utilities.js';
3
4
  /**
4
5
  * The template for the Badge component.
5
6
  * @public