@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.useMenuList = void 0;
6
+ exports.useMenuList_unstable = void 0;
7
7
 
8
8
  const React = /*#__PURE__*/require("react");
9
9
 
@@ -21,7 +21,7 @@ const menuContext_2 = /*#__PURE__*/require("../../contexts/menuContext");
21
21
  */
22
22
 
23
23
 
24
- const useMenuList = (props, ref) => {
24
+ const useMenuList_unstable = (props, ref) => {
25
25
  const focusAttributes = react_tabster_1.useArrowNavigationGroup({
26
26
  circular: true
27
27
  });
@@ -143,18 +143,18 @@ const useMenuList = (props, ref) => {
143
143
  return state;
144
144
  };
145
145
 
146
- exports.useMenuList = useMenuList;
146
+ exports.useMenuList_unstable = useMenuList_unstable;
147
147
  /**
148
148
  * Adds some sugar to fetching multiple context selector values
149
149
  */
150
150
 
151
151
  const useMenuContextSelectors = () => {
152
- const checkedValues = menuContext_1.useMenuContext(context => context.checkedValues);
153
- const onCheckedValueChange = menuContext_1.useMenuContext(context => context.onCheckedValueChange);
154
- const defaultCheckedValues = menuContext_1.useMenuContext(context => context.defaultCheckedValues);
155
- const triggerId = menuContext_1.useMenuContext(context => context.triggerId);
156
- const hasIcons = menuContext_1.useMenuContext(context => context.hasIcons);
157
- const hasCheckmarks = menuContext_1.useMenuContext(context => context.hasCheckmarks);
152
+ const checkedValues = menuContext_1.useMenuContext_unstable(context => context.checkedValues);
153
+ const onCheckedValueChange = menuContext_1.useMenuContext_unstable(context => context.onCheckedValueChange);
154
+ const defaultCheckedValues = menuContext_1.useMenuContext_unstable(context => context.defaultCheckedValues);
155
+ const triggerId = menuContext_1.useMenuContext_unstable(context => context.triggerId);
156
+ const hasIcons = menuContext_1.useMenuContext_unstable(context => context.hasIcons);
157
+ const hasCheckmarks = menuContext_1.useMenuContext_unstable(context => context.hasCheckmarks);
158
158
  return {
159
159
  checkedValues,
160
160
  onCheckedValueChange,
@@ -1 +1 @@
1
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,CAAA,uBAAA,CAAwB,OAAO,IAAI,OAAO,CAAC,aAA3C,CAAtB;AAEA,SAAO;AACL,IAAA,aADK;AAEL,IAAA,oBAFK;AAGL,IAAA,oBAHK;AAIL,IAAA,SAJK;AAKL,IAAA,QALK;AAML,IAAA;AANK,GAAP;AAQD,CAhBD;AAkBA;;AAEG;;;AACH,MAAM,wBAAwB,GAAG,CAC/B,KAD+B,EAE/B,YAF+B,EAG/B,cAH+B,KAI7B;AACF,MAAI,sBAAsB,GAAG,KAA7B;;AACA,OAAK,MAAM,GAAX,IAAkB,YAAlB,EAAgC;AAC9B,QAAI,KAAK,CAAC,GAAD,CAAT,EAA4G;AAC1G,MAAA,sBAAsB,GAAG,IAAzB;AACD;AACF;;AAED,SAAO,cAAc,IAAI,sBAAzB;AACD,CAbD","sourceRoot":""}
@@ -1,2 +1,2 @@
1
1
  import type { MenuListContextValues, MenuListState } from './MenuList.types';
2
- export declare function useMenuListContextValues(state: MenuListState): MenuListContextValues;
2
+ export declare function useMenuListContextValues_unstable(state: MenuListState): MenuListContextValues;
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.useMenuListContextValues = void 0;
6
+ exports.useMenuListContextValues_unstable = void 0;
7
7
 
8
- function useMenuListContextValues(state) {
8
+ function useMenuListContextValues_unstable(state) {
9
9
  const {
10
10
  onCheckedValueChange,
11
11
  checkedValues,
@@ -30,5 +30,5 @@ function useMenuListContextValues(state) {
30
30
  };
31
31
  }
32
32
 
33
- exports.useMenuListContextValues = useMenuListContextValues;
33
+ exports.useMenuListContextValues_unstable = useMenuListContextValues_unstable;
34
34
  //# sourceMappingURL=useMenuListContextValues.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuList/useMenuListContextValues.ts"],"names":[],"mappings":";;;;;;;AAEA,SAAgB,wBAAhB,CAAyC,KAAzC,EAA6D;AAC3D,QAAM;AACJ,IAAA,oBADI;AAEJ,IAAA,aAFI;AAGJ,IAAA,cAHI;AAIJ,IAAA,WAJI;AAKJ,IAAA,wBALI;AAMJ,IAAA,QANI;AAOJ,IAAA;AAPI,MAQF,KARJ,CAD2D,CAW3D;;AACA,QAAM,QAAQ,GAAG;AACf,IAAA,oBADe;AAEf,IAAA,aAFe;AAGf,IAAA,cAHe;AAIf,IAAA,WAJe;AAKf,IAAA,wBALe;AAMf,IAAA,QANe;AAOf,IAAA;AAPe,GAAjB;AAUA,SAAO;AAAE,IAAA;AAAF,GAAP;AACD;;AAvBD,OAAA,CAAA,wBAAA,GAAA,wBAAA","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuList/useMenuListContextValues.ts"],"names":[],"mappings":";;;;;;;AAEA,SAAgB,iCAAhB,CAAkD,KAAlD,EAAsE;AACpE,QAAM;AACJ,IAAA,oBADI;AAEJ,IAAA,aAFI;AAGJ,IAAA,cAHI;AAIJ,IAAA,WAJI;AAKJ,IAAA,wBALI;AAMJ,IAAA,QANI;AAOJ,IAAA;AAPI,MAQF,KARJ,CADoE,CAWpE;;AACA,QAAM,QAAQ,GAAG;AACf,IAAA,oBADe;AAEf,IAAA,aAFe;AAGf,IAAA,cAHe;AAIf,IAAA,WAJe;AAKf,IAAA,wBALe;AAMf,IAAA,QANe;AAOf,IAAA;AAPe,GAAjB;AAUA,SAAO;AAAE,IAAA;AAAF,GAAP;AACD;;AAvBD,OAAA,CAAA,iCAAA,GAAA,iCAAA","sourceRoot":""}
@@ -3,4 +3,4 @@ export declare const menuListClassName = "fui-MenuList";
3
3
  /**
4
4
  * Apply styling to the Menu slots based on the state
5
5
  */
6
- export declare const useMenuListStyles: (state: MenuListState) => MenuListState;
6
+ export declare const useMenuListStyles_unstable: (state: MenuListState) => MenuListState;
@@ -3,13 +3,13 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.useMenuListStyles = exports.menuListClassName = void 0;
6
+ exports.useMenuListStyles_unstable = exports.menuListClassName = 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.menuListClassName = 'fui-MenuList';
11
11
 
12
- const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
12
+ const useStyles = /*#__PURE__*/react_1.__styles({
13
13
  "root": {
14
14
  "mc9l5x": "f22iagw",
15
15
  "Beiy3e4": "f1vx9l62",
@@ -24,11 +24,11 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
24
24
  */
25
25
 
26
26
 
27
- const useMenuListStyles = state => {
27
+ const useMenuListStyles_unstable = state => {
28
28
  const styles = useStyles();
29
- state.root.className = react_make_styles_1.mergeClasses(exports.menuListClassName, styles.root, state.root.className);
29
+ state.root.className = react_1.mergeClasses(exports.menuListClassName, styles.root, state.root.className);
30
30
  return state;
31
31
  };
32
32
 
33
- exports.useMenuListStyles = useMenuListStyles;
33
+ exports.useMenuListStyles_unstable = useMenuListStyles_unstable;
34
34
  //# sourceMappingURL=useMenuListStyles.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuList/useMenuListStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AAGa,OAAA,CAAA,iBAAA,GAAoB,cAApB;;AAEb,MAAM,SAAS,gBAAG,mBAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAQA;;AAEG;;;AACI,MAAM,iBAAiB,GAAI,KAAD,IAAwC;AACvE,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,mBAAA,CAAA,YAAA,CAAa,OAAA,CAAA,iBAAb,EAAgC,MAAM,CAAC,IAAvC,EAA6C,KAAK,CAAC,IAAN,CAAW,SAAxD,CAAvB;AACA,SAAO,KAAP;AACD,CAJM;;AAAM,OAAA,CAAA,iBAAA,GAAiB,iBAAjB","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuList/useMenuListStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,OAAA,gBAAA,OAAA,CAAA,gBAAA,CAAA;;AAGa,OAAA,CAAA,iBAAA,GAAoB,cAApB;;AAEb,MAAM,SAAS,gBAAG,OAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAQA;;AAEG;;;AACI,MAAM,0BAA0B,GAAI,KAAD,IAAwC;AAChF,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,OAAA,CAAA,YAAA,CAAa,OAAA,CAAA,iBAAb,EAAgC,MAAM,CAAC,IAAvC,EAA6C,KAAK,CAAC,IAAN,CAAW,SAAxD,CAAvB;AACA,SAAO,KAAP;AACD,CAJM;;AAAM,OAAA,CAAA,0BAAA,GAA0B,0BAA1B","sourceRoot":""}
@@ -18,9 +18,9 @@ const renderMenuPopover_1 = /*#__PURE__*/require("./renderMenuPopover");
18
18
 
19
19
 
20
20
  exports.MenuPopover = /*#__PURE__*/React.forwardRef((props, ref) => {
21
- const state = useMenuPopover_1.useMenuPopover(props, ref);
22
- useMenuPopoverStyles_1.useMenuPopoverStyles(state);
23
- return renderMenuPopover_1.renderMenuPopover(state);
21
+ const state = useMenuPopover_1.useMenuPopover_unstable(props, ref);
22
+ useMenuPopoverStyles_1.useMenuPopoverStyles_unstable(state);
23
+ return renderMenuPopover_1.renderMenuPopover_unstable(state);
24
24
  });
25
25
  exports.MenuPopover.displayName = 'MenuPopover';
26
26
  //# sourceMappingURL=MenuPopover.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuPopover/MenuPopover.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,gBAAA,gBAAA,OAAA,CAAA,kBAAA,CAAA;;AACA,MAAA,sBAAA,gBAAA,OAAA,CAAA,wBAAA,CAAA;;AACA,MAAA,mBAAA,gBAAA,OAAA,CAAA,qBAAA,CAAA;AAIA;;AAEG;;;AACU,OAAA,CAAA,WAAA,gBAAqD,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;AAChG,QAAM,KAAK,GAAG,gBAAA,CAAA,cAAA,CAAe,KAAf,EAAsB,GAAtB,CAAd;AAEA,EAAA,sBAAA,CAAA,oBAAA,CAAqB,KAArB;AACA,SAAO,mBAAA,CAAA,iBAAA,CAAkB,KAAlB,CAAP;AACD,CALiE,CAArD;AAOb,OAAA,CAAA,WAAA,CAAY,WAAZ,GAA0B,aAA1B","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuPopover/MenuPopover.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,gBAAA,gBAAA,OAAA,CAAA,kBAAA,CAAA;;AACA,MAAA,sBAAA,gBAAA,OAAA,CAAA,wBAAA,CAAA;;AACA,MAAA,mBAAA,gBAAA,OAAA,CAAA,qBAAA,CAAA;AAIA;;AAEG;;;AACU,OAAA,CAAA,WAAA,gBAAqD,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;AAChG,QAAM,KAAK,GAAG,gBAAA,CAAA,uBAAA,CAAwB,KAAxB,EAA+B,GAA/B,CAAd;AAEA,EAAA,sBAAA,CAAA,6BAAA,CAA8B,KAA9B;AACA,SAAO,mBAAA,CAAA,0BAAA,CAA2B,KAA3B,CAAP;AACD,CALiE,CAArD;AAOb,OAAA,CAAA,WAAA,CAAY,WAAZ,GAA0B,aAA1B","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 MenuPopoverSlots = {
3
- root: IntrinsicShorthandProps<'div'>;
3
+ root: IntrinsicSlotProps<'div'>;
4
4
  };
5
5
  /**
6
6
  * MenuPopover Props
@@ -2,4 +2,4 @@ import { MenuPopoverState } from './MenuPopover.types';
2
2
  /**
3
3
  * Render the final JSX of MenuPopover
4
4
  */
5
- export declare const renderMenuPopover: (state: MenuPopoverState) => JSX.Element;
5
+ export declare const renderMenuPopover_unstable: (state: MenuPopoverState) => JSX.Element;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.renderMenuPopover = void 0;
6
+ exports.renderMenuPopover_unstable = void 0;
7
7
 
8
8
  const React = /*#__PURE__*/require("react");
9
9
 
@@ -15,7 +15,7 @@ const react_portal_1 = /*#__PURE__*/require("@fluentui/react-portal");
15
15
  */
16
16
 
17
17
 
18
- const renderMenuPopover = state => {
18
+ const renderMenuPopover_unstable = state => {
19
19
  const {
20
20
  slots,
21
21
  slotProps
@@ -30,5 +30,5 @@ const renderMenuPopover = state => {
30
30
  }));
31
31
  };
32
32
 
33
- exports.renderMenuPopover = renderMenuPopover;
33
+ exports.renderMenuPopover_unstable = renderMenuPopover_unstable;
34
34
  //# sourceMappingURL=renderMenuPopover.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuPopover/renderMenuPopover.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;;AAEA,MAAA,cAAA,gBAAA,OAAA,CAAA,wBAAA,CAAA;AAEA;;AAEG;;;AACI,MAAM,iBAAiB,GAAI,KAAD,IAA4B;AAC3D,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,iBAAA,CAAA,QAAA,CAA2B,KAA3B,CAA7B;;AAEA,MAAI,KAAK,CAAC,MAAV,EAAkB;AAChB,WAAO,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,KAAX,CAAP;AACD;;AAED,SACE,KAAA,CAAA,aAAA,CAAC,cAAA,CAAA,MAAD,EAAO,IAAP,EACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CADF,CADF;AAKD,CAZM;;AAAM,OAAA,CAAA,iBAAA,GAAiB,iBAAjB","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuPopover/renderMenuPopover.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;;AAEA,MAAA,cAAA,gBAAA,OAAA,CAAA,wBAAA,CAAA;AAEA;;AAEG;;;AACI,MAAM,0BAA0B,GAAI,KAAD,IAA4B;AACpE,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,iBAAA,CAAA,QAAA,CAA2B,KAA3B,CAA7B;;AAEA,MAAI,KAAK,CAAC,MAAV,EAAkB;AAChB,WAAO,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,KAAX,CAAP;AACD;;AAED,SACE,KAAA,CAAA,aAAA,CAAC,cAAA,CAAA,MAAD,EAAO,IAAP,EACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CADF,CADF;AAKD,CAZM;;AAAM,OAAA,CAAA,0BAAA,GAA0B,0BAA1B","sourceRoot":""}
@@ -3,10 +3,10 @@ import { MenuPopoverProps, MenuPopoverState } from './MenuPopover.types';
3
3
  /**
4
4
  * Create the state required to render MenuPopover.
5
5
  *
6
- * The returned state can be modified with hooks such as useMenuPopoverStyles,
7
- * before being passed to renderMenuPopover.
6
+ * The returned state can be modified with hooks such as useMenuPopoverStyles_unstable,
7
+ * before being passed to renderMenuPopover_unstable.
8
8
  *
9
9
  * @param props - props from this instance of MenuPopover
10
10
  * @param ref - reference to root HTMLElement of MenuPopover
11
11
  */
12
- export declare const useMenuPopover: (props: MenuPopoverProps, ref: React.Ref<HTMLElement>) => MenuPopoverState;
12
+ export declare const useMenuPopover_unstable: (props: MenuPopoverProps, ref: React.Ref<HTMLElement>) => MenuPopoverState;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.useMenuPopover = void 0;
6
+ exports.useMenuPopover_unstable = void 0;
7
7
 
8
8
  const React = /*#__PURE__*/require("react");
9
9
 
@@ -21,20 +21,20 @@ const useIsSubmenu_1 = /*#__PURE__*/require("../../utils/useIsSubmenu");
21
21
  /**
22
22
  * Create the state required to render MenuPopover.
23
23
  *
24
- * The returned state can be modified with hooks such as useMenuPopoverStyles,
25
- * before being passed to renderMenuPopover.
24
+ * The returned state can be modified with hooks such as useMenuPopoverStyles_unstable,
25
+ * before being passed to renderMenuPopover_unstable.
26
26
  *
27
27
  * @param props - props from this instance of MenuPopover
28
28
  * @param ref - reference to root HTMLElement of MenuPopover
29
29
  */
30
30
 
31
31
 
32
- const useMenuPopover = (props, ref) => {
32
+ const useMenuPopover_unstable = (props, ref) => {
33
33
  var _a;
34
34
 
35
- const popoverRef = menuContext_1.useMenuContext(context => context.menuPopoverRef);
36
- const setOpen = menuContext_1.useMenuContext(context => context.setOpen);
37
- const openOnHover = menuContext_1.useMenuContext(context => context.openOnHover);
35
+ const popoverRef = menuContext_1.useMenuContext_unstable(context => context.menuPopoverRef);
36
+ const setOpen = menuContext_1.useMenuContext_unstable(context => context.setOpen);
37
+ const openOnHover = menuContext_1.useMenuContext_unstable(context => context.openOnHover);
38
38
  const isSubmenu = useIsSubmenu_1.useIsSubmenu();
39
39
  const canDispatchCustomEventRef = React.useRef(true);
40
40
  const throttleDispatchTimerRef = React.useRef(0);
@@ -63,7 +63,7 @@ const useMenuPopover = (props, ref) => {
63
63
  React.useEffect(() => {
64
64
  () => clearTimeout(throttleDispatchTimerRef.current);
65
65
  }, []);
66
- const inline = (_a = menuContext_1.useMenuContext(context => context.inline)) !== null && _a !== void 0 ? _a : false;
66
+ const inline = (_a = menuContext_1.useMenuContext_unstable(context => context.inline)) !== null && _a !== void 0 ? _a : false;
67
67
  const rootProps = react_utilities_1.getNativeElementProps('div', {
68
68
  role: 'presentation',
69
69
  ...props,
@@ -116,5 +116,5 @@ const useMenuPopover = (props, ref) => {
116
116
  };
117
117
  };
118
118
 
119
- exports.useMenuPopover = useMenuPopover;
119
+ exports.useMenuPopover_unstable = useMenuPopover_unstable;
120
120
  //# sourceMappingURL=useMenuPopover.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuPopover/useMenuPopover.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,eAAA,gBAAA,OAAA,CAAA,yBAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;;AAEA,MAAA,aAAA,gBAAA,OAAA,CAAA,4BAAA,CAAA;;AACA,MAAA,OAAA,gBAAA,OAAA,CAAA,mBAAA,CAAA;;AACA,MAAA,uBAAA,gBAAA,OAAA,CAAA,iCAAA,CAAA;;AACA,MAAA,cAAA,gBAAA,OAAA,CAAA,0BAAA,CAAA;AAEA;;;;;;;;AAQG;;;AACI,MAAM,cAAc,GAAG,CAAC,KAAD,EAA0B,GAA1B,KAA2E;;;AACvG,QAAM,UAAU,GAAG,aAAA,CAAA,cAAA,CAAe,OAAO,IAAI,OAAO,CAAC,cAAlC,CAAnB;AACA,QAAM,OAAO,GAAG,aAAA,CAAA,cAAA,CAAe,OAAO,IAAI,OAAO,CAAC,OAAlC,CAAhB;AACA,QAAM,WAAW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,EAAiB;AACf,MAAA,OAAO,CAAC,CAAD,EAAI;AAAE,QAAA,IAAI,EAAE,KAAR;AAAe,QAAA,QAAQ,EAAE;AAAzB,OAAJ,CAAP;AACA,MAAA,CAAC,CAAC,cAAF;AACD;;AAED,IAAA,iBAAiB,KAAA,IAAjB,IAAA,iBAAiB,KAAA,KAAA,CAAjB,GAAiB,KAAA,CAAjB,GAAA,iBAAiB,CAAG,CAAH,CAAjB;AACD,GAfqB,CAAtB;AAiBA,SAAO;AACL,IAAA,MADK;AAEL,IAAA,UAAU,EAAE;AACV,MAAA,IAAI,EAAE;AADI,KAFP;AAKL,IAAA,IAAI,EAAE;AALD,GAAP;AAOD,CA9EM;;AAAM,OAAA,CAAA,uBAAA,GAAuB,uBAAvB","sourceRoot":""}
@@ -3,4 +3,4 @@ export declare const menuPopoverClassName = "fui-MenuPopover";
3
3
  /**
4
4
  * Apply styling to the Menu slots based on the state
5
5
  */
6
- export declare const useMenuPopoverStyles: (state: MenuPopoverState) => MenuPopoverState;
6
+ export declare const useMenuPopoverStyles_unstable: (state: MenuPopoverState) => MenuPopoverState;
@@ -3,15 +3,15 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.useMenuPopoverStyles = exports.menuPopoverClassName = void 0;
6
+ exports.useMenuPopoverStyles_unstable = exports.menuPopoverClassName = 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.menuPopoverClassName = 'fui-MenuPopover';
13
13
 
14
- const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
14
+ const useStyles = /*#__PURE__*/react_1.__styles({
15
15
  "root": {
16
16
  "Bbmb7ep": ["f1aa9q02", "f16jpd5f"],
17
17
  "Beyfa6y": ["f16jpd5f", "f1aa9q02"],
@@ -47,11 +47,11 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
47
47
  */
48
48
 
49
49
 
50
- const useMenuPopoverStyles = state => {
50
+ const useMenuPopoverStyles_unstable = state => {
51
51
  const styles = useStyles();
52
- state.root.className = react_make_styles_1.mergeClasses(exports.menuPopoverClassName, styles.root, state.root.className);
52
+ state.root.className = react_1.mergeClasses(exports.menuPopoverClassName, styles.root, state.root.className);
53
53
  return state;
54
54
  };
55
55
 
56
- exports.useMenuPopoverStyles = useMenuPopoverStyles;
56
+ exports.useMenuPopoverStyles_unstable = useMenuPopoverStyles_unstable;
57
57
  //# sourceMappingURL=useMenuPopoverStyles.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuPopover/useMenuPopoverStyles.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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAaA;;AAEG;;;AACI,MAAM,oBAAoB,GAAI,KAAD,IAA8C;AAChF,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;AACA,SAAO,KAAP;AACD,CAJM;;AAAM,OAAA,CAAA,oBAAA,GAAoB,oBAApB","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuPopover/useMenuPopoverStyles.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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAaA;;AAEG;;;AACI,MAAM,6BAA6B,GAAI,KAAD,IAA8C;AACzF,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;AACA,SAAO,KAAP;AACD,CAJM;;AAAM,OAAA,CAAA,6BAAA,GAA6B,6BAA7B","sourceRoot":""}
@@ -18,9 +18,9 @@ const useMenuSplitGroupStyles_1 = /*#__PURE__*/require("./useMenuSplitGroupStyle
18
18
 
19
19
 
20
20
  exports.MenuSplitGroup = /*#__PURE__*/React.forwardRef((props, ref) => {
21
- const state = useMenuSplitGroup_1.useMenuSplitGroup(props, ref);
22
- useMenuSplitGroupStyles_1.useMenuSplitGroupStyles(state);
23
- return renderMenuSplitGroup_1.renderMenuSplitGroup(state);
21
+ const state = useMenuSplitGroup_1.useMenuSplitGroup_unstable(props, ref);
22
+ useMenuSplitGroupStyles_1.useMenuSplitGroupStyles_unstable(state);
23
+ return renderMenuSplitGroup_1.renderMenuSplitGroup_unstable(state);
24
24
  });
25
25
  exports.MenuSplitGroup.displayName = 'MenuSplitGroup';
26
26
  //# sourceMappingURL=MenuSplitGroup.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuSplitGroup/MenuSplitGroup.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,mBAAA,gBAAA,OAAA,CAAA,qBAAA,CAAA;;AACA,MAAA,sBAAA,gBAAA,OAAA,CAAA,wBAAA,CAAA;;AACA,MAAA,yBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;AAIA;;AAEG;;;AACU,OAAA,CAAA,cAAA,gBAA2D,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;AACtG,QAAM,KAAK,GAAG,mBAAA,CAAA,iBAAA,CAAkB,KAAlB,EAAyB,GAAzB,CAAd;AAEA,EAAA,yBAAA,CAAA,uBAAA,CAAwB,KAAxB;AACA,SAAO,sBAAA,CAAA,oBAAA,CAAqB,KAArB,CAAP;AACD,CALuE,CAA3D;AAOb,OAAA,CAAA,cAAA,CAAe,WAAf,GAA6B,gBAA7B","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuSplitGroup/MenuSplitGroup.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,mBAAA,gBAAA,OAAA,CAAA,qBAAA,CAAA;;AACA,MAAA,sBAAA,gBAAA,OAAA,CAAA,wBAAA,CAAA;;AACA,MAAA,yBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;AAIA;;AAEG;;;AACU,OAAA,CAAA,cAAA,gBAA2D,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;AACtG,QAAM,KAAK,GAAG,mBAAA,CAAA,0BAAA,CAA2B,KAA3B,EAAkC,GAAlC,CAAd;AAEA,EAAA,yBAAA,CAAA,gCAAA,CAAiC,KAAjC;AACA,SAAO,sBAAA,CAAA,6BAAA,CAA8B,KAA9B,CAAP;AACD,CALuE,CAA3D;AAOb,OAAA,CAAA,cAAA,CAAe,WAAf,GAA6B,gBAA7B","sourceRoot":""}
@@ -1,6 +1,6 @@
1
- import type { ComponentProps, ComponentState, IntrinsicShorthandProps } from '@fluentui/react-utilities';
1
+ import type { ComponentProps, ComponentState, IntrinsicSlotProps } from '@fluentui/react-utilities';
2
2
  export declare type MenuSplitGroupSlots = {
3
- root: IntrinsicShorthandProps<'div'>;
3
+ root: IntrinsicSlotProps<'div'>;
4
4
  };
5
5
  export declare type MenuSplitGroupCommons = {};
6
6
  /**
@@ -2,4 +2,4 @@ import type { MenuSplitGroupState } from './MenuSplitGroup.types';
2
2
  /**
3
3
  * Render the final JSX of MenuSplitGroup
4
4
  */
5
- export declare const renderMenuSplitGroup: (state: MenuSplitGroupState) => JSX.Element;
5
+ export declare const renderMenuSplitGroup_unstable: (state: MenuSplitGroupState) => JSX.Element;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.renderMenuSplitGroup = void 0;
6
+ exports.renderMenuSplitGroup_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 renderMenuSplitGroup = state => {
16
+ const renderMenuSplitGroup_unstable = state => {
17
17
  const {
18
18
  slots,
19
19
  slotProps
@@ -22,5 +22,5 @@ const renderMenuSplitGroup = state => {
22
22
  });
23
23
  };
24
24
 
25
- exports.renderMenuSplitGroup = renderMenuSplitGroup;
25
+ exports.renderMenuSplitGroup_unstable = renderMenuSplitGroup_unstable;
26
26
  //# sourceMappingURL=renderMenuSplitGroup.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuSplitGroup/renderMenuSplitGroup.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;AAGA;;AAEG;;;AACI,MAAM,oBAAoB,GAAI,KAAD,IAA+B;AACjE,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,iBAAA,CAAA,QAAA,CAA8B,KAA9B,CAA7B;AAEA,SAAO,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CAAP;AACD,CAJM;;AAAM,OAAA,CAAA,oBAAA,GAAoB,oBAApB","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuSplitGroup/renderMenuSplitGroup.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;AAGA;;AAEG;;;AACI,MAAM,6BAA6B,GAAI,KAAD,IAA+B;AAC1E,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,iBAAA,CAAA,QAAA,CAA8B,KAA9B,CAA7B;AAEA,SAAO,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CAAP;AACD,CAJM;;AAAM,OAAA,CAAA,6BAAA,GAA6B,6BAA7B","sourceRoot":""}
@@ -3,10 +3,10 @@ import type { MenuSplitGroupProps, MenuSplitGroupState } from './MenuSplitGroup.
3
3
  /**
4
4
  * Create the state required to render MenuSplitGroup.
5
5
  *
6
- * The returned state can be modified with hooks such as useMenuSplitGroupStyles,
7
- * before being passed to renderMenuSplitGroup.
6
+ * The returned state can be modified with hooks such as useMenuSplitGroupStyles_unstable,
7
+ * before being passed to renderMenuSplitGroup_unstable.
8
8
  *
9
9
  * @param props - props from this instance of MenuSplitGroup
10
10
  * @param ref - reference to root HTMLElement of MenuSplitGroup
11
11
  */
12
- export declare const useMenuSplitGroup: (props: MenuSplitGroupProps, ref: React.Ref<HTMLElement>) => MenuSplitGroupState;
12
+ export declare const useMenuSplitGroup_unstable: (props: MenuSplitGroupProps, ref: React.Ref<HTMLElement>) => MenuSplitGroupState;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.useMenuSplitGroup = void 0;
6
+ exports.useMenuSplitGroup_unstable = void 0;
7
7
 
8
8
  const React = /*#__PURE__*/require("react");
9
9
 
@@ -17,15 +17,15 @@ const keyboard_keys_1 = /*#__PURE__*/require("@fluentui/keyboard-keys");
17
17
  /**
18
18
  * Create the state required to render MenuSplitGroup.
19
19
  *
20
- * The returned state can be modified with hooks such as useMenuSplitGroupStyles,
21
- * before being passed to renderMenuSplitGroup.
20
+ * The returned state can be modified with hooks such as useMenuSplitGroupStyles_unstable,
21
+ * before being passed to renderMenuSplitGroup_unstable.
22
22
  *
23
23
  * @param props - props from this instance of MenuSplitGroup
24
24
  * @param ref - reference to root HTMLElement of MenuSplitGroup
25
25
  */
26
26
 
27
27
 
28
- const useMenuSplitGroup = (props, ref) => {
28
+ const useMenuSplitGroup_unstable = (props, ref) => {
29
29
  const innerRef = React.useRef();
30
30
  const {
31
31
  dir,
@@ -77,5 +77,5 @@ const useMenuSplitGroup = (props, ref) => {
77
77
  };
78
78
  };
79
79
 
80
- exports.useMenuSplitGroup = useMenuSplitGroup;
80
+ exports.useMenuSplitGroup_unstable = useMenuSplitGroup_unstable;
81
81
  //# sourceMappingURL=useMenuSplitGroup.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuSplitGroup/useMenuSplitGroup.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;;AACA,MAAA,eAAA,gBAAA,OAAA,CAAA,yBAAA,CAAA;;AACA,MAAA,uBAAA,gBAAA,OAAA,CAA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GAAI,KAAA,CAAJ,GAAA,IAAI,CAAE,KAAN,EAAA;AACD;AACF,GApBe,EAqBhB,CAAC,iBAAD,EAAoB,iBAApB,EAAuC,cAAvC,EAAuD,YAAvD,EAAqE,YAArE,CArBgB,CAAlB;AAwBA,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,OAD2B;AAEjC,MAAA,GAAG,EAAE,iBAAA,CAAA,aAAA,CAAc,GAAd,EAAmB,QAAnB,CAF4B;AAGjC,MAAA,SAHiC;AAIjC,SAAG;AAJ8B,KAA7B;AAJD,GAAP;AAWD,CA/CM;;AAAM,OAAA,CAAA,0BAAA,GAA0B,0BAA1B","sourceRoot":""}
@@ -3,4 +3,4 @@ export declare const menuSplitGroupClassName = "fui-MenuSplitGroup";
3
3
  /**
4
4
  * Apply styling to the MenuSplitGroup slots based on the state
5
5
  */
6
- export declare const useMenuSplitGroupStyles: (state: MenuSplitGroupState) => MenuSplitGroupState;
6
+ export declare const useMenuSplitGroupStyles_unstable: (state: MenuSplitGroupState) => MenuSplitGroupState;
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.useMenuSplitGroupStyles = exports.menuSplitGroupClassName = void 0;
6
+ exports.useMenuSplitGroupStyles_unstable = exports.menuSplitGroupClassName = 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
 
@@ -16,7 +16,7 @@ exports.menuSplitGroupClassName = 'fui-MenuSplitGroup';
16
16
  * Styles for the root slot
17
17
  */
18
18
 
19
- const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
19
+ const useStyles = /*#__PURE__*/react_1.__styles({
20
20
  "root": {
21
21
  "mc9l5x": "f22iagw",
22
22
  "u7v6m2": "f168awwq",
@@ -37,11 +37,11 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
37
37
  */
38
38
 
39
39
 
40
- const useMenuSplitGroupStyles = state => {
40
+ const useMenuSplitGroupStyles_unstable = state => {
41
41
  const styles = useStyles();
42
- state.root.className = react_make_styles_1.mergeClasses(exports.menuSplitGroupClassName, styles.root, state.root.className);
42
+ state.root.className = react_1.mergeClasses(exports.menuSplitGroupClassName, styles.root, state.root.className);
43
43
  return state;
44
44
  };
45
45
 
46
- exports.useMenuSplitGroupStyles = useMenuSplitGroupStyles;
46
+ exports.useMenuSplitGroupStyles_unstable = useMenuSplitGroupStyles_unstable;
47
47
  //# sourceMappingURL=useMenuSplitGroupStyles.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuSplitGroup/useMenuSplitGroupStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AACA,MAAA,aAAA,gBAAA,OAAA,CAAA,uBAAA,CAAA;;AACA,MAAA,mBAAA,gBAAA,OAAA,CAAA,+BAAA,CAAA;;AAGa,OAAA,CAAA,uBAAA,GAA0B,oBAA1B;AAEb;;AAEG;;AACH,MAAM,SAAS,gBAAG,mBAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAqBA;;AAEG;;;AACI,MAAM,uBAAuB,GAAI,KAAD,IAAoD;AACzF,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,mBAAA,CAAA,YAAA,CAAa,OAAA,CAAA,uBAAb,EAAsC,MAAM,CAAC,IAA7C,EAAmD,KAAK,CAAC,IAAN,CAAW,SAA9D,CAAvB;AACA,SAAO,KAAP;AACD,CAJM;;AAAM,OAAA,CAAA,uBAAA,GAAuB,uBAAvB","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuSplitGroup/useMenuSplitGroupStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,OAAA,gBAAA,OAAA,CAAA,gBAAA,CAAA;;AACA,MAAA,aAAA,gBAAA,OAAA,CAAA,uBAAA,CAAA;;AACA,MAAA,mBAAA,gBAAA,OAAA,CAAA,+BAAA,CAAA;;AAGa,OAAA,CAAA,uBAAA,GAA0B,oBAA1B;AAEb;;AAEG;;AACH,MAAM,SAAS,gBAAG,OAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAqBA;;AAEG;;;AACI,MAAM,gCAAgC,GAAI,KAAD,IAAoD;AAClG,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,OAAA,CAAA,YAAA,CAAa,OAAA,CAAA,uBAAb,EAAsC,MAAM,CAAC,IAA7C,EAAmD,KAAK,CAAC,IAAN,CAAW,SAA9D,CAAvB;AACA,SAAO,KAAP;AACD,CAJM;;AAAM,OAAA,CAAA,gCAAA,GAAgC,gCAAhC","sourceRoot":""}
@@ -4,4 +4,4 @@ import type { MenuTriggerProps } from './MenuTrigger.types';
4
4
  * Wraps a trigger element as an only child
5
5
  * and adds the necessary event handling to open a popup menu
6
6
  */
7
- export declare const MenuTrigger: React.FC<MenuTriggerProps>;
7
+ export declare const MenuTrigger: React.ForwardRefExoticComponent<MenuTriggerProps & React.RefAttributes<HTMLElement>>;
@@ -5,6 +5,8 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.MenuTrigger = void 0;
7
7
 
8
+ const React = /*#__PURE__*/require("react");
9
+
8
10
  const useMenuTrigger_1 = /*#__PURE__*/require("./useMenuTrigger");
9
11
 
10
12
  const renderMenuTrigger_1 = /*#__PURE__*/require("./renderMenuTrigger");
@@ -14,11 +16,9 @@ const renderMenuTrigger_1 = /*#__PURE__*/require("./renderMenuTrigger");
14
16
  */
15
17
 
16
18
 
17
- const MenuTrigger = props => {
18
- const state = useMenuTrigger_1.useMenuTrigger(props);
19
- return renderMenuTrigger_1.renderMenuTrigger(state);
20
- };
21
-
22
- exports.MenuTrigger = MenuTrigger;
19
+ exports.MenuTrigger = /*#__PURE__*/React.forwardRef((props, ref) => {
20
+ const state = useMenuTrigger_1.useMenuTrigger_unstable(props, ref);
21
+ return renderMenuTrigger_1.renderMenuTrigger_unstable(state);
22
+ });
23
23
  exports.MenuTrigger.displayName = 'MenuTrigger';
24
24
  //# sourceMappingURL=MenuTrigger.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuTrigger/MenuTrigger.tsx"],"names":[],"mappings":";;;;;;;AACA,MAAA,gBAAA,gBAAA,OAAA,CAAA,kBAAA,CAAA;;AACA,MAAA,mBAAA,gBAAA,OAAA,CAAA,qBAAA,CAAA;AAGA;;;AAGG;;;AACI,MAAM,WAAW,GAA+B,KAAK,IAAG;AAC7D,QAAM,KAAK,GAAG,gBAAA,CAAA,cAAA,CAAe,KAAf,CAAd;AAEA,SAAO,mBAAA,CAAA,iBAAA,CAAkB,KAAlB,CAAP;AACD,CAJM;;AAAM,OAAA,CAAA,WAAA,GAAW,WAAX;AAMb,OAAA,CAAA,WAAA,CAAY,WAAZ,GAA0B,aAA1B","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuTrigger/MenuTrigger.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,gBAAA,gBAAA,OAAA,CAAA,kBAAA,CAAA;;AACA,MAAA,mBAAA,gBAAA,OAAA,CAAA,qBAAA,CAAA;AAGA;;;AAGG;;;AACU,OAAA,CAAA,WAAA,gBAAc,KAAK,CAAC,UAAN,CAAgD,CAAC,KAAD,EAAQ,GAAR,KAAe;AACxF,QAAM,KAAK,GAAG,gBAAA,CAAA,uBAAA,CAAwB,KAAxB,EAA+B,GAA/B,CAAd;AAEA,SAAO,mBAAA,CAAA,0BAAA,CAA2B,KAA3B,CAAP;AACD,CAJ0B,CAAd;AAMb,OAAA,CAAA,WAAA,CAAY,WAAZ,GAA0B,aAA1B","sourceRoot":""}
@@ -10,8 +10,10 @@ export declare type MenuTriggerProps = {
10
10
  /**
11
11
  * Props that are passed to the child of the MenuTrigger when cloned to ensure correct behaviour for the Menu
12
12
  */
13
- export declare type MenuTriggerChildProps = Required<Pick<React.HTMLAttributes<HTMLElement>, 'onClick' | 'onMouseEnter' | 'onMouseLeave' | 'onContextMenu' | 'onKeyDown' | 'aria-haspopup' | 'id'>> & {
13
+ export declare type MenuTriggerChildProps = Required<Pick<React.HTMLAttributes<HTMLElement>, 'onClick' | 'onMouseEnter' | 'onMouseLeave' | 'onMouseMove' | 'onContextMenu' | 'onKeyDown' | 'aria-haspopup' | 'id'>> & {
14
14
  ref?: React.Ref<never>;
15
15
  'aria-expanded': boolean | undefined;
16
16
  };
17
- export declare type MenuTriggerState = MenuTriggerProps;
17
+ export declare type MenuTriggerState = {
18
+ children: React.ReactNode;
19
+ };
@@ -4,4 +4,4 @@ import type { MenuTriggerState } from './MenuTrigger.types';
4
4
  *
5
5
  * Only renders children
6
6
  */
7
- export declare const renderMenuTrigger: (state: MenuTriggerState) => JSX.Element;
7
+ export declare const renderMenuTrigger_unstable: (state: MenuTriggerState) => JSX.Element;