@fabric-msft/fabric-web 7.0.0 → 7.3.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 (281) hide show
  1. package/dts/components/card/card.d.ts +0 -5
  2. package/dts/components/card/card.d.ts.map +1 -1
  3. package/dts/components/carousel/carousel.d.ts +6 -42
  4. package/dts/components/carousel/carousel.d.ts.map +1 -1
  5. package/dts/components/carousel/carousel.styles.d.ts.map +1 -1
  6. package/dts/components/carousel/carousel.template.d.ts.map +1 -1
  7. package/dts/components/carousel/define.d.ts.map +1 -1
  8. package/dts/components/carousel-nav/carousel-nav.d.ts +10 -0
  9. package/dts/components/carousel-nav/carousel-nav.d.ts.map +1 -1
  10. package/dts/components/carousel-nav/carousel-nav.template.d.ts.map +1 -1
  11. package/dts/components/carousel-viewport/carousel-viewport.d.ts +34 -0
  12. package/dts/components/carousel-viewport/carousel-viewport.d.ts.map +1 -0
  13. package/dts/components/carousel-viewport/carousel-viewport.definition.d.ts +9 -0
  14. package/dts/components/carousel-viewport/carousel-viewport.definition.d.ts.map +1 -0
  15. package/dts/components/carousel-viewport/carousel-viewport.styles.d.ts +7 -0
  16. package/dts/components/carousel-viewport/carousel-viewport.styles.d.ts.map +1 -0
  17. package/dts/components/carousel-viewport/carousel-viewport.template.d.ts +9 -0
  18. package/dts/components/carousel-viewport/carousel-viewport.template.d.ts.map +1 -0
  19. package/dts/components/carousel-viewport/define.d.ts +2 -0
  20. package/dts/components/carousel-viewport/define.d.ts.map +1 -0
  21. package/dts/components/carousel-viewport/index.d.ts +5 -0
  22. package/dts/components/carousel-viewport/index.d.ts.map +1 -0
  23. package/dts/components/dynamic-tab/define.d.ts +2 -0
  24. package/dts/components/dynamic-tab/define.d.ts.map +1 -0
  25. package/dts/components/dynamic-tab/dynamic-tab.d.ts +142 -0
  26. package/dts/components/dynamic-tab/dynamic-tab.d.ts.map +1 -0
  27. package/dts/components/dynamic-tab/dynamic-tab.definition.d.ts +10 -0
  28. package/dts/components/dynamic-tab/dynamic-tab.definition.d.ts.map +1 -0
  29. package/dts/components/dynamic-tab/dynamic-tab.options.d.ts +10 -0
  30. package/dts/components/dynamic-tab/dynamic-tab.options.d.ts.map +1 -0
  31. package/dts/components/dynamic-tab/dynamic-tab.styles.d.ts +6 -0
  32. package/dts/components/dynamic-tab/dynamic-tab.styles.d.ts.map +1 -0
  33. package/dts/components/dynamic-tab/dynamic-tab.template.d.ts +13 -0
  34. package/dts/components/dynamic-tab/dynamic-tab.template.d.ts.map +1 -0
  35. package/dts/components/dynamic-tab/index.d.ts +6 -0
  36. package/dts/components/dynamic-tab/index.d.ts.map +1 -0
  37. package/dts/components/dynamic-tab-list/define.d.ts +2 -0
  38. package/dts/components/dynamic-tab-list/define.d.ts.map +1 -0
  39. package/dts/components/dynamic-tab-list/dynamic-tab-list.d.ts +360 -0
  40. package/dts/components/dynamic-tab-list/dynamic-tab-list.d.ts.map +1 -0
  41. package/dts/components/dynamic-tab-list/dynamic-tab-list.definition.d.ts +7 -0
  42. package/dts/components/dynamic-tab-list/dynamic-tab-list.definition.d.ts.map +1 -0
  43. package/dts/components/dynamic-tab-list/dynamic-tab-list.options.d.ts +24 -0
  44. package/dts/components/dynamic-tab-list/dynamic-tab-list.options.d.ts.map +1 -0
  45. package/dts/components/dynamic-tab-list/dynamic-tab-list.styles.d.ts +6 -0
  46. package/dts/components/dynamic-tab-list/dynamic-tab-list.styles.d.ts.map +1 -0
  47. package/dts/components/dynamic-tab-list/dynamic-tab-list.template.d.ts +13 -0
  48. package/dts/components/dynamic-tab-list/dynamic-tab-list.template.d.ts.map +1 -0
  49. package/dts/components/dynamic-tab-list/index.d.ts +7 -0
  50. package/dts/components/dynamic-tab-list/index.d.ts.map +1 -0
  51. package/dts/components/empty-state/define.d.ts +2 -0
  52. package/dts/components/empty-state/define.d.ts.map +1 -0
  53. package/dts/components/empty-state/empty-state.d.ts +32 -0
  54. package/dts/components/empty-state/empty-state.d.ts.map +1 -0
  55. package/dts/components/empty-state/empty-state.definition.d.ts +10 -0
  56. package/dts/components/empty-state/empty-state.definition.d.ts.map +1 -0
  57. package/dts/components/empty-state/empty-state.styles.d.ts +6 -0
  58. package/dts/components/empty-state/empty-state.styles.d.ts.map +1 -0
  59. package/dts/components/empty-state/empty-state.template.d.ts +9 -0
  60. package/dts/components/empty-state/empty-state.template.d.ts.map +1 -0
  61. package/dts/components/empty-state/index.d.ts +5 -0
  62. package/dts/components/empty-state/index.d.ts.map +1 -0
  63. package/dts/components/field/field.d.ts +44 -3
  64. package/dts/components/field/field.d.ts.map +1 -1
  65. package/dts/components/menu/index.d.ts +2 -2
  66. package/dts/components/menu/index.d.ts.map +1 -1
  67. package/dts/components/menu/menu.d.ts +17 -1
  68. package/dts/components/menu/menu.d.ts.map +1 -1
  69. package/dts/components/menu/menu.options.d.ts +15 -0
  70. package/dts/components/menu/menu.options.d.ts.map +1 -1
  71. package/dts/components/menu/menu.positioning.d.ts +8 -2
  72. package/dts/components/menu/menu.positioning.d.ts.map +1 -1
  73. package/dts/components/menu/menu.styles.d.ts.map +1 -1
  74. package/dts/components/menu-button/menu-button.d.ts +2 -2
  75. package/dts/components/menu-button/menu-button.definition.d.ts.map +1 -1
  76. package/dts/components/menu-button/menu-button.styles.d.ts +11 -0
  77. package/dts/components/menu-button/menu-button.styles.d.ts.map +1 -0
  78. package/dts/components/menu-item/menu-item.styles.d.ts.map +1 -1
  79. package/dts/components/menu-list/menu-list.styles.d.ts.map +1 -1
  80. package/dts/components/modal/define.d.ts +4 -0
  81. package/dts/components/modal/define.d.ts.map +1 -0
  82. package/dts/components/modal/index.d.ts +9 -0
  83. package/dts/components/modal/index.d.ts.map +1 -0
  84. package/dts/components/modal/modal.d.ts +209 -0
  85. package/dts/components/modal/modal.d.ts.map +1 -0
  86. package/dts/components/modal/modal.definition.d.ts +9 -0
  87. package/dts/components/modal/modal.definition.d.ts.map +1 -0
  88. package/dts/components/modal/modal.events.d.ts +26 -0
  89. package/dts/components/modal/modal.events.d.ts.map +1 -0
  90. package/dts/components/modal/modal.options.d.ts +15 -0
  91. package/dts/components/modal/modal.options.d.ts.map +1 -0
  92. package/dts/components/modal/modal.styles.d.ts +10 -0
  93. package/dts/components/modal/modal.styles.d.ts.map +1 -0
  94. package/dts/components/modal/modal.template.d.ts +12 -0
  95. package/dts/components/modal/modal.template.d.ts.map +1 -0
  96. package/dts/components/modal-fre-item/define.d.ts +2 -0
  97. package/dts/components/modal-fre-item/define.d.ts.map +1 -0
  98. package/dts/components/modal-fre-item/index.d.ts +3 -0
  99. package/dts/components/modal-fre-item/index.d.ts.map +1 -0
  100. package/dts/components/modal-fre-item/modal-fre-item.d.ts +65 -0
  101. package/dts/components/modal-fre-item/modal-fre-item.d.ts.map +1 -0
  102. package/dts/components/modal-fre-item/modal-fre-item.definition.d.ts +10 -0
  103. package/dts/components/modal-fre-item/modal-fre-item.definition.d.ts.map +1 -0
  104. package/dts/components/modal-fre-item/modal-fre-item.styles.d.ts +7 -0
  105. package/dts/components/modal-fre-item/modal-fre-item.styles.d.ts.map +1 -0
  106. package/dts/components/modal-fre-item/modal-fre-item.template.d.ts +11 -0
  107. package/dts/components/modal-fre-item/modal-fre-item.template.d.ts.map +1 -0
  108. package/dts/components/radio-group/radio-group.d.ts +15 -0
  109. package/dts/components/radio-group/radio-group.d.ts.map +1 -1
  110. package/dts/components/slider/slider.d.ts +2 -0
  111. package/dts/components/slider/slider.d.ts.map +1 -1
  112. package/dts/components/slider/slider.definition.d.ts.map +1 -1
  113. package/dts/components/slider/slider.styles.d.ts +10 -0
  114. package/dts/components/slider/slider.styles.d.ts.map +1 -0
  115. package/dts/components/slider/slider.template.d.ts +4 -0
  116. package/dts/components/slider/slider.template.d.ts.map +1 -0
  117. package/dts/components/styles/patterns/patterns.d.ts +8 -0
  118. package/dts/components/styles/patterns/patterns.d.ts.map +1 -0
  119. package/dts/index.d.ts +7 -0
  120. package/dts/index.d.ts.map +1 -1
  121. package/dts/util/a11y-playwright-utils.d.ts +7 -0
  122. package/dts/util/a11y-playwright-utils.d.ts.map +1 -0
  123. package/dts/util/carousel-controller.d.ts +120 -0
  124. package/dts/util/carousel-controller.d.ts.map +1 -0
  125. package/dts/util/icons.d.ts +15 -0
  126. package/dts/util/icons.d.ts.map +1 -1
  127. package/dts/util/index.d.ts +1 -0
  128. package/dts/util/index.d.ts.map +1 -1
  129. package/esm/components/accordion-menu-panel/accordion-menu-panel.styles.js +1 -1
  130. package/esm/components/card/card.js +0 -5
  131. package/esm/components/card/card.js.map +1 -1
  132. package/esm/components/card-header/card-header.styles.js +2 -2
  133. package/esm/components/card-header/card-header.styles.js.map +1 -1
  134. package/esm/components/carousel/carousel.js +30 -98
  135. package/esm/components/carousel/carousel.js.map +1 -1
  136. package/esm/components/carousel/carousel.styles.js +2 -2
  137. package/esm/components/carousel/carousel.styles.js.map +1 -1
  138. package/esm/components/carousel/carousel.template.js +3 -3
  139. package/esm/components/carousel/carousel.template.js.map +1 -1
  140. package/esm/components/carousel/define.js +5 -3
  141. package/esm/components/carousel/define.js.map +1 -1
  142. package/esm/components/carousel-item/carousel-item.template.js +1 -1
  143. package/esm/components/carousel-item/carousel-item.template.js.map +1 -1
  144. package/esm/components/carousel-nav/carousel-nav.js +12 -0
  145. package/esm/components/carousel-nav/carousel-nav.js.map +1 -1
  146. package/esm/components/carousel-nav/carousel-nav.styles.js +1 -0
  147. package/esm/components/carousel-nav/carousel-nav.template.js +4 -3
  148. package/esm/components/carousel-nav/carousel-nav.template.js.map +1 -1
  149. package/esm/components/carousel-nav-item/carousel-nav-item.styles.js +1 -0
  150. package/esm/components/carousel-viewport/carousel-viewport.definition.js +21 -0
  151. package/esm/components/carousel-viewport/carousel-viewport.definition.js.map +1 -0
  152. package/esm/components/carousel-viewport/carousel-viewport.js +37 -0
  153. package/esm/components/carousel-viewport/carousel-viewport.js.map +1 -0
  154. package/esm/components/carousel-viewport/carousel-viewport.styles.js +11 -0
  155. package/esm/components/carousel-viewport/carousel-viewport.styles.js.map +1 -0
  156. package/esm/components/carousel-viewport/carousel-viewport.template.js +15 -0
  157. package/esm/components/carousel-viewport/carousel-viewport.template.js.map +1 -0
  158. package/esm/components/carousel-viewport/define.js +4 -0
  159. package/esm/components/carousel-viewport/define.js.map +1 -0
  160. package/esm/components/carousel-viewport/index.js +5 -0
  161. package/esm/components/carousel-viewport/index.js.map +1 -0
  162. package/esm/components/dynamic-tab/define.js +4 -0
  163. package/esm/components/dynamic-tab/define.js.map +1 -0
  164. package/esm/components/dynamic-tab/dynamic-tab.definition.js +27 -0
  165. package/esm/components/dynamic-tab/dynamic-tab.definition.js.map +1 -0
  166. package/esm/components/dynamic-tab/dynamic-tab.js +232 -0
  167. package/esm/components/dynamic-tab/dynamic-tab.js.map +1 -0
  168. package/esm/components/dynamic-tab/dynamic-tab.options.js +11 -0
  169. package/esm/components/dynamic-tab/dynamic-tab.options.js.map +1 -0
  170. package/esm/components/dynamic-tab/dynamic-tab.styles.js +13 -0
  171. package/esm/components/dynamic-tab/dynamic-tab.styles.js.map +1 -0
  172. package/esm/components/dynamic-tab/dynamic-tab.template.js +18 -0
  173. package/esm/components/dynamic-tab/dynamic-tab.template.js.map +1 -0
  174. package/esm/components/dynamic-tab/index.js +6 -0
  175. package/esm/components/dynamic-tab/index.js.map +1 -0
  176. package/esm/components/dynamic-tab-list/define.js +12 -0
  177. package/esm/components/dynamic-tab-list/define.js.map +1 -0
  178. package/esm/components/dynamic-tab-list/dynamic-tab-list.definition.js +19 -0
  179. package/esm/components/dynamic-tab-list/dynamic-tab-list.definition.js.map +1 -0
  180. package/esm/components/dynamic-tab-list/dynamic-tab-list.js +788 -0
  181. package/esm/components/dynamic-tab-list/dynamic-tab-list.js.map +1 -0
  182. package/esm/components/dynamic-tab-list/dynamic-tab-list.options.js +19 -0
  183. package/esm/components/dynamic-tab-list/dynamic-tab-list.options.js.map +1 -0
  184. package/esm/components/dynamic-tab-list/dynamic-tab-list.styles.js +11 -0
  185. package/esm/components/dynamic-tab-list/dynamic-tab-list.styles.js.map +1 -0
  186. package/esm/components/dynamic-tab-list/dynamic-tab-list.template.js +41 -0
  187. package/esm/components/dynamic-tab-list/dynamic-tab-list.template.js.map +1 -0
  188. package/esm/components/dynamic-tab-list/index.js +6 -0
  189. package/esm/components/dynamic-tab-list/index.js.map +1 -0
  190. package/esm/components/empty-state/define.js +4 -0
  191. package/esm/components/empty-state/define.js.map +1 -0
  192. package/esm/components/empty-state/empty-state.definition.js +22 -0
  193. package/esm/components/empty-state/empty-state.definition.js.map +1 -0
  194. package/esm/components/empty-state/empty-state.js +33 -0
  195. package/esm/components/empty-state/empty-state.js.map +1 -0
  196. package/esm/components/empty-state/empty-state.styles.js +11 -0
  197. package/esm/components/empty-state/empty-state.styles.js.map +1 -0
  198. package/esm/components/empty-state/empty-state.template.js +12 -0
  199. package/esm/components/empty-state/empty-state.template.js.map +1 -0
  200. package/esm/components/empty-state/index.js +5 -0
  201. package/esm/components/empty-state/index.js.map +1 -0
  202. package/esm/components/field/field.js +91 -5
  203. package/esm/components/field/field.js.map +1 -1
  204. package/esm/components/filter-pill/filter-pill.styles.js +1 -0
  205. package/esm/components/menu/index.js +1 -1
  206. package/esm/components/menu/index.js.map +1 -1
  207. package/esm/components/menu/menu.js +30 -2
  208. package/esm/components/menu/menu.js.map +1 -1
  209. package/esm/components/menu/menu.options.js +11 -1
  210. package/esm/components/menu/menu.options.js.map +1 -1
  211. package/esm/components/menu/menu.positioning.js +32 -30
  212. package/esm/components/menu/menu.positioning.js.map +1 -1
  213. package/esm/components/menu/menu.styles.js +2 -1
  214. package/esm/components/menu/menu.styles.js.map +1 -1
  215. package/esm/components/menu-button/menu-button.definition.js +5 -2
  216. package/esm/components/menu-button/menu-button.definition.js.map +1 -1
  217. package/esm/components/menu-button/menu-button.js +2 -2
  218. package/esm/components/menu-button/menu-button.styles.js +18 -0
  219. package/esm/components/menu-button/menu-button.styles.js.map +1 -0
  220. package/esm/components/menu-item/menu-item.styles.js +1 -1
  221. package/esm/components/menu-item/menu-item.styles.js.map +1 -1
  222. package/esm/components/menu-list/menu-list.styles.js +2 -2
  223. package/esm/components/menu-list/menu-list.styles.js.map +1 -1
  224. package/esm/components/modal/define.js +9 -0
  225. package/esm/components/modal/define.js.map +1 -0
  226. package/esm/components/modal/index.js +7 -0
  227. package/esm/components/modal/index.js.map +1 -0
  228. package/esm/components/modal/modal.definition.js +29 -0
  229. package/esm/components/modal/modal.definition.js.map +1 -0
  230. package/esm/components/modal/modal.events.js +11 -0
  231. package/esm/components/modal/modal.events.js.map +1 -0
  232. package/esm/components/modal/modal.js +369 -0
  233. package/esm/components/modal/modal.js.map +1 -0
  234. package/esm/components/modal/modal.options.js +10 -0
  235. package/esm/components/modal/modal.options.js.map +1 -0
  236. package/esm/components/modal/modal.styles.js +14 -0
  237. package/esm/components/modal/modal.styles.js.map +1 -0
  238. package/esm/components/modal/modal.template.js +23 -0
  239. package/esm/components/modal/modal.template.js.map +1 -0
  240. package/esm/components/modal-fre-item/define.js +4 -0
  241. package/esm/components/modal-fre-item/define.js.map +1 -0
  242. package/esm/components/modal-fre-item/index.js +3 -0
  243. package/esm/components/modal-fre-item/index.js.map +1 -0
  244. package/esm/components/modal-fre-item/modal-fre-item.definition.js +27 -0
  245. package/esm/components/modal-fre-item/modal-fre-item.definition.js.map +1 -0
  246. package/esm/components/modal-fre-item/modal-fre-item.js +72 -0
  247. package/esm/components/modal-fre-item/modal-fre-item.js.map +1 -0
  248. package/esm/components/modal-fre-item/modal-fre-item.styles.js +11 -0
  249. package/esm/components/modal-fre-item/modal-fre-item.styles.js.map +1 -0
  250. package/esm/components/modal-fre-item/modal-fre-item.template.js +16 -0
  251. package/esm/components/modal-fre-item/modal-fre-item.template.js.map +1 -0
  252. package/esm/components/radio-group/radio-group.js +20 -1
  253. package/esm/components/radio-group/radio-group.js.map +1 -1
  254. package/esm/components/simple-table/simple-table.styles.js +1 -0
  255. package/esm/components/slider/slider.definition.js +4 -3
  256. package/esm/components/slider/slider.definition.js.map +1 -1
  257. package/esm/components/slider/slider.js +2 -0
  258. package/esm/components/slider/slider.js.map +1 -1
  259. package/esm/components/slider/slider.styles.js +24 -0
  260. package/esm/components/slider/slider.styles.js.map +1 -0
  261. package/esm/components/slider/slider.template.js +17 -0
  262. package/esm/components/slider/slider.template.js.map +1 -0
  263. package/esm/components/styles/patterns/patterns.js +11 -0
  264. package/esm/components/styles/patterns/patterns.js.map +1 -0
  265. package/esm/index.js +25 -0
  266. package/esm/index.js.map +1 -1
  267. package/esm/util/a11y-playwright-utils.js +11 -0
  268. package/esm/util/a11y-playwright-utils.js.map +1 -0
  269. package/esm/util/carousel-controller.js +153 -0
  270. package/esm/util/carousel-controller.js.map +1 -0
  271. package/esm/util/icons.js +16 -1
  272. package/esm/util/icons.js.map +1 -1
  273. package/esm/util/index.js +1 -0
  274. package/esm/util/index.js.map +1 -1
  275. package/index.d.ts +2125 -957
  276. package/index.d.ts.map +1 -1
  277. package/index.js +6812 -4700
  278. package/index.js.map +1 -1
  279. package/index.min.js +108 -88
  280. package/index.min.js.map +1 -1
  281. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  import { FASTElement } from "@microsoft/fast-element";
2
2
  import { MenuList } from "../menu-list/menu-list.js";
3
- import { type MenuPosition, type MenuRepositionMode } from "./menu.options.js";
3
+ import { type MenuAlignment, type MenuPosition, type MenuRepositionMode } from "./menu.options.js";
4
4
  /**
5
5
  * Menu
6
6
  * @summary A Menu component that provides an interactive menu interface with support for various trigger and open behaviors.
@@ -30,6 +30,9 @@ import { type MenuPosition, type MenuRepositionMode } from "./menu.options.js";
30
30
  * @attr {boolean | undefined} persist-on-item-click - Determines if the menu open state should persist on click of a menu item.
31
31
  * @attr {boolean | undefined} split - Determines if the menu is in split state (for split button pattern).
32
32
  * @attr {MenuPosition | undefined} menu-position - Determines whether the menu list is above or below the trigger. Defaults to `"below"`.
33
+ * @attr {MenuAlignment | undefined} menu-alignment - Horizontal edge of the menu list that is anchored to the
34
+ * trigger. Not flipped by `reposition-mode="auto"` — pick the side that keeps the menu inside the viewport.
35
+ * Defaults to `"start"`.
33
36
  * @attr {MenuRepositionMode | undefined} reposition-mode - Controls JS-based repositioning. `"auto"` enables
34
37
  * `FlexiblePositionStrategy` which detects collisions and flips the menu to the best-fitting position on
35
38
  * every resize/scroll cycle. `"none"` (default) disables JS repositioning and relies on CSS anchored positioning.
@@ -43,6 +46,8 @@ import { type MenuPosition, type MenuRepositionMode } from "./menu.options.js";
43
46
  * @prop {HTMLElement[]} slottedTriggers - Holds the slotted triggers.
44
47
  * @prop {MenuPosition | undefined} menuPosition - Reflects the active resolved position (`"above"` or `"below"`). May
45
48
  * differ from the authored `menu-position` attribute when `reposition-mode="auto"` has flipped the menu.
49
+ * @prop {MenuAlignment | undefined} menuAlignment - Authored horizontal edge of the menu list. Not flipped by
50
+ * `reposition-mode="auto"`.
46
51
  * @prop {MenuRepositionMode | undefined} repositionMode - The active repositioning mode (`"auto"` | `"none"`).
47
52
  * @prop {HTMLElement | undefined} overflowBoundary - An optional scrolling container used by the
48
53
  * `FlexiblePositionStrategy` as the collision boundary instead of the viewport. Only relevant when
@@ -113,6 +118,17 @@ export declare class Menu extends FASTElement {
113
118
  * @public
114
119
  */
115
120
  menuPositionChanged(): void;
121
+ /**
122
+ * Horizontal edge of the menu list that is anchored to the trigger.
123
+ * Not flipped by `reposition-mode="auto"`.
124
+ * @public
125
+ */
126
+ menuAlignment?: MenuAlignment;
127
+ /**
128
+ * Handles changes to the menuAlignment attribute.
129
+ * @public
130
+ */
131
+ menuAlignmentChanged(): void;
116
132
  /**
117
133
  * The mode for repositioning the menu when it overflows the boundary.
118
134
  *
@@ -1 +1 @@
1
- {"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/menu.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,WAAW,EAGZ,MAAM,yBAAyB,CAAC;AAGjC,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,EACL,KAAK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;;;OAGG;IACI,UAAU,aAQf;IAEF;;;OAGG;IACI,SAAS,aAEd;IAEF;;;OAGG;IACI,QAAQ,GAAI,IAAI,KAAK,UAE1B;IAEF;;;OAGG;IACI,aAAa,IAAI,IAAI;IAO5B;;;OAGG;IACI,YAAY,IAAI,IAAI;IAM3B;;;;;;OAMG;IACI,kBAAkB,CAAC,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,GAAG,IAAI;IAQtE;;;;;;OAMG;IACI,yBAAyB,CAC9B,SAAS,EAAE,OAAO,EAClB,QAAQ,EAAE,OAAO,GAChB,IAAI;IAQP;;;;;;OAMG;IACI,qBAAqB,CAC1B,SAAS,EAAE,kBAAkB,EAC7B,QAAQ,EAAE,kBAAkB,GAC3B,IAAI;IAeP;;;;OAIG;IACI,uBAAuB,CAC5B,QAAQ,EAAE,WAAW,GAAG,SAAS,EACjC,QAAQ,EAAE,WAAW,GAAG,SAAS,GAChC,IAAI;IAmBP;;;;;;OAMG;IACI,oBAAoB,CAAC,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,GAAG,IAAI;IAQxE;;;;;;OAMG;IACI,oBAAoB,CAAC,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,GAAG,IAAI;IAWxE;;;;OAIG;IACH,OAAO,CAAC,YAAY;IAepB;;;;OAIG;IACH,OAAO,CAAC,eAAe;IAevB;;;;;OAKG;IACI,kBAAkB,CAAC,CAAC,EAAE,aAAa,GAAG,OAAO,GAAG,IAAI;IAmB3D;;;;;OAKG;IACI,qBAAqB,GAAI,GAAG,aAAa,KAAG,OAAO,GAAG,IAAI,CAc/D;IAEF;;;;OAIG;IACH,OAAO,CAAC,oBAAoB,CAc1B;CACH"}
@@ -12,6 +12,21 @@ export declare const MenuPositions: {
12
12
  * @public
13
13
  */
14
14
  export type MenuPosition = ValuesOf<typeof MenuPositions>;
15
+ /**
16
+ * The horizontal alignment variations for the menu component.
17
+ * Controls which edge of the menu list is anchored to the trigger
18
+ * (`"start"` = left in LTR / right in RTL, `"end"` = right in LTR / left in RTL).
19
+ * @public
20
+ */
21
+ export declare const MenuAlignments: {
22
+ readonly start: "start";
23
+ readonly end: "end";
24
+ };
25
+ /**
26
+ * The types for menu alignments
27
+ * @public
28
+ */
29
+ export type MenuAlignment = ValuesOf<typeof MenuAlignments>;
15
30
  /**
16
31
  * Reposition modes for the menu
17
32
  * @public
@@ -1 +1 @@
1
- {"version":3,"file":"menu.options.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/menu.options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAGtD;;;GAGG;AACH,eAAO,MAAM,aAAa;;;CAGhB,CAAC;AAEX;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG,QAAQ,CAAC,OAAO,aAAa,CAAC,CAAC;AAE1D;;;GAGG;AACH,eAAO,MAAM,mBAAmB;;;CAGtB,CAAC;AAEX;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
1
+ {"version":3,"file":"menu.options.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/menu.options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAGtD;;;GAGG;AACH,eAAO,MAAM,aAAa;;;CAGhB,CAAC;AAEX;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG,QAAQ,CAAC,OAAO,aAAa,CAAC,CAAC;AAE1D;;;;;GAKG;AACH,eAAO,MAAM,cAAc;;;CAGjB,CAAC;AAEX;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,mBAAmB;;;CAGtB,CAAC;AAEX;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
@@ -1,4 +1,4 @@
1
- import { type MenuPosition } from "./menu.options.js";
1
+ import { type MenuAlignment, type MenuPosition } from "./menu.options.js";
2
2
  import { type RepositionResult } from "../../util/positioning/index.js";
3
3
  /**
4
4
  * Options for the menu positioning manager
@@ -12,6 +12,8 @@ export interface MenuPositioningOptions {
12
12
  /**
13
13
  * Positioning manager for menu component.
14
14
  * Delegates all coordinate-based positioning to {@link FlexiblePositionStrategy}.
15
+ * Only {@link MenuPosition} is flipped by `reposition-mode="auto"`;
16
+ * {@link MenuAlignment} is authored by the consumer and is honored as-is.
15
17
  * @internal
16
18
  */
17
19
  export declare class MenuPositioning {
@@ -20,8 +22,11 @@ export declare class MenuPositioning {
20
22
  private readonly anchorReference;
21
23
  private overflowBoundaryReference;
22
24
  private _position;
25
+ private _alignment;
23
26
  set position(value: MenuPosition);
24
27
  get position(): MenuPosition;
28
+ set alignment(value: MenuAlignment);
29
+ get alignment(): MenuAlignment;
25
30
  /**
26
31
  * Updates the overflow boundary reference used for collision detection.
27
32
  */
@@ -29,7 +34,8 @@ export declare class MenuPositioning {
29
34
  constructor(options: MenuPositioningOptions);
30
35
  /**
31
36
  * Build the ordered list of candidate positions.
32
- * The original position is always the first entry, followed by fallbacks.
37
+ * The original position is always the first entry, followed by its
38
+ * vertical opposite (same alignment).
33
39
  */
34
40
  private buildPositionCandidates;
35
41
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"menu.positioning.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/menu.positioning.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAiB,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAGL,KAAK,gBAAgB,EACtB,MAAM,iCAAiC,CAAC;AAgCzC;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC,aAAa,EAAE,WAAW,CAAC;IAC3B,eAAe,EAAE,WAAW,CAAC;IAC7B,yBAAyB,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;CACh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,QAAQ,CAAC,KAAK,EAAE,YAAY,EAEtC;IAED,IAAW,QAAQ,IAAI,YAAY,CAElC;IAED,IAAW,SAAS,CAAC,KAAK,EAAE,aAAa,EAExC;IAED,IAAW,SAAS,IAAI,aAAa,CAEpC;IAED;;OAEG;IACI,4BAA4B,CACjC,QAAQ,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,GACvC,IAAI;gBAIK,OAAO,EAAE,sBAAsB;IAM3C;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;IAW/B;;;OAGG;IACH,OAAO,CAAC,sBAAsB;IAmB9B;;;;;;;;;;OAUG;IACI,UAAU,IAAI,gBAAgB,GAAG,IAAI;CAsB7C"}
@@ -1 +1 @@
1
- {"version":3,"file":"menu.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/menu.styles.ts"],"names":[],"mappings":"AAQA;;GAEG;AACH,eAAO,MAAM,MAAM,iDAmElB,CAAC"}
1
+ {"version":3,"file":"menu.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/menu.styles.ts"],"names":[],"mappings":"AAQA;;GAEG;AACH,eAAO,MAAM,MAAM,iDAyElB,CAAC"}
@@ -15,7 +15,7 @@ import { MenuButton as FluentMenuButton } from "@fluentui/web-components";
15
15
  * @attr {MenuButtonAppearances | undefined} appearance - Indicates the styled appearance of the button.
16
16
  * @attr {MenuButtonShape | undefined} shape - The shape of the button.
17
17
  * @attr {MenuButtonSize | undefined} size - The size of the button.
18
- * @attr {boolean | undefined} icon-only - Indicates that the button should only display as an icon with no text content.
18
+ * @attr {boolean | undefined} icon-only - Indicates that the button should only display as an icon with no text content. When set, the built-in chevron icon is removed.
19
19
  * @attr {boolean | undefined} autofocus - Indicates the button should be focused when the page is loaded.
20
20
  * @attr {boolean | undefined} disabled-focusable - Indicates that the button is focusable while disabled.
21
21
  * @attr {number | undefined} tabindex - Sets that the button tabindex attribute.
@@ -32,7 +32,7 @@ import { MenuButton as FluentMenuButton } from "@fluentui/web-components";
32
32
  * @prop {MenuButtonAppearances | undefined} appearance - Indicates the styled appearance of the button.
33
33
  * @prop {MenuButtonShape | undefined} shape - The shape of the button.
34
34
  * @prop {MenuButtonSize | undefined} size - The size of the button.
35
- * @prop {boolean | undefined} iconOnly - Indicates that the button should only display as an icon with no text content.
35
+ * @prop {boolean | undefined} iconOnly - Indicates that the button should only display as an icon with no text content. When set, the built-in chevron icon is removed.
36
36
  * @prop {boolean | undefined} autofocus - Indicates the button should be focused when the page is loaded.
37
37
  * @prop {boolean | undefined} disabledFocusable - Indicates that the button is focusable while disabled.
38
38
  * @prop {number | undefined} tabindex - Sets that the button tabindex attribute.
@@ -1 +1 @@
1
- {"version":3,"file":"menu-button.definition.d.ts","sourceRoot":"","sources":["../../../../src/components/menu-button/menu-button.definition.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAG9C;;;;;GAKG;AACH,eAAO,MAAM,UAAU,4EAOrB,CAAC"}
1
+ {"version":3,"file":"menu-button.definition.d.ts","sourceRoot":"","sources":["../../../../src/components/menu-button/menu-button.definition.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAI9C;;;;;GAKG;AACH,eAAO,MAAM,UAAU,4EAOrB,CAAC"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Fabric Menu Button styles.
3
+ *
4
+ * Extends Fluent UI's Menu Button styles and removes the built-in chevron
5
+ * icon when the `icon-only` attribute is set, since an icon-only menu button
6
+ * has no label text for the chevron to accompany.
7
+ *
8
+ * @public
9
+ */
10
+ export declare const styles: import("@microsoft/fast-element").ElementStyles;
11
+ //# sourceMappingURL=menu-button.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"menu-button.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/menu-button/menu-button.styles.ts"],"names":[],"mappings":"AAGA;;;;;;;;GAQG;AACH,eAAO,MAAM,MAAM,iDAMlB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"menu-item.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/menu-item/menu-item.styles.ts"],"names":[],"mappings":"AAqCA;;GAEG;AACH,eAAO,MAAM,MAAM,iDAmKlB,CAAC"}
1
+ {"version":3,"file":"menu-item.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/menu-item/menu-item.styles.ts"],"names":[],"mappings":"AAqCA;;GAEG;AACH,eAAO,MAAM,MAAM,iDAkKlB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"menu-list.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/menu-list/menu-list.styles.ts"],"names":[],"mappings":"AAYA;;GAEG;AACH,eAAO,MAAM,MAAM,iDAelB,CAAC"}
1
+ {"version":3,"file":"menu-list.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/menu-list/menu-list.styles.ts"],"names":[],"mappings":"AAWA;;GAEG;AACH,eAAO,MAAM,MAAM,iDAclB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import "../dialog/define.js";
2
+ import "../carousel-nav/define.js";
3
+ import "../carousel-nav-item/define.js";
4
+ //# sourceMappingURL=define.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"define.d.ts","sourceRoot":"","sources":["../../../../src/components/modal/define.ts"],"names":[],"mappings":"AAGA,OAAO,qBAAqB,CAAC;AAC7B,OAAO,2BAA2B,CAAC;AACnC,OAAO,gCAAgC,CAAC"}
@@ -0,0 +1,9 @@
1
+ export { Modal } from "./modal.js";
2
+ export { ModalFreItem } from "../modal-fre-item/modal-fre-item.js";
3
+ export { definition as ModalDefinition } from "./modal.definition.js";
4
+ export { modalFreItemDefinition as ModalFreItemDefinition } from "../modal-fre-item/modal-fre-item.definition.js";
5
+ export { ModalModes } from "./modal.options.js";
6
+ export type { ModalMode } from "./modal.options.js";
7
+ export { ModalEventNames } from "./modal.events.js";
8
+ export type { ModalEventName, ModalDismissEventDetail } from "./modal.events.js";
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/modal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,EAAE,UAAU,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAE,sBAAsB,IAAI,sBAAsB,EAAE,MAAM,gDAAgD,CAAC;AAClH,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,YAAY,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EACV,cAAc,EACd,uBAAuB,EACxB,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,209 @@
1
+ import { FASTElement, type Subscriber } from "@microsoft/fast-element";
2
+ import { type ModalMode } from "./modal.options.js";
3
+ import { CarouselController } from "../../util/carousel-controller.js";
4
+ import type { Dialog } from "../dialog/dialog.js";
5
+ import type { ModalFreItem } from "../modal-fre-item/modal-fre-item.js";
6
+ /**
7
+ * @summary A modal dialog with optional FRE (First Run Experience) multi-step wizard mode.
8
+ * Uses fabric-dialog internally for native backdrop, focus trapping, and Escape key handling.
9
+ *
10
+ * @example Default mode
11
+ * ```html
12
+ * <fabric-modal open modal-title="Confirm action">
13
+ * <h2>Are you sure?</h2>
14
+ * <p>This action cannot be undone.</p>
15
+ * </fabric-modal>
16
+ * ```
17
+ *
18
+ * @example FRE mode
19
+ * ```html
20
+ * <fabric-modal mode="fre" open modal-title="Welcome">
21
+ * <fabric-modal-fre-item>
22
+ * <span slot="title">Step 1</span>
23
+ * <span slot="description">First step details.</span>
24
+ * <img src="hero1.png" alt="Step 1" />
25
+ * </fabric-modal-fre-item>
26
+ * <fabric-modal-fre-item>
27
+ * <span slot="title">Step 2</span>
28
+ * <span slot="description">Second step details.</span>
29
+ * <img src="hero2.png" alt="Step 2" />
30
+ * </fabric-modal-fre-item>
31
+ * </fabric-modal>
32
+ * ```
33
+ *
34
+ * @attr {string} mode - Modal mode: "default" or "fre".
35
+ * @attr {boolean} open - Whether the modal is visible.
36
+ * @attr {string} modal-title - Accessible label for the modal.
37
+ * @attr {number} current-step - Active step index (FRE mode).
38
+ * @attr {string} primary-label - Label for the primary button in default mode (defaults to "OK").
39
+ * @attr {string} next-label - Label for the "Next" button in FRE mode (defaults to "Next").
40
+ * @attr {string} done-label - Label for the "Done" button in FRE mode (defaults to "Done").
41
+ * @attr {string} try-later-label - Label for the secondary button on FRE first step (defaults to "Try Later").
42
+ * @attr {string} back-label - Label for the secondary "Back" button in FRE mode (defaults to "Back").
43
+ * @attr {string} dismiss-label - Label for the secondary "Dismiss" button on FRE last step (defaults to "Dismiss").
44
+ *
45
+ * @prop {ModalMode} mode - Modal mode.
46
+ * @prop {boolean} open - Whether the modal is visible.
47
+ * @prop {string} modalTitle - Accessible label.
48
+ * @prop {number} currentStep - Active step index (FRE mode).
49
+ * @prop {number} totalSteps - Total step count (FRE mode, readonly).
50
+ *
51
+ * @slot default - Modal content. In FRE mode, accepts fabric-modal-fre-item elements.
52
+ *
53
+ * @fires open-change - Fired when open state changes.
54
+ * @fires dismiss - Fired when the modal is dismissed. Detail includes `{ complete: boolean }` indicating if dismissal was due to FRE wizard completion.
55
+ * @fires step-change - Fired when the active step changes (FRE mode).
56
+ *
57
+ * @extends FASTElement
58
+ * @tagname fabric-modal
59
+ * @public
60
+ */
61
+ export declare class Modal extends FASTElement implements Subscriber {
62
+ /**
63
+ * Carousel controller for FRE mode.
64
+ * @internal
65
+ */
66
+ readonly carouselController: CarouselController<import("../carousel-item/carousel-item.js").CarouselItem>;
67
+ /**
68
+ * Modal mode: "default" for simple modal, "fre" for multi-step wizard.
69
+ * @public
70
+ */
71
+ mode: ModalMode;
72
+ /**
73
+ * Whether the modal is visible.
74
+ * @public
75
+ */
76
+ open: boolean;
77
+ /**
78
+ * Accessible label for the modal.
79
+ * @public
80
+ */
81
+ modalTitle: string;
82
+ /**
83
+ * Active step index. Only meaningful in FRE mode.
84
+ * @public
85
+ */
86
+ currentStep: number;
87
+ /**
88
+ * Label for the primary button in default mode.
89
+ * @public
90
+ */
91
+ primaryLabel: string;
92
+ /**
93
+ * Label for the "Next" button in FRE mode.
94
+ * @public
95
+ */
96
+ nextLabel: string;
97
+ /**
98
+ * Label for the "Done" button in FRE mode.
99
+ * @public
100
+ */
101
+ doneLabel: string;
102
+ /**
103
+ * Label for the secondary button on FRE first step.
104
+ * @public
105
+ */
106
+ tryLaterLabel: string;
107
+ /**
108
+ * Label for the secondary "Back" button in FRE mode.
109
+ * @public
110
+ */
111
+ backLabel: string;
112
+ /**
113
+ * Label for the secondary "Dismiss" button on FRE last step.
114
+ * @public
115
+ */
116
+ dismissLabel: string;
117
+ /**
118
+ * Reference to the inner fabric-dialog element (set via template ref).
119
+ * @internal
120
+ */
121
+ dialog: Dialog;
122
+ /**
123
+ * Slotted items (used in FRE mode to track fre-items, or carousel-items in default).
124
+ * @internal
125
+ */
126
+ slottedContent: HTMLElement[];
127
+ /**
128
+ * FRE items parsed from slotted content.
129
+ * @internal
130
+ */
131
+ freItems: ModalFreItem[];
132
+ /**
133
+ * Total step count (FRE mode).
134
+ * @public
135
+ * @readonly
136
+ */
137
+ get totalSteps(): number;
138
+ /**
139
+ * Callback when open changes.
140
+ * Delegates to the inner fabric-dialog's show/hide.
141
+ * @internal
142
+ */
143
+ openChanged(_oldValue: boolean, newValue: boolean): void;
144
+ /**
145
+ * Callback when current-step attribute changes.
146
+ * Syncs the controller to the attribute value.
147
+ * @internal
148
+ */
149
+ currentStepChanged(_oldValue: string | number, newValue: string | number): void;
150
+ /**
151
+ * Callback when slotted content changes.
152
+ * In FRE mode, extracts fre-items and assigns them directly to the carousel controller.
153
+ * @internal
154
+ */
155
+ slottedContentChanged(): void;
156
+ /**
157
+ * Handles the toggle event from the inner fabric-dialog.
158
+ * Syncs open state when the dialog is closed externally (Escape key, backdrop click).
159
+ * @internal
160
+ */
161
+ handleDialogToggle(event: CustomEvent): void;
162
+ /**
163
+ * Handles the primary button action.
164
+ * In default mode: dismisses. In FRE mode: advances step or completes.
165
+ * @internal
166
+ */
167
+ handlePrimaryAction(): void;
168
+ /**
169
+ * Handles the secondary button action.
170
+ * In FRE mode: "Try Later" / "Back" / "Dismiss" depending on step.
171
+ * @internal
172
+ */
173
+ handleSecondaryAction(): void;
174
+ /**
175
+ * Handles dismiss (close button, Escape, backdrop click, or FRE completion).
176
+ * @param complete - Whether the dismiss was triggered by completing the FRE wizard.
177
+ * @internal
178
+ */
179
+ handleDismiss(complete?: boolean): void;
180
+ /**
181
+ * Gets the label for the secondary button based on current FRE step.
182
+ * @internal
183
+ */
184
+ get secondaryButtonLabel(): string;
185
+ /**
186
+ * Gets the label for the primary button.
187
+ * @internal
188
+ */
189
+ get primaryButtonLabel(): string;
190
+ /**
191
+ * Subscriber implementation for CarouselController changes.
192
+ * Syncs currentStep attribute and emits step-change event.
193
+ * @internal
194
+ */
195
+ handleChange(source: CarouselController, propertyName: string): void;
196
+ connectedCallback(): void;
197
+ disconnectedCallback(): void;
198
+ /**
199
+ * Emits open-change event.
200
+ * @internal
201
+ */
202
+ private emitOpenChange;
203
+ /**
204
+ * Emits step-change event.
205
+ * @internal
206
+ */
207
+ private emitStepChange;
208
+ }
209
+ //# sourceMappingURL=modal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../../../src/components/modal/modal.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EAKX,KAAK,UAAU,EAChB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAGhE,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAA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AmB,IAAI,IAAI;IAe3B;;;;OAIG;IACH,qBAAqB,IAAI,IAAI;IAiB7B;;;;OAIG;IACH,aAAa,CAAC,QAAQ,GAAE,OAAe,GAAG,IAAI;IAY9C;;;OAGG;IACH,IAAI,oBAAoB,IAAI,MAAM,CAejC;IAED;;;OAGG;IACH,IAAI,kBAAkB,IAAI,MAAM,CAU/B;IAED;;;;OAIG;IACH,YAAY,CAAC,MAAM,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,GAAG,IAAI;IAUpE,iBAAiB,IAAI,IAAI;IAQzB,oBAAoB,IAAI,IAAI;IAQ5B;;;OAGG;IACH,OAAO,CAAC,cAAc;IAUtB;;;OAGG;IACH,OAAO,CAAC,cAAc;CAYvB"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Composed element definition for `<fabric-modal>`, and all direct dependencies.
3
+ *
4
+ * @public
5
+ * @remarks
6
+ * HTML Element: `<fabric-modal>`
7
+ */
8
+ export declare const definition: import("../../util/element-definition.js").FabricElementDefinition;
9
+ //# sourceMappingURL=modal.definition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modal.definition.d.ts","sourceRoot":"","sources":["../../../../src/components/modal/modal.definition.ts"],"names":[],"mappings":"AAoBA;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,oEAMtB,CAAC"}
@@ -0,0 +1,26 @@
1
+ import type { ValuesOf } from "../../util/typings.js";
2
+ /**
3
+ * Event names for the Modal component.
4
+ * @public
5
+ */
6
+ export declare const ModalEventNames: {
7
+ readonly openChange: "open-change";
8
+ readonly dismiss: "dismiss";
9
+ readonly stepChange: "step-change";
10
+ };
11
+ /**
12
+ * Modal event type.
13
+ * @public
14
+ */
15
+ export type ModalEventName = ValuesOf<typeof ModalEventNames>;
16
+ /**
17
+ * Detail payload for the dismiss event.
18
+ * @public
19
+ */
20
+ export interface ModalDismissEventDetail {
21
+ /**
22
+ * Whether the dismiss was triggered by completing the FRE wizard.
23
+ */
24
+ complete: boolean;
25
+ }
26
+ //# sourceMappingURL=modal.events.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modal.events.d.ts","sourceRoot":"","sources":["../../../../src/components/modal/modal.events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;CAIlB,CAAC;AAEX;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC,OAAO,eAAe,CAAC,CAAC;AAE9D;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;CACnB"}
@@ -0,0 +1,15 @@
1
+ import type { ValuesOf } from "../../util/typings.js";
2
+ /**
3
+ * Modal mode options.
4
+ * @public
5
+ */
6
+ export declare const ModalModes: {
7
+ readonly default: "default";
8
+ readonly fre: "fre";
9
+ };
10
+ /**
11
+ * Modal mode type.
12
+ * @public
13
+ */
14
+ export type ModalMode = ValuesOf<typeof ModalModes>;
15
+ //# sourceMappingURL=modal.options.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modal.options.d.ts","sourceRoot":"","sources":["../../../../src/components/modal/modal.options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;;GAGG;AACH,eAAO,MAAM,UAAU;;;CAGb,CAAC;AAEX;;;GAGG;AACH,MAAM,MAAM,SAAS,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { ElementStyles } from "@microsoft/fast-element";
2
+ /**
3
+ * Styles for the {@link @fabric-msft/fabric-web#(Modal:class)} component.
4
+ * The outer dialog chrome (backdrop, border-radius, shadow, max-width) is
5
+ * provided by the inner fabric-dialog; these styles handle modal-specific
6
+ * layout (close button, content area, footer, FRE nav, buttons).
7
+ * @public
8
+ */
9
+ export declare const styles: ElementStyles;
10
+ //# sourceMappingURL=modal.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modal.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/modal/modal.styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAc7D;;;;;;GAMG;AACH,eAAO,MAAM,MAAM,EAAE,aAkEpB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { ElementViewTemplate } from "@microsoft/fast-element";
2
+ import type { Modal } from "./modal.js";
3
+ /**
4
+ * The template for the {@link @fabric-msft/fabric-web#(Modal:class)} component.
5
+ * Uses fabric-dialog internally for native backdrop, focus trapping, and Escape handling.
6
+ *
7
+ * FRE mode tab order: dismiss button (inside fre-item) → secondary button → carousel nav → primary button.
8
+ * @public
9
+ */
10
+ export declare function modalTemplate<T extends Modal>(): ElementViewTemplate<T>;
11
+ export declare const template: ElementViewTemplate<Modal>;
12
+ //# sourceMappingURL=modal.template.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modal.template.d.ts","sourceRoot":"","sources":["../../../../src/components/modal/modal.template.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAMxC;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,KAAK,KAAK,mBAAmB,CAAC,CAAC,CAAC,CAiGvE;AAED,eAAO,MAAM,QAAQ,EAAE,mBAAmB,CAAC,KAAK,CAAmB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=define.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"define.d.ts","sourceRoot":"","sources":["../../../../src/components/modal-fre-item/define.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export { ModalFreItem } from "./modal-fre-item.js";
2
+ export { modalFreItemDefinition as ModalFreItemDefinition } from "./modal-fre-item.definition.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/modal-fre-item/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,sBAAsB,IAAI,sBAAsB,EAAE,MAAM,gCAAgC,CAAC"}
@@ -0,0 +1,65 @@
1
+ import { FASTElement } from "@microsoft/fast-element";
2
+ import type { CarouselManagedItem } from "../../util/carousel-controller.js";
3
+ /**
4
+ * @summary A content item for the modal FRE (First Run Experience) wizard.
5
+ *
6
+ * Each fre-item is a self-contained step that renders its own hero content,
7
+ * title, description, and dismiss button. The parent `fabric-modal` assigns
8
+ * fre-items to a {@link CarouselController} which manages active state and
9
+ * ARIA linkage. Only the active item is visible.
10
+ *
11
+ * @example
12
+ * ```html
13
+ * <fabric-modal-fre-item>
14
+ * <span slot="title">Welcome</span>
15
+ * <span slot="description">Get started with Fabric.</span>
16
+ * <img src="hero.png" alt="Welcome illustration" />
17
+ * </fabric-modal-fre-item>
18
+ * ```
19
+ *
20
+ * @attr {boolean} active - Whether this item is the currently visible step.
21
+ * @attr {string} label - Accessible label for this step.
22
+ *
23
+ * @prop {string} panelId - Unique ID for this panel (set by CarouselController).
24
+ * @prop {string} tabId - ID of the associated tab (for aria-labelledby, set by CarouselController).
25
+ *
26
+ * @slot default - Hero content (image, illustration, or any visual).
27
+ * @slot title - Title content for this step.
28
+ * @slot description - Description content for this step.
29
+ *
30
+ * @fires dismiss - Fired when the dismiss button is clicked. Bubbles and is composed.
31
+ *
32
+ * @extends FASTElement
33
+ * @tagname fabric-modal-fre-item
34
+ * @public
35
+ */
36
+ export declare class ModalFreItem extends FASTElement implements CarouselManagedItem {
37
+ /**
38
+ * Whether this item is the currently visible step.
39
+ * Managed by the CarouselController.
40
+ * @public
41
+ */
42
+ active: boolean;
43
+ /**
44
+ * Accessible label for this step.
45
+ * @public
46
+ */
47
+ label?: string;
48
+ /**
49
+ * Unique ID for this tabpanel (set by CarouselController).
50
+ * @internal
51
+ */
52
+ panelId?: string;
53
+ /**
54
+ * ID of the associated tab element (for aria-labelledby, set by CarouselController).
55
+ * @internal
56
+ */
57
+ tabId?: string;
58
+ /**
59
+ * Handles the dismiss button click.
60
+ * Dispatches a bubbling, composed dismiss event.
61
+ * @internal
62
+ */
63
+ handleDismiss(): void;
64
+ }
65
+ //# sourceMappingURL=modal-fre-item.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modal-fre-item.d.ts","sourceRoot":"","sources":["../../../../src/components/modal-fre-item/modal-fre-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAoB,MAAM,yBAAyB,CAAC;AACxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAE7E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,qBAAa,YAAa,SAAQ,WAAY,YAAW,mBAAmB;IAC1E;;;;OAIG;IAEH,MAAM,EAAE,OAAO,CAAS;IAExB;;;OAGG;IAEH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;OAGG;IAEH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IAEH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;OAIG;IACH,aAAa,IAAI,IAAI;CAQtB"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Composed element definition for `<fabric-modal-fre-item>`, registering the
3
+ * `fabric-button` dependency before the element itself.
4
+ *
5
+ * @public
6
+ * @remarks
7
+ * HTML Element: `<fabric-modal-fre-item>`
8
+ */
9
+ export declare const modalFreItemDefinition: import("../../util/element-definition.js").FabricElementDefinition;
10
+ //# sourceMappingURL=modal-fre-item.definition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modal-fre-item.definition.d.ts","sourceRoot":"","sources":["../../../../src/components/modal-fre-item/modal-fre-item.definition.ts"],"names":[],"mappings":"AAiBA;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,oEAGlC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { ElementStyles } from "@microsoft/fast-element";
2
+ /**
3
+ * Styles for the {@link @fabric-msft/fabric-web#(ModalFreItem:class)} component.
4
+ * @public
5
+ */
6
+ export declare const modalFreItemStyles: ElementStyles;
7
+ //# sourceMappingURL=modal-fre-item.styles.d.ts.map