@fluentui/react-menu 0.0.0-nightlydd0f007b3f20220119.1 → 0.0.0-nightlye0b8e1fa6920220128.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (328) hide show
  1. package/CHANGELOG.json +56 -38
  2. package/CHANGELOG.md +18 -16
  3. package/dist/react-menu.d.ts +69 -67
  4. package/lib/components/Menu/Menu.js +6 -6
  5. package/lib/components/Menu/Menu.js.map +1 -1
  6. package/lib/components/Menu/renderMenu.d.ts +1 -1
  7. package/lib/components/Menu/renderMenu.js +1 -1
  8. package/lib/components/Menu/renderMenu.js.map +1 -1
  9. package/lib/components/Menu/useMenu.d.ts +2 -2
  10. package/lib/components/Menu/useMenu.js +4 -4
  11. package/lib/components/Menu/useMenu.js.map +1 -1
  12. package/lib/components/Menu/useMenuContextValues.d.ts +1 -1
  13. package/lib/components/Menu/useMenuContextValues.js +1 -1
  14. package/lib/components/Menu/useMenuContextValues.js.map +1 -1
  15. package/lib/components/MenuDivider/MenuDivider.d.ts +1 -1
  16. package/lib/components/MenuDivider/MenuDivider.js +7 -7
  17. package/lib/components/MenuDivider/MenuDivider.js.map +1 -1
  18. package/lib/components/MenuDivider/MenuDivider.types.d.ts +2 -2
  19. package/lib/components/MenuDivider/renderMenuDivider.d.ts +1 -1
  20. package/lib/components/MenuDivider/renderMenuDivider.js +1 -1
  21. package/lib/components/MenuDivider/renderMenuDivider.js.map +1 -1
  22. package/lib/components/MenuDivider/useMenuDivider.d.ts +1 -1
  23. package/lib/components/MenuDivider/useMenuDivider.js +1 -1
  24. package/lib/components/MenuDivider/useMenuDivider.js.map +1 -1
  25. package/lib/components/MenuDivider/useMenuDividerStyles.d.ts +1 -1
  26. package/lib/components/MenuDivider/useMenuDividerStyles.js +2 -2
  27. package/lib/components/MenuDivider/useMenuDividerStyles.js.map +1 -1
  28. package/lib/components/MenuGroup/MenuGroup.d.ts +1 -1
  29. package/lib/components/MenuGroup/MenuGroup.js +9 -9
  30. package/lib/components/MenuGroup/MenuGroup.js.map +1 -1
  31. package/lib/components/MenuGroup/MenuGroup.types.d.ts +3 -3
  32. package/lib/components/MenuGroup/renderMenuGroup.d.ts +1 -1
  33. package/lib/components/MenuGroup/renderMenuGroup.js +1 -1
  34. package/lib/components/MenuGroup/renderMenuGroup.js.map +1 -1
  35. package/lib/components/MenuGroup/useMenuGroup.d.ts +1 -1
  36. package/lib/components/MenuGroup/useMenuGroup.js +1 -1
  37. package/lib/components/MenuGroup/useMenuGroup.js.map +1 -1
  38. package/lib/components/MenuGroup/useMenuGroupContextValues.d.ts +1 -1
  39. package/lib/components/MenuGroup/useMenuGroupContextValues.js +1 -1
  40. package/lib/components/MenuGroup/useMenuGroupContextValues.js.map +1 -1
  41. package/lib/components/MenuGroup/useMenuGroupStyles.d.ts +1 -1
  42. package/lib/components/MenuGroup/useMenuGroupStyles.js +2 -2
  43. package/lib/components/MenuGroup/useMenuGroupStyles.js.map +1 -1
  44. package/lib/components/MenuGroupHeader/MenuGroupHeader.d.ts +1 -1
  45. package/lib/components/MenuGroupHeader/MenuGroupHeader.js +7 -7
  46. package/lib/components/MenuGroupHeader/MenuGroupHeader.js.map +1 -1
  47. package/lib/components/MenuGroupHeader/MenuGroupHeader.types.d.ts +2 -2
  48. package/lib/components/MenuGroupHeader/renderMenuGroupHeader.d.ts +1 -1
  49. package/lib/components/MenuGroupHeader/renderMenuGroupHeader.js +1 -1
  50. package/lib/components/MenuGroupHeader/renderMenuGroupHeader.js.map +1 -1
  51. package/lib/components/MenuGroupHeader/useMenuGroupHeader.d.ts +1 -1
  52. package/lib/components/MenuGroupHeader/useMenuGroupHeader.js +3 -3
  53. package/lib/components/MenuGroupHeader/useMenuGroupHeader.js.map +1 -1
  54. package/lib/components/MenuGroupHeader/useMenuGroupHeaderStyles.d.ts +1 -1
  55. package/lib/components/MenuGroupHeader/useMenuGroupHeaderStyles.js +2 -2
  56. package/lib/components/MenuGroupHeader/useMenuGroupHeaderStyles.js.map +1 -1
  57. package/lib/components/MenuItem/MenuItem.d.ts +1 -1
  58. package/lib/components/MenuItem/MenuItem.js +7 -7
  59. package/lib/components/MenuItem/MenuItem.js.map +1 -1
  60. package/lib/components/MenuItem/MenuItem.types.d.ts +7 -7
  61. package/lib/components/MenuItem/renderMenuItem.d.ts +1 -1
  62. package/lib/components/MenuItem/renderMenuItem.js +1 -1
  63. package/lib/components/MenuItem/renderMenuItem.js.map +1 -1
  64. package/lib/components/MenuItem/useCharacterSearch.js +2 -2
  65. package/lib/components/MenuItem/useCharacterSearch.js.map +1 -1
  66. package/lib/components/MenuItem/useMenuItem.d.ts +1 -1
  67. package/lib/components/MenuItem/useMenuItem.js +9 -9
  68. package/lib/components/MenuItem/useMenuItem.js.map +1 -1
  69. package/lib/components/MenuItem/useMenuItemStyles.d.ts +1 -1
  70. package/lib/components/MenuItem/useMenuItemStyles.js +4 -4
  71. package/lib/components/MenuItem/useMenuItemStyles.js.map +1 -1
  72. package/lib/components/MenuItemCheckbox/MenuItemCheckbox.d.ts +1 -1
  73. package/lib/components/MenuItemCheckbox/MenuItemCheckbox.js +7 -7
  74. package/lib/components/MenuItemCheckbox/MenuItemCheckbox.js.map +1 -1
  75. package/lib/components/MenuItemCheckbox/renderMenuItemCheckbox.d.ts +1 -1
  76. package/lib/components/MenuItemCheckbox/renderMenuItemCheckbox.js +1 -1
  77. package/lib/components/MenuItemCheckbox/renderMenuItemCheckbox.js.map +1 -1
  78. package/lib/components/MenuItemCheckbox/useMenuItemCheckbox.d.ts +1 -1
  79. package/lib/components/MenuItemCheckbox/useMenuItemCheckbox.js +6 -6
  80. package/lib/components/MenuItemCheckbox/useMenuItemCheckbox.js.map +1 -1
  81. package/lib/components/MenuItemCheckbox/useMenuItemCheckboxStyles.d.ts +1 -1
  82. package/lib/components/MenuItemCheckbox/useMenuItemCheckboxStyles.js +6 -6
  83. package/lib/components/MenuItemCheckbox/useMenuItemCheckboxStyles.js.map +1 -1
  84. package/lib/components/MenuItemRadio/MenuItemRadio.d.ts +1 -1
  85. package/lib/components/MenuItemRadio/MenuItemRadio.js +7 -7
  86. package/lib/components/MenuItemRadio/MenuItemRadio.js.map +1 -1
  87. package/lib/components/MenuItemRadio/renderMenuItemRadio.d.ts +1 -1
  88. package/lib/components/MenuItemRadio/renderMenuItemRadio.js +1 -1
  89. package/lib/components/MenuItemRadio/renderMenuItemRadio.js.map +1 -1
  90. package/lib/components/MenuItemRadio/useMenuItemRadio.d.ts +1 -1
  91. package/lib/components/MenuItemRadio/useMenuItemRadio.js +6 -6
  92. package/lib/components/MenuItemRadio/useMenuItemRadio.js.map +1 -1
  93. package/lib/components/MenuItemRadio/useMenuItemRadioStyles.d.ts +1 -1
  94. package/lib/components/MenuItemRadio/useMenuItemRadioStyles.js +6 -6
  95. package/lib/components/MenuItemRadio/useMenuItemRadioStyles.js.map +1 -1
  96. package/lib/components/MenuList/MenuList.d.ts +1 -1
  97. package/lib/components/MenuList/MenuList.js +9 -9
  98. package/lib/components/MenuList/MenuList.js.map +1 -1
  99. package/lib/components/MenuList/MenuList.types.d.ts +4 -4
  100. package/lib/components/MenuList/renderMenuList.d.ts +1 -1
  101. package/lib/components/MenuList/renderMenuList.js +1 -1
  102. package/lib/components/MenuList/renderMenuList.js.map +1 -1
  103. package/lib/components/MenuList/useMenuList.d.ts +1 -1
  104. package/lib/components/MenuList/useMenuList.js +8 -8
  105. package/lib/components/MenuList/useMenuList.js.map +1 -1
  106. package/lib/components/MenuList/useMenuListContextValues.d.ts +1 -1
  107. package/lib/components/MenuList/useMenuListContextValues.js +1 -1
  108. package/lib/components/MenuList/useMenuListContextValues.js.map +1 -1
  109. package/lib/components/MenuList/useMenuListStyles.d.ts +1 -1
  110. package/lib/components/MenuList/useMenuListStyles.js +2 -2
  111. package/lib/components/MenuList/useMenuListStyles.js.map +1 -1
  112. package/lib/components/MenuPopover/MenuPopover.js +6 -6
  113. package/lib/components/MenuPopover/MenuPopover.js.map +1 -1
  114. package/lib/components/MenuPopover/MenuPopover.types.d.ts +2 -2
  115. package/lib/components/MenuPopover/renderMenuPopover.d.ts +1 -1
  116. package/lib/components/MenuPopover/renderMenuPopover.js +1 -1
  117. package/lib/components/MenuPopover/renderMenuPopover.js.map +1 -1
  118. package/lib/components/MenuPopover/useMenuPopover.d.ts +3 -3
  119. package/lib/components/MenuPopover/useMenuPopover.js +8 -8
  120. package/lib/components/MenuPopover/useMenuPopover.js.map +1 -1
  121. package/lib/components/MenuPopover/useMenuPopoverStyles.d.ts +1 -1
  122. package/lib/components/MenuPopover/useMenuPopoverStyles.js +2 -2
  123. package/lib/components/MenuPopover/useMenuPopoverStyles.js.map +1 -1
  124. package/lib/components/MenuSplitGroup/MenuSplitGroup.js +6 -6
  125. package/lib/components/MenuSplitGroup/MenuSplitGroup.js.map +1 -1
  126. package/lib/components/MenuSplitGroup/MenuSplitGroup.types.d.ts +2 -2
  127. package/lib/components/MenuSplitGroup/renderMenuSplitGroup.d.ts +1 -1
  128. package/lib/components/MenuSplitGroup/renderMenuSplitGroup.js +1 -1
  129. package/lib/components/MenuSplitGroup/renderMenuSplitGroup.js.map +1 -1
  130. package/lib/components/MenuSplitGroup/useMenuSplitGroup.d.ts +3 -3
  131. package/lib/components/MenuSplitGroup/useMenuSplitGroup.js +3 -3
  132. package/lib/components/MenuSplitGroup/useMenuSplitGroup.js.map +1 -1
  133. package/lib/components/MenuSplitGroup/useMenuSplitGroupStyles.d.ts +1 -1
  134. package/lib/components/MenuSplitGroup/useMenuSplitGroupStyles.js +2 -2
  135. package/lib/components/MenuSplitGroup/useMenuSplitGroupStyles.js.map +1 -1
  136. package/lib/components/MenuTrigger/MenuTrigger.d.ts +1 -1
  137. package/lib/components/MenuTrigger/MenuTrigger.js +7 -6
  138. package/lib/components/MenuTrigger/MenuTrigger.js.map +1 -1
  139. package/lib/components/MenuTrigger/MenuTrigger.types.d.ts +4 -2
  140. package/lib/components/MenuTrigger/renderMenuTrigger.d.ts +1 -1
  141. package/lib/components/MenuTrigger/renderMenuTrigger.js +1 -1
  142. package/lib/components/MenuTrigger/renderMenuTrigger.js.map +1 -1
  143. package/lib/components/MenuTrigger/useMenuTrigger.d.ts +2 -1
  144. package/lib/components/MenuTrigger/useMenuTrigger.js +177 -5
  145. package/lib/components/MenuTrigger/useMenuTrigger.js.map +1 -1
  146. package/lib/contexts/menuContext.d.ts +1 -1
  147. package/lib/contexts/menuContext.js +1 -1
  148. package/lib/contexts/menuContext.js.map +1 -1
  149. package/lib/contexts/menuGroupContext.d.ts +1 -1
  150. package/lib/contexts/menuGroupContext.js +1 -1
  151. package/lib/contexts/menuGroupContext.js.map +1 -1
  152. package/lib/contexts/menuListContext.d.ts +1 -1
  153. package/lib/contexts/menuListContext.js +1 -1
  154. package/lib/contexts/menuListContext.js.map +1 -1
  155. package/lib/contexts/menuTriggerContext.d.ts +1 -1
  156. package/lib/contexts/menuTriggerContext.js +1 -1
  157. package/lib/contexts/menuTriggerContext.js.map +1 -1
  158. package/lib/selectable/useCheckmarkStyles.d.ts +1 -1
  159. package/lib/selectable/useCheckmarkStyles.js +2 -2
  160. package/lib/selectable/useCheckmarkStyles.js.map +1 -1
  161. package/lib/utils/useIsSubmenu.js +2 -2
  162. package/lib/utils/useIsSubmenu.js.map +1 -1
  163. package/lib-commonjs/components/Menu/Menu.js +3 -3
  164. package/lib-commonjs/components/Menu/Menu.js.map +1 -1
  165. package/lib-commonjs/components/Menu/renderMenu.d.ts +1 -1
  166. package/lib-commonjs/components/Menu/renderMenu.js +3 -3
  167. package/lib-commonjs/components/Menu/renderMenu.js.map +1 -1
  168. package/lib-commonjs/components/Menu/useMenu.d.ts +2 -2
  169. package/lib-commonjs/components/Menu/useMenu.js +5 -5
  170. package/lib-commonjs/components/Menu/useMenu.js.map +1 -1
  171. package/lib-commonjs/components/Menu/useMenuContextValues.d.ts +1 -1
  172. package/lib-commonjs/components/Menu/useMenuContextValues.js +3 -3
  173. package/lib-commonjs/components/Menu/useMenuContextValues.js.map +1 -1
  174. package/lib-commonjs/components/MenuDivider/MenuDivider.d.ts +1 -1
  175. package/lib-commonjs/components/MenuDivider/MenuDivider.js +4 -4
  176. package/lib-commonjs/components/MenuDivider/MenuDivider.js.map +1 -1
  177. package/lib-commonjs/components/MenuDivider/MenuDivider.types.d.ts +2 -2
  178. package/lib-commonjs/components/MenuDivider/renderMenuDivider.d.ts +1 -1
  179. package/lib-commonjs/components/MenuDivider/renderMenuDivider.js +3 -3
  180. package/lib-commonjs/components/MenuDivider/renderMenuDivider.js.map +1 -1
  181. package/lib-commonjs/components/MenuDivider/useMenuDivider.d.ts +1 -1
  182. package/lib-commonjs/components/MenuDivider/useMenuDivider.js +3 -3
  183. package/lib-commonjs/components/MenuDivider/useMenuDivider.js.map +1 -1
  184. package/lib-commonjs/components/MenuDivider/useMenuDividerStyles.d.ts +1 -1
  185. package/lib-commonjs/components/MenuDivider/useMenuDividerStyles.js +6 -6
  186. package/lib-commonjs/components/MenuDivider/useMenuDividerStyles.js.map +1 -1
  187. package/lib-commonjs/components/MenuGroup/MenuGroup.d.ts +1 -1
  188. package/lib-commonjs/components/MenuGroup/MenuGroup.js +5 -5
  189. package/lib-commonjs/components/MenuGroup/MenuGroup.js.map +1 -1
  190. package/lib-commonjs/components/MenuGroup/MenuGroup.types.d.ts +3 -3
  191. package/lib-commonjs/components/MenuGroup/renderMenuGroup.d.ts +1 -1
  192. package/lib-commonjs/components/MenuGroup/renderMenuGroup.js +3 -3
  193. package/lib-commonjs/components/MenuGroup/renderMenuGroup.js.map +1 -1
  194. package/lib-commonjs/components/MenuGroup/useMenuGroup.d.ts +1 -1
  195. package/lib-commonjs/components/MenuGroup/useMenuGroup.js +3 -3
  196. package/lib-commonjs/components/MenuGroup/useMenuGroup.js.map +1 -1
  197. package/lib-commonjs/components/MenuGroup/useMenuGroupContextValues.d.ts +1 -1
  198. package/lib-commonjs/components/MenuGroup/useMenuGroupContextValues.js +3 -3
  199. package/lib-commonjs/components/MenuGroup/useMenuGroupContextValues.js.map +1 -1
  200. package/lib-commonjs/components/MenuGroup/useMenuGroupStyles.d.ts +1 -1
  201. package/lib-commonjs/components/MenuGroup/useMenuGroupStyles.js +5 -5
  202. package/lib-commonjs/components/MenuGroup/useMenuGroupStyles.js.map +1 -1
  203. package/lib-commonjs/components/MenuGroupHeader/MenuGroupHeader.d.ts +1 -1
  204. package/lib-commonjs/components/MenuGroupHeader/MenuGroupHeader.js +4 -4
  205. package/lib-commonjs/components/MenuGroupHeader/MenuGroupHeader.js.map +1 -1
  206. package/lib-commonjs/components/MenuGroupHeader/MenuGroupHeader.types.d.ts +2 -2
  207. package/lib-commonjs/components/MenuGroupHeader/renderMenuGroupHeader.d.ts +1 -1
  208. package/lib-commonjs/components/MenuGroupHeader/renderMenuGroupHeader.js +3 -3
  209. package/lib-commonjs/components/MenuGroupHeader/renderMenuGroupHeader.js.map +1 -1
  210. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeader.d.ts +1 -1
  211. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeader.js +4 -4
  212. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeader.js.map +1 -1
  213. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeaderStyles.d.ts +1 -1
  214. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeaderStyles.js +6 -6
  215. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeaderStyles.js.map +1 -1
  216. package/lib-commonjs/components/MenuItem/MenuItem.d.ts +1 -1
  217. package/lib-commonjs/components/MenuItem/MenuItem.js +4 -4
  218. package/lib-commonjs/components/MenuItem/MenuItem.js.map +1 -1
  219. package/lib-commonjs/components/MenuItem/MenuItem.types.d.ts +7 -7
  220. package/lib-commonjs/components/MenuItem/renderMenuItem.d.ts +1 -1
  221. package/lib-commonjs/components/MenuItem/renderMenuItem.js +3 -3
  222. package/lib-commonjs/components/MenuItem/renderMenuItem.js.map +1 -1
  223. package/lib-commonjs/components/MenuItem/useCharacterSearch.js +1 -1
  224. package/lib-commonjs/components/MenuItem/useCharacterSearch.js.map +1 -1
  225. package/lib-commonjs/components/MenuItem/useMenuItem.d.ts +1 -1
  226. package/lib-commonjs/components/MenuItem/useMenuItem.js +8 -8
  227. package/lib-commonjs/components/MenuItem/useMenuItem.js.map +1 -1
  228. package/lib-commonjs/components/MenuItem/useMenuItemStyles.d.ts +1 -1
  229. package/lib-commonjs/components/MenuItem/useMenuItemStyles.js +11 -11
  230. package/lib-commonjs/components/MenuItem/useMenuItemStyles.js.map +1 -1
  231. package/lib-commonjs/components/MenuItemCheckbox/MenuItemCheckbox.d.ts +1 -1
  232. package/lib-commonjs/components/MenuItemCheckbox/MenuItemCheckbox.js +4 -4
  233. package/lib-commonjs/components/MenuItemCheckbox/MenuItemCheckbox.js.map +1 -1
  234. package/lib-commonjs/components/MenuItemCheckbox/renderMenuItemCheckbox.d.ts +1 -1
  235. package/lib-commonjs/components/MenuItemCheckbox/renderMenuItemCheckbox.js +3 -3
  236. package/lib-commonjs/components/MenuItemCheckbox/renderMenuItemCheckbox.js.map +1 -1
  237. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckbox.d.ts +1 -1
  238. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckbox.js +6 -6
  239. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckbox.js.map +1 -1
  240. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckboxStyles.d.ts +1 -1
  241. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckboxStyles.js +7 -7
  242. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckboxStyles.js.map +1 -1
  243. package/lib-commonjs/components/MenuItemRadio/MenuItemRadio.d.ts +1 -1
  244. package/lib-commonjs/components/MenuItemRadio/MenuItemRadio.js +4 -4
  245. package/lib-commonjs/components/MenuItemRadio/MenuItemRadio.js.map +1 -1
  246. package/lib-commonjs/components/MenuItemRadio/renderMenuItemRadio.d.ts +1 -1
  247. package/lib-commonjs/components/MenuItemRadio/renderMenuItemRadio.js +3 -3
  248. package/lib-commonjs/components/MenuItemRadio/renderMenuItemRadio.js.map +1 -1
  249. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadio.d.ts +1 -1
  250. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadio.js +6 -6
  251. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadio.js.map +1 -1
  252. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadioStyles.d.ts +1 -1
  253. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadioStyles.js +7 -7
  254. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadioStyles.js.map +1 -1
  255. package/lib-commonjs/components/MenuList/MenuList.d.ts +1 -1
  256. package/lib-commonjs/components/MenuList/MenuList.js +5 -5
  257. package/lib-commonjs/components/MenuList/MenuList.js.map +1 -1
  258. package/lib-commonjs/components/MenuList/MenuList.types.d.ts +4 -4
  259. package/lib-commonjs/components/MenuList/renderMenuList.d.ts +1 -1
  260. package/lib-commonjs/components/MenuList/renderMenuList.js +3 -3
  261. package/lib-commonjs/components/MenuList/renderMenuList.js.map +1 -1
  262. package/lib-commonjs/components/MenuList/useMenuList.d.ts +1 -1
  263. package/lib-commonjs/components/MenuList/useMenuList.js +9 -9
  264. package/lib-commonjs/components/MenuList/useMenuList.js.map +1 -1
  265. package/lib-commonjs/components/MenuList/useMenuListContextValues.d.ts +1 -1
  266. package/lib-commonjs/components/MenuList/useMenuListContextValues.js +3 -3
  267. package/lib-commonjs/components/MenuList/useMenuListContextValues.js.map +1 -1
  268. package/lib-commonjs/components/MenuList/useMenuListStyles.d.ts +1 -1
  269. package/lib-commonjs/components/MenuList/useMenuListStyles.js +6 -6
  270. package/lib-commonjs/components/MenuList/useMenuListStyles.js.map +1 -1
  271. package/lib-commonjs/components/MenuPopover/MenuPopover.js +3 -3
  272. package/lib-commonjs/components/MenuPopover/MenuPopover.js.map +1 -1
  273. package/lib-commonjs/components/MenuPopover/MenuPopover.types.d.ts +2 -2
  274. package/lib-commonjs/components/MenuPopover/renderMenuPopover.d.ts +1 -1
  275. package/lib-commonjs/components/MenuPopover/renderMenuPopover.js +3 -3
  276. package/lib-commonjs/components/MenuPopover/renderMenuPopover.js.map +1 -1
  277. package/lib-commonjs/components/MenuPopover/useMenuPopover.d.ts +3 -3
  278. package/lib-commonjs/components/MenuPopover/useMenuPopover.js +9 -9
  279. package/lib-commonjs/components/MenuPopover/useMenuPopover.js.map +1 -1
  280. package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.d.ts +1 -1
  281. package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.js +6 -6
  282. package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.js.map +1 -1
  283. package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.js +3 -3
  284. package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.js.map +1 -1
  285. package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.types.d.ts +2 -2
  286. package/lib-commonjs/components/MenuSplitGroup/renderMenuSplitGroup.d.ts +1 -1
  287. package/lib-commonjs/components/MenuSplitGroup/renderMenuSplitGroup.js +3 -3
  288. package/lib-commonjs/components/MenuSplitGroup/renderMenuSplitGroup.js.map +1 -1
  289. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroup.d.ts +3 -3
  290. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroup.js +5 -5
  291. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroup.js.map +1 -1
  292. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroupStyles.d.ts +1 -1
  293. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroupStyles.js +6 -6
  294. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroupStyles.js.map +1 -1
  295. package/lib-commonjs/components/MenuTrigger/MenuTrigger.d.ts +1 -1
  296. package/lib-commonjs/components/MenuTrigger/MenuTrigger.js +6 -6
  297. package/lib-commonjs/components/MenuTrigger/MenuTrigger.js.map +1 -1
  298. package/lib-commonjs/components/MenuTrigger/MenuTrigger.types.d.ts +4 -2
  299. package/lib-commonjs/components/MenuTrigger/renderMenuTrigger.d.ts +1 -1
  300. package/lib-commonjs/components/MenuTrigger/renderMenuTrigger.js +3 -3
  301. package/lib-commonjs/components/MenuTrigger/renderMenuTrigger.js.map +1 -1
  302. package/lib-commonjs/components/MenuTrigger/useMenuTrigger.d.ts +2 -1
  303. package/lib-commonjs/components/MenuTrigger/useMenuTrigger.js +186 -7
  304. package/lib-commonjs/components/MenuTrigger/useMenuTrigger.js.map +1 -1
  305. package/lib-commonjs/contexts/menuContext.d.ts +1 -1
  306. package/lib-commonjs/contexts/menuContext.js +3 -3
  307. package/lib-commonjs/contexts/menuContext.js.map +1 -1
  308. package/lib-commonjs/contexts/menuGroupContext.d.ts +1 -1
  309. package/lib-commonjs/contexts/menuGroupContext.js +3 -3
  310. package/lib-commonjs/contexts/menuGroupContext.js.map +1 -1
  311. package/lib-commonjs/contexts/menuListContext.d.ts +1 -1
  312. package/lib-commonjs/contexts/menuListContext.js +3 -3
  313. package/lib-commonjs/contexts/menuListContext.js.map +1 -1
  314. package/lib-commonjs/contexts/menuTriggerContext.d.ts +1 -1
  315. package/lib-commonjs/contexts/menuTriggerContext.js +3 -3
  316. package/lib-commonjs/contexts/menuTriggerContext.js.map +1 -1
  317. package/lib-commonjs/selectable/useCheckmarkStyles.d.ts +1 -1
  318. package/lib-commonjs/selectable/useCheckmarkStyles.js +6 -6
  319. package/lib-commonjs/selectable/useCheckmarkStyles.js.map +1 -1
  320. package/lib-commonjs/utils/useIsSubmenu.js +1 -1
  321. package/lib-commonjs/utils/useIsSubmenu.js.map +1 -1
  322. package/package.json +10 -12
  323. package/lib/components/MenuTrigger/useTriggerElement.d.ts +0 -5
  324. package/lib/components/MenuTrigger/useTriggerElement.js +0 -166
  325. package/lib/components/MenuTrigger/useTriggerElement.js.map +0 -1
  326. package/lib-commonjs/components/MenuTrigger/useTriggerElement.d.ts +0 -5
  327. package/lib-commonjs/components/MenuTrigger/useTriggerElement.js +0 -181
  328. package/lib-commonjs/components/MenuTrigger/useTriggerElement.js.map +0 -1
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.useMenuDivider = void 0;
6
+ exports.useMenuDivider_unstable = void 0;
7
7
 
8
8
  const react_utilities_1 = /*#__PURE__*/require("@fluentui/react-utilities");
9
9
  /**
@@ -11,7 +11,7 @@ const react_utilities_1 = /*#__PURE__*/require("@fluentui/react-utilities");
11
11
  */
12
12
 
13
13
 
14
- const useMenuDivider = (props, ref) => {
14
+ const useMenuDivider_unstable = (props, ref) => {
15
15
  return {
16
16
  components: {
17
17
  root: 'div'
@@ -25,5 +25,5 @@ const useMenuDivider = (props, ref) => {
25
25
  };
26
26
  };
27
27
 
28
- exports.useMenuDivider = useMenuDivider;
28
+ exports.useMenuDivider_unstable = useMenuDivider_unstable;
29
29
  //# sourceMappingURL=useMenuDivider.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuDivider/useMenuDivider.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;AAIA;;AAEG;;;AACI,MAAM,cAAc,GAAG,CAAC,KAAD,EAA0B,GAA1B,KAA2E;AACvG,SAAO;AACL,IAAA,UAAU,EAAE;AACV,MAAA,IAAI,EAAE;AADI,KADP;AAIL,IAAA,IAAI,EAAE,iBAAA,CAAA,qBAAA,CAAsB,KAAtB,EAA6B;AACjC,MAAA,IAAI,EAAE,cAD2B;AAEjC,qBAAe,IAFkB;AAGjC,SAAG,KAH8B;AAIjC,MAAA;AAJiC,KAA7B;AAJD,GAAP;AAWD,CAZM;;AAAM,OAAA,CAAA,cAAA,GAAc,cAAd","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuDivider/useMenuDivider.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;AAIA;;AAEG;;;AACI,MAAM,uBAAuB,GAAG,CAAC,KAAD,EAA0B,GAA1B,KAA2E;AAChH,SAAO;AACL,IAAA,UAAU,EAAE;AACV,MAAA,IAAI,EAAE;AADI,KADP;AAIL,IAAA,IAAI,EAAE,iBAAA,CAAA,qBAAA,CAAsB,KAAtB,EAA6B;AACjC,MAAA,IAAI,EAAE,cAD2B;AAEjC,qBAAe,IAFkB;AAGjC,SAAG,KAH8B;AAIjC,MAAA;AAJiC,KAA7B;AAJD,GAAP;AAWD,CAZM;;AAAM,OAAA,CAAA,uBAAA,GAAuB,uBAAvB","sourceRoot":""}
@@ -1,3 +1,3 @@
1
1
  import type { MenuDividerState } from './MenuDivider.types';
2
2
  export declare const menuDividerClassName = "fui-MenuDivider";
3
- export declare const useMenuDividerStyles: (state: MenuDividerState) => MenuDividerState;
3
+ export declare const useMenuDividerStyles_unstable: (state: MenuDividerState) => MenuDividerState;
@@ -3,15 +3,15 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.useMenuDividerStyles = exports.menuDividerClassName = void 0;
6
+ exports.useMenuDividerStyles_unstable = exports.menuDividerClassName = void 0;
7
7
 
8
- const react_make_styles_1 = /*#__PURE__*/require("@fluentui/react-make-styles");
8
+ const react_1 = /*#__PURE__*/require("@griffel/react");
9
9
 
10
10
  const react_theme_1 = /*#__PURE__*/require("@fluentui/react-theme");
11
11
 
12
12
  exports.menuDividerClassName = 'fui-MenuDivider';
13
13
 
14
- const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
14
+ const useStyles = /*#__PURE__*/react_1.__styles({
15
15
  "root": {
16
16
  "Bqenvij": "f1mpe4l3",
17
17
  "B6of3ja": "fvjh0tl",
@@ -25,11 +25,11 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
25
25
  "d": [".f1mpe4l3{height:1px;}", ".fvjh0tl{margin-top:4px;}", ".f1rnx978{margin-right:-5px;}", ".f1q7jvqi{margin-left:-5px;}", ".fd1gkq{margin-bottom:4px;}", ".f14z66ap{width:auto;}", ".fn4h89p{background-color:var(--colorNeutralStroke2);}"]
26
26
  });
27
27
 
28
- const useMenuDividerStyles = state => {
28
+ const useMenuDividerStyles_unstable = state => {
29
29
  const styles = useStyles();
30
- state.root.className = react_make_styles_1.mergeClasses(exports.menuDividerClassName, styles.root, state.root.className);
30
+ state.root.className = react_1.mergeClasses(exports.menuDividerClassName, styles.root, state.root.className);
31
31
  return state;
32
32
  };
33
33
 
34
- exports.useMenuDividerStyles = useMenuDividerStyles;
34
+ exports.useMenuDividerStyles_unstable = useMenuDividerStyles_unstable;
35
35
  //# sourceMappingURL=useMenuDividerStyles.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuDivider/useMenuDividerStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AACA,MAAA,aAAA,gBAAA,OAAA,CAAA,uBAAA,CAAA;;AAGa,OAAA,CAAA,oBAAA,GAAuB,iBAAvB;;AAEb,MAAM,SAAS,gBAAG,mBAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;;AASO,MAAM,oBAAoB,GAAI,KAAD,IAA4B;AAC9D,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,mBAAA,CAAA,YAAA,CAAa,OAAA,CAAA,oBAAb,EAAmC,MAAM,CAAC,IAA1C,EAAgD,KAAK,CAAC,IAAN,CAAW,SAA3D,CAAvB;AAEA,SAAO,KAAP;AACD,CALM;;AAAM,OAAA,CAAA,oBAAA,GAAoB,oBAApB","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuDivider/useMenuDividerStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,OAAA,gBAAA,OAAA,CAAA,gBAAA,CAAA;;AACA,MAAA,aAAA,gBAAA,OAAA,CAAA,uBAAA,CAAA;;AAGa,OAAA,CAAA,oBAAA,GAAuB,iBAAvB;;AAEb,MAAM,SAAS,gBAAG,OAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;;AASO,MAAM,6BAA6B,GAAI,KAAD,IAA4B;AACvE,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,OAAA,CAAA,YAAA,CAAa,OAAA,CAAA,oBAAb,EAAmC,MAAM,CAAC,IAA1C,EAAgD,KAAK,CAAC,IAAN,CAAW,SAA3D,CAAvB;AAEA,SAAO,KAAP;AACD,CALM;;AAAM,OAAA,CAAA,6BAAA,GAA6B,6BAA7B","sourceRoot":""}
@@ -1,6 +1,6 @@
1
1
  import type { MenuGroupProps } from './MenuGroup.types';
2
2
  import type { ForwardRefComponent } from '@fluentui/react-utilities';
3
3
  /**
4
- * Define a styled MenuGroup, using the `useMenuGroup` hook.
4
+ * Define a styled MenuGroup, using the `useMenuGroup_unstable` hook.
5
5
  */
6
6
  export declare const MenuGroup: ForwardRefComponent<MenuGroupProps>;
@@ -15,15 +15,15 @@ const useMenuGroupContextValues_1 = /*#__PURE__*/require("./useMenuGroupContextV
15
15
 
16
16
  const useMenuGroupStyles_1 = /*#__PURE__*/require("./useMenuGroupStyles");
17
17
  /**
18
- * Define a styled MenuGroup, using the `useMenuGroup` hook.
18
+ * Define a styled MenuGroup, using the `useMenuGroup_unstable` hook.
19
19
  */
20
20
 
21
21
 
22
22
  exports.MenuGroup = /*#__PURE__*/React.forwardRef((props, ref) => {
23
- const state = useMenuGroup_1.useMenuGroup(props, ref);
24
- const contextValues = useMenuGroupContextValues_1.useMenuGroupContextValues(state);
25
- useMenuGroupStyles_1.useMenuGroupStyles(state);
26
- return renderMenuGroup_1.renderMenuGroup(state, contextValues);
23
+ const state = useMenuGroup_1.useMenuGroup_unstable(props, ref);
24
+ const contextValues = useMenuGroupContextValues_1.useMenuGroupContextValues_unstable(state);
25
+ useMenuGroupStyles_1.useMenuGroupStyles_unstable(state);
26
+ return renderMenuGroup_1.renderMenuGroup_unstable(state, contextValues);
27
27
  });
28
28
  exports.MenuGroup.displayName = 'MenuGroup';
29
29
  //# sourceMappingURL=MenuGroup.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuGroup/MenuGroup.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,cAAA,gBAAA,OAAA,CAAA,gBAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,mBAAA,CAAA;;AACA,MAAA,2BAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AAGA,MAAA,oBAAA,gBAAA,OAAA,CAAA,sBAAA,CAAA;AAEA;;AAEG;;;AACU,OAAA,CAAA,SAAA,gBAAiD,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;AAC5F,QAAM,KAAK,GAAG,cAAA,CAAA,YAAA,CAAa,KAAb,EAAoB,GAApB,CAAd;AACA,QAAM,aAAa,GAAG,2BAAA,CAAA,yBAAA,CAA0B,KAA1B,CAAtB;AAEA,EAAA,oBAAA,CAAA,kBAAA,CAAmB,KAAnB;AAEA,SAAO,iBAAA,CAAA,eAAA,CAAgB,KAAhB,EAAuB,aAAvB,CAAP;AACD,CAP6D,CAAjD;AASb,OAAA,CAAA,SAAA,CAAU,WAAV,GAAwB,WAAxB","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuGroup/MenuGroup.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,cAAA,gBAAA,OAAA,CAAA,gBAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,mBAAA,CAAA;;AACA,MAAA,2BAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AAGA,MAAA,oBAAA,gBAAA,OAAA,CAAA,sBAAA,CAAA;AAEA;;AAEG;;;AACU,OAAA,CAAA,SAAA,gBAAiD,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;AAC5F,QAAM,KAAK,GAAG,cAAA,CAAA,qBAAA,CAAsB,KAAtB,EAA6B,GAA7B,CAAd;AACA,QAAM,aAAa,GAAG,2BAAA,CAAA,kCAAA,CAAmC,KAAnC,CAAtB;AAEA,EAAA,oBAAA,CAAA,2BAAA,CAA4B,KAA5B;AAEA,SAAO,iBAAA,CAAA,wBAAA,CAAyB,KAAzB,EAAgC,aAAhC,CAAP;AACD,CAP6D,CAAjD;AASb,OAAA,CAAA,SAAA,CAAU,WAAV,GAAwB,WAAxB","sourceRoot":""}
@@ -1,7 +1,7 @@
1
- import { ComponentProps, ComponentState, IntrinsicShorthandProps } from '@fluentui/react-utilities';
2
- import { MenuGroupContextValue } from '../../contexts/menuGroupContext';
1
+ import type { ComponentProps, ComponentState, IntrinsicSlotProps } from '@fluentui/react-utilities';
2
+ import type { MenuGroupContextValue } from '../../contexts/menuGroupContext';
3
3
  export declare type MenuGroupSlots = {
4
- root: IntrinsicShorthandProps<'div'>;
4
+ root: IntrinsicSlotProps<'div'>;
5
5
  };
6
6
  export declare type MenuGroupProps = ComponentProps<MenuGroupSlots>;
7
7
  export declare type MenuGroupState = ComponentState<MenuGroupSlots> & {
@@ -3,4 +3,4 @@ import { MenuGroupContextValues, MenuGroupState } from './MenuGroup.types';
3
3
  * Redefine the render function to add slots. Reuse the menugroup structure but add
4
4
  * slots to children.
5
5
  */
6
- export declare const renderMenuGroup: (state: MenuGroupState, contextValues: MenuGroupContextValues) => JSX.Element;
6
+ export declare const renderMenuGroup_unstable: (state: MenuGroupState, contextValues: MenuGroupContextValues) => JSX.Element;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.renderMenuGroup = void 0;
6
+ exports.renderMenuGroup_unstable = void 0;
7
7
 
8
8
  const React = /*#__PURE__*/require("react");
9
9
 
@@ -16,7 +16,7 @@ const menuGroupContext_1 = /*#__PURE__*/require("../../contexts/menuGroupContext
16
16
  */
17
17
 
18
18
 
19
- const renderMenuGroup = (state, contextValues) => {
19
+ const renderMenuGroup_unstable = (state, contextValues) => {
20
20
  const {
21
21
  slots,
22
22
  slotProps
@@ -27,5 +27,5 @@ const renderMenuGroup = (state, contextValues) => {
27
27
  }));
28
28
  };
29
29
 
30
- exports.renderMenuGroup = renderMenuGroup;
30
+ exports.renderMenuGroup_unstable = renderMenuGroup_unstable;
31
31
  //# sourceMappingURL=renderMenuGroup.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuGroup/renderMenuGroup.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;;AAEA,MAAA,kBAAA,gBAAA,OAAA,CAAA,iCAAA,CAAA;AAEA;;;AAGG;;;AACI,MAAM,eAAe,GAAG,CAAC,KAAD,EAAwB,aAAxB,KAAiE;AAC9F,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,iBAAA,CAAA,QAAA,CAAyB,KAAzB,CAA7B;AAEA,SACE,KAAA,CAAA,aAAA,CAAC,kBAAA,CAAA,wBAAD,EAAyB;AAAC,IAAA,KAAK,EAAE,aAAa,CAAC;AAAtB,GAAzB,EACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CADF,CADF;AAKD,CARM;;AAAM,OAAA,CAAA,eAAA,GAAe,eAAf","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuGroup/renderMenuGroup.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;;AAEA,MAAA,kBAAA,gBAAA,OAAA,CAAA,iCAAA,CAAA;AAEA;;;AAGG;;;AACI,MAAM,wBAAwB,GAAG,CAAC,KAAD,EAAwB,aAAxB,KAAiE;AACvG,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,iBAAA,CAAA,QAAA,CAAyB,KAAzB,CAA7B;AAEA,SACE,KAAA,CAAA,aAAA,CAAC,kBAAA,CAAA,wBAAD,EAAyB;AAAC,IAAA,KAAK,EAAE,aAAa,CAAC;AAAtB,GAAzB,EACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CADF,CADF;AAKD,CARM;;AAAM,OAAA,CAAA,wBAAA,GAAwB,wBAAxB","sourceRoot":""}
@@ -3,4 +3,4 @@ import { MenuGroupProps, MenuGroupState } from './MenuGroup.types';
3
3
  /**
4
4
  * Given user props, returns state and render function for a MenuGroup.
5
5
  */
6
- export declare function useMenuGroup(props: MenuGroupProps, ref: React.Ref<HTMLElement>): MenuGroupState;
6
+ export declare function useMenuGroup_unstable(props: MenuGroupProps, ref: React.Ref<HTMLElement>): MenuGroupState;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.useMenuGroup = void 0;
6
+ exports.useMenuGroup_unstable = void 0;
7
7
 
8
8
  const react_utilities_1 = /*#__PURE__*/require("@fluentui/react-utilities");
9
9
  /**
@@ -11,7 +11,7 @@ const react_utilities_1 = /*#__PURE__*/require("@fluentui/react-utilities");
11
11
  */
12
12
 
13
13
 
14
- function useMenuGroup(props, ref) {
14
+ function useMenuGroup_unstable(props, ref) {
15
15
  const headerId = react_utilities_1.useId('menu-group');
16
16
  return {
17
17
  components: {
@@ -27,5 +27,5 @@ function useMenuGroup(props, ref) {
27
27
  };
28
28
  }
29
29
 
30
- exports.useMenuGroup = useMenuGroup;
30
+ exports.useMenuGroup_unstable = useMenuGroup_unstable;
31
31
  //# sourceMappingURL=useMenuGroup.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuGroup/useMenuGroup.ts"],"names":[],"mappings":";;;;;;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;AAGA;;AAEG;;;AACH,SAAgB,YAAhB,CAA6B,KAA7B,EAAoD,GAApD,EAA+E;AAC7E,QAAM,QAAQ,GAAG,iBAAA,CAAA,KAAA,CAAM,YAAN,CAAjB;AAEA,SAAO;AACL,IAAA,UAAU,EAAE;AACV,MAAA,IAAI,EAAE;AADI,KADP;AAIL,IAAA,IAAI,EAAE,iBAAA,CAAA,qBAAA,CAAsB,KAAtB,EAA6B;AACjC,MAAA,GADiC;AAEjC,yBAAmB,QAFc;AAGjC,MAAA,IAAI,EAAE,OAH2B;AAIjC,SAAG;AAJ8B,KAA7B,CAJD;AAUL,IAAA,QAAQ,EAAE;AAVL,GAAP;AAYD;;AAfD,OAAA,CAAA,YAAA,GAAA,YAAA","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuGroup/useMenuGroup.ts"],"names":[],"mappings":";;;;;;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;AAGA;;AAEG;;;AACH,SAAgB,qBAAhB,CAAsC,KAAtC,EAA6D,GAA7D,EAAwF;AACtF,QAAM,QAAQ,GAAG,iBAAA,CAAA,KAAA,CAAM,YAAN,CAAjB;AAEA,SAAO;AACL,IAAA,UAAU,EAAE;AACV,MAAA,IAAI,EAAE;AADI,KADP;AAIL,IAAA,IAAI,EAAE,iBAAA,CAAA,qBAAA,CAAsB,KAAtB,EAA6B;AACjC,MAAA,GADiC;AAEjC,yBAAmB,QAFc;AAGjC,MAAA,IAAI,EAAE,OAH2B;AAIjC,SAAG;AAJ8B,KAA7B,CAJD;AAUL,IAAA,QAAQ,EAAE;AAVL,GAAP;AAYD;;AAfD,OAAA,CAAA,qBAAA,GAAA,qBAAA","sourceRoot":""}
@@ -1,2 +1,2 @@
1
1
  import type { MenuGroupContextValues, MenuGroupState } from './MenuGroup.types';
2
- export declare function useMenuGroupContextValues(state: MenuGroupState): MenuGroupContextValues;
2
+ export declare function useMenuGroupContextValues_unstable(state: MenuGroupState): MenuGroupContextValues;
@@ -3,11 +3,11 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.useMenuGroupContextValues = void 0;
6
+ exports.useMenuGroupContextValues_unstable = void 0;
7
7
 
8
8
  const React = /*#__PURE__*/require("react");
9
9
 
10
- function useMenuGroupContextValues(state) {
10
+ function useMenuGroupContextValues_unstable(state) {
11
11
  const {
12
12
  headerId
13
13
  } = state;
@@ -19,5 +19,5 @@ function useMenuGroupContextValues(state) {
19
19
  };
20
20
  }
21
21
 
22
- exports.useMenuGroupContextValues = useMenuGroupContextValues;
22
+ exports.useMenuGroupContextValues_unstable = useMenuGroupContextValues_unstable;
23
23
  //# sourceMappingURL=useMenuGroupContextValues.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuGroup/useMenuGroupContextValues.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AAGA,SAAgB,yBAAhB,CAA0C,KAA1C,EAA+D;AAC7D,QAAM;AAAE,IAAA;AAAF,MAAe,KAArB;AACA,QAAM,SAAS,GAAG,KAAK,CAAC,OAAN,CAAc,OAAO;AAAE,IAAA;AAAF,GAAP,CAAd,EAAoC,CAAC,QAAD,CAApC,CAAlB;AAEA,SAAO;AAAE,IAAA;AAAF,GAAP;AACD;;AALD,OAAA,CAAA,yBAAA,GAAA,yBAAA","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuGroup/useMenuGroupContextValues.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AAGA,SAAgB,kCAAhB,CAAmD,KAAnD,EAAwE;AACtE,QAAM;AAAE,IAAA;AAAF,MAAe,KAArB;AACA,QAAM,SAAS,GAAG,KAAK,CAAC,OAAN,CAAc,OAAO;AAAE,IAAA;AAAF,GAAP,CAAd,EAAoC,CAAC,QAAD,CAApC,CAAlB;AAEA,SAAO;AAAE,IAAA;AAAF,GAAP;AACD;;AALD,OAAA,CAAA,kCAAA,GAAA,kCAAA","sourceRoot":""}
@@ -1,3 +1,3 @@
1
1
  import type { MenuGroupState } from './MenuGroup.types';
2
2
  export declare const menuGroupClassName = "fui-MenuGroup";
3
- export declare const useMenuGroupStyles: (state: MenuGroupState) => MenuGroupState;
3
+ export declare const useMenuGroupStyles_unstable: (state: MenuGroupState) => MenuGroupState;
@@ -3,16 +3,16 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.useMenuGroupStyles = exports.menuGroupClassName = void 0;
6
+ exports.useMenuGroupStyles_unstable = exports.menuGroupClassName = void 0;
7
7
 
8
- const react_make_styles_1 = /*#__PURE__*/require("@fluentui/react-make-styles");
8
+ const react_1 = /*#__PURE__*/require("@griffel/react");
9
9
 
10
10
  exports.menuGroupClassName = 'fui-MenuGroup';
11
11
 
12
- const useMenuGroupStyles = state => {
13
- state.root.className = react_make_styles_1.mergeClasses(exports.menuGroupClassName, state.root.className);
12
+ const useMenuGroupStyles_unstable = state => {
13
+ state.root.className = react_1.mergeClasses(exports.menuGroupClassName, state.root.className);
14
14
  return state;
15
15
  };
16
16
 
17
- exports.useMenuGroupStyles = useMenuGroupStyles;
17
+ exports.useMenuGroupStyles_unstable = useMenuGroupStyles_unstable;
18
18
  //# sourceMappingURL=useMenuGroupStyles.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuGroup/useMenuGroupStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AAGa,OAAA,CAAA,kBAAA,GAAqB,eAArB;;AAEN,MAAM,kBAAkB,GAAI,KAAD,IAA0C;AAC1E,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,mBAAA,CAAA,YAAA,CAAa,OAAA,CAAA,kBAAb,EAAiC,KAAK,CAAC,IAAN,CAAW,SAA5C,CAAvB;AAEA,SAAO,KAAP;AACD,CAJM;;AAAM,OAAA,CAAA,kBAAA,GAAkB,kBAAlB","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuGroup/useMenuGroupStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,OAAA,gBAAA,OAAA,CAAA,gBAAA,CAAA;;AAGa,OAAA,CAAA,kBAAA,GAAqB,eAArB;;AAEN,MAAM,2BAA2B,GAAI,KAAD,IAA0C;AACnF,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,OAAA,CAAA,YAAA,CAAa,OAAA,CAAA,kBAAb,EAAiC,KAAK,CAAC,IAAN,CAAW,SAA5C,CAAvB;AAEA,SAAO,KAAP;AACD,CAJM;;AAAM,OAAA,CAAA,2BAAA,GAA2B,2BAA3B","sourceRoot":""}
@@ -1,6 +1,6 @@
1
1
  import type { MenuGroupHeaderProps } from './MenuGroupHeader.types';
2
2
  import type { ForwardRefComponent } from '@fluentui/react-utilities';
3
3
  /**
4
- * Define a styled MenuGroupHeader, using the `useMenuGroupHeader` hook.
4
+ * Define a styled MenuGroupHeader, using the `useMenuGroupHeader_unstable` hook.
5
5
  */
6
6
  export declare const MenuGroupHeader: ForwardRefComponent<MenuGroupHeaderProps>;
@@ -13,14 +13,14 @@ const useMenuGroupHeaderStyles_1 = /*#__PURE__*/require("./useMenuGroupHeaderSty
13
13
 
14
14
  const renderMenuGroupHeader_1 = /*#__PURE__*/require("./renderMenuGroupHeader");
15
15
  /**
16
- * Define a styled MenuGroupHeader, using the `useMenuGroupHeader` hook.
16
+ * Define a styled MenuGroupHeader, using the `useMenuGroupHeader_unstable` hook.
17
17
  */
18
18
 
19
19
 
20
20
  exports.MenuGroupHeader = /*#__PURE__*/React.forwardRef((props, ref) => {
21
- const state = useMenuGroupHeader_1.useMenuGroupHeader(props, ref);
22
- useMenuGroupHeaderStyles_1.useMenuGroupHeaderStyles(state);
23
- return renderMenuGroupHeader_1.renderMenuGroupHeader(state);
21
+ const state = useMenuGroupHeader_1.useMenuGroupHeader_unstable(props, ref);
22
+ useMenuGroupHeaderStyles_1.useMenuGroupHeaderStyles_unstable(state);
23
+ return renderMenuGroupHeader_1.renderMenuGroupHeader_unstable(state);
24
24
  });
25
25
  exports.MenuGroupHeader.displayName = 'MenuGroupHeader';
26
26
  //# sourceMappingURL=MenuGroupHeader.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuGroupHeader/MenuGroupHeader.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,oBAAA,gBAAA,OAAA,CAAA,sBAAA,CAAA;;AACA,MAAA,0BAAA,gBAAA,OAAA,CAAA,4BAAA,CAAA;;AACA,MAAA,uBAAA,gBAAA,OAAA,CAAA,yBAAA,CAAA;AAIA;;AAEG;;;AACU,OAAA,CAAA,eAAA,gBAA6D,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;AACxG,QAAM,KAAK,GAAG,oBAAA,CAAA,kBAAA,CAAmB,KAAnB,EAA0B,GAA1B,CAAd;AACA,EAAA,0BAAA,CAAA,wBAAA,CAAyB,KAAzB;AAEA,SAAO,uBAAA,CAAA,qBAAA,CAAsB,KAAtB,CAAP;AACD,CALyE,CAA7D;AAOb,OAAA,CAAA,eAAA,CAAgB,WAAhB,GAA8B,iBAA9B","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuGroupHeader/MenuGroupHeader.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,oBAAA,gBAAA,OAAA,CAAA,sBAAA,CAAA;;AACA,MAAA,0BAAA,gBAAA,OAAA,CAAA,4BAAA,CAAA;;AACA,MAAA,uBAAA,gBAAA,OAAA,CAAA,yBAAA,CAAA;AAIA;;AAEG;;;AACU,OAAA,CAAA,eAAA,gBAA6D,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;AACxG,QAAM,KAAK,GAAG,oBAAA,CAAA,2BAAA,CAA4B,KAA5B,EAAmC,GAAnC,CAAd;AACA,EAAA,0BAAA,CAAA,iCAAA,CAAkC,KAAlC;AAEA,SAAO,uBAAA,CAAA,8BAAA,CAA+B,KAA/B,CAAP;AACD,CALyE,CAA7D;AAOb,OAAA,CAAA,eAAA,CAAgB,WAAhB,GAA8B,iBAA9B","sourceRoot":""}
@@ -1,6 +1,6 @@
1
- import { ComponentProps, ComponentState, IntrinsicShorthandProps } from '@fluentui/react-utilities';
1
+ import type { ComponentProps, ComponentState, IntrinsicSlotProps } from '@fluentui/react-utilities';
2
2
  export declare type MenuGroupHeaderSlots = {
3
- root: IntrinsicShorthandProps<'div'>;
3
+ root: IntrinsicSlotProps<'div'>;
4
4
  };
5
5
  export declare type MenuGroupHeaderProps = ComponentProps<MenuGroupHeaderSlots>;
6
6
  export declare type MenuGroupHeaderState = ComponentState<MenuGroupHeaderSlots>;
@@ -3,4 +3,4 @@ import { MenuGroupHeaderState } from './MenuGroupHeader.types';
3
3
  * Redefine the render function to add slots. Reuse the menugroupheader structure but add
4
4
  * slots to children.
5
5
  */
6
- export declare const renderMenuGroupHeader: (state: MenuGroupHeaderState) => JSX.Element;
6
+ export declare const renderMenuGroupHeader_unstable: (state: MenuGroupHeaderState) => JSX.Element;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.renderMenuGroupHeader = void 0;
6
+ exports.renderMenuGroupHeader_unstable = void 0;
7
7
 
8
8
  const React = /*#__PURE__*/require("react");
9
9
 
@@ -14,7 +14,7 @@ const react_utilities_1 = /*#__PURE__*/require("@fluentui/react-utilities");
14
14
  */
15
15
 
16
16
 
17
- const renderMenuGroupHeader = state => {
17
+ const renderMenuGroupHeader_unstable = state => {
18
18
  const {
19
19
  slots,
20
20
  slotProps
@@ -23,5 +23,5 @@ const renderMenuGroupHeader = state => {
23
23
  });
24
24
  };
25
25
 
26
- exports.renderMenuGroupHeader = renderMenuGroupHeader;
26
+ exports.renderMenuGroupHeader_unstable = renderMenuGroupHeader_unstable;
27
27
  //# sourceMappingURL=renderMenuGroupHeader.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuGroupHeader/renderMenuGroupHeader.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;AAGA;;;AAGG;;;AACI,MAAM,qBAAqB,GAAI,KAAD,IAAgC;AACnE,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,iBAAA,CAAA,QAAA,CAA+B,KAA/B,CAA7B;AAEA,SAAO,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CAAP;AACD,CAJM;;AAAM,OAAA,CAAA,qBAAA,GAAqB,qBAArB","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuGroupHeader/renderMenuGroupHeader.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;AAGA;;;AAGG;;;AACI,MAAM,8BAA8B,GAAI,KAAD,IAAgC;AAC5E,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,iBAAA,CAAA,QAAA,CAA+B,KAA/B,CAA7B;AAEA,SAAO,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CAAP;AACD,CAJM;;AAAM,OAAA,CAAA,8BAAA,GAA8B,8BAA9B","sourceRoot":""}
@@ -3,4 +3,4 @@ import { MenuGroupHeaderProps, MenuGroupHeaderState } from './MenuGroupHeader.ty
3
3
  /**
4
4
  * Given user props, returns state and render function for a MenuGroupHeader.
5
5
  */
6
- export declare function useMenuGroupHeader(props: MenuGroupHeaderProps, ref: React.Ref<HTMLElement>): MenuGroupHeaderState;
6
+ export declare function useMenuGroupHeader_unstable(props: MenuGroupHeaderProps, ref: React.Ref<HTMLElement>): MenuGroupHeaderState;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.useMenuGroupHeader = void 0;
6
+ exports.useMenuGroupHeader_unstable = void 0;
7
7
 
8
8
  const menuGroupContext_1 = /*#__PURE__*/require("../../contexts/menuGroupContext");
9
9
 
@@ -13,10 +13,10 @@ const react_utilities_1 = /*#__PURE__*/require("@fluentui/react-utilities");
13
13
  */
14
14
 
15
15
 
16
- function useMenuGroupHeader(props, ref) {
16
+ function useMenuGroupHeader_unstable(props, ref) {
17
17
  const {
18
18
  headerId: id
19
- } = menuGroupContext_1.useMenuGroupContext();
19
+ } = menuGroupContext_1.useMenuGroupContext_unstable();
20
20
  return {
21
21
  components: {
22
22
  root: 'div'
@@ -29,5 +29,5 @@ function useMenuGroupHeader(props, ref) {
29
29
  };
30
30
  }
31
31
 
32
- exports.useMenuGroupHeader = useMenuGroupHeader;
32
+ exports.useMenuGroupHeader_unstable = useMenuGroupHeader_unstable;
33
33
  //# sourceMappingURL=useMenuGroupHeader.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuGroupHeader/useMenuGroupHeader.ts"],"names":[],"mappings":";;;;;;;AACA,MAAA,kBAAA,gBAAA,OAAA,CAAA,iCAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;AAGA;;AAEG;;;AACH,SAAgB,kBAAhB,CAAmC,KAAnC,EAAgE,GAAhE,EAA2F;AACzF,QAAM;AAAE,IAAA,QAAQ,EAAE;AAAZ,MAAmB,kBAAA,CAAA,mBAAA,EAAzB;AAEA,SAAO;AACL,IAAA,UAAU,EAAE;AACV,MAAA,IAAI,EAAE;AADI,KADP;AAIL,IAAA,IAAI,EAAE,iBAAA,CAAA,qBAAA,CAAsB,KAAtB,EAA6B;AACjC,MAAA,GADiC;AAEjC,MAAA,EAFiC;AAGjC,SAAG;AAH8B,KAA7B;AAJD,GAAP;AAUD;;AAbD,OAAA,CAAA,kBAAA,GAAA,kBAAA","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuGroupHeader/useMenuGroupHeader.ts"],"names":[],"mappings":";;;;;;;AACA,MAAA,kBAAA,gBAAA,OAAA,CAAA,iCAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;AAGA;;AAEG;;;AACH,SAAgB,2BAAhB,CACE,KADF,EAEE,GAFF,EAE6B;AAE3B,QAAM;AAAE,IAAA,QAAQ,EAAE;AAAZ,MAAmB,kBAAA,CAAA,4BAAA,EAAzB;AAEA,SAAO;AACL,IAAA,UAAU,EAAE;AACV,MAAA,IAAI,EAAE;AADI,KADP;AAIL,IAAA,IAAI,EAAE,iBAAA,CAAA,qBAAA,CAAsB,KAAtB,EAA6B;AACjC,MAAA,GADiC;AAEjC,MAAA,EAFiC;AAGjC,SAAG;AAH8B,KAA7B;AAJD,GAAP;AAUD;;AAhBD,OAAA,CAAA,2BAAA,GAAA,2BAAA","sourceRoot":""}
@@ -1,3 +1,3 @@
1
1
  import type { MenuGroupHeaderState } from './MenuGroupHeader.types';
2
2
  export declare const menuGroupHeaderClassName = "fui-MenuGroupHeader";
3
- export declare const useMenuGroupHeaderStyles: (state: MenuGroupHeaderState) => MenuGroupHeaderState;
3
+ export declare const useMenuGroupHeaderStyles_unstable: (state: MenuGroupHeaderState) => MenuGroupHeaderState;
@@ -3,15 +3,15 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.useMenuGroupHeaderStyles = exports.menuGroupHeaderClassName = void 0;
6
+ exports.useMenuGroupHeaderStyles_unstable = exports.menuGroupHeaderClassName = void 0;
7
7
 
8
- const react_make_styles_1 = /*#__PURE__*/require("@fluentui/react-make-styles");
8
+ const react_1 = /*#__PURE__*/require("@griffel/react");
9
9
 
10
10
  const react_theme_1 = /*#__PURE__*/require("@fluentui/react-theme");
11
11
 
12
12
  exports.menuGroupHeaderClassName = 'fui-MenuGroupHeader';
13
13
 
14
- const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
14
+ const useStyles = /*#__PURE__*/react_1.__styles({
15
15
  "root": {
16
16
  "Be2twd7": "fy9rknc",
17
17
  "sj55zd": "f11d4kpn",
@@ -26,11 +26,11 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
26
26
  "d": [".fy9rknc{font-size:var(--fontSizeBase200);}", ".f11d4kpn{color:var(--colorNeutralForeground3);}", ".fjlbh76{padding-left:12px;}", ".f11qrl6u{padding-right:12px;}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".f1d2rq10{height:32px;}", ".f22iagw{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}", ".f122n59{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}"]
27
27
  });
28
28
 
29
- const useMenuGroupHeaderStyles = state => {
29
+ const useMenuGroupHeaderStyles_unstable = state => {
30
30
  const styles = useStyles();
31
- state.root.className = react_make_styles_1.mergeClasses(exports.menuGroupHeaderClassName, styles.root, state.root.className);
31
+ state.root.className = react_1.mergeClasses(exports.menuGroupHeaderClassName, styles.root, state.root.className);
32
32
  return state;
33
33
  };
34
34
 
35
- exports.useMenuGroupHeaderStyles = useMenuGroupHeaderStyles;
35
+ exports.useMenuGroupHeaderStyles_unstable = useMenuGroupHeaderStyles_unstable;
36
36
  //# sourceMappingURL=useMenuGroupHeaderStyles.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuGroupHeader/useMenuGroupHeaderStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AACA,MAAA,aAAA,gBAAA,OAAA,CAAA,uBAAA,CAAA;;AAGa,OAAA,CAAA,wBAAA,GAA2B,qBAA3B;;AAEb,MAAM,SAAS,gBAAG,mBAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;;AAaO,MAAM,wBAAwB,GAAI,KAAD,IAAgC;AACtE,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,mBAAA,CAAA,YAAA,CAAa,OAAA,CAAA,wBAAb,EAAuC,MAAM,CAAC,IAA9C,EAAoD,KAAK,CAAC,IAAN,CAAW,SAA/D,CAAvB;AAEA,SAAO,KAAP;AACD,CALM;;AAAM,OAAA,CAAA,wBAAA,GAAwB,wBAAxB","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuGroupHeader/useMenuGroupHeaderStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,OAAA,gBAAA,OAAA,CAAA,gBAAA,CAAA;;AACA,MAAA,aAAA,gBAAA,OAAA,CAAA,uBAAA,CAAA;;AAGa,OAAA,CAAA,wBAAA,GAA2B,qBAA3B;;AAEb,MAAM,SAAS,gBAAG,OAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;;AAaO,MAAM,iCAAiC,GAAI,KAAD,IAAgC;AAC/E,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,OAAA,CAAA,YAAA,CAAa,OAAA,CAAA,wBAAb,EAAuC,MAAM,CAAC,IAA9C,EAAoD,KAAK,CAAC,IAAN,CAAW,SAA/D,CAAvB;AAEA,SAAO,KAAP;AACD,CALM;;AAAM,OAAA,CAAA,iCAAA,GAAiC,iCAAjC","sourceRoot":""}
@@ -1,6 +1,6 @@
1
1
  import type { MenuItemProps } from './MenuItem.types';
2
2
  import type { ForwardRefComponent } from '@fluentui/react-utilities';
3
3
  /**
4
- * Define a styled MenuItem, using the `useMenuItem` and `useMenuItemStyles` hook.
4
+ * Define a styled MenuItem, using the `useMenuItem_unstable` and `useMenuItemStyles_unstable` hook.
5
5
  */
6
6
  export declare const MenuItem: ForwardRefComponent<MenuItemProps>;
@@ -13,14 +13,14 @@ const renderMenuItem_1 = /*#__PURE__*/require("./renderMenuItem");
13
13
 
14
14
  const useMenuItemStyles_1 = /*#__PURE__*/require("./useMenuItemStyles");
15
15
  /**
16
- * Define a styled MenuItem, using the `useMenuItem` and `useMenuItemStyles` hook.
16
+ * Define a styled MenuItem, using the `useMenuItem_unstable` and `useMenuItemStyles_unstable` hook.
17
17
  */
18
18
 
19
19
 
20
20
  exports.MenuItem = /*#__PURE__*/React.forwardRef((props, ref) => {
21
- const state = useMenuItem_1.useMenuItem(props, ref);
22
- useMenuItemStyles_1.useMenuItemStyles(state);
23
- return renderMenuItem_1.renderMenuItem(state);
21
+ const state = useMenuItem_1.useMenuItem_unstable(props, ref);
22
+ useMenuItemStyles_1.useMenuItemStyles_unstable(state);
23
+ return renderMenuItem_1.renderMenuItem_unstable(state);
24
24
  });
25
25
  exports.MenuItem.displayName = 'MenuItem';
26
26
  //# sourceMappingURL=MenuItem.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuItem/MenuItem.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,aAAA,gBAAA,OAAA,CAAA,eAAA,CAAA;;AACA,MAAA,gBAAA,gBAAA,OAAA,CAAA,kBAAA,CAAA;;AACA,MAAA,mBAAA,gBAAA,OAAA,CAAA,qBAAA,CAAA;AAIA;;AAEG;;;AACU,OAAA,CAAA,QAAA,gBAA+C,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;AAC1F,QAAM,KAAK,GAAG,aAAA,CAAA,WAAA,CAAY,KAAZ,EAAmB,GAAnB,CAAd;AAEA,EAAA,mBAAA,CAAA,iBAAA,CAAkB,KAAlB;AACA,SAAO,gBAAA,CAAA,cAAA,CAAe,KAAf,CAAP;AACD,CAL2D,CAA/C;AAOb,OAAA,CAAA,QAAA,CAAS,WAAT,GAAuB,UAAvB","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuItem/MenuItem.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,aAAA,gBAAA,OAAA,CAAA,eAAA,CAAA;;AACA,MAAA,gBAAA,gBAAA,OAAA,CAAA,kBAAA,CAAA;;AACA,MAAA,mBAAA,gBAAA,OAAA,CAAA,qBAAA,CAAA;AAIA;;AAEG;;;AACU,OAAA,CAAA,QAAA,gBAA+C,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;AAC1F,QAAM,KAAK,GAAG,aAAA,CAAA,oBAAA,CAAqB,KAArB,EAA4B,GAA5B,CAAd;AAEA,EAAA,mBAAA,CAAA,0BAAA,CAA2B,KAA3B;AACA,SAAO,gBAAA,CAAA,uBAAA,CAAwB,KAAxB,CAAP;AACD,CAL2D,CAA/C;AAOb,OAAA,CAAA,QAAA,CAAS,WAAT,GAAuB,UAAvB","sourceRoot":""}
@@ -1,28 +1,28 @@
1
- import { ComponentProps, ComponentState, IntrinsicShorthandProps } from '@fluentui/react-utilities';
1
+ import type { ComponentProps, ComponentState, IntrinsicSlotProps } from '@fluentui/react-utilities';
2
2
  export declare type MenuItemSlots = {
3
- root: IntrinsicShorthandProps<'div'>;
3
+ root: IntrinsicSlotProps<'div'>;
4
4
  /**
5
5
  * Icon slot rendered before children content
6
6
  */
7
- icon?: IntrinsicShorthandProps<'span'>;
7
+ icon?: IntrinsicSlotProps<'span'>;
8
8
  /**
9
9
  * A helper slot for alignment when a menu item is used with selectable menuitems
10
10
  * Avoid using this slot as a replacement for MenuItemCheckbox and MenuItemRadio components
11
11
  */
12
- checkmark?: IntrinsicShorthandProps<'span'>;
12
+ checkmark?: IntrinsicSlotProps<'span'>;
13
13
  /**
14
14
  * Icon slot that shows the indicator for a submenu
15
15
  */
16
- submenuIndicator?: IntrinsicShorthandProps<'span'>;
16
+ submenuIndicator?: IntrinsicSlotProps<'span'>;
17
17
  /**
18
18
  * Component children are placed in this slot
19
19
  * Avoid using the `children` property in this slot in favour of Component children whenever possible
20
20
  */
21
- content?: IntrinsicShorthandProps<'span'>;
21
+ content?: IntrinsicSlotProps<'span'>;
22
22
  /**
23
23
  * Secondary content rendered opposite the primary content (e.g Shortcut text)
24
24
  */
25
- secondaryContent?: IntrinsicShorthandProps<'span'>;
25
+ secondaryContent?: IntrinsicSlotProps<'span'>;
26
26
  };
27
27
  declare type MenuItemCommons = {
28
28
  /**
@@ -2,4 +2,4 @@ import type { MenuItemState } from './MenuItem.types';
2
2
  /**
3
3
  * Function that renders the final JSX of the component
4
4
  */
5
- export declare const renderMenuItem: (state: MenuItemState) => JSX.Element;
5
+ export declare const renderMenuItem_unstable: (state: MenuItemState) => JSX.Element;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.renderMenuItem = void 0;
6
+ exports.renderMenuItem_unstable = void 0;
7
7
 
8
8
  const React = /*#__PURE__*/require("react");
9
9
 
@@ -13,7 +13,7 @@ const react_utilities_1 = /*#__PURE__*/require("@fluentui/react-utilities");
13
13
  */
14
14
 
15
15
 
16
- const renderMenuItem = state => {
16
+ const renderMenuItem_unstable = state => {
17
17
  const {
18
18
  slots,
19
19
  slotProps
@@ -27,5 +27,5 @@ const renderMenuItem = state => {
27
27
  }));
28
28
  };
29
29
 
30
- exports.renderMenuItem = renderMenuItem;
30
+ exports.renderMenuItem_unstable = renderMenuItem_unstable;
31
31
  //# sourceMappingURL=renderMenuItem.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuItem/renderMenuItem.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;AAGA;;AAEG;;;AACI,MAAM,cAAc,GAAI,KAAD,IAAyB;AACrD,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,iBAAA,CAAA,QAAA,CAAwB,KAAxB,CAA7B;AAEA,SACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,EACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,SAAP,EAAgB,EAAA,GAAK,SAAS,CAAC;AAAf,GAAhB,CADF,EAEE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CAFF,EAGE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,OAAP,EAAc,EAAA,GAAK,SAAS,CAAC;AAAf,GAAd,CAHF,EAIE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,gBAAP,EAAuB,EAAA,GAAK,SAAS,CAAC;AAAf,GAAvB,CAJF,EAKE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,gBAAP,EAAuB,EAAA,GAAK,SAAS,CAAC;AAAf,GAAvB,CALF,CADF;AASD,CAZM;;AAAM,OAAA,CAAA,cAAA,GAAc,cAAd","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuItem/renderMenuItem.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;AAGA;;AAEG;;;AACI,MAAM,uBAAuB,GAAI,KAAD,IAAyB;AAC9D,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,iBAAA,CAAA,QAAA,CAAwB,KAAxB,CAA7B;AAEA,SACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,EACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,SAAP,EAAgB,EAAA,GAAK,SAAS,CAAC;AAAf,GAAhB,CADF,EAEE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CAFF,EAGE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,OAAP,EAAc,EAAA,GAAK,SAAS,CAAC;AAAf,GAAd,CAHF,EAIE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,gBAAP,EAAuB,EAAA,GAAK,SAAS,CAAC;AAAf,GAAvB,CAJF,EAKE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,gBAAP,EAAuB,EAAA,GAAK,SAAS,CAAC;AAAf,GAAvB,CALF,CADF;AASD,CAZM;;AAAM,OAAA,CAAA,uBAAA,GAAuB,uBAAvB","sourceRoot":""}
@@ -8,7 +8,7 @@ exports.useCharacterSearch = void 0;
8
8
  const menuListContext_1 = /*#__PURE__*/require("../../contexts/menuListContext");
9
9
 
10
10
  const useCharacterSearch = (state, ref) => {
11
- const setFocusByFirstCharacter = menuListContext_1.useMenuListContext(context => context.setFocusByFirstCharacter);
11
+ const setFocusByFirstCharacter = menuListContext_1.useMenuListContext_unstable(context => context.setFocusByFirstCharacter);
12
12
  const {
13
13
  onKeyDown: onKeyDownBase
14
14
  } = state.root;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuItem/useCharacterSearch.ts"],"names":[],"mappings":";;;;;;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,gCAAA,CAAA;;AAGO,MAAM,kBAAkB,GAAG,CAAC,KAAD,EAAuB,GAAvB,KAA4D;AAC5F,QAAM,wBAAwB,GAAG,iBAAA,CAAA,kBAAA,CAAmB,OAAO,IAAI,OAAO,CAAC,wBAAtC,CAAjC;AAEA,QAAM;AAAE,IAAA,SAAS,EAAE;AAAb,MAA+B,KAAK,CAAC,IAA3C;;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,CAAC,IAAG;;;AACzB,QAAI,aAAJ,EAAmB;AACjB,MAAA,aAAa,CAAC,CAAD,CAAb;AACD;;AAED,QAAI,CAAA,CAAA,EAAA,GAAA,CAAC,CAAC,GAAF,MAAK,IAAL,IAAK,EAAA,KAAA,KAAA,CAAL,GAAK,KAAA,CAAL,GAAK,EAAA,CAAE,MAAP,IAAgB,CAApB,EAAuB;AACrB;AACD;;AAED,QAAI,GAAG,CAAC,OAAR,EAAiB;AACf,MAAA,wBAAwB,KAAA,IAAxB,IAAA,wBAAwB,KAAA,KAAA,CAAxB,GAAwB,KAAA,CAAxB,GAAA,wBAAwB,CAAG,CAAH,EAAM,GAAG,CAAC,OAAV,CAAxB;AACD;AACF,GAZD;;AAcA,SAAO,KAAP;AACD,CAnBM;;AAAM,OAAA,CAAA,kBAAA,GAAkB,kBAAlB","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuItem/useCharacterSearch.ts"],"names":[],"mappings":";;;;;;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,gCAAA,CAAA;;AAGO,MAAM,kBAAkB,GAAG,CAAC,KAAD,EAAuB,GAAvB,KAA4D;AAC5F,QAAM,wBAAwB,GAAG,iBAAA,CAAA,2BAAA,CAA4B,OAAO,IAAI,OAAO,CAAC,wBAA/C,CAAjC;AAEA,QAAM;AAAE,IAAA,SAAS,EAAE;AAAb,MAA+B,KAAK,CAAC,IAA3C;;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,CAAC,IAAG;;;AACzB,QAAI,aAAJ,EAAmB;AACjB,MAAA,aAAa,CAAC,CAAD,CAAb;AACD;;AAED,QAAI,CAAA,CAAA,EAAA,GAAA,CAAC,CAAC,GAAF,MAAK,IAAL,IAAK,EAAA,KAAA,KAAA,CAAL,GAAK,KAAA,CAAL,GAAK,EAAA,CAAE,MAAP,IAAgB,CAApB,EAAuB;AACrB;AACD;;AAED,QAAI,GAAG,CAAC,OAAR,EAAiB;AACf,MAAA,wBAAwB,KAAA,IAAxB,IAAA,wBAAwB,KAAA,KAAA,CAAxB,GAAwB,KAAA,CAAxB,GAAA,wBAAwB,CAAG,CAAH,EAAM,GAAG,CAAC,OAAV,CAAxB;AACD;AACF,GAZD;;AAcA,SAAO,KAAP;AACD,CAnBM;;AAAM,OAAA,CAAA,kBAAA,GAAkB,kBAAlB","sourceRoot":""}
@@ -3,4 +3,4 @@ import type { MenuItemProps, MenuItemState } from './MenuItem.types';
3
3
  /**
4
4
  * Returns the props and state required to render the component
5
5
  */
6
- export declare const useMenuItem: (props: MenuItemProps, ref: React.Ref<HTMLElement>) => MenuItemState;
6
+ export declare const useMenuItem_unstable: (props: MenuItemProps, ref: React.Ref<HTMLElement>) => MenuItemState;