@fluentui/react-menu 0.0.0-nightly0e0cf06c3420211029.1 → 0.0.0-nightly3082edf34720220208.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (407) hide show
  1. package/CHANGELOG.json +360 -26
  2. package/CHANGELOG.md +81 -20
  3. package/Spec.md +21 -16
  4. package/dist/react-menu.d.ts +139 -70
  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 +7 -7
  9. package/lib/components/Menu/Menu.js.map +1 -1
  10. package/lib/components/Menu/renderMenu.d.ts +1 -1
  11. package/lib/components/Menu/renderMenu.js +1 -1
  12. package/lib/components/Menu/renderMenu.js.map +1 -1
  13. package/lib/components/Menu/useMenu.d.ts +2 -2
  14. package/lib/components/Menu/useMenu.js +119 -128
  15. package/lib/components/Menu/useMenu.js.map +1 -1
  16. package/lib/components/Menu/useMenuContextValues.d.ts +1 -1
  17. package/lib/components/Menu/useMenuContextValues.js +35 -33
  18. package/lib/components/Menu/useMenuContextValues.js.map +1 -1
  19. package/lib/components/MenuDivider/MenuDivider.d.ts +1 -1
  20. package/lib/components/MenuDivider/MenuDivider.js +8 -8
  21. package/lib/components/MenuDivider/MenuDivider.js.map +1 -1
  22. package/lib/components/MenuDivider/MenuDivider.types.d.ts +2 -2
  23. package/lib/components/MenuDivider/renderMenuDivider.d.ts +1 -1
  24. package/lib/components/MenuDivider/renderMenuDivider.js +7 -7
  25. package/lib/components/MenuDivider/renderMenuDivider.js.map +1 -1
  26. package/lib/components/MenuDivider/useMenuDivider.d.ts +1 -1
  27. package/lib/components/MenuDivider/useMenuDivider.js +9 -7
  28. package/lib/components/MenuDivider/useMenuDivider.js.map +1 -1
  29. package/lib/components/MenuDivider/useMenuDividerStyles.d.ts +2 -1
  30. package/lib/components/MenuDivider/useMenuDividerStyles.js +7 -5
  31. package/lib/components/MenuDivider/useMenuDividerStyles.js.map +1 -1
  32. package/lib/components/MenuGroup/MenuGroup.d.ts +1 -1
  33. package/lib/components/MenuGroup/MenuGroup.js +10 -8
  34. package/lib/components/MenuGroup/MenuGroup.js.map +1 -1
  35. package/lib/components/MenuGroup/MenuGroup.types.d.ts +3 -3
  36. package/lib/components/MenuGroup/index.d.ts +1 -0
  37. package/lib/components/MenuGroup/index.js +1 -0
  38. package/lib/components/MenuGroup/index.js.map +1 -1
  39. package/lib/components/MenuGroup/renderMenuGroup.d.ts +1 -1
  40. package/lib/components/MenuGroup/renderMenuGroup.js +7 -7
  41. package/lib/components/MenuGroup/renderMenuGroup.js.map +1 -1
  42. package/lib/components/MenuGroup/useMenuGroup.d.ts +1 -1
  43. package/lib/components/MenuGroup/useMenuGroup.js +10 -7
  44. package/lib/components/MenuGroup/useMenuGroup.js.map +1 -1
  45. package/lib/components/MenuGroup/useMenuGroupContextValues.d.ts +1 -1
  46. package/lib/components/MenuGroup/useMenuGroupContextValues.js +8 -8
  47. package/lib/components/MenuGroup/useMenuGroupContextValues.js.map +1 -1
  48. package/lib/components/MenuGroup/useMenuGroupStyles.d.ts +3 -0
  49. package/lib/components/MenuGroup/useMenuGroupStyles.js +7 -0
  50. package/lib/components/MenuGroup/useMenuGroupStyles.js.map +1 -0
  51. package/lib/components/MenuGroupHeader/MenuGroupHeader.d.ts +1 -1
  52. package/lib/components/MenuGroupHeader/MenuGroupHeader.js +8 -8
  53. package/lib/components/MenuGroupHeader/MenuGroupHeader.js.map +1 -1
  54. package/lib/components/MenuGroupHeader/MenuGroupHeader.types.d.ts +2 -2
  55. package/lib/components/MenuGroupHeader/renderMenuGroupHeader.d.ts +1 -1
  56. package/lib/components/MenuGroupHeader/renderMenuGroupHeader.js +7 -7
  57. package/lib/components/MenuGroupHeader/renderMenuGroupHeader.js.map +1 -1
  58. package/lib/components/MenuGroupHeader/useMenuGroupHeader.d.ts +1 -1
  59. package/lib/components/MenuGroupHeader/useMenuGroupHeader.js +13 -8
  60. package/lib/components/MenuGroupHeader/useMenuGroupHeader.js.map +1 -1
  61. package/lib/components/MenuGroupHeader/useMenuGroupHeaderStyles.d.ts +2 -1
  62. package/lib/components/MenuGroupHeader/useMenuGroupHeaderStyles.js +7 -5
  63. package/lib/components/MenuGroupHeader/useMenuGroupHeaderStyles.js.map +1 -1
  64. package/lib/components/MenuItem/MenuItem.d.ts +1 -1
  65. package/lib/components/MenuItem/MenuItem.js +8 -10
  66. package/lib/components/MenuItem/MenuItem.js.map +1 -1
  67. package/lib/components/MenuItem/MenuItem.types.d.ts +7 -7
  68. package/lib/components/MenuItem/renderMenuItem.d.ts +1 -1
  69. package/lib/components/MenuItem/renderMenuItem.js +12 -8
  70. package/lib/components/MenuItem/renderMenuItem.js.map +1 -1
  71. package/lib/components/MenuItem/useCharacterSearch.js +7 -7
  72. package/lib/components/MenuItem/useCharacterSearch.js.map +1 -1
  73. package/lib/components/MenuItem/useMenuItem.d.ts +2 -6
  74. package/lib/components/MenuItem/useMenuItem.js +35 -45
  75. package/lib/components/MenuItem/useMenuItem.js.map +1 -1
  76. package/lib/components/MenuItem/useMenuItemStyles.d.ts +2 -1
  77. package/lib/components/MenuItem/useMenuItemStyles.js +31 -27
  78. package/lib/components/MenuItem/useMenuItemStyles.js.map +1 -1
  79. package/lib/components/MenuItemCheckbox/MenuItemCheckbox.d.ts +1 -1
  80. package/lib/components/MenuItemCheckbox/MenuItemCheckbox.js +8 -8
  81. package/lib/components/MenuItemCheckbox/MenuItemCheckbox.js.map +1 -1
  82. package/lib/components/MenuItemCheckbox/index.d.ts +1 -0
  83. package/lib/components/MenuItemCheckbox/index.js +1 -0
  84. package/lib/components/MenuItemCheckbox/index.js.map +1 -1
  85. package/lib/components/MenuItemCheckbox/renderMenuItemCheckbox.d.ts +1 -1
  86. package/lib/components/MenuItemCheckbox/renderMenuItemCheckbox.js +11 -8
  87. package/lib/components/MenuItemCheckbox/renderMenuItemCheckbox.js.map +1 -1
  88. package/lib/components/MenuItemCheckbox/useMenuItemCheckbox.d.ts +1 -1
  89. package/lib/components/MenuItemCheckbox/useMenuItemCheckbox.js +14 -15
  90. package/lib/components/MenuItemCheckbox/useMenuItemCheckbox.js.map +1 -1
  91. package/lib/components/MenuItemCheckbox/useMenuItemCheckboxStyles.d.ts +2 -1
  92. package/lib/components/MenuItemCheckbox/useMenuItemCheckboxStyles.js +8 -5
  93. package/lib/components/MenuItemCheckbox/useMenuItemCheckboxStyles.js.map +1 -1
  94. package/lib/components/MenuItemRadio/MenuItemRadio.d.ts +1 -1
  95. package/lib/components/MenuItemRadio/MenuItemRadio.js +8 -8
  96. package/lib/components/MenuItemRadio/MenuItemRadio.js.map +1 -1
  97. package/lib/components/MenuItemRadio/index.d.ts +1 -0
  98. package/lib/components/MenuItemRadio/index.js +1 -0
  99. package/lib/components/MenuItemRadio/index.js.map +1 -1
  100. package/lib/components/MenuItemRadio/renderMenuItemRadio.d.ts +1 -1
  101. package/lib/components/MenuItemRadio/renderMenuItemRadio.js +11 -8
  102. package/lib/components/MenuItemRadio/renderMenuItemRadio.js.map +1 -1
  103. package/lib/components/MenuItemRadio/useMenuItemRadio.d.ts +1 -1
  104. package/lib/components/MenuItemRadio/useMenuItemRadio.js +14 -14
  105. package/lib/components/MenuItemRadio/useMenuItemRadio.js.map +1 -1
  106. package/lib/components/MenuItemRadio/useMenuItemRadioStyles.d.ts +2 -1
  107. package/lib/components/MenuItemRadio/useMenuItemRadioStyles.js +8 -5
  108. package/lib/components/MenuItemRadio/useMenuItemRadioStyles.js.map +1 -1
  109. package/lib/components/MenuList/MenuList.d.ts +1 -1
  110. package/lib/components/MenuList/MenuList.js +10 -10
  111. package/lib/components/MenuList/MenuList.js.map +1 -1
  112. package/lib/components/MenuList/MenuList.types.d.ts +12 -10
  113. package/lib/components/MenuList/renderMenuList.d.ts +1 -1
  114. package/lib/components/MenuList/renderMenuList.js +7 -7
  115. package/lib/components/MenuList/renderMenuList.js.map +1 -1
  116. package/lib/components/MenuList/useMenuList.d.ts +1 -1
  117. package/lib/components/MenuList/useMenuList.js +70 -87
  118. package/lib/components/MenuList/useMenuList.js.map +1 -1
  119. package/lib/components/MenuList/useMenuListContextValues.d.ts +1 -1
  120. package/lib/components/MenuList/useMenuListContextValues.js +19 -17
  121. package/lib/components/MenuList/useMenuListContextValues.js.map +1 -1
  122. package/lib/components/MenuList/useMenuListStyles.d.ts +2 -1
  123. package/lib/components/MenuList/useMenuListStyles.js +9 -7
  124. package/lib/components/MenuList/useMenuListStyles.js.map +1 -1
  125. package/lib/components/MenuPopover/MenuPopover.js +7 -7
  126. package/lib/components/MenuPopover/MenuPopover.js.map +1 -1
  127. package/lib/components/MenuPopover/MenuPopover.types.d.ts +2 -2
  128. package/lib/components/MenuPopover/renderMenuPopover.d.ts +1 -1
  129. package/lib/components/MenuPopover/renderMenuPopover.js +9 -7
  130. package/lib/components/MenuPopover/renderMenuPopover.js.map +1 -1
  131. package/lib/components/MenuPopover/useMenuPopover.d.ts +3 -3
  132. package/lib/components/MenuPopover/useMenuPopover.js +35 -41
  133. package/lib/components/MenuPopover/useMenuPopover.js.map +1 -1
  134. package/lib/components/MenuPopover/useMenuPopoverStyles.d.ts +2 -1
  135. package/lib/components/MenuPopover/useMenuPopoverStyles.js +13 -8
  136. package/lib/components/MenuPopover/useMenuPopoverStyles.js.map +1 -1
  137. package/lib/components/MenuSplitGroup/MenuSplitGroup.d.ts +6 -0
  138. package/lib/components/MenuSplitGroup/MenuSplitGroup.js +15 -0
  139. package/lib/components/MenuSplitGroup/MenuSplitGroup.js.map +1 -0
  140. package/lib/components/MenuSplitGroup/MenuSplitGroup.types.d.ts +13 -0
  141. package/lib/components/MenuSplitGroup/MenuSplitGroup.types.js +2 -0
  142. package/lib/components/MenuSplitGroup/MenuSplitGroup.types.js.map +1 -0
  143. package/lib/components/MenuSplitGroup/index.d.ts +5 -0
  144. package/lib/components/MenuSplitGroup/index.js +6 -0
  145. package/lib/components/MenuSplitGroup/index.js.map +1 -0
  146. package/lib/components/MenuSplitGroup/renderMenuSplitGroup.d.ts +5 -0
  147. package/lib/components/MenuSplitGroup/renderMenuSplitGroup.js +15 -0
  148. package/lib/components/MenuSplitGroup/renderMenuSplitGroup.js.map +1 -0
  149. package/lib/components/MenuSplitGroup/useMenuSplitGroup.d.ts +12 -0
  150. package/lib/components/MenuSplitGroup/useMenuSplitGroup.js +67 -0
  151. package/lib/components/MenuSplitGroup/useMenuSplitGroup.js.map +1 -0
  152. package/lib/components/MenuSplitGroup/useMenuSplitGroupStyles.d.ts +6 -0
  153. package/lib/components/MenuSplitGroup/useMenuSplitGroupStyles.js +35 -0
  154. package/lib/components/MenuSplitGroup/useMenuSplitGroupStyles.js.map +1 -0
  155. package/lib/components/MenuTrigger/MenuTrigger.d.ts +2 -1
  156. package/lib/components/MenuTrigger/MenuTrigger.js +6 -5
  157. package/lib/components/MenuTrigger/MenuTrigger.js.map +1 -1
  158. package/lib/components/MenuTrigger/MenuTrigger.types.d.ts +6 -3
  159. package/lib/components/MenuTrigger/renderMenuTrigger.d.ts +1 -1
  160. package/lib/components/MenuTrigger/renderMenuTrigger.js +1 -1
  161. package/lib/components/MenuTrigger/renderMenuTrigger.js.map +1 -1
  162. package/lib/components/MenuTrigger/useMenuTrigger.d.ts +2 -2
  163. package/lib/components/MenuTrigger/useMenuTrigger.js +166 -5
  164. package/lib/components/MenuTrigger/useMenuTrigger.js.map +1 -1
  165. package/lib/contexts/menuContext.d.ts +1 -1
  166. package/lib/contexts/menuContext.js +5 -11
  167. package/lib/contexts/menuContext.js.map +1 -1
  168. package/lib/contexts/menuGroupContext.d.ts +1 -1
  169. package/lib/contexts/menuGroupContext.js +3 -5
  170. package/lib/contexts/menuGroupContext.js.map +1 -1
  171. package/lib/contexts/menuListContext.d.ts +1 -1
  172. package/lib/contexts/menuListContext.js +7 -17
  173. package/lib/contexts/menuListContext.js.map +1 -1
  174. package/lib/contexts/menuTriggerContext.d.ts +1 -1
  175. package/lib/contexts/menuTriggerContext.js +3 -5
  176. package/lib/contexts/menuTriggerContext.js.map +1 -1
  177. package/lib/index.d.ts +11 -10
  178. package/lib/index.js +11 -10
  179. package/lib/index.js.map +1 -1
  180. package/lib/selectable/useCheckmarkStyles.d.ts +2 -2
  181. package/lib/selectable/useCheckmarkStyles.js +4 -4
  182. package/lib/selectable/useCheckmarkStyles.js.map +1 -1
  183. package/lib/utils/useIsSubmenu.js +3 -5
  184. package/lib/utils/useIsSubmenu.js.map +1 -1
  185. package/lib/utils/useOnMenuEnter.js +16 -14
  186. package/lib/utils/useOnMenuEnter.js.map +1 -1
  187. package/lib-commonjs/Menu.js +1 -1
  188. package/lib-commonjs/MenuDivider.js +1 -1
  189. package/lib-commonjs/MenuGroup.js +1 -1
  190. package/lib-commonjs/MenuGroupHeader.js +1 -1
  191. package/lib-commonjs/MenuItem.js +1 -1
  192. package/lib-commonjs/MenuItemCheckbox.js +1 -1
  193. package/lib-commonjs/MenuItemRadio.js +1 -1
  194. package/lib-commonjs/MenuList.js +1 -1
  195. package/lib-commonjs/MenuPopover.js +1 -1
  196. package/lib-commonjs/MenuSplitGroup.d.ts +1 -0
  197. package/lib-commonjs/MenuSplitGroup.js +10 -0
  198. package/lib-commonjs/MenuSplitGroup.js.map +1 -0
  199. package/lib-commonjs/MenuTrigger.js +1 -1
  200. package/lib-commonjs/components/Menu/Menu.js +7 -7
  201. package/lib-commonjs/components/Menu/Menu.js.map +1 -1
  202. package/lib-commonjs/components/Menu/index.js +1 -1
  203. package/lib-commonjs/components/Menu/renderMenu.d.ts +1 -1
  204. package/lib-commonjs/components/Menu/renderMenu.js +5 -5
  205. package/lib-commonjs/components/Menu/renderMenu.js.map +1 -1
  206. package/lib-commonjs/components/Menu/useMenu.d.ts +2 -2
  207. package/lib-commonjs/components/Menu/useMenu.js +130 -141
  208. package/lib-commonjs/components/Menu/useMenu.js.map +1 -1
  209. package/lib-commonjs/components/Menu/useMenuContextValues.d.ts +1 -1
  210. package/lib-commonjs/components/Menu/useMenuContextValues.js +37 -35
  211. package/lib-commonjs/components/Menu/useMenuContextValues.js.map +1 -1
  212. package/lib-commonjs/components/MenuDivider/MenuDivider.d.ts +1 -1
  213. package/lib-commonjs/components/MenuDivider/MenuDivider.js +9 -9
  214. package/lib-commonjs/components/MenuDivider/MenuDivider.js.map +1 -1
  215. package/lib-commonjs/components/MenuDivider/MenuDivider.types.d.ts +2 -2
  216. package/lib-commonjs/components/MenuDivider/index.js +1 -1
  217. package/lib-commonjs/components/MenuDivider/renderMenuDivider.d.ts +1 -1
  218. package/lib-commonjs/components/MenuDivider/renderMenuDivider.js +11 -12
  219. package/lib-commonjs/components/MenuDivider/renderMenuDivider.js.map +1 -1
  220. package/lib-commonjs/components/MenuDivider/useMenuDivider.d.ts +1 -1
  221. package/lib-commonjs/components/MenuDivider/useMenuDivider.js +12 -11
  222. package/lib-commonjs/components/MenuDivider/useMenuDivider.js.map +1 -1
  223. package/lib-commonjs/components/MenuDivider/useMenuDividerStyles.d.ts +2 -1
  224. package/lib-commonjs/components/MenuDivider/useMenuDividerStyles.js +11 -7
  225. package/lib-commonjs/components/MenuDivider/useMenuDividerStyles.js.map +1 -1
  226. package/lib-commonjs/components/MenuGroup/MenuGroup.d.ts +1 -1
  227. package/lib-commonjs/components/MenuGroup/MenuGroup.js +12 -9
  228. package/lib-commonjs/components/MenuGroup/MenuGroup.js.map +1 -1
  229. package/lib-commonjs/components/MenuGroup/MenuGroup.types.d.ts +3 -3
  230. package/lib-commonjs/components/MenuGroup/index.d.ts +1 -0
  231. package/lib-commonjs/components/MenuGroup/index.js +3 -1
  232. package/lib-commonjs/components/MenuGroup/index.js.map +1 -1
  233. package/lib-commonjs/components/MenuGroup/renderMenuGroup.d.ts +1 -1
  234. package/lib-commonjs/components/MenuGroup/renderMenuGroup.js +12 -13
  235. package/lib-commonjs/components/MenuGroup/renderMenuGroup.js.map +1 -1
  236. package/lib-commonjs/components/MenuGroup/useMenuGroup.d.ts +1 -1
  237. package/lib-commonjs/components/MenuGroup/useMenuGroup.js +13 -11
  238. package/lib-commonjs/components/MenuGroup/useMenuGroup.js.map +1 -1
  239. package/lib-commonjs/components/MenuGroup/useMenuGroupContextValues.d.ts +1 -1
  240. package/lib-commonjs/components/MenuGroup/useMenuGroupContextValues.js +11 -11
  241. package/lib-commonjs/components/MenuGroup/useMenuGroupContextValues.js.map +1 -1
  242. package/lib-commonjs/components/MenuGroup/useMenuGroupStyles.d.ts +3 -0
  243. package/lib-commonjs/components/MenuGroup/useMenuGroupStyles.js +18 -0
  244. package/lib-commonjs/components/MenuGroup/useMenuGroupStyles.js.map +1 -0
  245. package/lib-commonjs/components/MenuGroupHeader/MenuGroupHeader.d.ts +1 -1
  246. package/lib-commonjs/components/MenuGroupHeader/MenuGroupHeader.js +9 -9
  247. package/lib-commonjs/components/MenuGroupHeader/MenuGroupHeader.js.map +1 -1
  248. package/lib-commonjs/components/MenuGroupHeader/MenuGroupHeader.types.d.ts +2 -2
  249. package/lib-commonjs/components/MenuGroupHeader/index.js +1 -1
  250. package/lib-commonjs/components/MenuGroupHeader/renderMenuGroupHeader.d.ts +1 -1
  251. package/lib-commonjs/components/MenuGroupHeader/renderMenuGroupHeader.js +11 -12
  252. package/lib-commonjs/components/MenuGroupHeader/renderMenuGroupHeader.js.map +1 -1
  253. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeader.d.ts +1 -1
  254. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeader.js +16 -12
  255. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeader.js.map +1 -1
  256. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeaderStyles.d.ts +2 -1
  257. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeaderStyles.js +11 -7
  258. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeaderStyles.js.map +1 -1
  259. package/lib-commonjs/components/MenuItem/MenuItem.d.ts +1 -1
  260. package/lib-commonjs/components/MenuItem/MenuItem.js +9 -12
  261. package/lib-commonjs/components/MenuItem/MenuItem.js.map +1 -1
  262. package/lib-commonjs/components/MenuItem/MenuItem.types.d.ts +7 -7
  263. package/lib-commonjs/components/MenuItem/index.js +1 -1
  264. package/lib-commonjs/components/MenuItem/renderMenuItem.d.ts +1 -1
  265. package/lib-commonjs/components/MenuItem/renderMenuItem.js +16 -14
  266. package/lib-commonjs/components/MenuItem/renderMenuItem.js.map +1 -1
  267. package/lib-commonjs/components/MenuItem/useCharacterSearch.js +7 -7
  268. package/lib-commonjs/components/MenuItem/useCharacterSearch.js.map +1 -1
  269. package/lib-commonjs/components/MenuItem/useMenuItem.d.ts +2 -6
  270. package/lib-commonjs/components/MenuItem/useMenuItem.js +42 -53
  271. package/lib-commonjs/components/MenuItem/useMenuItem.js.map +1 -1
  272. package/lib-commonjs/components/MenuItem/useMenuItemStyles.d.ts +2 -1
  273. package/lib-commonjs/components/MenuItem/useMenuItemStyles.js +40 -33
  274. package/lib-commonjs/components/MenuItem/useMenuItemStyles.js.map +1 -1
  275. package/lib-commonjs/components/MenuItemCheckbox/MenuItemCheckbox.d.ts +1 -1
  276. package/lib-commonjs/components/MenuItemCheckbox/MenuItemCheckbox.js +9 -9
  277. package/lib-commonjs/components/MenuItemCheckbox/MenuItemCheckbox.js.map +1 -1
  278. package/lib-commonjs/components/MenuItemCheckbox/index.d.ts +1 -0
  279. package/lib-commonjs/components/MenuItemCheckbox/index.js +3 -1
  280. package/lib-commonjs/components/MenuItemCheckbox/index.js.map +1 -1
  281. package/lib-commonjs/components/MenuItemCheckbox/renderMenuItemCheckbox.d.ts +1 -1
  282. package/lib-commonjs/components/MenuItemCheckbox/renderMenuItemCheckbox.js +15 -14
  283. package/lib-commonjs/components/MenuItemCheckbox/renderMenuItemCheckbox.js.map +1 -1
  284. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckbox.d.ts +1 -1
  285. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckbox.js +19 -21
  286. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckbox.js.map +1 -1
  287. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckboxStyles.d.ts +2 -1
  288. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckboxStyles.js +12 -7
  289. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckboxStyles.js.map +1 -1
  290. package/lib-commonjs/components/MenuItemRadio/MenuItemRadio.d.ts +1 -1
  291. package/lib-commonjs/components/MenuItemRadio/MenuItemRadio.js +9 -9
  292. package/lib-commonjs/components/MenuItemRadio/MenuItemRadio.js.map +1 -1
  293. package/lib-commonjs/components/MenuItemRadio/index.d.ts +1 -0
  294. package/lib-commonjs/components/MenuItemRadio/index.js +3 -1
  295. package/lib-commonjs/components/MenuItemRadio/index.js.map +1 -1
  296. package/lib-commonjs/components/MenuItemRadio/renderMenuItemRadio.d.ts +1 -1
  297. package/lib-commonjs/components/MenuItemRadio/renderMenuItemRadio.js +15 -14
  298. package/lib-commonjs/components/MenuItemRadio/renderMenuItemRadio.js.map +1 -1
  299. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadio.d.ts +1 -1
  300. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadio.js +19 -20
  301. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadio.js.map +1 -1
  302. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadioStyles.d.ts +2 -1
  303. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadioStyles.js +12 -7
  304. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadioStyles.js.map +1 -1
  305. package/lib-commonjs/components/MenuList/MenuList.d.ts +1 -1
  306. package/lib-commonjs/components/MenuList/MenuList.js +11 -11
  307. package/lib-commonjs/components/MenuList/MenuList.js.map +1 -1
  308. package/lib-commonjs/components/MenuList/MenuList.types.d.ts +12 -10
  309. package/lib-commonjs/components/MenuList/index.js +1 -1
  310. package/lib-commonjs/components/MenuList/renderMenuList.d.ts +1 -1
  311. package/lib-commonjs/components/MenuList/renderMenuList.js +12 -13
  312. package/lib-commonjs/components/MenuList/renderMenuList.js.map +1 -1
  313. package/lib-commonjs/components/MenuList/useMenuList.d.ts +1 -1
  314. package/lib-commonjs/components/MenuList/useMenuList.js +77 -95
  315. package/lib-commonjs/components/MenuList/useMenuList.js.map +1 -1
  316. package/lib-commonjs/components/MenuList/useMenuListContextValues.d.ts +1 -1
  317. package/lib-commonjs/components/MenuList/useMenuListContextValues.js +21 -19
  318. package/lib-commonjs/components/MenuList/useMenuListContextValues.js.map +1 -1
  319. package/lib-commonjs/components/MenuList/useMenuListStyles.d.ts +2 -1
  320. package/lib-commonjs/components/MenuList/useMenuListStyles.js +12 -9
  321. package/lib-commonjs/components/MenuList/useMenuListStyles.js.map +1 -1
  322. package/lib-commonjs/components/MenuPopover/MenuPopover.js +8 -8
  323. package/lib-commonjs/components/MenuPopover/MenuPopover.js.map +1 -1
  324. package/lib-commonjs/components/MenuPopover/MenuPopover.types.d.ts +2 -2
  325. package/lib-commonjs/components/MenuPopover/index.js +1 -1
  326. package/lib-commonjs/components/MenuPopover/renderMenuPopover.d.ts +1 -1
  327. package/lib-commonjs/components/MenuPopover/renderMenuPopover.js +14 -13
  328. package/lib-commonjs/components/MenuPopover/renderMenuPopover.js.map +1 -1
  329. package/lib-commonjs/components/MenuPopover/useMenuPopover.d.ts +3 -3
  330. package/lib-commonjs/components/MenuPopover/useMenuPopover.js +43 -50
  331. package/lib-commonjs/components/MenuPopover/useMenuPopover.js.map +1 -1
  332. package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.d.ts +2 -1
  333. package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.js +17 -10
  334. package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.js.map +1 -1
  335. package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.d.ts +6 -0
  336. package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.js +26 -0
  337. package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.js.map +1 -0
  338. package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.types.d.ts +13 -0
  339. package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.types.js +6 -0
  340. package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.types.js.map +1 -0
  341. package/lib-commonjs/components/MenuSplitGroup/index.d.ts +5 -0
  342. package/lib-commonjs/components/MenuSplitGroup/index.js +18 -0
  343. package/lib-commonjs/components/MenuSplitGroup/index.js.map +1 -0
  344. package/lib-commonjs/components/MenuSplitGroup/renderMenuSplitGroup.d.ts +5 -0
  345. package/lib-commonjs/components/MenuSplitGroup/renderMenuSplitGroup.js +26 -0
  346. package/lib-commonjs/components/MenuSplitGroup/renderMenuSplitGroup.js.map +1 -0
  347. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroup.d.ts +12 -0
  348. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroup.js +81 -0
  349. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroup.js.map +1 -0
  350. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroupStyles.d.ts +6 -0
  351. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroupStyles.js +47 -0
  352. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroupStyles.js.map +1 -0
  353. package/lib-commonjs/components/MenuTrigger/MenuTrigger.d.ts +2 -1
  354. package/lib-commonjs/components/MenuTrigger/MenuTrigger.js +6 -5
  355. package/lib-commonjs/components/MenuTrigger/MenuTrigger.js.map +1 -1
  356. package/lib-commonjs/components/MenuTrigger/MenuTrigger.types.d.ts +6 -3
  357. package/lib-commonjs/components/MenuTrigger/index.js +1 -1
  358. package/lib-commonjs/components/MenuTrigger/renderMenuTrigger.d.ts +1 -1
  359. package/lib-commonjs/components/MenuTrigger/renderMenuTrigger.js +5 -5
  360. package/lib-commonjs/components/MenuTrigger/renderMenuTrigger.js.map +1 -1
  361. package/lib-commonjs/components/MenuTrigger/useMenuTrigger.d.ts +2 -2
  362. package/lib-commonjs/components/MenuTrigger/useMenuTrigger.js +174 -7
  363. package/lib-commonjs/components/MenuTrigger/useMenuTrigger.js.map +1 -1
  364. package/lib-commonjs/components/index.js +1 -1
  365. package/lib-commonjs/contexts/menuContext.d.ts +1 -1
  366. package/lib-commonjs/contexts/menuContext.js +6 -12
  367. package/lib-commonjs/contexts/menuContext.js.map +1 -1
  368. package/lib-commonjs/contexts/menuGroupContext.d.ts +1 -1
  369. package/lib-commonjs/contexts/menuGroupContext.js +5 -7
  370. package/lib-commonjs/contexts/menuGroupContext.js.map +1 -1
  371. package/lib-commonjs/contexts/menuListContext.d.ts +1 -1
  372. package/lib-commonjs/contexts/menuListContext.js +8 -18
  373. package/lib-commonjs/contexts/menuListContext.js.map +1 -1
  374. package/lib-commonjs/contexts/menuTriggerContext.d.ts +1 -1
  375. package/lib-commonjs/contexts/menuTriggerContext.js +5 -7
  376. package/lib-commonjs/contexts/menuTriggerContext.js.map +1 -1
  377. package/lib-commonjs/index.d.ts +11 -10
  378. package/lib-commonjs/index.js +17 -15
  379. package/lib-commonjs/index.js.map +1 -1
  380. package/lib-commonjs/selectable/index.js +1 -1
  381. package/lib-commonjs/selectable/useCheckmarkStyles.d.ts +2 -2
  382. package/lib-commonjs/selectable/useCheckmarkStyles.js +7 -7
  383. package/lib-commonjs/selectable/useCheckmarkStyles.js.map +1 -1
  384. package/lib-commonjs/utils/index.js +1 -1
  385. package/lib-commonjs/utils/useIsSubmenu.js +5 -7
  386. package/lib-commonjs/utils/useIsSubmenu.js.map +1 -1
  387. package/lib-commonjs/utils/useOnMenuEnter.js +18 -16
  388. package/lib-commonjs/utils/useOnMenuEnter.js.map +1 -1
  389. package/package.json +15 -17
  390. package/lib/common/isConformant.d.ts +0 -4
  391. package/lib/common/isConformant.js +0 -12
  392. package/lib/common/isConformant.js.map +0 -1
  393. package/lib/common/mockUseMenuContext.d.ts +0 -7
  394. package/lib/common/mockUseMenuContext.js +0 -36
  395. package/lib/common/mockUseMenuContext.js.map +0 -1
  396. package/lib/components/MenuTrigger/useTriggerElement.d.ts +0 -5
  397. package/lib/components/MenuTrigger/useTriggerElement.js +0 -179
  398. package/lib/components/MenuTrigger/useTriggerElement.js.map +0 -1
  399. package/lib-commonjs/common/isConformant.d.ts +0 -4
  400. package/lib-commonjs/common/isConformant.js +0 -23
  401. package/lib-commonjs/common/isConformant.js.map +0 -1
  402. package/lib-commonjs/common/mockUseMenuContext.d.ts +0 -7
  403. package/lib-commonjs/common/mockUseMenuContext.js +0 -47
  404. package/lib-commonjs/common/mockUseMenuContext.js.map +0 -1
  405. package/lib-commonjs/components/MenuTrigger/useTriggerElement.d.ts +0 -5
  406. package/lib-commonjs/components/MenuTrigger/useTriggerElement.js +0 -195
  407. package/lib-commonjs/components/MenuTrigger/useTriggerElement.js.map +0 -1
package/CHANGELOG.json CHANGED
@@ -2,85 +2,419 @@
2
2
  "name": "@fluentui/react-menu",
3
3
  "entries": [
4
4
  {
5
- "date": "Fri, 29 Oct 2021 06:39:52 GMT",
6
- "tag": "@fluentui/react-menu_v0.0.0-nightly0e0cf06c3420211029.1",
7
- "version": "0.0.0-nightly0e0cf06c3420211029.1",
5
+ "date": "Tue, 08 Feb 2022 04:14:25 GMT",
6
+ "tag": "@fluentui/react-menu_v0.0.0-nightly3082edf34720220208.1",
7
+ "version": "0.0.0-nightly3082edf34720220208.1",
8
8
  "comments": {
9
9
  "prerelease": [
10
10
  {
11
11
  "author": "email not defined",
12
12
  "package": "@fluentui/react-menu",
13
- "commit": "3535f78f7af73f13f2c1e7470293fb5e592866de",
13
+ "commit": "2995e3262243608331236b8d12b1652c84d313bc",
14
14
  "comment": "Release nightly v9"
15
15
  },
16
+ {
17
+ "author": "lingfangao@hotmail.com",
18
+ "package": "@fluentui/react-menu",
19
+ "commit": "c2e6c50d56dcb45b4ca9e3a9daf2fae4be10a19e",
20
+ "comment": "fix: set `aria-expanded` and `aria-haspopup` values correctly"
21
+ },
22
+ {
23
+ "author": "lingfangao@hotmail.com",
24
+ "package": "@fluentui/react-menu",
25
+ "commit": "6ca0355f6740f836ff4df009687718a380085247",
26
+ "comment": "fix: Focus on first menu item on click"
27
+ },
28
+ {
29
+ "author": "lingfangao@hotmail.com",
30
+ "package": "@fluentui/react-menu",
31
+ "commit": "4f22b6dad04ea37eb53e4af23c73d2de4db512a2",
32
+ "comment": "fix: MenuTrigger should work correctly when `aria-disabled=\"true\"`"
33
+ },
34
+ {
35
+ "author": "olfedias@microsoft.com",
36
+ "package": "@fluentui/react-menu",
37
+ "commit": "b23239743c4f5518bcf7dcad496a36fc16bbd2e5",
38
+ "comment": "update @fluentui/react-icons package"
39
+ },
40
+ {
41
+ "author": "lingfangao@hotmail.com",
42
+ "package": "@fluentui/react-menu",
43
+ "commit": "d2eb57808a403b70845a732a62b55aa64d66b2a0",
44
+ "comment": "Allow `MenuTrigger` to be wrapped by another trigger"
45
+ },
46
+ {
47
+ "author": "olfedias@microsoft.com",
48
+ "package": "@fluentui/react-menu",
49
+ "commit": "aa6cfd8ac825b5a280206808101de549a91094fc",
50
+ "comment": "update types related to trigger (allow only React.ReactElement & null)"
51
+ },
52
+ {
53
+ "author": "behowell@microsoft.com",
54
+ "package": "@fluentui/react-menu",
55
+ "commit": "317209bb5cd57c40f35bc42060acb7e3cce5ec95",
56
+ "comment": "BREAKING: Rename component hooks add the suffix _unstable, as their API has not been finalized yet"
57
+ },
58
+ {
59
+ "author": "Humberto.Morimoto@microsoft.com",
60
+ "package": "@fluentui/react-menu",
61
+ "commit": "38c8bed2c707014688ae2ae689033fa36ef23075",
62
+ "comment": "Updating packages based on changes to focusIndicator functions to remove functions from makeStyles in @fluentui/react-tabster."
63
+ },
64
+ {
65
+ "author": "behowell@microsoft.com",
66
+ "package": "@fluentui/react-menu",
67
+ "commit": "7cc28ed8320b00f42d91c63882f10316db2205c5",
68
+ "comment": "Remove component's shorthandProps array"
69
+ },
70
+ {
71
+ "author": "olfedias@microsoft.com",
72
+ "package": "@fluentui/react-menu",
73
+ "commit": "7e0933ed386742df28c416e6b3a6903a0c041f28",
74
+ "comment": "update styles to not use CSS shorthands"
75
+ },
76
+ {
77
+ "author": "behowell@microsoft.com",
78
+ "package": "@fluentui/react-menu",
79
+ "commit": "53b01d71e335715fda91b33e3d7bbd9d471d5ed3",
80
+ "comment": "Refactor component Slot typings"
81
+ },
82
+ {
83
+ "author": "lingfangao@hotmail.com",
84
+ "package": "@fluentui/react-menu",
85
+ "commit": "4121754498bba5137f769295e2b7a2899f557278",
86
+ "comment": "fix: Call `useCheckmarkStyles` in `useMenuItemStyles`"
87
+ },
88
+ {
89
+ "author": "Humberto.Morimoto@microsoft.com",
90
+ "package": "@fluentui/react-menu",
91
+ "commit": "e0b8e1fa6980077e7b311fd1c72c28d3e4305db0",
92
+ "comment": "Updating based on changes to composition types."
93
+ },
94
+ {
95
+ "author": "Humberto.Morimoto@microsoft.com",
96
+ "package": "@fluentui/react-menu",
97
+ "commit": "6c32d0180e89674a46daf795de69e5dc6ca71ef7",
98
+ "comment": "Updating based on removal of functions from makeStyles."
99
+ },
100
+ {
101
+ "author": "behowell@microsoft.com",
102
+ "package": "@fluentui/react-menu",
103
+ "commit": "f30e7585a8d2abd9db06c4076f39a779008b0eca",
104
+ "comment": "Update MenuTrigger and Tooltip to work together"
105
+ },
106
+ {
107
+ "author": "Humberto.Morimoto@microsoft.com",
108
+ "package": "@fluentui/react-menu",
109
+ "commit": "227e09f59026e2bd243422427d9e230d6aa892ca",
110
+ "comment": "Replacing use of functions in makeStyles with direct use of tokens."
111
+ },
112
+ {
113
+ "author": "olfedias@microsoft.com",
114
+ "package": "@fluentui/react-menu",
115
+ "commit": "d8fe0da13e1d34028a51e5d740e7bdc78c3a6862",
116
+ "comment": "use Griffel packages"
117
+ },
118
+ {
119
+ "author": "behowell@microsoft.com",
120
+ "package": "@fluentui/react-menu",
121
+ "commit": "23b8a6df449d6e76b90ae5ca9bd2285febdff222",
122
+ "comment": "Apply fontSize styling to icon slot"
123
+ },
124
+ {
125
+ "author": "ololubek@microsoft.com",
126
+ "package": "@fluentui/react-menu",
127
+ "commit": "63cbefe55e5db10eedbde19392aa8b6376d6a7f7",
128
+ "comment": "Update react-icons usage to resizable icons"
129
+ },
130
+ {
131
+ "author": "lingfangao@hotmail.com",
132
+ "package": "@fluentui/react-menu",
133
+ "commit": "95a6a32cbffa9d86d6017cf8e0204d4b459ef370",
134
+ "comment": "feat: implement `MenuSplitGroup` component for split menu items"
135
+ },
136
+ {
137
+ "author": "Humberto.Morimoto@microsoft.com",
138
+ "package": "@fluentui/react-menu",
139
+ "commit": "00a5d945904c896a0664de6ba72c145a255f0848",
140
+ "comment": "Updating use of tokens.fontWeight now that we don't need to use casting."
141
+ },
142
+ {
143
+ "author": "ololubek@microsoft.com",
144
+ "package": "@fluentui/react-menu",
145
+ "commit": "7cb2a5d8db1b6a1ddb638aa82d5815ab5ae84e69",
146
+ "comment": "(fix): Update react-icons dependency to latest version"
147
+ },
148
+ {
149
+ "author": "lingfangao@hotmail.com",
150
+ "package": "@fluentui/react-menu",
151
+ "commit": "07d9ed6d1b436b7ca9571c94fbb0bcbdb080f235",
152
+ "comment": "breaking: MenuTrigger must be the first child of the `Menu`"
153
+ },
154
+ {
155
+ "author": "beachball",
156
+ "package": "@fluentui/react-menu",
157
+ "comment": "Bump @fluentui/keyboard-keys to v0.0.0-nightly3082edf34720220208.1",
158
+ "commit": "2995e3262243608331236b8d12b1652c84d313bc"
159
+ },
160
+ {
161
+ "author": "beachball",
162
+ "package": "@fluentui/react-menu",
163
+ "comment": "Bump @fluentui/react-context-selector to v0.0.0-nightly3082edf34720220208.1",
164
+ "commit": "2995e3262243608331236b8d12b1652c84d313bc"
165
+ },
166
+ {
167
+ "author": "beachball",
168
+ "package": "@fluentui/react-menu",
169
+ "comment": "Bump @fluentui/react-portal to v0.0.0-nightly3082edf34720220208.1",
170
+ "commit": "2995e3262243608331236b8d12b1652c84d313bc"
171
+ },
172
+ {
173
+ "author": "beachball",
174
+ "package": "@fluentui/react-menu",
175
+ "comment": "Bump @fluentui/react-positioning to v0.0.0-nightly3082edf34720220208.1",
176
+ "commit": "2995e3262243608331236b8d12b1652c84d313bc"
177
+ },
178
+ {
179
+ "author": "beachball",
180
+ "package": "@fluentui/react-menu",
181
+ "comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightly3082edf34720220208.1",
182
+ "commit": "2995e3262243608331236b8d12b1652c84d313bc"
183
+ },
16
184
  {
17
185
  "author": "beachball",
18
186
  "package": "@fluentui/react-menu",
19
- "comment": "Bump @fluentui/keyboard-keys to v0.0.0-nightly0e0cf06c3420211029.1",
20
- "commit": "3535f78f7af73f13f2c1e7470293fb5e592866de"
187
+ "comment": "Bump @fluentui/react-tabster to v0.0.0-nightly3082edf34720220208.1",
188
+ "commit": "2995e3262243608331236b8d12b1652c84d313bc"
21
189
  },
22
190
  {
23
191
  "author": "beachball",
24
192
  "package": "@fluentui/react-menu",
25
- "comment": "Bump @fluentui/react-context-selector to v0.0.0-nightly0e0cf06c3420211029.1",
26
- "commit": "3535f78f7af73f13f2c1e7470293fb5e592866de"
193
+ "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly3082edf34720220208.1",
194
+ "commit": "2995e3262243608331236b8d12b1652c84d313bc"
27
195
  },
28
196
  {
29
197
  "author": "beachball",
30
198
  "package": "@fluentui/react-menu",
31
- "comment": "Bump @fluentui/react-make-styles to v0.0.0-nightly0e0cf06c3420211029.1",
32
- "commit": "3535f78f7af73f13f2c1e7470293fb5e592866de"
199
+ "comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly3082edf34720220208.1",
200
+ "commit": "2995e3262243608331236b8d12b1652c84d313bc"
201
+ }
202
+ ],
203
+ "none": [
204
+ {
205
+ "author": "email not defined",
206
+ "package": "@fluentui/react-menu",
207
+ "commit": "97752a0e494875c4dc22b268030d7d5e51b19211",
208
+ "comment": "Add workaround for cypress bug"
209
+ },
210
+ {
211
+ "author": "olfedias@microsoft.com",
212
+ "package": "@fluentui/react-menu",
213
+ "commit": "c061e98be4b4a718c72a144a1f60bb5515824612",
214
+ "comment": "remove inline-style-expand-shorthand from tsconfigs"
215
+ },
216
+ {
217
+ "author": "bsunderhus@microsoft.com",
218
+ "package": "@fluentui/react-menu",
219
+ "commit": "c0d4e63ee58e60e2c6674efbacc0783cd520984e",
220
+ "comment": "Updates components with nullRender changes"
221
+ },
222
+ {
223
+ "author": "elcraig@microsoft.com",
224
+ "package": "@fluentui/react-menu",
225
+ "commit": "3360b45ec159250b1346c91afad7dce138e6bc20",
226
+ "comment": "Update API file to version generated by typescript 4.3"
227
+ },
228
+ {
229
+ "author": "martinhochel@microsoft.com",
230
+ "package": "@fluentui/react-menu",
231
+ "commit": "8dfa712156b70414205b87b5b6d099367b0c297d",
232
+ "comment": "chore: use storybook runner for all vNext packages"
233
+ }
234
+ ]
235
+ }
236
+ },
237
+ {
238
+ "date": "Thu, 25 Nov 2021 08:34:14 GMT",
239
+ "tag": "@fluentui/react-menu_v9.0.0-beta.5",
240
+ "version": "9.0.0-beta.5",
241
+ "comments": {
242
+ "none": [
243
+ {
244
+ "author": "lingfangao@hotmail.com",
245
+ "package": "@fluentui/react-menu",
246
+ "commit": "8a141d14f3a14de2e1c4691dad908622f310a9d1",
247
+ "comment": "Migrate package to use solution tsconfigs"
248
+ }
249
+ ],
250
+ "prerelease": [
251
+ {
252
+ "author": "ololubek@microsoft.com",
253
+ "package": "@fluentui/react-menu",
254
+ "commit": "ecab13cfd6ac22657020db8f86eb89f952b0f953",
255
+ "comment": "update react-icons dependency"
256
+ },
257
+ {
258
+ "author": "beachball",
259
+ "package": "@fluentui/react-menu",
260
+ "comment": "Bump @fluentui/react-context-selector to v9.0.0-beta.4",
261
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
262
+ },
263
+ {
264
+ "author": "beachball",
265
+ "package": "@fluentui/react-menu",
266
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.4",
267
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
268
+ },
269
+ {
270
+ "author": "beachball",
271
+ "package": "@fluentui/react-menu",
272
+ "comment": "Bump @fluentui/react-portal to v9.0.0-beta.5",
273
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
274
+ },
275
+ {
276
+ "author": "beachball",
277
+ "package": "@fluentui/react-menu",
278
+ "comment": "Bump @fluentui/react-positioning to v9.0.0-beta.4",
279
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
280
+ },
281
+ {
282
+ "author": "beachball",
283
+ "package": "@fluentui/react-menu",
284
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.4",
285
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
286
+ },
287
+ {
288
+ "author": "beachball",
289
+ "package": "@fluentui/react-menu",
290
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-beta.5",
291
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
292
+ },
293
+ {
294
+ "author": "beachball",
295
+ "package": "@fluentui/react-menu",
296
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.4",
297
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
298
+ },
299
+ {
300
+ "author": "beachball",
301
+ "package": "@fluentui/react-menu",
302
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.4",
303
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
304
+ },
305
+ {
306
+ "author": "beachball",
307
+ "package": "@fluentui/react-menu",
308
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4",
309
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
310
+ },
311
+ {
312
+ "author": "beachball",
313
+ "package": "@fluentui/react-menu",
314
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4",
315
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
316
+ }
317
+ ]
318
+ }
319
+ },
320
+ {
321
+ "date": "Fri, 12 Nov 2021 13:25:27 GMT",
322
+ "tag": "@fluentui/react-menu_v9.0.0-beta.4",
323
+ "version": "9.0.0-beta.4",
324
+ "comments": {
325
+ "prerelease": [
326
+ {
327
+ "author": "bsunderhus@microsoft.com",
328
+ "package": "@fluentui/react-menu",
329
+ "commit": "390056fd15a4413af93083ad0f5a0b15c4709ed1",
330
+ "comment": "Adds typings for `onCheckedValueChange` method"
331
+ },
332
+ {
333
+ "author": "olfedias@microsoft.com",
334
+ "package": "@fluentui/react-menu",
335
+ "commit": "28b87b619b5be37c8e4a3a75ba10071a93f2b10b",
336
+ "comment": "use react-shared-contexts instead of react-provider"
337
+ },
338
+ {
339
+ "author": "olfedias@microsoft.com",
340
+ "package": "@fluentui/react-menu",
341
+ "commit": "ade4f5d3fa5a6b1c81097403f5c2f2afd859aa14",
342
+ "comment": "export static classes for components"
343
+ },
344
+ {
345
+ "author": "gcox@microsoft.com",
346
+ "package": "@fluentui/react-menu",
347
+ "commit": "c9bd5b5a02ae94a8239ce1b56cac2f0d0dbd3586",
348
+ "comment": "Updated beta and RC components to ES2019"
349
+ },
350
+ {
351
+ "author": "beachball",
352
+ "package": "@fluentui/react-menu",
353
+ "comment": "Bump @fluentui/react-context-selector to v9.0.0-beta.3",
354
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
355
+ },
356
+ {
357
+ "author": "beachball",
358
+ "package": "@fluentui/react-menu",
359
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.3",
360
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
33
361
  },
34
362
  {
35
363
  "author": "beachball",
36
364
  "package": "@fluentui/react-menu",
37
- "comment": "Bump @fluentui/react-portal to v0.0.0-nightly0e0cf06c3420211029.1",
38
- "commit": "3535f78f7af73f13f2c1e7470293fb5e592866de"
365
+ "comment": "Bump @fluentui/react-portal to v9.0.0-beta.4",
366
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
39
367
  },
40
368
  {
41
369
  "author": "beachball",
42
370
  "package": "@fluentui/react-menu",
43
- "comment": "Bump @fluentui/react-positioning to v0.0.0-nightly0e0cf06c3420211029.1",
44
- "commit": "3535f78f7af73f13f2c1e7470293fb5e592866de"
371
+ "comment": "Bump @fluentui/react-positioning to v9.0.0-beta.3",
372
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
45
373
  },
46
374
  {
47
375
  "author": "beachball",
48
376
  "package": "@fluentui/react-menu",
49
- "comment": "Bump @fluentui/react-provider to v0.0.0-nightly0e0cf06c3420211029.1",
50
- "commit": "3535f78f7af73f13f2c1e7470293fb5e592866de"
377
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.3",
378
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
51
379
  },
52
380
  {
53
381
  "author": "beachball",
54
382
  "package": "@fluentui/react-menu",
55
- "comment": "Bump @fluentui/react-tabster to v0.0.0-nightly0e0cf06c3420211029.1",
56
- "commit": "3535f78f7af73f13f2c1e7470293fb5e592866de"
383
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-beta.4",
384
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
57
385
  },
58
386
  {
59
387
  "author": "beachball",
60
388
  "package": "@fluentui/react-menu",
61
- "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly0e0cf06c3420211029.1",
62
- "commit": "3535f78f7af73f13f2c1e7470293fb5e592866de"
389
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.3",
390
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
63
391
  },
64
392
  {
65
393
  "author": "beachball",
66
394
  "package": "@fluentui/react-menu",
67
- "comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightly0e0cf06c3420211029.1",
68
- "commit": "3535f78f7af73f13f2c1e7470293fb5e592866de"
395
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.3",
396
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
69
397
  },
70
398
  {
71
399
  "author": "beachball",
72
400
  "package": "@fluentui/react-menu",
73
- "comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightly0e0cf06c3420211029.1",
74
- "commit": "3535f78f7af73f13f2c1e7470293fb5e592866de"
401
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3",
402
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
75
403
  },
76
404
  {
77
405
  "author": "beachball",
78
406
  "package": "@fluentui/react-menu",
79
- "comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightly0e0cf06c3420211029.1",
80
- "commit": "3535f78f7af73f13f2c1e7470293fb5e592866de"
407
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3",
408
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
81
409
  }
82
410
  ],
83
411
  "none": [
412
+ {
413
+ "author": "lingfangao@hotmail.com",
414
+ "package": "@fluentui/react-menu",
415
+ "commit": "00f70581480b536e723fb69edf0ae617beac4807",
416
+ "comment": "Remove beta release tag"
417
+ },
84
418
  {
85
419
  "author": "mgodbolt@microsoft.com",
86
420
  "package": "@fluentui/react-menu",
package/CHANGELOG.md CHANGED
@@ -1,28 +1,89 @@
1
1
  # Change Log - @fluentui/react-menu
2
2
 
3
- This log was last generated on Fri, 29 Oct 2021 06:39:52 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 08 Feb 2022 04:14:25 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightly0e0cf06c3420211029.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v0.0.0-nightly0e0cf06c3420211029.1)
8
-
9
- Fri, 29 Oct 2021 06:39:52 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.3..@fluentui/react-menu_v0.0.0-nightly0e0cf06c3420211029.1)
11
-
12
- ### Changes
13
-
14
- - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/3535f78f7af73f13f2c1e7470293fb5e592866de) by email not defined)
15
- - Bump @fluentui/keyboard-keys to v0.0.0-nightly0e0cf06c3420211029.1 ([commit](https://github.com/microsoft/fluentui/commit/3535f78f7af73f13f2c1e7470293fb5e592866de) by beachball)
16
- - Bump @fluentui/react-context-selector to v0.0.0-nightly0e0cf06c3420211029.1 ([commit](https://github.com/microsoft/fluentui/commit/3535f78f7af73f13f2c1e7470293fb5e592866de) by beachball)
17
- - Bump @fluentui/react-make-styles to v0.0.0-nightly0e0cf06c3420211029.1 ([commit](https://github.com/microsoft/fluentui/commit/3535f78f7af73f13f2c1e7470293fb5e592866de) by beachball)
18
- - Bump @fluentui/react-portal to v0.0.0-nightly0e0cf06c3420211029.1 ([commit](https://github.com/microsoft/fluentui/commit/3535f78f7af73f13f2c1e7470293fb5e592866de) by beachball)
19
- - Bump @fluentui/react-positioning to v0.0.0-nightly0e0cf06c3420211029.1 ([commit](https://github.com/microsoft/fluentui/commit/3535f78f7af73f13f2c1e7470293fb5e592866de) by beachball)
20
- - Bump @fluentui/react-provider to v0.0.0-nightly0e0cf06c3420211029.1 ([commit](https://github.com/microsoft/fluentui/commit/3535f78f7af73f13f2c1e7470293fb5e592866de) by beachball)
21
- - Bump @fluentui/react-tabster to v0.0.0-nightly0e0cf06c3420211029.1 ([commit](https://github.com/microsoft/fluentui/commit/3535f78f7af73f13f2c1e7470293fb5e592866de) by beachball)
22
- - Bump @fluentui/react-utilities to v0.0.0-nightly0e0cf06c3420211029.1 ([commit](https://github.com/microsoft/fluentui/commit/3535f78f7af73f13f2c1e7470293fb5e592866de) by beachball)
23
- - Bump @fluentui/babel-make-styles to v0.0.0-nightly0e0cf06c3420211029.1 ([commit](https://github.com/microsoft/fluentui/commit/3535f78f7af73f13f2c1e7470293fb5e592866de) by beachball)
24
- - Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightly0e0cf06c3420211029.1 ([commit](https://github.com/microsoft/fluentui/commit/3535f78f7af73f13f2c1e7470293fb5e592866de) by beachball)
25
- - Bump @fluentui/react-conformance-make-styles to v0.0.0-nightly0e0cf06c3420211029.1 ([commit](https://github.com/microsoft/fluentui/commit/3535f78f7af73f13f2c1e7470293fb5e592866de) by beachball)
7
+ ## [0.0.0-nightly3082edf34720220208.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v0.0.0-nightly3082edf34720220208.1)
8
+
9
+ Tue, 08 Feb 2022 04:14:25 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.5..@fluentui/react-menu_v0.0.0-nightly3082edf34720220208.1)
11
+
12
+ ### Changes
13
+
14
+ - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/2995e3262243608331236b8d12b1652c84d313bc) by email not defined)
15
+ - fix: set `aria-expanded` and `aria-haspopup` values correctly ([PR #20957](https://github.com/microsoft/fluentui/pull/20957) by lingfangao@hotmail.com)
16
+ - fix: Focus on first menu item on click ([PR #20955](https://github.com/microsoft/fluentui/pull/20955) by lingfangao@hotmail.com)
17
+ - fix: MenuTrigger should work correctly when `aria-disabled="true"` ([PR #21349](https://github.com/microsoft/fluentui/pull/21349) by lingfangao@hotmail.com)
18
+ - update @fluentui/react-icons package ([PR #21498](https://github.com/microsoft/fluentui/pull/21498) by olfedias@microsoft.com)
19
+ - Allow `MenuTrigger` to be wrapped by another trigger ([PR #21225](https://github.com/microsoft/fluentui/pull/21225) by lingfangao@hotmail.com)
20
+ - update types related to trigger (allow only React.ReactElement & null) ([PR #21609](https://github.com/microsoft/fluentui/pull/21609) by olfedias@microsoft.com)
21
+ - BREAKING: Rename component hooks add the suffix _unstable, as their API has not been finalized yet ([PR #21365](https://github.com/microsoft/fluentui/pull/21365) by behowell@microsoft.com)
22
+ - Updating packages based on changes to focusIndicator functions to remove functions from makeStyles in @fluentui/react-tabster. ([PR #21035](https://github.com/microsoft/fluentui/pull/21035) by Humberto.Morimoto@microsoft.com)
23
+ - Remove component's shorthandProps array ([PR #21134](https://github.com/microsoft/fluentui/pull/21134) by behowell@microsoft.com)
24
+ - update styles to not use CSS shorthands ([PR #20820](https://github.com/microsoft/fluentui/pull/20820) by olfedias@microsoft.com)
25
+ - Refactor component Slot typings ([PR #21518](https://github.com/microsoft/fluentui/pull/21518) by behowell@microsoft.com)
26
+ - fix: Call `useCheckmarkStyles` in `useMenuItemStyles` ([PR #20956](https://github.com/microsoft/fluentui/pull/20956) by lingfangao@hotmail.com)
27
+ - Updating based on changes to composition types. ([PR #20891](https://github.com/microsoft/fluentui/pull/20891) by Humberto.Morimoto@microsoft.com)
28
+ - Updating based on removal of functions from makeStyles. ([PR #21239](https://github.com/microsoft/fluentui/pull/21239) by Humberto.Morimoto@microsoft.com)
29
+ - Update MenuTrigger and Tooltip to work together ([PR #21495](https://github.com/microsoft/fluentui/pull/21495) by behowell@microsoft.com)
30
+ - Replacing use of functions in makeStyles with direct use of tokens. ([PR #21048](https://github.com/microsoft/fluentui/pull/21048) by Humberto.Morimoto@microsoft.com)
31
+ - use Griffel packages ([PR #21391](https://github.com/microsoft/fluentui/pull/21391) by olfedias@microsoft.com)
32
+ - Apply fontSize styling to icon slot ([PR #21222](https://github.com/microsoft/fluentui/pull/21222) by behowell@microsoft.com)
33
+ - Update react-icons usage to resizable icons ([PR #21074](https://github.com/microsoft/fluentui/pull/21074) by ololubek@microsoft.com)
34
+ - feat: implement `MenuSplitGroup` component for split menu items ([PR #21095](https://github.com/microsoft/fluentui/pull/21095) by lingfangao@hotmail.com)
35
+ - Updating use of tokens.fontWeight now that we don't need to use casting. ([PR #21217](https://github.com/microsoft/fluentui/pull/21217) by Humberto.Morimoto@microsoft.com)
36
+ - (fix): Update react-icons dependency to latest version ([PR #20943](https://github.com/microsoft/fluentui/pull/20943) by ololubek@microsoft.com)
37
+ - breaking: MenuTrigger must be the first child of the `Menu` ([PR #21096](https://github.com/microsoft/fluentui/pull/21096) by lingfangao@hotmail.com)
38
+ - Bump @fluentui/keyboard-keys to v0.0.0-nightly3082edf34720220208.1 ([commit](https://github.com/microsoft/fluentui/commit/2995e3262243608331236b8d12b1652c84d313bc) by beachball)
39
+ - Bump @fluentui/react-context-selector to v0.0.0-nightly3082edf34720220208.1 ([commit](https://github.com/microsoft/fluentui/commit/2995e3262243608331236b8d12b1652c84d313bc) by beachball)
40
+ - Bump @fluentui/react-portal to v0.0.0-nightly3082edf34720220208.1 ([commit](https://github.com/microsoft/fluentui/commit/2995e3262243608331236b8d12b1652c84d313bc) by beachball)
41
+ - Bump @fluentui/react-positioning to v0.0.0-nightly3082edf34720220208.1 ([commit](https://github.com/microsoft/fluentui/commit/2995e3262243608331236b8d12b1652c84d313bc) by beachball)
42
+ - Bump @fluentui/react-shared-contexts to v0.0.0-nightly3082edf34720220208.1 ([commit](https://github.com/microsoft/fluentui/commit/2995e3262243608331236b8d12b1652c84d313bc) by beachball)
43
+ - Bump @fluentui/react-tabster to v0.0.0-nightly3082edf34720220208.1 ([commit](https://github.com/microsoft/fluentui/commit/2995e3262243608331236b8d12b1652c84d313bc) by beachball)
44
+ - Bump @fluentui/react-utilities to v0.0.0-nightly3082edf34720220208.1 ([commit](https://github.com/microsoft/fluentui/commit/2995e3262243608331236b8d12b1652c84d313bc) by beachball)
45
+ - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly3082edf34720220208.1 ([commit](https://github.com/microsoft/fluentui/commit/2995e3262243608331236b8d12b1652c84d313bc) by beachball)
46
+
47
+ ## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-beta.5)
48
+
49
+ Thu, 25 Nov 2021 08:34:14 GMT
50
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.4..@fluentui/react-menu_v9.0.0-beta.5)
51
+
52
+ ### Changes
53
+
54
+ - update react-icons dependency ([PR #20563](https://github.com/microsoft/fluentui/pull/20563) by ololubek@microsoft.com)
55
+ - Bump @fluentui/react-context-selector to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
56
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
57
+ - Bump @fluentui/react-portal to v9.0.0-beta.5 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
58
+ - Bump @fluentui/react-positioning to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
59
+ - Bump @fluentui/react-shared-contexts to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
60
+ - Bump @fluentui/react-tabster to v9.0.0-beta.5 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
61
+ - Bump @fluentui/react-utilities to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
62
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
63
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
64
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
65
+
66
+ ## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-beta.4)
67
+
68
+ Fri, 12 Nov 2021 13:25:27 GMT
69
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.3..@fluentui/react-menu_v9.0.0-beta.4)
70
+
71
+ ### Changes
72
+
73
+ - Adds typings for `onCheckedValueChange` method ([PR #20493](https://github.com/microsoft/fluentui/pull/20493) by bsunderhus@microsoft.com)
74
+ - use react-shared-contexts instead of react-provider ([PR #20578](https://github.com/microsoft/fluentui/pull/20578) by olfedias@microsoft.com)
75
+ - export static classes for components ([PR #20450](https://github.com/microsoft/fluentui/pull/20450) by olfedias@microsoft.com)
76
+ - Updated beta and RC components to ES2019 ([PR #20405](https://github.com/microsoft/fluentui/pull/20405) by gcox@microsoft.com)
77
+ - Bump @fluentui/react-context-selector to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
78
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
79
+ - Bump @fluentui/react-portal to v9.0.0-beta.4 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
80
+ - Bump @fluentui/react-positioning to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
81
+ - Bump @fluentui/react-shared-contexts to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
82
+ - Bump @fluentui/react-tabster to v9.0.0-beta.4 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
83
+ - Bump @fluentui/react-utilities to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
84
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
85
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
86
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
26
87
 
27
88
  ## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-beta.3)
28
89