@fluentui/react-menu 0.0.0-nightlyfbae36b19b20211111.1 → 0.0.0-nightlyfc5cfdc52420220215.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (375) hide show
  1. package/CHANGELOG.json +415 -30
  2. package/CHANGELOG.md +93 -17
  3. package/Spec.md +21 -16
  4. package/dist/react-menu.d.ts +111 -68
  5. package/lib/MenuSplitGroup.d.ts +1 -0
  6. package/lib/MenuSplitGroup.js +2 -0
  7. package/lib/MenuSplitGroup.js.map +1 -0
  8. package/lib/components/Menu/Menu.js +6 -6
  9. package/lib/components/Menu/Menu.js.map +1 -1
  10. package/lib/components/Menu/Menu.types.d.ts +1 -1
  11. package/lib/components/Menu/renderMenu.d.ts +1 -1
  12. package/lib/components/Menu/renderMenu.js +1 -1
  13. package/lib/components/Menu/renderMenu.js.map +1 -1
  14. package/lib/components/Menu/useMenu.d.ts +2 -2
  15. package/lib/components/Menu/useMenu.js +34 -26
  16. package/lib/components/Menu/useMenu.js.map +1 -1
  17. package/lib/components/Menu/useMenuContextValues.d.ts +1 -1
  18. package/lib/components/Menu/useMenuContextValues.js +1 -1
  19. package/lib/components/Menu/useMenuContextValues.js.map +1 -1
  20. package/lib/components/MenuDivider/MenuDivider.d.ts +1 -1
  21. package/lib/components/MenuDivider/MenuDivider.js +7 -7
  22. package/lib/components/MenuDivider/MenuDivider.js.map +1 -1
  23. package/lib/components/MenuDivider/MenuDivider.types.d.ts +2 -2
  24. package/lib/components/MenuDivider/renderMenuDivider.d.ts +1 -1
  25. package/lib/components/MenuDivider/renderMenuDivider.js +3 -2
  26. package/lib/components/MenuDivider/renderMenuDivider.js.map +1 -1
  27. package/lib/components/MenuDivider/useMenuDivider.d.ts +1 -1
  28. package/lib/components/MenuDivider/useMenuDivider.js +4 -1
  29. package/lib/components/MenuDivider/useMenuDivider.js.map +1 -1
  30. package/lib/components/MenuDivider/useMenuDividerStyles.d.ts +1 -1
  31. package/lib/components/MenuDivider/useMenuDividerStyles.js +3 -2
  32. package/lib/components/MenuDivider/useMenuDividerStyles.js.map +1 -1
  33. package/lib/components/MenuGroup/MenuGroup.d.ts +1 -1
  34. package/lib/components/MenuGroup/MenuGroup.js +9 -9
  35. package/lib/components/MenuGroup/MenuGroup.js.map +1 -1
  36. package/lib/components/MenuGroup/MenuGroup.types.d.ts +3 -3
  37. package/lib/components/MenuGroup/renderMenuGroup.d.ts +1 -1
  38. package/lib/components/MenuGroup/renderMenuGroup.js +3 -2
  39. package/lib/components/MenuGroup/renderMenuGroup.js.map +1 -1
  40. package/lib/components/MenuGroup/useMenuGroup.d.ts +1 -1
  41. package/lib/components/MenuGroup/useMenuGroup.js +4 -1
  42. package/lib/components/MenuGroup/useMenuGroup.js.map +1 -1
  43. package/lib/components/MenuGroup/useMenuGroupContextValues.d.ts +1 -1
  44. package/lib/components/MenuGroup/useMenuGroupContextValues.js +1 -1
  45. package/lib/components/MenuGroup/useMenuGroupContextValues.js.map +1 -1
  46. package/lib/components/MenuGroup/useMenuGroupStyles.d.ts +1 -1
  47. package/lib/components/MenuGroup/useMenuGroupStyles.js +2 -2
  48. package/lib/components/MenuGroup/useMenuGroupStyles.js.map +1 -1
  49. package/lib/components/MenuGroupHeader/MenuGroupHeader.d.ts +1 -1
  50. package/lib/components/MenuGroupHeader/MenuGroupHeader.js +7 -7
  51. package/lib/components/MenuGroupHeader/MenuGroupHeader.js.map +1 -1
  52. package/lib/components/MenuGroupHeader/MenuGroupHeader.types.d.ts +2 -2
  53. package/lib/components/MenuGroupHeader/renderMenuGroupHeader.d.ts +1 -1
  54. package/lib/components/MenuGroupHeader/renderMenuGroupHeader.js +3 -2
  55. package/lib/components/MenuGroupHeader/renderMenuGroupHeader.js.map +1 -1
  56. package/lib/components/MenuGroupHeader/useMenuGroupHeader.d.ts +1 -1
  57. package/lib/components/MenuGroupHeader/useMenuGroupHeader.js +6 -3
  58. package/lib/components/MenuGroupHeader/useMenuGroupHeader.js.map +1 -1
  59. package/lib/components/MenuGroupHeader/useMenuGroupHeaderStyles.d.ts +1 -1
  60. package/lib/components/MenuGroupHeader/useMenuGroupHeaderStyles.js +3 -2
  61. package/lib/components/MenuGroupHeader/useMenuGroupHeaderStyles.js.map +1 -1
  62. package/lib/components/MenuItem/MenuItem.d.ts +1 -1
  63. package/lib/components/MenuItem/MenuItem.js +7 -9
  64. package/lib/components/MenuItem/MenuItem.js.map +1 -1
  65. package/lib/components/MenuItem/MenuItem.types.d.ts +7 -7
  66. package/lib/components/MenuItem/renderMenuItem.d.ts +1 -1
  67. package/lib/components/MenuItem/renderMenuItem.js +9 -4
  68. package/lib/components/MenuItem/renderMenuItem.js.map +1 -1
  69. package/lib/components/MenuItem/useCharacterSearch.js +2 -2
  70. package/lib/components/MenuItem/useCharacterSearch.js.map +1 -1
  71. package/lib/components/MenuItem/useMenuItem.d.ts +2 -6
  72. package/lib/components/MenuItem/useMenuItem.js +11 -16
  73. package/lib/components/MenuItem/useMenuItem.js.map +1 -1
  74. package/lib/components/MenuItem/useMenuItemStyles.d.ts +1 -1
  75. package/lib/components/MenuItem/useMenuItemStyles.js +27 -24
  76. package/lib/components/MenuItem/useMenuItemStyles.js.map +1 -1
  77. package/lib/components/MenuItemCheckbox/MenuItemCheckbox.d.ts +1 -1
  78. package/lib/components/MenuItemCheckbox/MenuItemCheckbox.js +7 -7
  79. package/lib/components/MenuItemCheckbox/MenuItemCheckbox.js.map +1 -1
  80. package/lib/components/MenuItemCheckbox/renderMenuItemCheckbox.d.ts +1 -1
  81. package/lib/components/MenuItemCheckbox/renderMenuItemCheckbox.js +8 -4
  82. package/lib/components/MenuItemCheckbox/renderMenuItemCheckbox.js.map +1 -1
  83. package/lib/components/MenuItemCheckbox/useMenuItemCheckbox.d.ts +1 -1
  84. package/lib/components/MenuItemCheckbox/useMenuItemCheckbox.js +6 -6
  85. package/lib/components/MenuItemCheckbox/useMenuItemCheckbox.js.map +1 -1
  86. package/lib/components/MenuItemCheckbox/useMenuItemCheckboxStyles.d.ts +1 -1
  87. package/lib/components/MenuItemCheckbox/useMenuItemCheckboxStyles.js +6 -6
  88. package/lib/components/MenuItemCheckbox/useMenuItemCheckboxStyles.js.map +1 -1
  89. package/lib/components/MenuItemRadio/MenuItemRadio.d.ts +1 -1
  90. package/lib/components/MenuItemRadio/MenuItemRadio.js +7 -7
  91. package/lib/components/MenuItemRadio/MenuItemRadio.js.map +1 -1
  92. package/lib/components/MenuItemRadio/renderMenuItemRadio.d.ts +1 -1
  93. package/lib/components/MenuItemRadio/renderMenuItemRadio.js +8 -4
  94. package/lib/components/MenuItemRadio/renderMenuItemRadio.js.map +1 -1
  95. package/lib/components/MenuItemRadio/useMenuItemRadio.d.ts +1 -1
  96. package/lib/components/MenuItemRadio/useMenuItemRadio.js +6 -6
  97. package/lib/components/MenuItemRadio/useMenuItemRadio.js.map +1 -1
  98. package/lib/components/MenuItemRadio/useMenuItemRadioStyles.d.ts +1 -1
  99. package/lib/components/MenuItemRadio/useMenuItemRadioStyles.js +6 -6
  100. package/lib/components/MenuItemRadio/useMenuItemRadioStyles.js.map +1 -1
  101. package/lib/components/MenuList/MenuList.d.ts +1 -1
  102. package/lib/components/MenuList/MenuList.js +9 -9
  103. package/lib/components/MenuList/MenuList.js.map +1 -1
  104. package/lib/components/MenuList/MenuList.types.d.ts +4 -4
  105. package/lib/components/MenuList/index.d.ts +1 -1
  106. package/lib/components/MenuList/index.js +0 -1
  107. package/lib/components/MenuList/index.js.map +1 -1
  108. package/lib/components/MenuList/renderMenuList.d.ts +1 -1
  109. package/lib/components/MenuList/renderMenuList.js +3 -2
  110. package/lib/components/MenuList/renderMenuList.js.map +1 -1
  111. package/lib/components/MenuList/useMenuList.d.ts +1 -1
  112. package/lib/components/MenuList/useMenuList.js +11 -8
  113. package/lib/components/MenuList/useMenuList.js.map +1 -1
  114. package/lib/components/MenuList/useMenuListContextValues.d.ts +1 -1
  115. package/lib/components/MenuList/useMenuListContextValues.js +1 -1
  116. package/lib/components/MenuList/useMenuListContextValues.js.map +1 -1
  117. package/lib/components/MenuList/useMenuListStyles.d.ts +1 -1
  118. package/lib/components/MenuList/useMenuListStyles.js +5 -4
  119. package/lib/components/MenuList/useMenuListStyles.js.map +1 -1
  120. package/lib/components/MenuPopover/MenuPopover.js +6 -6
  121. package/lib/components/MenuPopover/MenuPopover.js.map +1 -1
  122. package/lib/components/MenuPopover/MenuPopover.types.d.ts +2 -2
  123. package/lib/components/MenuPopover/renderMenuPopover.d.ts +1 -1
  124. package/lib/components/MenuPopover/renderMenuPopover.js +5 -3
  125. package/lib/components/MenuPopover/renderMenuPopover.js.map +1 -1
  126. package/lib/components/MenuPopover/useMenuPopover.d.ts +3 -3
  127. package/lib/components/MenuPopover/useMenuPopover.js +11 -8
  128. package/lib/components/MenuPopover/useMenuPopover.js.map +1 -1
  129. package/lib/components/MenuPopover/useMenuPopoverStyles.d.ts +1 -1
  130. package/lib/components/MenuPopover/useMenuPopoverStyles.js +9 -5
  131. package/lib/components/MenuPopover/useMenuPopoverStyles.js.map +1 -1
  132. package/lib/components/MenuSplitGroup/MenuSplitGroup.d.ts +6 -0
  133. package/lib/components/MenuSplitGroup/MenuSplitGroup.js +15 -0
  134. package/lib/components/MenuSplitGroup/MenuSplitGroup.js.map +1 -0
  135. package/lib/components/MenuSplitGroup/MenuSplitGroup.types.d.ts +14 -0
  136. package/lib/components/MenuSplitGroup/MenuSplitGroup.types.js +2 -0
  137. package/lib/components/MenuSplitGroup/MenuSplitGroup.types.js.map +1 -0
  138. package/lib/components/MenuSplitGroup/index.d.ts +5 -0
  139. package/lib/components/MenuSplitGroup/index.js +6 -0
  140. package/lib/components/MenuSplitGroup/index.js.map +1 -0
  141. package/lib/components/MenuSplitGroup/renderMenuSplitGroup.d.ts +5 -0
  142. package/lib/components/MenuSplitGroup/renderMenuSplitGroup.js +15 -0
  143. package/lib/components/MenuSplitGroup/renderMenuSplitGroup.js.map +1 -0
  144. package/lib/components/MenuSplitGroup/useMenuSplitGroup.d.ts +12 -0
  145. package/lib/components/MenuSplitGroup/useMenuSplitGroup.js +67 -0
  146. package/lib/components/MenuSplitGroup/useMenuSplitGroup.js.map +1 -0
  147. package/lib/components/MenuSplitGroup/useMenuSplitGroupStyles.d.ts +6 -0
  148. package/lib/components/MenuSplitGroup/useMenuSplitGroupStyles.js +35 -0
  149. package/lib/components/MenuSplitGroup/useMenuSplitGroupStyles.js.map +1 -0
  150. package/lib/components/MenuTrigger/MenuTrigger.d.ts +2 -1
  151. package/lib/components/MenuTrigger/MenuTrigger.js +5 -4
  152. package/lib/components/MenuTrigger/MenuTrigger.js.map +1 -1
  153. package/lib/components/MenuTrigger/MenuTrigger.types.d.ts +6 -3
  154. package/lib/components/MenuTrigger/renderMenuTrigger.d.ts +1 -1
  155. package/lib/components/MenuTrigger/renderMenuTrigger.js +1 -1
  156. package/lib/components/MenuTrigger/renderMenuTrigger.js.map +1 -1
  157. package/lib/components/MenuTrigger/useMenuTrigger.d.ts +2 -2
  158. package/lib/components/MenuTrigger/useMenuTrigger.js +167 -5
  159. package/lib/components/MenuTrigger/useMenuTrigger.js.map +1 -1
  160. package/lib/contexts/menuContext.d.ts +1 -1
  161. package/lib/contexts/menuContext.js +1 -1
  162. package/lib/contexts/menuContext.js.map +1 -1
  163. package/lib/contexts/menuGroupContext.d.ts +1 -1
  164. package/lib/contexts/menuGroupContext.js +1 -1
  165. package/lib/contexts/menuGroupContext.js.map +1 -1
  166. package/lib/contexts/menuListContext.d.ts +1 -1
  167. package/lib/contexts/menuListContext.js +1 -1
  168. package/lib/contexts/menuListContext.js.map +1 -1
  169. package/lib/contexts/menuTriggerContext.d.ts +1 -1
  170. package/lib/contexts/menuTriggerContext.js +1 -1
  171. package/lib/contexts/menuTriggerContext.js.map +1 -1
  172. package/lib/index.d.ts +11 -10
  173. package/lib/index.js +11 -10
  174. package/lib/index.js.map +1 -1
  175. package/lib/selectable/useCheckmarkStyles.d.ts +2 -2
  176. package/lib/selectable/useCheckmarkStyles.js +2 -2
  177. package/lib/selectable/useCheckmarkStyles.js.map +1 -1
  178. package/lib/utils/useIsSubmenu.js +2 -2
  179. package/lib/utils/useIsSubmenu.js.map +1 -1
  180. package/lib/utils/useOnMenuEnter.js.map +1 -1
  181. package/lib-commonjs/MenuSplitGroup.d.ts +1 -0
  182. package/lib-commonjs/MenuSplitGroup.js +10 -0
  183. package/lib-commonjs/MenuSplitGroup.js.map +1 -0
  184. package/lib-commonjs/components/Menu/Menu.js +3 -3
  185. package/lib-commonjs/components/Menu/Menu.js.map +1 -1
  186. package/lib-commonjs/components/Menu/Menu.types.d.ts +1 -1
  187. package/lib-commonjs/components/Menu/renderMenu.d.ts +1 -1
  188. package/lib-commonjs/components/Menu/renderMenu.js +3 -3
  189. package/lib-commonjs/components/Menu/renderMenu.js.map +1 -1
  190. package/lib-commonjs/components/Menu/useMenu.d.ts +2 -2
  191. package/lib-commonjs/components/Menu/useMenu.js +40 -33
  192. package/lib-commonjs/components/Menu/useMenu.js.map +1 -1
  193. package/lib-commonjs/components/Menu/useMenuContextValues.d.ts +1 -1
  194. package/lib-commonjs/components/Menu/useMenuContextValues.js +3 -3
  195. package/lib-commonjs/components/Menu/useMenuContextValues.js.map +1 -1
  196. package/lib-commonjs/components/MenuDivider/MenuDivider.d.ts +1 -1
  197. package/lib-commonjs/components/MenuDivider/MenuDivider.js +4 -4
  198. package/lib-commonjs/components/MenuDivider/MenuDivider.js.map +1 -1
  199. package/lib-commonjs/components/MenuDivider/MenuDivider.types.d.ts +2 -2
  200. package/lib-commonjs/components/MenuDivider/renderMenuDivider.d.ts +1 -1
  201. package/lib-commonjs/components/MenuDivider/renderMenuDivider.js +5 -4
  202. package/lib-commonjs/components/MenuDivider/renderMenuDivider.js.map +1 -1
  203. package/lib-commonjs/components/MenuDivider/useMenuDivider.d.ts +1 -1
  204. package/lib-commonjs/components/MenuDivider/useMenuDivider.js +6 -3
  205. package/lib-commonjs/components/MenuDivider/useMenuDivider.js.map +1 -1
  206. package/lib-commonjs/components/MenuDivider/useMenuDividerStyles.d.ts +1 -1
  207. package/lib-commonjs/components/MenuDivider/useMenuDividerStyles.js +8 -6
  208. package/lib-commonjs/components/MenuDivider/useMenuDividerStyles.js.map +1 -1
  209. package/lib-commonjs/components/MenuGroup/MenuGroup.d.ts +1 -1
  210. package/lib-commonjs/components/MenuGroup/MenuGroup.js +5 -5
  211. package/lib-commonjs/components/MenuGroup/MenuGroup.js.map +1 -1
  212. package/lib-commonjs/components/MenuGroup/MenuGroup.types.d.ts +3 -3
  213. package/lib-commonjs/components/MenuGroup/renderMenuGroup.d.ts +1 -1
  214. package/lib-commonjs/components/MenuGroup/renderMenuGroup.js +5 -4
  215. package/lib-commonjs/components/MenuGroup/renderMenuGroup.js.map +1 -1
  216. package/lib-commonjs/components/MenuGroup/useMenuGroup.d.ts +1 -1
  217. package/lib-commonjs/components/MenuGroup/useMenuGroup.js +6 -3
  218. package/lib-commonjs/components/MenuGroup/useMenuGroup.js.map +1 -1
  219. package/lib-commonjs/components/MenuGroup/useMenuGroupContextValues.d.ts +1 -1
  220. package/lib-commonjs/components/MenuGroup/useMenuGroupContextValues.js +3 -3
  221. package/lib-commonjs/components/MenuGroup/useMenuGroupContextValues.js.map +1 -1
  222. package/lib-commonjs/components/MenuGroup/useMenuGroupStyles.d.ts +1 -1
  223. package/lib-commonjs/components/MenuGroup/useMenuGroupStyles.js +5 -5
  224. package/lib-commonjs/components/MenuGroup/useMenuGroupStyles.js.map +1 -1
  225. package/lib-commonjs/components/MenuGroupHeader/MenuGroupHeader.d.ts +1 -1
  226. package/lib-commonjs/components/MenuGroupHeader/MenuGroupHeader.js +4 -4
  227. package/lib-commonjs/components/MenuGroupHeader/MenuGroupHeader.js.map +1 -1
  228. package/lib-commonjs/components/MenuGroupHeader/MenuGroupHeader.types.d.ts +2 -2
  229. package/lib-commonjs/components/MenuGroupHeader/renderMenuGroupHeader.d.ts +1 -1
  230. package/lib-commonjs/components/MenuGroupHeader/renderMenuGroupHeader.js +5 -4
  231. package/lib-commonjs/components/MenuGroupHeader/renderMenuGroupHeader.js.map +1 -1
  232. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeader.d.ts +1 -1
  233. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeader.js +7 -4
  234. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeader.js.map +1 -1
  235. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeaderStyles.d.ts +1 -1
  236. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeaderStyles.js +8 -6
  237. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeaderStyles.js.map +1 -1
  238. package/lib-commonjs/components/MenuItem/MenuItem.d.ts +1 -1
  239. package/lib-commonjs/components/MenuItem/MenuItem.js +4 -7
  240. package/lib-commonjs/components/MenuItem/MenuItem.js.map +1 -1
  241. package/lib-commonjs/components/MenuItem/MenuItem.types.d.ts +7 -7
  242. package/lib-commonjs/components/MenuItem/renderMenuItem.d.ts +1 -1
  243. package/lib-commonjs/components/MenuItem/renderMenuItem.js +11 -7
  244. package/lib-commonjs/components/MenuItem/renderMenuItem.js.map +1 -1
  245. package/lib-commonjs/components/MenuItem/useCharacterSearch.js +1 -1
  246. package/lib-commonjs/components/MenuItem/useCharacterSearch.js.map +1 -1
  247. package/lib-commonjs/components/MenuItem/useMenuItem.d.ts +2 -6
  248. package/lib-commonjs/components/MenuItem/useMenuItem.js +11 -16
  249. package/lib-commonjs/components/MenuItem/useMenuItem.js.map +1 -1
  250. package/lib-commonjs/components/MenuItem/useMenuItemStyles.d.ts +1 -1
  251. package/lib-commonjs/components/MenuItem/useMenuItemStyles.js +36 -31
  252. package/lib-commonjs/components/MenuItem/useMenuItemStyles.js.map +1 -1
  253. package/lib-commonjs/components/MenuItemCheckbox/MenuItemCheckbox.d.ts +1 -1
  254. package/lib-commonjs/components/MenuItemCheckbox/MenuItemCheckbox.js +4 -4
  255. package/lib-commonjs/components/MenuItemCheckbox/MenuItemCheckbox.js.map +1 -1
  256. package/lib-commonjs/components/MenuItemCheckbox/renderMenuItemCheckbox.d.ts +1 -1
  257. package/lib-commonjs/components/MenuItemCheckbox/renderMenuItemCheckbox.js +10 -7
  258. package/lib-commonjs/components/MenuItemCheckbox/renderMenuItemCheckbox.js.map +1 -1
  259. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckbox.d.ts +1 -1
  260. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckbox.js +6 -6
  261. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckbox.js.map +1 -1
  262. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckboxStyles.d.ts +1 -1
  263. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckboxStyles.js +7 -7
  264. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckboxStyles.js.map +1 -1
  265. package/lib-commonjs/components/MenuItemRadio/MenuItemRadio.d.ts +1 -1
  266. package/lib-commonjs/components/MenuItemRadio/MenuItemRadio.js +4 -4
  267. package/lib-commonjs/components/MenuItemRadio/MenuItemRadio.js.map +1 -1
  268. package/lib-commonjs/components/MenuItemRadio/renderMenuItemRadio.d.ts +1 -1
  269. package/lib-commonjs/components/MenuItemRadio/renderMenuItemRadio.js +10 -7
  270. package/lib-commonjs/components/MenuItemRadio/renderMenuItemRadio.js.map +1 -1
  271. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadio.d.ts +1 -1
  272. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadio.js +6 -6
  273. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadio.js.map +1 -1
  274. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadioStyles.d.ts +1 -1
  275. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadioStyles.js +7 -7
  276. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadioStyles.js.map +1 -1
  277. package/lib-commonjs/components/MenuList/MenuList.d.ts +1 -1
  278. package/lib-commonjs/components/MenuList/MenuList.js +5 -5
  279. package/lib-commonjs/components/MenuList/MenuList.js.map +1 -1
  280. package/lib-commonjs/components/MenuList/MenuList.types.d.ts +4 -4
  281. package/lib-commonjs/components/MenuList/index.d.ts +1 -1
  282. package/lib-commonjs/components/MenuList/index.js +0 -2
  283. package/lib-commonjs/components/MenuList/index.js.map +1 -1
  284. package/lib-commonjs/components/MenuList/renderMenuList.d.ts +1 -1
  285. package/lib-commonjs/components/MenuList/renderMenuList.js +5 -4
  286. package/lib-commonjs/components/MenuList/renderMenuList.js.map +1 -1
  287. package/lib-commonjs/components/MenuList/useMenuList.d.ts +1 -1
  288. package/lib-commonjs/components/MenuList/useMenuList.js +12 -9
  289. package/lib-commonjs/components/MenuList/useMenuList.js.map +1 -1
  290. package/lib-commonjs/components/MenuList/useMenuListContextValues.d.ts +1 -1
  291. package/lib-commonjs/components/MenuList/useMenuListContextValues.js +3 -3
  292. package/lib-commonjs/components/MenuList/useMenuListContextValues.js.map +1 -1
  293. package/lib-commonjs/components/MenuList/useMenuListStyles.d.ts +1 -1
  294. package/lib-commonjs/components/MenuList/useMenuListStyles.js +9 -8
  295. package/lib-commonjs/components/MenuList/useMenuListStyles.js.map +1 -1
  296. package/lib-commonjs/components/MenuPopover/MenuPopover.js +3 -3
  297. package/lib-commonjs/components/MenuPopover/MenuPopover.js.map +1 -1
  298. package/lib-commonjs/components/MenuPopover/MenuPopover.types.d.ts +2 -2
  299. package/lib-commonjs/components/MenuPopover/renderMenuPopover.d.ts +1 -1
  300. package/lib-commonjs/components/MenuPopover/renderMenuPopover.js +7 -5
  301. package/lib-commonjs/components/MenuPopover/renderMenuPopover.js.map +1 -1
  302. package/lib-commonjs/components/MenuPopover/useMenuPopover.d.ts +3 -3
  303. package/lib-commonjs/components/MenuPopover/useMenuPopover.js +12 -9
  304. package/lib-commonjs/components/MenuPopover/useMenuPopover.js.map +1 -1
  305. package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.d.ts +1 -1
  306. package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.js +14 -9
  307. package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.js.map +1 -1
  308. package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.d.ts +6 -0
  309. package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.js +26 -0
  310. package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.js.map +1 -0
  311. package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.types.d.ts +14 -0
  312. package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.types.js +6 -0
  313. package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.types.js.map +1 -0
  314. package/lib-commonjs/components/MenuSplitGroup/index.d.ts +5 -0
  315. package/lib-commonjs/components/MenuSplitGroup/index.js +18 -0
  316. package/lib-commonjs/components/MenuSplitGroup/index.js.map +1 -0
  317. package/lib-commonjs/components/MenuSplitGroup/renderMenuSplitGroup.d.ts +5 -0
  318. package/lib-commonjs/components/MenuSplitGroup/renderMenuSplitGroup.js +26 -0
  319. package/lib-commonjs/components/MenuSplitGroup/renderMenuSplitGroup.js.map +1 -0
  320. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroup.d.ts +12 -0
  321. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroup.js +81 -0
  322. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroup.js.map +1 -0
  323. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroupStyles.d.ts +6 -0
  324. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroupStyles.js +47 -0
  325. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroupStyles.js.map +1 -0
  326. package/lib-commonjs/components/MenuTrigger/MenuTrigger.d.ts +2 -1
  327. package/lib-commonjs/components/MenuTrigger/MenuTrigger.js +3 -2
  328. package/lib-commonjs/components/MenuTrigger/MenuTrigger.js.map +1 -1
  329. package/lib-commonjs/components/MenuTrigger/MenuTrigger.types.d.ts +6 -3
  330. package/lib-commonjs/components/MenuTrigger/renderMenuTrigger.d.ts +1 -1
  331. package/lib-commonjs/components/MenuTrigger/renderMenuTrigger.js +3 -3
  332. package/lib-commonjs/components/MenuTrigger/renderMenuTrigger.js.map +1 -1
  333. package/lib-commonjs/components/MenuTrigger/useMenuTrigger.d.ts +2 -2
  334. package/lib-commonjs/components/MenuTrigger/useMenuTrigger.js +176 -7
  335. package/lib-commonjs/components/MenuTrigger/useMenuTrigger.js.map +1 -1
  336. package/lib-commonjs/contexts/menuContext.d.ts +1 -1
  337. package/lib-commonjs/contexts/menuContext.js +3 -3
  338. package/lib-commonjs/contexts/menuContext.js.map +1 -1
  339. package/lib-commonjs/contexts/menuGroupContext.d.ts +1 -1
  340. package/lib-commonjs/contexts/menuGroupContext.js +3 -3
  341. package/lib-commonjs/contexts/menuGroupContext.js.map +1 -1
  342. package/lib-commonjs/contexts/menuListContext.d.ts +1 -1
  343. package/lib-commonjs/contexts/menuListContext.js +3 -3
  344. package/lib-commonjs/contexts/menuListContext.js.map +1 -1
  345. package/lib-commonjs/contexts/menuTriggerContext.d.ts +1 -1
  346. package/lib-commonjs/contexts/menuTriggerContext.js +3 -3
  347. package/lib-commonjs/contexts/menuTriggerContext.js.map +1 -1
  348. package/lib-commonjs/index.d.ts +11 -10
  349. package/lib-commonjs/index.js +16 -14
  350. package/lib-commonjs/index.js.map +1 -1
  351. package/lib-commonjs/selectable/useCheckmarkStyles.d.ts +2 -2
  352. package/lib-commonjs/selectable/useCheckmarkStyles.js +6 -6
  353. package/lib-commonjs/selectable/useCheckmarkStyles.js.map +1 -1
  354. package/lib-commonjs/utils/useIsSubmenu.js +1 -1
  355. package/lib-commonjs/utils/useIsSubmenu.js.map +1 -1
  356. package/lib-commonjs/utils/useOnMenuEnter.js.map +1 -1
  357. package/package.json +15 -17
  358. package/lib/common/isConformant.d.ts +0 -4
  359. package/lib/common/isConformant.js +0 -12
  360. package/lib/common/isConformant.js.map +0 -1
  361. package/lib/common/mockUseMenuContext.d.ts +0 -7
  362. package/lib/common/mockUseMenuContext.js +0 -29
  363. package/lib/common/mockUseMenuContext.js.map +0 -1
  364. package/lib/components/MenuTrigger/useTriggerElement.d.ts +0 -5
  365. package/lib/components/MenuTrigger/useTriggerElement.js +0 -165
  366. package/lib/components/MenuTrigger/useTriggerElement.js.map +0 -1
  367. package/lib-commonjs/common/isConformant.d.ts +0 -4
  368. package/lib-commonjs/common/isConformant.js +0 -23
  369. package/lib-commonjs/common/isConformant.js.map +0 -1
  370. package/lib-commonjs/common/mockUseMenuContext.d.ts +0 -7
  371. package/lib-commonjs/common/mockUseMenuContext.js +0 -39
  372. package/lib-commonjs/common/mockUseMenuContext.js.map +0 -1
  373. package/lib-commonjs/components/MenuTrigger/useTriggerElement.d.ts +0 -5
  374. package/lib-commonjs/components/MenuTrigger/useTriggerElement.js +0 -180
  375. package/lib-commonjs/components/MenuTrigger/useTriggerElement.js.map +0 -1
@@ -1,16 +1,20 @@
1
1
  import * as React from 'react';
2
2
  import { getSlots } from '@fluentui/react-utilities';
3
- import { menuItemSlots } from '../MenuItem/index';
4
3
  /**
5
4
  * Redefine the render function to add slots. Reuse the menuitemradio structure but add
6
5
  * slots to children.
7
6
  */
8
7
 
9
- export const renderMenuItemRadio = state => {
8
+ export const renderMenuItemRadio_unstable = state => {
10
9
  const {
11
10
  slots,
12
11
  slotProps
13
- } = getSlots(state, menuItemSlots);
14
- return /*#__PURE__*/React.createElement(slots.root, Object.assign({}, slotProps.root), /*#__PURE__*/React.createElement(slots.checkmark, Object.assign({}, slotProps.checkmark)), /*#__PURE__*/React.createElement(slots.icon, Object.assign({}, slotProps.icon)), /*#__PURE__*/React.createElement(slots.content, Object.assign({}, slotProps.content)), /*#__PURE__*/React.createElement(slots.secondaryContent, Object.assign({}, slotProps.secondaryContent)));
12
+ } = getSlots(state);
13
+ return /*#__PURE__*/React.createElement(slots.root, { ...slotProps.root
14
+ }, slots.checkmark && /*#__PURE__*/React.createElement(slots.checkmark, { ...slotProps.checkmark
15
+ }), slots.icon && /*#__PURE__*/React.createElement(slots.icon, { ...slotProps.icon
16
+ }), slots.content && /*#__PURE__*/React.createElement(slots.content, { ...slotProps.content
17
+ }), slots.secondaryContent && /*#__PURE__*/React.createElement(slots.secondaryContent, { ...slotProps.secondaryContent
18
+ }));
15
19
  };
16
20
  //# sourceMappingURL=renderMenuItemRadio.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuItemRadio/renderMenuItemRadio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AACA,SAAS,aAAT,QAA8B,mBAA9B;AAIA;;;AAGG;;AACH,OAAO,MAAM,mBAAmB,GAAI,KAAD,IAA8B;AAC/D,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,QAAQ,CAAgB,KAAhB,EAAuB,aAAvB,CAArC;AAEA,sBACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,MAAA,CAAA,MAAA,CAAA,EAAA,EAAK,SAAS,CAAC,IAAf,CAAX,eACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,SAAP,EAAgB,MAAA,CAAA,MAAA,CAAA,EAAA,EAAK,SAAS,CAAC,SAAf,CAAhB,CADF,eAEE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,MAAA,CAAA,MAAA,CAAA,EAAA,EAAK,SAAS,CAAC,IAAf,CAAX,CAFF,eAGE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,OAAP,EAAc,MAAA,CAAA,MAAA,CAAA,EAAA,EAAK,SAAS,CAAC,OAAf,CAAd,CAHF,eAIE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,gBAAP,EAAuB,MAAA,CAAA,MAAA,CAAA,EAAA,EAAK,SAAS,CAAC,gBAAf,CAAvB,CAJF,CADF;AAQD,CAXM","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuItemRadio/renderMenuItemRadio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AAIA;;;AAGG;;AACH,OAAO,MAAM,4BAA4B,GAAI,KAAD,IAA8B;AACxE,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,QAAQ,CAAgB,KAAhB,CAArC;AAEA,sBACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,EACG,KAAK,CAAC,SAAN,iBAAmB,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,SAAP,EAAgB,EAAA,GAAK,SAAS,CAAC;AAAf,GAAhB,CADtB,EAEG,KAAK,CAAC,IAAN,iBAAc,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CAFjB,EAGG,KAAK,CAAC,OAAN,iBAAiB,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,OAAP,EAAc,EAAA,GAAK,SAAS,CAAC;AAAf,GAAd,CAHpB,EAIG,KAAK,CAAC,gBAAN,iBAA0B,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,gBAAP,EAAuB,EAAA,GAAK,SAAS,CAAC;AAAf,GAAvB,CAJ7B,CADF;AAQD,CAXM","sourceRoot":""}
@@ -3,4 +3,4 @@ import type { MenuItemRadioProps, MenuItemRadioState } from './MenuItemRadio.typ
3
3
  /**
4
4
  * Given user props, returns state and render function for a MenuItemRadio.
5
5
  */
6
- export declare const useMenuItemRadio: (props: MenuItemRadioProps, ref: React.Ref<HTMLElement>) => MenuItemRadioState;
6
+ export declare const useMenuItemRadio_unstable: (props: MenuItemRadioProps, ref: React.Ref<HTMLElement>) => MenuItemRadioState;
@@ -1,17 +1,17 @@
1
1
  import * as React from 'react';
2
2
  import { resolveShorthand } from '@fluentui/react-utilities';
3
3
  import { Checkmark16Filled } from '@fluentui/react-icons';
4
- import { useMenuListContext } from '../../contexts/menuListContext';
5
- import { useMenuItem } from '../MenuItem/useMenuItem';
4
+ import { useMenuListContext_unstable } from '../../contexts/menuListContext';
5
+ import { useMenuItem_unstable } from '../MenuItem/useMenuItem';
6
6
  /**
7
7
  * Given user props, returns state and render function for a MenuItemRadio.
8
8
  */
9
9
 
10
- export const useMenuItemRadio = (props, ref) => {
10
+ export const useMenuItemRadio_unstable = (props, ref) => {
11
11
  const radioProps = {
12
12
  role: 'menuitemradio'
13
13
  };
14
- const state = useMenuItem({ ...radioProps,
14
+ const state = useMenuItem_unstable({ ...radioProps,
15
15
  ...props,
16
16
  checkmark: resolveShorthand(props.checkmark, {
17
17
  defaultProps: {
@@ -20,11 +20,11 @@ export const useMenuItemRadio = (props, ref) => {
20
20
  required: true
21
21
  })
22
22
  }, ref);
23
- const selectRadio = useMenuListContext(context => context.selectRadio);
23
+ const selectRadio = useMenuListContext_unstable(context => context.selectRadio);
24
24
  const {
25
25
  onClick: onClickOriginal
26
26
  } = state.root;
27
- const checked = useMenuListContext(context => {
27
+ const checked = useMenuListContext_unstable(context => {
28
28
  var _a;
29
29
 
30
30
  const checkedItems = ((_a = context.checkedValues) === null || _a === void 0 ? void 0 : _a[state.name]) || [];
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuItemRadio/useMenuItemRadio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,gBAAT,QAAiC,2BAAjC;AACA,SAAS,iBAAT,QAAkC,uBAAlC;AACA,SAAS,kBAAT,QAAmC,gCAAnC;AACA,SAAS,WAAT,QAA4B,yBAA5B;AAGA;;AAEG;;AACH,OAAO,MAAM,gBAAgB,GAAG,CAAC,KAAD,EAA4B,GAA5B,KAA+E;AAC7G,QAAM,UAAU,GAAG;AACjB,IAAA,IAAI,EAAE;AADW,GAAnB;AAIA,QAAM,KAAK,GAAG,WAAW,CACvB,EACE,GAAG,UADL;AAEE,OAAG,KAFL;AAGE,IAAA,SAAS,EAAE,gBAAgB,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AC,KAA3B,MAAsC,CAAC,CAA9C;AACD,GAH0C,CAA3C;AAKA,EAAA,KAAK,CAAC,OAAN,GAAgB,OAAhB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,cAAX,IAA6B,KAAK,CAAC,OAAnC,CAzBsB,CA2BtB;;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,OAAX,GAAqB,CAAC,IAAG;AACvB,QAAI,KAAK,CAAC,QAAV,EAAoB;AAClB,MAAA,CAAC,CAAC,cAAF;AACA,MAAA,CAAC,CAAC,eAAF;AACA;AACD;;AAED,IAAA,WAAW,KAAA,IAAX,IAAA,WAAW,KAAA,KAAA,CAAX,GAAW,KAAA,CAAX,GAAA,WAAW,CAAG,CAAH,EAAM,KAAK,CAAC,IAAZ,EAAkB,KAAK,CAAC,KAAxB,EAA+B,KAAK,CAAC,OAArC,CAAX;AACA,IAAA,eAAe,KAAA,IAAf,IAAA,eAAe,KAAA,KAAA,CAAf,GAAe,KAAA,CAAf,GAAA,eAAe,CAAG,CAAH,CAAf;AACD,GATD;;AAWA,SAAO,KAAP;AACD,CA3CM","sourceRoot":""}
@@ -1,3 +1,3 @@
1
1
  import type { MenuItemRadioState } from './MenuItemRadio.types';
2
2
  export declare const menuItemRadioClassName = "fui-MenuItemRadio";
3
- export declare const useMenuItemRadioStyles: (state: MenuItemRadioState) => void;
3
+ export declare const useMenuItemRadioStyles_unstable: (state: MenuItemRadioState) => void;
@@ -1,10 +1,10 @@
1
- import { mergeClasses } from '@fluentui/react-make-styles';
2
- import { useCheckmarkStyles } from '../../selectable/index';
3
- import { useMenuItemStyles } from '../MenuItem/useMenuItemStyles';
1
+ import { mergeClasses } from '@griffel/react';
2
+ import { useCheckmarkStyles_unstable } from '../../selectable/index';
3
+ import { useMenuItemStyles_unstable } from '../MenuItem/useMenuItemStyles';
4
4
  export const menuItemRadioClassName = 'fui-MenuItemRadio';
5
- export const useMenuItemRadioStyles = state => {
5
+ export const useMenuItemRadioStyles_unstable = state => {
6
6
  state.root.className = mergeClasses(menuItemRadioClassName, state.root.className);
7
- useMenuItemStyles(state);
8
- useCheckmarkStyles(state);
7
+ useMenuItemStyles_unstable(state);
8
+ useCheckmarkStyles_unstable(state);
9
9
  };
10
10
  //# sourceMappingURL=useMenuItemRadioStyles.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuItemRadio/useMenuItemRadioStyles.ts"],"names":[],"mappings":"AAAA,SAAS,YAAT,QAA6B,6BAA7B;AACA,SAAS,kBAAT,QAAmC,wBAAnC;AACA,SAAS,iBAAT,QAAkC,+BAAlC;AAGA,OAAO,MAAM,sBAAsB,GAAG,mBAA/B;AAEP,OAAO,MAAM,sBAAsB,GAAI,KAAD,IAA8B;AAClE,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,YAAY,CAAC,sBAAD,EAAyB,KAAK,CAAC,IAAN,CAAW,SAApC,CAAnC;AAEA,EAAA,iBAAiB,CAAC,KAAD,CAAjB;AACA,EAAA,kBAAkB,CAAC,KAAD,CAAlB;AACD,CALM","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuItemRadio/useMenuItemRadioStyles.ts"],"names":[],"mappings":"AAAA,SAAS,YAAT,QAA6B,gBAA7B;AACA,SAAS,2BAAT,QAA4C,wBAA5C;AACA,SAAS,0BAAT,QAA2C,+BAA3C;AAGA,OAAO,MAAM,sBAAsB,GAAG,mBAA/B;AAEP,OAAO,MAAM,+BAA+B,GAAI,KAAD,IAA8B;AAC3E,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,YAAY,CAAC,sBAAD,EAAyB,KAAK,CAAC,IAAN,CAAW,SAApC,CAAnC;AAEA,EAAA,0BAA0B,CAAC,KAAD,CAA1B;AACA,EAAA,2BAA2B,CAAC,KAAD,CAA3B;AACD,CALM","sourceRoot":""}
@@ -1,6 +1,6 @@
1
1
  import type { MenuListProps } from './MenuList.types';
2
2
  import type { ForwardRefComponent } from '@fluentui/react-utilities';
3
3
  /**
4
- * Define a styled MenuList, using the `useMenuList` hook.
4
+ * Define a styled MenuList, using the `useMenuList_unstable` hook.
5
5
  */
6
6
  export declare const MenuList: ForwardRefComponent<MenuListProps>;
@@ -1,17 +1,17 @@
1
1
  import * as React from 'react';
2
- import { useMenuList } from './useMenuList';
3
- import { renderMenuList } from './renderMenuList';
4
- import { useMenuListContextValues } from './useMenuListContextValues';
5
- import { useMenuListStyles } from './useMenuListStyles';
2
+ import { useMenuList_unstable } from './useMenuList';
3
+ import { renderMenuList_unstable } from './renderMenuList';
4
+ import { useMenuListContextValues_unstable } from './useMenuListContextValues';
5
+ import { useMenuListStyles_unstable } from './useMenuListStyles';
6
6
  /**
7
- * Define a styled MenuList, using the `useMenuList` hook.
7
+ * Define a styled MenuList, using the `useMenuList_unstable` hook.
8
8
  */
9
9
 
10
10
  export const MenuList = /*#__PURE__*/React.forwardRef((props, ref) => {
11
- const state = useMenuList(props, ref);
12
- const contextValues = useMenuListContextValues(state);
13
- useMenuListStyles(state);
14
- return renderMenuList(state, contextValues);
11
+ const state = useMenuList_unstable(props, ref);
12
+ const contextValues = useMenuListContextValues_unstable(state);
13
+ useMenuListStyles_unstable(state);
14
+ return renderMenuList_unstable(state, contextValues);
15
15
  });
16
16
  MenuList.displayName = 'MenuList';
17
17
  //# sourceMappingURL=MenuList.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuList/MenuList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,WAAT,QAA4B,eAA5B;AACA,SAAS,cAAT,QAA+B,kBAA/B;AACA,SAAS,wBAAT,QAAyC,4BAAzC;AACA,SAAS,iBAAT,QAAkC,qBAAlC;AAIA;;AAEG;;AACH,OAAO,MAAM,QAAQ,gBAAuC,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;AAC1F,QAAM,KAAK,GAAG,WAAW,CAAC,KAAD,EAAQ,GAAR,CAAzB;AACA,QAAM,aAAa,GAAG,wBAAwB,CAAC,KAAD,CAA9C;AACA,EAAA,iBAAiB,CAAC,KAAD,CAAjB;AAEA,SAAO,cAAc,CAAC,KAAD,EAAQ,aAAR,CAArB;AACD,CAN2D,CAArD;AAQP,QAAQ,CAAC,WAAT,GAAuB,UAAvB","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuList/MenuList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,oBAAT,QAAqC,eAArC;AACA,SAAS,uBAAT,QAAwC,kBAAxC;AACA,SAAS,iCAAT,QAAkD,4BAAlD;AACA,SAAS,0BAAT,QAA2C,qBAA3C;AAIA;;AAEG;;AACH,OAAO,MAAM,QAAQ,gBAAuC,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;AAC1F,QAAM,KAAK,GAAG,oBAAoB,CAAC,KAAD,EAAQ,GAAR,CAAlC;AACA,QAAM,aAAa,GAAG,iCAAiC,CAAC,KAAD,CAAvD;AACA,EAAA,0BAA0B,CAAC,KAAD,CAA1B;AAEA,SAAO,uBAAuB,CAAC,KAAD,EAAQ,aAAR,CAA9B;AACD,CAN2D,CAArD;AAQP,QAAQ,CAAC,WAAT,GAAuB,UAAvB","sourceRoot":""}
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
- import { ComponentProps, ComponentState, IntrinsicShorthandProps } from '@fluentui/react-utilities';
3
- import { MenuListContextValue } from '../../contexts/menuListContext';
4
- import { SelectableHandler } from '../../selectable/index';
2
+ import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';
3
+ import type { MenuListContextValue } from '../../contexts/menuListContext';
4
+ import type { SelectableHandler } from '../../selectable/index';
5
5
  export declare type MenuCheckedValueChangeEvent = React.MouseEvent | React.KeyboardEvent;
6
6
  export declare type MenuCheckedValueChangeData = {
7
7
  /** The name of the value */
@@ -35,7 +35,7 @@ export declare type MenuListCommons = {
35
35
  hasCheckmarks?: boolean;
36
36
  };
37
37
  export declare type MenuListSlots = {
38
- root: IntrinsicShorthandProps<'div'>;
38
+ root: Slot<'div'>;
39
39
  };
40
40
  export declare type MenuListProps = ComponentProps<MenuListSlots> & Partial<MenuListCommons>;
41
41
  export declare type MenuListState = ComponentState<MenuListSlots> & MenuListCommons & {
@@ -1,5 +1,5 @@
1
1
  export * from './MenuList';
2
- export * from './MenuList.types';
2
+ export type { MenuCheckedValueChangeData, MenuCheckedValueChangeEvent, MenuListContextValues, MenuListProps, MenuListSlots, MenuListState, UninitializedMenuListState, } from './MenuList.types';
3
3
  export * from './renderMenuList';
4
4
  export * from './useMenuList';
5
5
  export * from './useMenuListStyles';
@@ -1,5 +1,4 @@
1
1
  export * from './MenuList';
2
- export * from './MenuList.types';
3
2
  export * from './renderMenuList';
4
3
  export * from './useMenuList';
5
4
  export * from './useMenuListStyles';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/MenuList/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/MenuList/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAW3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC"}
@@ -2,4 +2,4 @@ import { MenuListContextValues, MenuListState } from './MenuList.types';
2
2
  /**
3
3
  * Function that renders the final JSX of the component
4
4
  */
5
- export declare const renderMenuList: (state: MenuListState, contextValues: MenuListContextValues) => JSX.Element;
5
+ export declare const renderMenuList_unstable: (state: MenuListState, contextValues: MenuListContextValues) => JSX.Element;
@@ -5,13 +5,14 @@ import { MenuListProvider } from '../../contexts/menuListContext';
5
5
  * Function that renders the final JSX of the component
6
6
  */
7
7
 
8
- export const renderMenuList = (state, contextValues) => {
8
+ export const renderMenuList_unstable = (state, contextValues) => {
9
9
  const {
10
10
  slots,
11
11
  slotProps
12
12
  } = getSlots(state);
13
13
  return /*#__PURE__*/React.createElement(MenuListProvider, {
14
14
  value: contextValues.menuList
15
- }, /*#__PURE__*/React.createElement(slots.root, Object.assign({}, slotProps.root)));
15
+ }, /*#__PURE__*/React.createElement(slots.root, { ...slotProps.root
16
+ }));
16
17
  };
17
18
  //# sourceMappingURL=renderMenuList.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuList/renderMenuList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AAEA,SAAS,gBAAT,QAAiC,gCAAjC;AAEA;;AAEG;;AACH,OAAO,MAAM,cAAc,GAAG,CAAC,KAAD,EAAuB,aAAvB,KAA+D;AAC3F,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,QAAQ,CAAgB,KAAhB,CAArC;AAEA,sBACE,KAAA,CAAA,aAAA,CAAC,gBAAD,EAAiB;AAAC,IAAA,KAAK,EAAE,aAAa,CAAC;AAAtB,GAAjB,eACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,MAAA,CAAA,MAAA,CAAA,EAAA,EAAK,SAAS,CAAC,IAAf,CAAX,CADF,CADF;AAKD,CARM","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuList/renderMenuList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AAEA,SAAS,gBAAT,QAAiC,gCAAjC;AAEA;;AAEG;;AACH,OAAO,MAAM,uBAAuB,GAAG,CAAC,KAAD,EAAuB,aAAvB,KAA+D;AACpG,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,QAAQ,CAAgB,KAAhB,CAArC;AAEA,sBACE,KAAA,CAAA,aAAA,CAAC,gBAAD,EAAiB;AAAC,IAAA,KAAK,EAAE,aAAa,CAAC;AAAtB,GAAjB,eACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CADF,CADF;AAKD,CARM","sourceRoot":""}
@@ -3,4 +3,4 @@ import type { MenuListProps, MenuListState } from './MenuList.types';
3
3
  /**
4
4
  * Returns the props and state required to render the component
5
5
  */
6
- export declare const useMenuList: (props: MenuListProps, ref: React.Ref<HTMLElement>) => MenuListState;
6
+ export declare const useMenuList_unstable: (props: MenuListProps, ref: React.Ref<HTMLElement>) => MenuListState;
@@ -2,13 +2,13 @@ import * as React from 'react';
2
2
  import { useMergedRefs, useEventCallback, useControllableState, getNativeElementProps } from '@fluentui/react-utilities';
3
3
  import { useArrowNavigationGroup, useFocusFinders } from '@fluentui/react-tabster';
4
4
  import { useHasParentContext } from '@fluentui/react-context-selector';
5
- import { useMenuContext } from '../../contexts/menuContext';
5
+ import { useMenuContext_unstable } from '../../contexts/menuContext';
6
6
  import { MenuContext } from '../../contexts/menuContext';
7
7
  /**
8
8
  * Returns the props and state required to render the component
9
9
  */
10
10
 
11
- export const useMenuList = (props, ref) => {
11
+ export const useMenuList_unstable = (props, ref) => {
12
12
  const focusAttributes = useArrowNavigationGroup({
13
13
  circular: true
14
14
  });
@@ -26,6 +26,9 @@ export const useMenuList = (props, ref) => {
26
26
 
27
27
  const innerRef = React.useRef(null);
28
28
  const initialState = {
29
+ components: {
30
+ root: 'div'
31
+ },
29
32
  root: getNativeElementProps('div', {
30
33
  ref: useMergedRefs(ref, innerRef),
31
34
  role: 'menu',
@@ -131,12 +134,12 @@ export const useMenuList = (props, ref) => {
131
134
  */
132
135
 
133
136
  const useMenuContextSelectors = () => {
134
- const checkedValues = useMenuContext(context => context.checkedValues);
135
- const onCheckedValueChange = useMenuContext(context => context.onCheckedValueChange);
136
- const defaultCheckedValues = useMenuContext(context => context.defaultCheckedValues);
137
- const triggerId = useMenuContext(context => context.triggerId);
138
- const hasIcons = useMenuContext(context => context.hasIcons);
139
- const hasCheckmarks = useMenuContext(context => context.hasCheckmarks);
137
+ const checkedValues = useMenuContext_unstable(context => context.checkedValues);
138
+ const onCheckedValueChange = useMenuContext_unstable(context => context.onCheckedValueChange);
139
+ const defaultCheckedValues = useMenuContext_unstable(context => context.defaultCheckedValues);
140
+ const triggerId = useMenuContext_unstable(context => context.triggerId);
141
+ const hasIcons = useMenuContext_unstable(context => context.hasIcons);
142
+ const hasCheckmarks = useMenuContext_unstable(context => context.hasCheckmarks);
140
143
  return {
141
144
  checkedValues,
142
145
  onCheckedValueChange,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuList/useMenuList.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SACE,aADF,EAEE,gBAFF,EAGE,oBAHF,EAIE,qBAJF,QAKO,2BALP;AAMA,SAAS,uBAAT,EAAkC,eAAlC,QAAyD,yBAAzD;AACA,SAAS,mBAAT,QAAoC,kCAApC;AACA,SAAS,cAAT,QAA+B,4BAA/B;AACA,SAAS,WAAT,QAA4B,4BAA5B;AAGA;;AAEG;;AACH,OAAO,MAAM,WAAW,GAAG,CAAC,KAAD,EAAuB,GAAvB,KAAqE;AAC9F,QAAM,eAAe,GAAG,uBAAuB,CAAC;AAAE,IAAA,QAAQ,EAAE;AAAZ,GAAD,CAA/C;AACA,QAAM;AAAE,IAAA;AAAF,MAAuB,eAAe,EAA5C;AACA,QAAM,WAAW,GAAG,uBAAuB,EAA3C;AACA,QAAM,cAAc,GAAG,mBAAmB,CAAC,WAAD,CAA1C;;AAEA,MAAI,wBAAwB,CAAC,KAAD,EAAQ,WAAR,EAAqB,cAArB,CAA5B,EAAkE;AAChE;AACA;AACA,IAAA,O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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;
@@ -1,4 +1,4 @@
1
- export function useMenuListContextValues(state) {
1
+ export function useMenuListContextValues_unstable(state) {
2
2
  const {
3
3
  onCheckedValueChange,
4
4
  checkedValues,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuList/useMenuListContextValues.ts"],"names":[],"mappings":"AAEA,OAAM,SAAU,wBAAV,CAAmC,KAAnC,EAAuD;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","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuList/useMenuListContextValues.ts"],"names":[],"mappings":"AAEA,OAAM,SAAU,iCAAV,CAA4C,KAA5C,EAAgE;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","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;
@@ -1,21 +1,22 @@
1
- import { mergeClasses, __styles } from '@fluentui/react-make-styles';
1
+ import { mergeClasses, __styles, shorthands } from '@griffel/react';
2
2
  export const menuListClassName = 'fui-MenuList';
3
3
 
4
4
  const useStyles = /*#__PURE__*/__styles({
5
5
  "root": {
6
6
  "mc9l5x": "f22iagw",
7
7
  "Beiy3e4": "f1vx9l62",
8
- "rmohyg": "f1t6b6ee"
8
+ "i8kkvl": "f16mnhsx",
9
+ "Belr9w4": "fbi42co"
9
10
  }
10
11
  }, {
11
- "d": [".f22iagw{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}", ".f1vx9l62{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}", ".f1t6b6ee{gap:2px;}"]
12
+ "d": [".f22iagw{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}", ".f1vx9l62{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}", ".f16mnhsx{-webkit-column-gap:2px;column-gap:2px;}", ".fbi42co{row-gap:2px;}"]
12
13
  });
13
14
  /**
14
15
  * Apply styling to the Menu slots based on the state
15
16
  */
16
17
 
17
18
 
18
- export const useMenuListStyles = state => {
19
+ export const useMenuListStyles_unstable = state => {
19
20
  const styles = useStyles();
20
21
  state.root.className = mergeClasses(menuListClassName, styles.root, state.root.className);
21
22
  return state;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuList/useMenuListStyles.ts"],"names":[],"mappings":"AAAA,SAAS,YAAT,kBAAyC,6BAAzC;AAGA,OAAO,MAAM,iBAAiB,GAAG,cAA1B;;AAEP,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAQA;;AAEG;;;AACH,OAAO,MAAM,iBAAiB,GAAI,KAAD,IAAwC;AACvE,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,YAAY,CAAC,iBAAD,EAAoB,MAAM,CAAC,IAA3B,EAAiC,KAAK,CAAC,IAAN,CAAW,SAA5C,CAAnC;AACA,SAAO,KAAP;AACD,CAJM","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuList/useMenuListStyles.ts"],"names":[],"mappings":"AAAA,SAAS,YAAT,YAAmC,UAAnC,QAAqD,gBAArD;AAGA,OAAO,MAAM,iBAAiB,GAAG,cAA1B;;AAEP,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAQA;;AAEG;;;AACH,OAAO,MAAM,0BAA0B,GAAI,KAAD,IAAwC;AAChF,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,YAAY,CAAC,iBAAD,EAAoB,MAAM,CAAC,IAA3B,EAAiC,KAAK,CAAC,IAAN,CAAW,SAA5C,CAAnC;AACA,SAAO,KAAP;AACD,CAJM","sourceRoot":""}
@@ -1,15 +1,15 @@
1
1
  import * as React from 'react';
2
- import { useMenuPopover } from './useMenuPopover';
3
- import { useMenuPopoverStyles } from './useMenuPopoverStyles';
4
- import { renderMenuPopover } from './renderMenuPopover';
2
+ import { useMenuPopover_unstable } from './useMenuPopover';
3
+ import { useMenuPopoverStyles_unstable } from './useMenuPopoverStyles';
4
+ import { renderMenuPopover_unstable } from './renderMenuPopover';
5
5
  /**
6
6
  * Popover intended to wrap `MenuList` and adds styling and interaction support specific to menus
7
7
  */
8
8
 
9
9
  export const MenuPopover = /*#__PURE__*/React.forwardRef((props, ref) => {
10
- const state = useMenuPopover(props, ref);
11
- useMenuPopoverStyles(state);
12
- return renderMenuPopover(state);
10
+ const state = useMenuPopover_unstable(props, ref);
11
+ useMenuPopoverStyles_unstable(state);
12
+ return renderMenuPopover_unstable(state);
13
13
  });
14
14
  MenuPopover.displayName = 'MenuPopover';
15
15
  //# sourceMappingURL=MenuPopover.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuPopover/MenuPopover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,cAAT,QAA+B,kBAA/B;AACA,SAAS,oBAAT,QAAqC,wBAArC;AACA,SAAS,iBAAT,QAAkC,qBAAlC;AAIA;;AAEG;;AACH,OAAO,MAAM,WAAW,gBAA0C,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;AAChG,QAAM,KAAK,GAAG,cAAc,CAAC,KAAD,EAAQ,GAAR,CAA5B;AAEA,EAAA,oBAAoB,CAAC,KAAD,CAApB;AACA,SAAO,iBAAiB,CAAC,KAAD,CAAxB;AACD,CALiE,CAA3D;AAOP,WAAW,CAAC,WAAZ,GAA0B,aAA1B","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuPopover/MenuPopover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,uBAAT,QAAwC,kBAAxC;AACA,SAAS,6BAAT,QAA8C,wBAA9C;AACA,SAAS,0BAAT,QAA2C,qBAA3C;AAIA;;AAEG;;AACH,OAAO,MAAM,WAAW,gBAA0C,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;AAChG,QAAM,KAAK,GAAG,uBAAuB,CAAC,KAAD,EAAQ,GAAR,CAArC;AAEA,EAAA,6BAA6B,CAAC,KAAD,CAA7B;AACA,SAAO,0BAA0B,CAAC,KAAD,CAAjC;AACD,CALiE,CAA3D;AAOP,WAAW,CAAC,WAAZ,GAA0B,aAA1B","sourceRoot":""}
@@ -1,6 +1,6 @@
1
- import { ComponentProps, ComponentState, IntrinsicShorthandProps } from '@fluentui/react-utilities';
1
+ import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';
2
2
  export declare type MenuPopoverSlots = {
3
- root: IntrinsicShorthandProps<'div'>;
3
+ root: Slot<'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;
@@ -5,16 +5,18 @@ import { Portal } from '@fluentui/react-portal';
5
5
  * Render the final JSX of MenuPopover
6
6
  */
7
7
 
8
- export const renderMenuPopover = state => {
8
+ export const renderMenuPopover_unstable = state => {
9
9
  const {
10
10
  slots,
11
11
  slotProps
12
12
  } = getSlots(state);
13
13
 
14
14
  if (state.inline) {
15
- return /*#__PURE__*/React.createElement(slots.root, Object.assign({}, slotProps.root));
15
+ return /*#__PURE__*/React.createElement(slots.root, { ...slotProps.root
16
+ });
16
17
  }
17
18
 
18
- return /*#__PURE__*/React.createElement(Portal, null, /*#__PURE__*/React.createElement(slots.root, Object.assign({}, slotProps.root)));
19
+ return /*#__PURE__*/React.createElement(Portal, null, /*#__PURE__*/React.createElement(slots.root, { ...slotProps.root
20
+ }));
19
21
  };
20
22
  //# sourceMappingURL=renderMenuPopover.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuPopover/renderMenuPopover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AAEA,SAAS,MAAT,QAAuB,wBAAvB;AAEA;;AAEG;;AACH,OAAO,MAAM,iBAAiB,GAAI,KAAD,IAA4B;AAC3D,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,QAAQ,CAAmB,KAAnB,CAArC;;AAEA,MAAI,KAAK,CAAC,MAAV,EAAkB;AAChB,wBAAO,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,MAAA,CAAA,MAAA,CAAA,EAAA,EAAK,SAAS,CAAC,IAAf,CAAX,CAAP;AACD;;AAED,sBACE,KAAA,CAAA,aAAA,CAAC,MAAD,EAAO,IAAP,eACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,MAAA,CAAA,MAAA,CAAA,EAAA,EAAK,SAAS,CAAC,IAAf,CAAX,CADF,CADF;AAKD,CAZM","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuPopover/renderMenuPopover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AAEA,SAAS,MAAT,QAAuB,wBAAvB;AAEA;;AAEG;;AACH,OAAO,MAAM,0BAA0B,GAAI,KAAD,IAA4B;AACpE,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,QAAQ,CAAmB,KAAnB,CAArC;;AAEA,MAAI,KAAK,CAAC,MAAV,EAAkB;AAChB,wBAAO,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,KAAX,CAAP;AACD;;AAED,sBACE,KAAA,CAAA,aAAA,CAAC,MAAD,EAAO,IAAP,eACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CADF,CADF;AAKD,CAZM","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;
@@ -1,26 +1,26 @@
1
1
  import * as React from 'react';
2
2
  import { ArrowLeft, Tab, ArrowRight, Escape } from '@fluentui/keyboard-keys';
3
3
  import { getNativeElementProps, useEventCallback, useMergedRefs } from '@fluentui/react-utilities';
4
- import { useMenuContext } from '../../contexts/menuContext';
4
+ import { useMenuContext_unstable } from '../../contexts/menuContext';
5
5
  import { dispatchMenuEnterEvent } from '../../utils/index';
6
6
  import { useFluent } from '@fluentui/react-shared-contexts';
7
7
  import { useIsSubmenu } from '../../utils/useIsSubmenu';
8
8
  /**
9
9
  * Create the state required to render MenuPopover.
10
10
  *
11
- * The returned state can be modified with hooks such as useMenuPopoverStyles,
12
- * before being passed to renderMenuPopover.
11
+ * The returned state can be modified with hooks such as useMenuPopoverStyles_unstable,
12
+ * before being passed to renderMenuPopover_unstable.
13
13
  *
14
14
  * @param props - props from this instance of MenuPopover
15
15
  * @param ref - reference to root HTMLElement of MenuPopover
16
16
  */
17
17
 
18
- export const useMenuPopover = (props, ref) => {
18
+ export const useMenuPopover_unstable = (props, ref) => {
19
19
  var _a;
20
20
 
21
- const popoverRef = useMenuContext(context => context.menuPopoverRef);
22
- const setOpen = useMenuContext(context => context.setOpen);
23
- const openOnHover = useMenuContext(context => context.openOnHover);
21
+ const popoverRef = useMenuContext_unstable(context => context.menuPopoverRef);
22
+ const setOpen = useMenuContext_unstable(context => context.setOpen);
23
+ const openOnHover = useMenuContext_unstable(context => context.openOnHover);
24
24
  const isSubmenu = useIsSubmenu();
25
25
  const canDispatchCustomEventRef = React.useRef(true);
26
26
  const throttleDispatchTimerRef = React.useRef(0);
@@ -49,7 +49,7 @@ export const useMenuPopover = (props, ref) => {
49
49
  React.useEffect(() => {
50
50
  () => clearTimeout(throttleDispatchTimerRef.current);
51
51
  }, []);
52
- const inline = (_a = useMenuContext(context => context.inline)) !== null && _a !== void 0 ? _a : false;
52
+ const inline = (_a = useMenuContext_unstable(context => context.inline)) !== null && _a !== void 0 ? _a : false;
53
53
  const rootProps = getNativeElementProps('div', {
54
54
  role: 'presentation',
55
55
  ...props,
@@ -95,6 +95,9 @@ export const useMenuPopover = (props, ref) => {
95
95
  });
96
96
  return {
97
97
  inline,
98
+ components: {
99
+ root: 'div'
100
+ },
98
101
  root: rootProps
99
102
  };
100
103
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuPopover/useMenuPopover.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,SAAT,EAAoB,GAApB,EAAyB,UAAzB,EAAqC,MAArC,QAAmD,yBAAnD;AACA,SAAS,qBAAT,EAAgC,gBAAhC,EAAkD,aAAlD,QAAuE,2BAAvE;AAEA,SAAS,cAAT,QAA+B,4BAA/B;AACA,SAAS,sBAAT,QAAuC,mBAAvC;AACA,SAAS,SAAT,QAA0B,iCAA1B;AACA,SAAS,YAAT,QAA6B,0BAA7B;AAEA;;;;;;;;AAQG;;AACH,OAAO,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D,GAfqC,CAAtC;AAiBA,SAAO;AACL,IAAA,MADK;AAEL,IAAA,UAAU,EAAE;AACV,MAAA,IAAI,EAAE;AADI,KAFP;AAKL,IAAA,IAAI,EAAE;AALD,GAAP;AAOD,CA9EM","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;
@@ -1,14 +1,18 @@
1
- import { mergeClasses, __styles } from '@fluentui/react-make-styles';
1
+ import { shorthands, mergeClasses, __styles } from '@griffel/react';
2
+ import { tokens } from '@fluentui/react-theme';
2
3
  export const menuPopoverClassName = 'fui-MenuPopover';
3
4
 
4
5
  const useStyles = /*#__PURE__*/__styles({
5
6
  "root": {
6
- "Dimara": "ft85np5",
7
+ "Bbmb7ep": ["f1aa9q02", "f16jpd5f"],
8
+ "Beyfa6y": ["f16jpd5f", "f1aa9q02"],
9
+ "B7oj6ja": ["f1jar5jt", "fyu767a"],
10
+ "Btl43ni": ["fyu767a", "f1jar5jt"],
7
11
  "De3pzq": "fxugw4r",
8
12
  "Bf4jedk": "fkqu4gx",
9
13
  "B2u0y6b": "f1kaai3v",
10
14
  "a9b677": "f1ahpp82",
11
- "E5pizo": ["f1hg901r", "f136t921"],
15
+ "E5pizo": "f1hg901r",
12
16
  "z8tnut": "f10ra9hq",
13
17
  "z189sj": ["f8wuabp", "fycuoez"],
14
18
  "Byoj8tv": "f1y2xyjm",
@@ -27,14 +31,14 @@ const useStyles = /*#__PURE__*/__styles({
27
31
  "zhjwy3": ["fjscplz", "f1gn591s"]
28
32
  }
29
33
  }, {
30
- "d": [".ft85np5{border-radius:var(--borderRadiusMedium);}", ".fxugw4r{background-color:var(--colorNeutralBackground1);}", ".fkqu4gx{min-width:128px;}", ".f1kaai3v{max-width:300px;}", ".f1ahpp82{width:-webkit-max-content;width:-moz-max-content;width:max-content;}", ".f1hg901r{box-shadow:var(--shadow16);}", ".f136t921{box-shadow:var(--shadow-16);}", ".f10ra9hq{padding-top:4px;}", ".f8wuabp{padding-right:4px;}", ".fycuoez{padding-left:4px;}", ".f1y2xyjm{padding-bottom:4px;}", ".f5ogflp{border-top-width:1px;}", ".f1hqa2wf{border-right-width:1px;}", ".finvdd3{border-left-width:1px;}", ".f1f09k3d{border-bottom-width:1px;}", ".fzkkow9{border-top-style:solid;}", ".fcdblym{border-right-style:solid;}", ".fjik90z{border-left-style:solid;}", ".fg706s2{border-bottom-style:solid;}", ".fghlq4f{border-top-color:var(--colorTransparentStroke);}", ".f1gn591s{border-right-color:var(--colorTransparentStroke);}", ".fjscplz{border-left-color:var(--colorTransparentStroke);}", ".fb073pr{border-bottom-color:var(--colorTransparentStroke);}"]
34
+ "d": [".f1aa9q02{border-bottom-right-radius:var(--borderRadiusMedium);}", ".f16jpd5f{border-bottom-left-radius:var(--borderRadiusMedium);}", ".f1jar5jt{border-top-right-radius:var(--borderRadiusMedium);}", ".fyu767a{border-top-left-radius:var(--borderRadiusMedium);}", ".fxugw4r{background-color:var(--colorNeutralBackground1);}", ".fkqu4gx{min-width:128px;}", ".f1kaai3v{max-width:300px;}", ".f1ahpp82{width:-webkit-max-content;width:-moz-max-content;width:max-content;}", ".f1hg901r{box-shadow:var(--shadow16);}", ".f10ra9hq{padding-top:4px;}", ".f8wuabp{padding-right:4px;}", ".fycuoez{padding-left:4px;}", ".f1y2xyjm{padding-bottom:4px;}", ".f5ogflp{border-top-width:1px;}", ".f1hqa2wf{border-right-width:1px;}", ".finvdd3{border-left-width:1px;}", ".f1f09k3d{border-bottom-width:1px;}", ".fzkkow9{border-top-style:solid;}", ".fcdblym{border-right-style:solid;}", ".fjik90z{border-left-style:solid;}", ".fg706s2{border-bottom-style:solid;}", ".fghlq4f{border-top-color:var(--colorTransparentStroke);}", ".f1gn591s{border-right-color:var(--colorTransparentStroke);}", ".fjscplz{border-left-color:var(--colorTransparentStroke);}", ".fb073pr{border-bottom-color:var(--colorTransparentStroke);}"]
31
35
  });
32
36
  /**
33
37
  * Apply styling to the Menu slots based on the state
34
38
  */
35
39
 
36
40
 
37
- export const useMenuPopoverStyles = state => {
41
+ export const useMenuPopoverStyles_unstable = state => {
38
42
  const styles = useStyles();
39
43
  state.root.className = mergeClasses(menuPopoverClassName, styles.root, state.root.className);
40
44
  return state;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuPopover/useMenuPopoverStyles.ts"],"names":[],"mappings":"AAAA,SAAS,YAAT,kBAAyC,6BAAzC;AAGA,OAAO,MAAM,oBAAoB,GAAG,iBAA7B;;AAEP,MAAM,SAAS,gBAAG;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;;;AACH,OAAO,MAAM,oBAAoB,GAAI,KAAD,IAA8C;AAChF,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,YAAY,CAAC,oBAAD,EAAuB,MAAM,CAAC,IAA9B,EAAoC,KAAK,CAAC,IAAN,CAAW,SAA/C,CAAnC;AACA,SAAO,KAAP;AACD,CAJM","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuPopover/useMenuPopoverStyles.ts"],"names":[],"mappings":"AAAA,SAAS,UAAT,EAAqB,YAArB,kBAAqD,gBAArD;AACA,SAAS,MAAT,QAAuB,uBAAvB;AAGA,OAAO,MAAM,oBAAoB,GAAG,iBAA7B;;AAEP,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;A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