@fluentui/react-menu 0.0.0-nightlyebf02572f720211207.1 → 0.0.0-nightlyf3017f159620220222.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (429) hide show
  1. package/CHANGELOG.json +313 -29
  2. package/CHANGELOG.md +71 -16
  3. package/Spec.md +21 -16
  4. package/dist/react-menu.d.ts +112 -68
  5. package/lib/Menu.js.map +1 -1
  6. package/lib/MenuDivider.js.map +1 -1
  7. package/lib/MenuGroup.js.map +1 -1
  8. package/lib/MenuGroupHeader.js.map +1 -1
  9. package/lib/MenuItem.js.map +1 -1
  10. package/lib/MenuItemCheckbox.js.map +1 -1
  11. package/lib/MenuItemRadio.js.map +1 -1
  12. package/lib/MenuList.js.map +1 -1
  13. package/lib/MenuPopover.js.map +1 -1
  14. package/lib/MenuSplitGroup.d.ts +1 -0
  15. package/lib/MenuSplitGroup.js +2 -0
  16. package/lib/MenuSplitGroup.js.map +1 -0
  17. package/lib/MenuTrigger.js.map +1 -1
  18. package/lib/components/Menu/Menu.js +6 -6
  19. package/lib/components/Menu/Menu.js.map +1 -1
  20. package/lib/components/Menu/Menu.types.d.ts +1 -1
  21. package/lib/components/Menu/Menu.types.js.map +1 -1
  22. package/lib/components/Menu/index.js.map +1 -1
  23. package/lib/components/Menu/renderMenu.d.ts +1 -1
  24. package/lib/components/Menu/renderMenu.js +1 -1
  25. package/lib/components/Menu/renderMenu.js.map +1 -1
  26. package/lib/components/Menu/useMenu.d.ts +2 -2
  27. package/lib/components/Menu/useMenu.js +33 -25
  28. package/lib/components/Menu/useMenu.js.map +1 -1
  29. package/lib/components/Menu/useMenuContextValues.d.ts +1 -1
  30. package/lib/components/Menu/useMenuContextValues.js +1 -1
  31. package/lib/components/Menu/useMenuContextValues.js.map +1 -1
  32. package/lib/components/MenuDivider/MenuDivider.d.ts +1 -1
  33. package/lib/components/MenuDivider/MenuDivider.js +7 -7
  34. package/lib/components/MenuDivider/MenuDivider.js.map +1 -1
  35. package/lib/components/MenuDivider/MenuDivider.types.d.ts +2 -2
  36. package/lib/components/MenuDivider/MenuDivider.types.js.map +1 -1
  37. package/lib/components/MenuDivider/index.js.map +1 -1
  38. package/lib/components/MenuDivider/renderMenuDivider.d.ts +1 -1
  39. package/lib/components/MenuDivider/renderMenuDivider.js +3 -2
  40. package/lib/components/MenuDivider/renderMenuDivider.js.map +1 -1
  41. package/lib/components/MenuDivider/useMenuDivider.d.ts +1 -1
  42. package/lib/components/MenuDivider/useMenuDivider.js +4 -1
  43. package/lib/components/MenuDivider/useMenuDivider.js.map +1 -1
  44. package/lib/components/MenuDivider/useMenuDividerStyles.d.ts +1 -1
  45. package/lib/components/MenuDivider/useMenuDividerStyles.js +3 -2
  46. package/lib/components/MenuDivider/useMenuDividerStyles.js.map +1 -1
  47. package/lib/components/MenuGroup/MenuGroup.d.ts +1 -1
  48. package/lib/components/MenuGroup/MenuGroup.js +9 -9
  49. package/lib/components/MenuGroup/MenuGroup.js.map +1 -1
  50. package/lib/components/MenuGroup/MenuGroup.types.d.ts +3 -3
  51. package/lib/components/MenuGroup/MenuGroup.types.js.map +1 -1
  52. package/lib/components/MenuGroup/index.js.map +1 -1
  53. package/lib/components/MenuGroup/renderMenuGroup.d.ts +1 -1
  54. package/lib/components/MenuGroup/renderMenuGroup.js +3 -2
  55. package/lib/components/MenuGroup/renderMenuGroup.js.map +1 -1
  56. package/lib/components/MenuGroup/useMenuGroup.d.ts +1 -1
  57. package/lib/components/MenuGroup/useMenuGroup.js +4 -1
  58. package/lib/components/MenuGroup/useMenuGroup.js.map +1 -1
  59. package/lib/components/MenuGroup/useMenuGroupContextValues.d.ts +1 -1
  60. package/lib/components/MenuGroup/useMenuGroupContextValues.js +1 -1
  61. package/lib/components/MenuGroup/useMenuGroupContextValues.js.map +1 -1
  62. package/lib/components/MenuGroup/useMenuGroupStyles.d.ts +1 -1
  63. package/lib/components/MenuGroup/useMenuGroupStyles.js +2 -2
  64. package/lib/components/MenuGroup/useMenuGroupStyles.js.map +1 -1
  65. package/lib/components/MenuGroupHeader/MenuGroupHeader.d.ts +1 -1
  66. package/lib/components/MenuGroupHeader/MenuGroupHeader.js +7 -7
  67. package/lib/components/MenuGroupHeader/MenuGroupHeader.js.map +1 -1
  68. package/lib/components/MenuGroupHeader/MenuGroupHeader.types.d.ts +2 -2
  69. package/lib/components/MenuGroupHeader/MenuGroupHeader.types.js.map +1 -1
  70. package/lib/components/MenuGroupHeader/index.js.map +1 -1
  71. package/lib/components/MenuGroupHeader/renderMenuGroupHeader.d.ts +1 -1
  72. package/lib/components/MenuGroupHeader/renderMenuGroupHeader.js +3 -2
  73. package/lib/components/MenuGroupHeader/renderMenuGroupHeader.js.map +1 -1
  74. package/lib/components/MenuGroupHeader/useMenuGroupHeader.d.ts +1 -1
  75. package/lib/components/MenuGroupHeader/useMenuGroupHeader.js +6 -3
  76. package/lib/components/MenuGroupHeader/useMenuGroupHeader.js.map +1 -1
  77. package/lib/components/MenuGroupHeader/useMenuGroupHeaderStyles.d.ts +1 -1
  78. package/lib/components/MenuGroupHeader/useMenuGroupHeaderStyles.js +3 -2
  79. package/lib/components/MenuGroupHeader/useMenuGroupHeaderStyles.js.map +1 -1
  80. package/lib/components/MenuItem/MenuItem.d.ts +1 -1
  81. package/lib/components/MenuItem/MenuItem.js +7 -9
  82. package/lib/components/MenuItem/MenuItem.js.map +1 -1
  83. package/lib/components/MenuItem/MenuItem.types.d.ts +7 -7
  84. package/lib/components/MenuItem/MenuItem.types.js.map +1 -1
  85. package/lib/components/MenuItem/index.js.map +1 -1
  86. package/lib/components/MenuItem/renderMenuItem.d.ts +1 -1
  87. package/lib/components/MenuItem/renderMenuItem.js +9 -4
  88. package/lib/components/MenuItem/renderMenuItem.js.map +1 -1
  89. package/lib/components/MenuItem/useCharacterSearch.js +2 -2
  90. package/lib/components/MenuItem/useCharacterSearch.js.map +1 -1
  91. package/lib/components/MenuItem/useMenuItem.d.ts +2 -6
  92. package/lib/components/MenuItem/useMenuItem.js +14 -16
  93. package/lib/components/MenuItem/useMenuItem.js.map +1 -1
  94. package/lib/components/MenuItem/useMenuItemStyles.d.ts +1 -1
  95. package/lib/components/MenuItem/useMenuItemStyles.js +21 -22
  96. package/lib/components/MenuItem/useMenuItemStyles.js.map +1 -1
  97. package/lib/components/MenuItemCheckbox/MenuItemCheckbox.d.ts +1 -1
  98. package/lib/components/MenuItemCheckbox/MenuItemCheckbox.js +7 -7
  99. package/lib/components/MenuItemCheckbox/MenuItemCheckbox.js.map +1 -1
  100. package/lib/components/MenuItemCheckbox/MenuItemCheckbox.types.js.map +1 -1
  101. package/lib/components/MenuItemCheckbox/index.js.map +1 -1
  102. package/lib/components/MenuItemCheckbox/renderMenuItemCheckbox.d.ts +1 -1
  103. package/lib/components/MenuItemCheckbox/renderMenuItemCheckbox.js +8 -4
  104. package/lib/components/MenuItemCheckbox/renderMenuItemCheckbox.js.map +1 -1
  105. package/lib/components/MenuItemCheckbox/useMenuItemCheckbox.d.ts +1 -1
  106. package/lib/components/MenuItemCheckbox/useMenuItemCheckbox.js +6 -6
  107. package/lib/components/MenuItemCheckbox/useMenuItemCheckbox.js.map +1 -1
  108. package/lib/components/MenuItemCheckbox/useMenuItemCheckboxStyles.d.ts +1 -1
  109. package/lib/components/MenuItemCheckbox/useMenuItemCheckboxStyles.js +6 -6
  110. package/lib/components/MenuItemCheckbox/useMenuItemCheckboxStyles.js.map +1 -1
  111. package/lib/components/MenuItemRadio/MenuItemRadio.d.ts +1 -1
  112. package/lib/components/MenuItemRadio/MenuItemRadio.js +7 -7
  113. package/lib/components/MenuItemRadio/MenuItemRadio.js.map +1 -1
  114. package/lib/components/MenuItemRadio/MenuItemRadio.types.js.map +1 -1
  115. package/lib/components/MenuItemRadio/index.js.map +1 -1
  116. package/lib/components/MenuItemRadio/renderMenuItemRadio.d.ts +1 -1
  117. package/lib/components/MenuItemRadio/renderMenuItemRadio.js +8 -4
  118. package/lib/components/MenuItemRadio/renderMenuItemRadio.js.map +1 -1
  119. package/lib/components/MenuItemRadio/useMenuItemRadio.d.ts +1 -1
  120. package/lib/components/MenuItemRadio/useMenuItemRadio.js +6 -6
  121. package/lib/components/MenuItemRadio/useMenuItemRadio.js.map +1 -1
  122. package/lib/components/MenuItemRadio/useMenuItemRadioStyles.d.ts +1 -1
  123. package/lib/components/MenuItemRadio/useMenuItemRadioStyles.js +6 -6
  124. package/lib/components/MenuItemRadio/useMenuItemRadioStyles.js.map +1 -1
  125. package/lib/components/MenuList/MenuList.d.ts +1 -1
  126. package/lib/components/MenuList/MenuList.js +9 -9
  127. package/lib/components/MenuList/MenuList.js.map +1 -1
  128. package/lib/components/MenuList/MenuList.types.d.ts +4 -4
  129. package/lib/components/MenuList/MenuList.types.js.map +1 -1
  130. package/lib/components/MenuList/index.d.ts +1 -1
  131. package/lib/components/MenuList/index.js +0 -1
  132. package/lib/components/MenuList/index.js.map +1 -1
  133. package/lib/components/MenuList/renderMenuList.d.ts +1 -1
  134. package/lib/components/MenuList/renderMenuList.js +3 -2
  135. package/lib/components/MenuList/renderMenuList.js.map +1 -1
  136. package/lib/components/MenuList/useMenuList.d.ts +1 -1
  137. package/lib/components/MenuList/useMenuList.js +11 -8
  138. package/lib/components/MenuList/useMenuList.js.map +1 -1
  139. package/lib/components/MenuList/useMenuListContextValues.d.ts +1 -1
  140. package/lib/components/MenuList/useMenuListContextValues.js +1 -1
  141. package/lib/components/MenuList/useMenuListContextValues.js.map +1 -1
  142. package/lib/components/MenuList/useMenuListStyles.d.ts +1 -1
  143. package/lib/components/MenuList/useMenuListStyles.js +2 -2
  144. package/lib/components/MenuList/useMenuListStyles.js.map +1 -1
  145. package/lib/components/MenuPopover/MenuPopover.js +6 -6
  146. package/lib/components/MenuPopover/MenuPopover.js.map +1 -1
  147. package/lib/components/MenuPopover/MenuPopover.types.d.ts +2 -2
  148. package/lib/components/MenuPopover/MenuPopover.types.js.map +1 -1
  149. package/lib/components/MenuPopover/index.js.map +1 -1
  150. package/lib/components/MenuPopover/renderMenuPopover.d.ts +1 -1
  151. package/lib/components/MenuPopover/renderMenuPopover.js +5 -3
  152. package/lib/components/MenuPopover/renderMenuPopover.js.map +1 -1
  153. package/lib/components/MenuPopover/useMenuPopover.d.ts +3 -3
  154. package/lib/components/MenuPopover/useMenuPopover.js +11 -8
  155. package/lib/components/MenuPopover/useMenuPopover.js.map +1 -1
  156. package/lib/components/MenuPopover/useMenuPopoverStyles.d.ts +1 -1
  157. package/lib/components/MenuPopover/useMenuPopoverStyles.js +3 -2
  158. package/lib/components/MenuPopover/useMenuPopoverStyles.js.map +1 -1
  159. package/lib/components/MenuSplitGroup/MenuSplitGroup.d.ts +6 -0
  160. package/lib/components/MenuSplitGroup/MenuSplitGroup.js +15 -0
  161. package/lib/components/MenuSplitGroup/MenuSplitGroup.js.map +1 -0
  162. package/lib/components/MenuSplitGroup/MenuSplitGroup.types.d.ts +14 -0
  163. package/lib/components/MenuSplitGroup/MenuSplitGroup.types.js +2 -0
  164. package/lib/components/MenuSplitGroup/MenuSplitGroup.types.js.map +1 -0
  165. package/lib/components/MenuSplitGroup/index.d.ts +5 -0
  166. package/lib/components/MenuSplitGroup/index.js +6 -0
  167. package/lib/components/MenuSplitGroup/index.js.map +1 -0
  168. package/lib/components/MenuSplitGroup/renderMenuSplitGroup.d.ts +5 -0
  169. package/lib/components/MenuSplitGroup/renderMenuSplitGroup.js +15 -0
  170. package/lib/components/MenuSplitGroup/renderMenuSplitGroup.js.map +1 -0
  171. package/lib/components/MenuSplitGroup/useMenuSplitGroup.d.ts +12 -0
  172. package/lib/components/MenuSplitGroup/useMenuSplitGroup.js +67 -0
  173. package/lib/components/MenuSplitGroup/useMenuSplitGroup.js.map +1 -0
  174. package/lib/components/MenuSplitGroup/useMenuSplitGroupStyles.d.ts +6 -0
  175. package/lib/components/MenuSplitGroup/useMenuSplitGroupStyles.js +35 -0
  176. package/lib/components/MenuSplitGroup/useMenuSplitGroupStyles.js.map +1 -0
  177. package/lib/components/MenuTrigger/MenuTrigger.d.ts +2 -1
  178. package/lib/components/MenuTrigger/MenuTrigger.js +5 -4
  179. package/lib/components/MenuTrigger/MenuTrigger.js.map +1 -1
  180. package/lib/components/MenuTrigger/MenuTrigger.types.d.ts +7 -3
  181. package/lib/components/MenuTrigger/MenuTrigger.types.js.map +1 -1
  182. package/lib/components/MenuTrigger/index.js.map +1 -1
  183. package/lib/components/MenuTrigger/renderMenuTrigger.d.ts +1 -1
  184. package/lib/components/MenuTrigger/renderMenuTrigger.js +2 -2
  185. package/lib/components/MenuTrigger/renderMenuTrigger.js.map +1 -1
  186. package/lib/components/MenuTrigger/useMenuTrigger.d.ts +2 -2
  187. package/lib/components/MenuTrigger/useMenuTrigger.js +168 -5
  188. package/lib/components/MenuTrigger/useMenuTrigger.js.map +1 -1
  189. package/lib/components/index.js.map +1 -1
  190. package/lib/contexts/menuContext.d.ts +1 -1
  191. package/lib/contexts/menuContext.js +1 -1
  192. package/lib/contexts/menuContext.js.map +1 -1
  193. package/lib/contexts/menuGroupContext.d.ts +1 -1
  194. package/lib/contexts/menuGroupContext.js +1 -1
  195. package/lib/contexts/menuGroupContext.js.map +1 -1
  196. package/lib/contexts/menuListContext.d.ts +1 -1
  197. package/lib/contexts/menuListContext.js +1 -1
  198. package/lib/contexts/menuListContext.js.map +1 -1
  199. package/lib/contexts/menuTriggerContext.d.ts +1 -1
  200. package/lib/contexts/menuTriggerContext.js +2 -2
  201. package/lib/contexts/menuTriggerContext.js.map +1 -1
  202. package/lib/index.d.ts +11 -10
  203. package/lib/index.js +11 -10
  204. package/lib/index.js.map +1 -1
  205. package/lib/selectable/index.js.map +1 -1
  206. package/lib/selectable/types.js.map +1 -1
  207. package/lib/selectable/useCheckmarkStyles.d.ts +2 -2
  208. package/lib/selectable/useCheckmarkStyles.js +2 -2
  209. package/lib/selectable/useCheckmarkStyles.js.map +1 -1
  210. package/lib/utils/index.js.map +1 -1
  211. package/lib/utils/useIsSubmenu.js +2 -2
  212. package/lib/utils/useIsSubmenu.js.map +1 -1
  213. package/lib/utils/useOnMenuEnter.js.map +1 -1
  214. package/lib-commonjs/Menu.js.map +1 -1
  215. package/lib-commonjs/MenuDivider.js.map +1 -1
  216. package/lib-commonjs/MenuGroup.js.map +1 -1
  217. package/lib-commonjs/MenuGroupHeader.js.map +1 -1
  218. package/lib-commonjs/MenuItem.js.map +1 -1
  219. package/lib-commonjs/MenuItemCheckbox.js.map +1 -1
  220. package/lib-commonjs/MenuItemRadio.js.map +1 -1
  221. package/lib-commonjs/MenuList.js.map +1 -1
  222. package/lib-commonjs/MenuPopover.js.map +1 -1
  223. package/lib-commonjs/MenuSplitGroup.d.ts +1 -0
  224. package/lib-commonjs/MenuSplitGroup.js +10 -0
  225. package/lib-commonjs/MenuSplitGroup.js.map +1 -0
  226. package/lib-commonjs/MenuTrigger.js.map +1 -1
  227. package/lib-commonjs/components/Menu/Menu.js +3 -3
  228. package/lib-commonjs/components/Menu/Menu.js.map +1 -1
  229. package/lib-commonjs/components/Menu/Menu.types.d.ts +1 -1
  230. package/lib-commonjs/components/Menu/Menu.types.js.map +1 -1
  231. package/lib-commonjs/components/Menu/index.js.map +1 -1
  232. package/lib-commonjs/components/Menu/renderMenu.d.ts +1 -1
  233. package/lib-commonjs/components/Menu/renderMenu.js +3 -3
  234. package/lib-commonjs/components/Menu/renderMenu.js.map +1 -1
  235. package/lib-commonjs/components/Menu/useMenu.d.ts +2 -2
  236. package/lib-commonjs/components/Menu/useMenu.js +38 -31
  237. package/lib-commonjs/components/Menu/useMenu.js.map +1 -1
  238. package/lib-commonjs/components/Menu/useMenuContextValues.d.ts +1 -1
  239. package/lib-commonjs/components/Menu/useMenuContextValues.js +3 -3
  240. package/lib-commonjs/components/Menu/useMenuContextValues.js.map +1 -1
  241. package/lib-commonjs/components/MenuDivider/MenuDivider.d.ts +1 -1
  242. package/lib-commonjs/components/MenuDivider/MenuDivider.js +4 -4
  243. package/lib-commonjs/components/MenuDivider/MenuDivider.js.map +1 -1
  244. package/lib-commonjs/components/MenuDivider/MenuDivider.types.d.ts +2 -2
  245. package/lib-commonjs/components/MenuDivider/MenuDivider.types.js.map +1 -1
  246. package/lib-commonjs/components/MenuDivider/index.js.map +1 -1
  247. package/lib-commonjs/components/MenuDivider/renderMenuDivider.d.ts +1 -1
  248. package/lib-commonjs/components/MenuDivider/renderMenuDivider.js +5 -4
  249. package/lib-commonjs/components/MenuDivider/renderMenuDivider.js.map +1 -1
  250. package/lib-commonjs/components/MenuDivider/useMenuDivider.d.ts +1 -1
  251. package/lib-commonjs/components/MenuDivider/useMenuDivider.js +6 -3
  252. package/lib-commonjs/components/MenuDivider/useMenuDivider.js.map +1 -1
  253. package/lib-commonjs/components/MenuDivider/useMenuDividerStyles.d.ts +1 -1
  254. package/lib-commonjs/components/MenuDivider/useMenuDividerStyles.js +8 -6
  255. package/lib-commonjs/components/MenuDivider/useMenuDividerStyles.js.map +1 -1
  256. package/lib-commonjs/components/MenuGroup/MenuGroup.d.ts +1 -1
  257. package/lib-commonjs/components/MenuGroup/MenuGroup.js +5 -5
  258. package/lib-commonjs/components/MenuGroup/MenuGroup.js.map +1 -1
  259. package/lib-commonjs/components/MenuGroup/MenuGroup.types.d.ts +3 -3
  260. package/lib-commonjs/components/MenuGroup/MenuGroup.types.js.map +1 -1
  261. package/lib-commonjs/components/MenuGroup/index.js.map +1 -1
  262. package/lib-commonjs/components/MenuGroup/renderMenuGroup.d.ts +1 -1
  263. package/lib-commonjs/components/MenuGroup/renderMenuGroup.js +5 -4
  264. package/lib-commonjs/components/MenuGroup/renderMenuGroup.js.map +1 -1
  265. package/lib-commonjs/components/MenuGroup/useMenuGroup.d.ts +1 -1
  266. package/lib-commonjs/components/MenuGroup/useMenuGroup.js +6 -3
  267. package/lib-commonjs/components/MenuGroup/useMenuGroup.js.map +1 -1
  268. package/lib-commonjs/components/MenuGroup/useMenuGroupContextValues.d.ts +1 -1
  269. package/lib-commonjs/components/MenuGroup/useMenuGroupContextValues.js +3 -3
  270. package/lib-commonjs/components/MenuGroup/useMenuGroupContextValues.js.map +1 -1
  271. package/lib-commonjs/components/MenuGroup/useMenuGroupStyles.d.ts +1 -1
  272. package/lib-commonjs/components/MenuGroup/useMenuGroupStyles.js +5 -5
  273. package/lib-commonjs/components/MenuGroup/useMenuGroupStyles.js.map +1 -1
  274. package/lib-commonjs/components/MenuGroupHeader/MenuGroupHeader.d.ts +1 -1
  275. package/lib-commonjs/components/MenuGroupHeader/MenuGroupHeader.js +4 -4
  276. package/lib-commonjs/components/MenuGroupHeader/MenuGroupHeader.js.map +1 -1
  277. package/lib-commonjs/components/MenuGroupHeader/MenuGroupHeader.types.d.ts +2 -2
  278. package/lib-commonjs/components/MenuGroupHeader/MenuGroupHeader.types.js.map +1 -1
  279. package/lib-commonjs/components/MenuGroupHeader/index.js.map +1 -1
  280. package/lib-commonjs/components/MenuGroupHeader/renderMenuGroupHeader.d.ts +1 -1
  281. package/lib-commonjs/components/MenuGroupHeader/renderMenuGroupHeader.js +5 -4
  282. package/lib-commonjs/components/MenuGroupHeader/renderMenuGroupHeader.js.map +1 -1
  283. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeader.d.ts +1 -1
  284. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeader.js +7 -4
  285. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeader.js.map +1 -1
  286. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeaderStyles.d.ts +1 -1
  287. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeaderStyles.js +8 -6
  288. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeaderStyles.js.map +1 -1
  289. package/lib-commonjs/components/MenuItem/MenuItem.d.ts +1 -1
  290. package/lib-commonjs/components/MenuItem/MenuItem.js +4 -7
  291. package/lib-commonjs/components/MenuItem/MenuItem.js.map +1 -1
  292. package/lib-commonjs/components/MenuItem/MenuItem.types.d.ts +7 -7
  293. package/lib-commonjs/components/MenuItem/MenuItem.types.js.map +1 -1
  294. package/lib-commonjs/components/MenuItem/index.js.map +1 -1
  295. package/lib-commonjs/components/MenuItem/renderMenuItem.d.ts +1 -1
  296. package/lib-commonjs/components/MenuItem/renderMenuItem.js +11 -7
  297. package/lib-commonjs/components/MenuItem/renderMenuItem.js.map +1 -1
  298. package/lib-commonjs/components/MenuItem/useCharacterSearch.js +1 -1
  299. package/lib-commonjs/components/MenuItem/useCharacterSearch.js.map +1 -1
  300. package/lib-commonjs/components/MenuItem/useMenuItem.d.ts +2 -6
  301. package/lib-commonjs/components/MenuItem/useMenuItem.js +13 -15
  302. package/lib-commonjs/components/MenuItem/useMenuItem.js.map +1 -1
  303. package/lib-commonjs/components/MenuItem/useMenuItemStyles.d.ts +1 -1
  304. package/lib-commonjs/components/MenuItem/useMenuItemStyles.js +30 -29
  305. package/lib-commonjs/components/MenuItem/useMenuItemStyles.js.map +1 -1
  306. package/lib-commonjs/components/MenuItemCheckbox/MenuItemCheckbox.d.ts +1 -1
  307. package/lib-commonjs/components/MenuItemCheckbox/MenuItemCheckbox.js +4 -4
  308. package/lib-commonjs/components/MenuItemCheckbox/MenuItemCheckbox.js.map +1 -1
  309. package/lib-commonjs/components/MenuItemCheckbox/MenuItemCheckbox.types.js.map +1 -1
  310. package/lib-commonjs/components/MenuItemCheckbox/index.js.map +1 -1
  311. package/lib-commonjs/components/MenuItemCheckbox/renderMenuItemCheckbox.d.ts +1 -1
  312. package/lib-commonjs/components/MenuItemCheckbox/renderMenuItemCheckbox.js +10 -7
  313. package/lib-commonjs/components/MenuItemCheckbox/renderMenuItemCheckbox.js.map +1 -1
  314. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckbox.d.ts +1 -1
  315. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckbox.js +6 -6
  316. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckbox.js.map +1 -1
  317. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckboxStyles.d.ts +1 -1
  318. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckboxStyles.js +7 -7
  319. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckboxStyles.js.map +1 -1
  320. package/lib-commonjs/components/MenuItemRadio/MenuItemRadio.d.ts +1 -1
  321. package/lib-commonjs/components/MenuItemRadio/MenuItemRadio.js +4 -4
  322. package/lib-commonjs/components/MenuItemRadio/MenuItemRadio.js.map +1 -1
  323. package/lib-commonjs/components/MenuItemRadio/MenuItemRadio.types.js.map +1 -1
  324. package/lib-commonjs/components/MenuItemRadio/index.js.map +1 -1
  325. package/lib-commonjs/components/MenuItemRadio/renderMenuItemRadio.d.ts +1 -1
  326. package/lib-commonjs/components/MenuItemRadio/renderMenuItemRadio.js +10 -7
  327. package/lib-commonjs/components/MenuItemRadio/renderMenuItemRadio.js.map +1 -1
  328. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadio.d.ts +1 -1
  329. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadio.js +6 -6
  330. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadio.js.map +1 -1
  331. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadioStyles.d.ts +1 -1
  332. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadioStyles.js +7 -7
  333. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadioStyles.js.map +1 -1
  334. package/lib-commonjs/components/MenuList/MenuList.d.ts +1 -1
  335. package/lib-commonjs/components/MenuList/MenuList.js +5 -5
  336. package/lib-commonjs/components/MenuList/MenuList.js.map +1 -1
  337. package/lib-commonjs/components/MenuList/MenuList.types.d.ts +4 -4
  338. package/lib-commonjs/components/MenuList/MenuList.types.js.map +1 -1
  339. package/lib-commonjs/components/MenuList/index.d.ts +1 -1
  340. package/lib-commonjs/components/MenuList/index.js +0 -2
  341. package/lib-commonjs/components/MenuList/index.js.map +1 -1
  342. package/lib-commonjs/components/MenuList/renderMenuList.d.ts +1 -1
  343. package/lib-commonjs/components/MenuList/renderMenuList.js +5 -4
  344. package/lib-commonjs/components/MenuList/renderMenuList.js.map +1 -1
  345. package/lib-commonjs/components/MenuList/useMenuList.d.ts +1 -1
  346. package/lib-commonjs/components/MenuList/useMenuList.js +12 -9
  347. package/lib-commonjs/components/MenuList/useMenuList.js.map +1 -1
  348. package/lib-commonjs/components/MenuList/useMenuListContextValues.d.ts +1 -1
  349. package/lib-commonjs/components/MenuList/useMenuListContextValues.js +3 -3
  350. package/lib-commonjs/components/MenuList/useMenuListContextValues.js.map +1 -1
  351. package/lib-commonjs/components/MenuList/useMenuListStyles.d.ts +1 -1
  352. package/lib-commonjs/components/MenuList/useMenuListStyles.js +6 -6
  353. package/lib-commonjs/components/MenuList/useMenuListStyles.js.map +1 -1
  354. package/lib-commonjs/components/MenuPopover/MenuPopover.js +3 -3
  355. package/lib-commonjs/components/MenuPopover/MenuPopover.js.map +1 -1
  356. package/lib-commonjs/components/MenuPopover/MenuPopover.types.d.ts +2 -2
  357. package/lib-commonjs/components/MenuPopover/MenuPopover.types.js.map +1 -1
  358. package/lib-commonjs/components/MenuPopover/index.js.map +1 -1
  359. package/lib-commonjs/components/MenuPopover/renderMenuPopover.d.ts +1 -1
  360. package/lib-commonjs/components/MenuPopover/renderMenuPopover.js +7 -5
  361. package/lib-commonjs/components/MenuPopover/renderMenuPopover.js.map +1 -1
  362. package/lib-commonjs/components/MenuPopover/useMenuPopover.d.ts +3 -3
  363. package/lib-commonjs/components/MenuPopover/useMenuPopover.js +12 -9
  364. package/lib-commonjs/components/MenuPopover/useMenuPopover.js.map +1 -1
  365. package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.d.ts +1 -1
  366. package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.js +8 -6
  367. package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.js.map +1 -1
  368. package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.d.ts +6 -0
  369. package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.js +26 -0
  370. package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.js.map +1 -0
  371. package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.types.d.ts +14 -0
  372. package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.types.js +6 -0
  373. package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.types.js.map +1 -0
  374. package/lib-commonjs/components/MenuSplitGroup/index.d.ts +5 -0
  375. package/lib-commonjs/components/MenuSplitGroup/index.js +18 -0
  376. package/lib-commonjs/components/MenuSplitGroup/index.js.map +1 -0
  377. package/lib-commonjs/components/MenuSplitGroup/renderMenuSplitGroup.d.ts +5 -0
  378. package/lib-commonjs/components/MenuSplitGroup/renderMenuSplitGroup.js +26 -0
  379. package/lib-commonjs/components/MenuSplitGroup/renderMenuSplitGroup.js.map +1 -0
  380. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroup.d.ts +12 -0
  381. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroup.js +81 -0
  382. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroup.js.map +1 -0
  383. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroupStyles.d.ts +6 -0
  384. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroupStyles.js +47 -0
  385. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroupStyles.js.map +1 -0
  386. package/lib-commonjs/components/MenuTrigger/MenuTrigger.d.ts +2 -1
  387. package/lib-commonjs/components/MenuTrigger/MenuTrigger.js +3 -2
  388. package/lib-commonjs/components/MenuTrigger/MenuTrigger.js.map +1 -1
  389. package/lib-commonjs/components/MenuTrigger/MenuTrigger.types.d.ts +7 -3
  390. package/lib-commonjs/components/MenuTrigger/MenuTrigger.types.js.map +1 -1
  391. package/lib-commonjs/components/MenuTrigger/index.js.map +1 -1
  392. package/lib-commonjs/components/MenuTrigger/renderMenuTrigger.d.ts +1 -1
  393. package/lib-commonjs/components/MenuTrigger/renderMenuTrigger.js +4 -4
  394. package/lib-commonjs/components/MenuTrigger/renderMenuTrigger.js.map +1 -1
  395. package/lib-commonjs/components/MenuTrigger/useMenuTrigger.d.ts +2 -2
  396. package/lib-commonjs/components/MenuTrigger/useMenuTrigger.js +177 -7
  397. package/lib-commonjs/components/MenuTrigger/useMenuTrigger.js.map +1 -1
  398. package/lib-commonjs/components/index.js.map +1 -1
  399. package/lib-commonjs/contexts/menuContext.d.ts +1 -1
  400. package/lib-commonjs/contexts/menuContext.js +3 -3
  401. package/lib-commonjs/contexts/menuContext.js.map +1 -1
  402. package/lib-commonjs/contexts/menuGroupContext.d.ts +1 -1
  403. package/lib-commonjs/contexts/menuGroupContext.js +3 -3
  404. package/lib-commonjs/contexts/menuGroupContext.js.map +1 -1
  405. package/lib-commonjs/contexts/menuListContext.d.ts +1 -1
  406. package/lib-commonjs/contexts/menuListContext.js +3 -3
  407. package/lib-commonjs/contexts/menuListContext.js.map +1 -1
  408. package/lib-commonjs/contexts/menuTriggerContext.d.ts +1 -1
  409. package/lib-commonjs/contexts/menuTriggerContext.js +4 -4
  410. package/lib-commonjs/contexts/menuTriggerContext.js.map +1 -1
  411. package/lib-commonjs/index.d.ts +11 -10
  412. package/lib-commonjs/index.js +16 -14
  413. package/lib-commonjs/index.js.map +1 -1
  414. package/lib-commonjs/selectable/index.js.map +1 -1
  415. package/lib-commonjs/selectable/types.js.map +1 -1
  416. package/lib-commonjs/selectable/useCheckmarkStyles.d.ts +2 -2
  417. package/lib-commonjs/selectable/useCheckmarkStyles.js +6 -6
  418. package/lib-commonjs/selectable/useCheckmarkStyles.js.map +1 -1
  419. package/lib-commonjs/utils/index.js.map +1 -1
  420. package/lib-commonjs/utils/useIsSubmenu.js +1 -1
  421. package/lib-commonjs/utils/useIsSubmenu.js.map +1 -1
  422. package/lib-commonjs/utils/useOnMenuEnter.js.map +1 -1
  423. package/package.json +13 -15
  424. package/lib/components/MenuTrigger/useTriggerElement.d.ts +0 -5
  425. package/lib/components/MenuTrigger/useTriggerElement.js +0 -165
  426. package/lib/components/MenuTrigger/useTriggerElement.js.map +0 -1
  427. package/lib-commonjs/components/MenuTrigger/useTriggerElement.d.ts +0 -5
  428. package/lib-commonjs/components/MenuTrigger/useTriggerElement.js +0 -180
  429. package/lib-commonjs/components/MenuTrigger/useTriggerElement.js.map +0 -1
package/CHANGELOG.json CHANGED
@@ -2,88 +2,372 @@
2
2
  "name": "@fluentui/react-menu",
3
3
  "entries": [
4
4
  {
5
- "date": "Tue, 07 Dec 2021 04:14:34 GMT",
6
- "tag": "@fluentui/react-menu_v0.0.0-nightlyebf02572f720211207.1",
7
- "version": "0.0.0-nightlyebf02572f720211207.1",
5
+ "date": "Tue, 22 Feb 2022 04:13:24 GMT",
6
+ "tag": "@fluentui/react-menu_v0.0.0-nightlyf3017f159620220222.1",
7
+ "version": "0.0.0-nightlyf3017f159620220222.1",
8
8
  "comments": {
9
9
  "prerelease": [
10
10
  {
11
11
  "author": "email not defined",
12
12
  "package": "@fluentui/react-menu",
13
- "commit": "2523b8c9da23ec860780244563814b63ba963043",
13
+ "commit": "abd89ece026acc4dc588f4a78edfb26dc1b57921",
14
14
  "comment": "Release nightly v9"
15
15
  },
16
16
  {
17
- "author": "olfedias@microsoft.com",
17
+ "author": "beachball",
18
18
  "package": "@fluentui/react-menu",
19
- "commit": "7e0933ed386742df28c416e6b3a6903a0c041f28",
20
- "comment": "update styles to not use CSS shorthands"
19
+ "comment": "Bump @fluentui/keyboard-keys to v0.0.0-nightlyf3017f159620220222.1",
20
+ "commit": "abd89ece026acc4dc588f4a78edfb26dc1b57921"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@fluentui/react-menu",
25
+ "comment": "Bump @fluentui/react-context-selector to v0.0.0-nightlyf3017f159620220222.1",
26
+ "commit": "abd89ece026acc4dc588f4a78edfb26dc1b57921"
27
+ },
28
+ {
29
+ "author": "beachball",
30
+ "package": "@fluentui/react-menu",
31
+ "comment": "Bump @fluentui/react-portal to v0.0.0-nightlyf3017f159620220222.1",
32
+ "commit": "abd89ece026acc4dc588f4a78edfb26dc1b57921"
33
+ },
34
+ {
35
+ "author": "beachball",
36
+ "package": "@fluentui/react-menu",
37
+ "comment": "Bump @fluentui/react-positioning to v0.0.0-nightlyf3017f159620220222.1",
38
+ "commit": "abd89ece026acc4dc588f4a78edfb26dc1b57921"
39
+ },
40
+ {
41
+ "author": "beachball",
42
+ "package": "@fluentui/react-menu",
43
+ "comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightlyf3017f159620220222.1",
44
+ "commit": "abd89ece026acc4dc588f4a78edfb26dc1b57921"
45
+ },
46
+ {
47
+ "author": "beachball",
48
+ "package": "@fluentui/react-menu",
49
+ "comment": "Bump @fluentui/react-tabster to v0.0.0-nightlyf3017f159620220222.1",
50
+ "commit": "abd89ece026acc4dc588f4a78edfb26dc1b57921"
51
+ },
52
+ {
53
+ "author": "beachball",
54
+ "package": "@fluentui/react-menu",
55
+ "comment": "Bump @fluentui/react-utilities to v0.0.0-nightlyf3017f159620220222.1",
56
+ "commit": "abd89ece026acc4dc588f4a78edfb26dc1b57921"
57
+ },
58
+ {
59
+ "author": "beachball",
60
+ "package": "@fluentui/react-menu",
61
+ "comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightlyf3017f159620220222.1",
62
+ "commit": "abd89ece026acc4dc588f4a78edfb26dc1b57921"
63
+ }
64
+ ]
65
+ }
66
+ },
67
+ {
68
+ "date": "Fri, 18 Feb 2022 13:35:33 GMT",
69
+ "tag": "@fluentui/react-menu_v9.0.0-rc.3",
70
+ "version": "9.0.0-rc.3",
71
+ "comments": {
72
+ "prerelease": [
73
+ {
74
+ "author": "lingfangao@hotmail.com",
75
+ "package": "@fluentui/react-menu",
76
+ "commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504",
77
+ "comment": "fix: MenuItem is a submenu trigger if it is wrapped by a MenuTrigger and in a submenu"
78
+ },
79
+ {
80
+ "author": "lingfangao@hotmail.com",
81
+ "package": "@fluentui/react-menu",
82
+ "commit": "1aa9e691fcccd9a64168cea7941c0f1e71fa1d14",
83
+ "comment": "fix: Source maps contain original source code"
84
+ },
85
+ {
86
+ "author": "beachball",
87
+ "package": "@fluentui/react-menu",
88
+ "comment": "Bump @fluentui/keyboard-keys to v9.0.0-rc.3",
89
+ "commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
90
+ },
91
+ {
92
+ "author": "beachball",
93
+ "package": "@fluentui/react-menu",
94
+ "comment": "Bump @fluentui/react-context-selector to v9.0.0-rc.3",
95
+ "commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
96
+ },
97
+ {
98
+ "author": "beachball",
99
+ "package": "@fluentui/react-menu",
100
+ "comment": "Bump @fluentui/react-portal to v9.0.0-rc.3",
101
+ "commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
102
+ },
103
+ {
104
+ "author": "beachball",
105
+ "package": "@fluentui/react-menu",
106
+ "comment": "Bump @fluentui/react-positioning to v9.0.0-rc.3",
107
+ "commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
21
108
  },
22
109
  {
23
110
  "author": "beachball",
24
111
  "package": "@fluentui/react-menu",
25
- "comment": "Bump @fluentui/keyboard-keys to v0.0.0-nightlyebf02572f720211207.1",
26
- "commit": "2523b8c9da23ec860780244563814b63ba963043"
112
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.3",
113
+ "commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
27
114
  },
28
115
  {
29
116
  "author": "beachball",
30
117
  "package": "@fluentui/react-menu",
31
- "comment": "Bump @fluentui/react-context-selector to v0.0.0-nightlyebf02572f720211207.1",
32
- "commit": "2523b8c9da23ec860780244563814b63ba963043"
118
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-rc.3",
119
+ "commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
33
120
  },
34
121
  {
35
122
  "author": "beachball",
36
123
  "package": "@fluentui/react-menu",
37
- "comment": "Bump @fluentui/react-make-styles to v0.0.0-nightlyebf02572f720211207.1",
38
- "commit": "2523b8c9da23ec860780244563814b63ba963043"
124
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.3",
125
+ "commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
126
+ },
127
+ {
128
+ "author": "beachball",
129
+ "package": "@fluentui/react-menu",
130
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.3",
131
+ "commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
132
+ }
133
+ ]
134
+ }
135
+ },
136
+ {
137
+ "date": "Thu, 10 Feb 2022 08:51:30 GMT",
138
+ "tag": "@fluentui/react-menu_v9.0.0-rc.1",
139
+ "version": "9.0.0-rc.1",
140
+ "comments": {
141
+ "prerelease": [
142
+ {
143
+ "author": "lingfangao@hotmail.com",
144
+ "package": "@fluentui/react-menu",
145
+ "commit": "c2e6c50d56dcb45b4ca9e3a9daf2fae4be10a19e",
146
+ "comment": "fix: set `aria-expanded` and `aria-haspopup` values correctly"
147
+ },
148
+ {
149
+ "author": "lingfangao@hotmail.com",
150
+ "package": "@fluentui/react-menu",
151
+ "commit": "6ca0355f6740f836ff4df009687718a380085247",
152
+ "comment": "fix: Focus on first menu item on click"
153
+ },
154
+ {
155
+ "author": "lingfangao@hotmail.com",
156
+ "package": "@fluentui/react-menu",
157
+ "commit": "4f22b6dad04ea37eb53e4af23c73d2de4db512a2",
158
+ "comment": "fix: MenuTrigger should work correctly when `aria-disabled=\"true\"`"
159
+ },
160
+ {
161
+ "author": "olfedias@microsoft.com",
162
+ "package": "@fluentui/react-menu",
163
+ "commit": "b23239743c4f5518bcf7dcad496a36fc16bbd2e5",
164
+ "comment": "update @fluentui/react-icons package"
165
+ },
166
+ {
167
+ "author": "lingfangao@hotmail.com",
168
+ "package": "@fluentui/react-menu",
169
+ "commit": "d2eb57808a403b70845a732a62b55aa64d66b2a0",
170
+ "comment": "Allow `MenuTrigger` to be wrapped by another trigger"
171
+ },
172
+ {
173
+ "author": "olfedias@microsoft.com",
174
+ "package": "@fluentui/react-menu",
175
+ "commit": "aa6cfd8ac825b5a280206808101de549a91094fc",
176
+ "comment": "update types related to trigger (allow only React.ReactElement & null)"
177
+ },
178
+ {
179
+ "author": "behowell@microsoft.com",
180
+ "package": "@fluentui/react-menu",
181
+ "commit": "317209bb5cd57c40f35bc42060acb7e3cce5ec95",
182
+ "comment": "BREAKING: Rename component hooks add the suffix _unstable, as their API has not been finalized yet"
183
+ },
184
+ {
185
+ "author": "Humberto.Morimoto@microsoft.com",
186
+ "package": "@fluentui/react-menu",
187
+ "commit": "38c8bed2c707014688ae2ae689033fa36ef23075",
188
+ "comment": "Updating packages based on changes to focusIndicator functions to remove functions from makeStyles in @fluentui/react-tabster."
189
+ },
190
+ {
191
+ "author": "behowell@microsoft.com",
192
+ "package": "@fluentui/react-menu",
193
+ "commit": "7cc28ed8320b00f42d91c63882f10316db2205c5",
194
+ "comment": "Remove component's shorthandProps array"
195
+ },
196
+ {
197
+ "author": "olfedias@microsoft.com",
198
+ "package": "@fluentui/react-menu",
199
+ "commit": "7e0933ed386742df28c416e6b3a6903a0c041f28",
200
+ "comment": "update styles to not use CSS shorthands"
201
+ },
202
+ {
203
+ "author": "behowell@microsoft.com",
204
+ "package": "@fluentui/react-menu",
205
+ "commit": "53b01d71e335715fda91b33e3d7bbd9d471d5ed3",
206
+ "comment": "Refactor component Slot typings"
207
+ },
208
+ {
209
+ "author": "lingfangao@hotmail.com",
210
+ "package": "@fluentui/react-menu",
211
+ "commit": "4121754498bba5137f769295e2b7a2899f557278",
212
+ "comment": "fix: Call `useCheckmarkStyles` in `useMenuItemStyles`"
213
+ },
214
+ {
215
+ "author": "Humberto.Morimoto@microsoft.com",
216
+ "package": "@fluentui/react-menu",
217
+ "commit": "e0b8e1fa6980077e7b311fd1c72c28d3e4305db0",
218
+ "comment": "Updating based on changes to composition types."
219
+ },
220
+ {
221
+ "author": "Humberto.Morimoto@microsoft.com",
222
+ "package": "@fluentui/react-menu",
223
+ "commit": "6c32d0180e89674a46daf795de69e5dc6ca71ef7",
224
+ "comment": "Updating based on removal of functions from makeStyles."
225
+ },
226
+ {
227
+ "author": "behowell@microsoft.com",
228
+ "package": "@fluentui/react-menu",
229
+ "commit": "f30e7585a8d2abd9db06c4076f39a779008b0eca",
230
+ "comment": "Update MenuTrigger and Tooltip to work together"
231
+ },
232
+ {
233
+ "author": "lingfangao@hotmail.com",
234
+ "package": "@fluentui/react-menu",
235
+ "commit": "c00913d50e2dd15bbfbb0757cefe43b192ff1d7f",
236
+ "comment": "Bump Fluent UI packages to 9.0.0-rc"
237
+ },
238
+ {
239
+ "author": "Humberto.Morimoto@microsoft.com",
240
+ "package": "@fluentui/react-menu",
241
+ "commit": "227e09f59026e2bd243422427d9e230d6aa892ca",
242
+ "comment": "Replacing use of functions in makeStyles with direct use of tokens."
243
+ },
244
+ {
245
+ "author": "olfedias@microsoft.com",
246
+ "package": "@fluentui/react-menu",
247
+ "commit": "d8fe0da13e1d34028a51e5d740e7bdc78c3a6862",
248
+ "comment": "use Griffel packages"
249
+ },
250
+ {
251
+ "author": "behowell@microsoft.com",
252
+ "package": "@fluentui/react-menu",
253
+ "commit": "23b8a6df449d6e76b90ae5ca9bd2285febdff222",
254
+ "comment": "Apply fontSize styling to icon slot"
255
+ },
256
+ {
257
+ "author": "ololubek@microsoft.com",
258
+ "package": "@fluentui/react-menu",
259
+ "commit": "63cbefe55e5db10eedbde19392aa8b6376d6a7f7",
260
+ "comment": "Update react-icons usage to resizable icons"
261
+ },
262
+ {
263
+ "author": "lingfangao@hotmail.com",
264
+ "package": "@fluentui/react-menu",
265
+ "commit": "95a6a32cbffa9d86d6017cf8e0204d4b459ef370",
266
+ "comment": "feat: implement `MenuSplitGroup` component for split menu items"
267
+ },
268
+ {
269
+ "author": "Humberto.Morimoto@microsoft.com",
270
+ "package": "@fluentui/react-menu",
271
+ "commit": "00a5d945904c896a0664de6ba72c145a255f0848",
272
+ "comment": "Updating use of tokens.fontWeight now that we don't need to use casting."
273
+ },
274
+ {
275
+ "author": "ololubek@microsoft.com",
276
+ "package": "@fluentui/react-menu",
277
+ "commit": "7cb2a5d8db1b6a1ddb638aa82d5815ab5ae84e69",
278
+ "comment": "(fix): Update react-icons dependency to latest version"
279
+ },
280
+ {
281
+ "author": "mgodbolt@microsoft.com",
282
+ "package": "@fluentui/react-menu",
283
+ "commit": "839ec14849e112b85aa321d034739ec421199141",
284
+ "comment": "remove export of commons types"
285
+ },
286
+ {
287
+ "author": "lingfangao@hotmail.com",
288
+ "package": "@fluentui/react-menu",
289
+ "commit": "07d9ed6d1b436b7ca9571c94fbb0bcbdb080f235",
290
+ "comment": "breaking: MenuTrigger must be the first child of the `Menu`"
39
291
  },
40
292
  {
41
293
  "author": "beachball",
42
294
  "package": "@fluentui/react-menu",
43
- "comment": "Bump @fluentui/react-portal to v0.0.0-nightlyebf02572f720211207.1",
44
- "commit": "2523b8c9da23ec860780244563814b63ba963043"
295
+ "comment": "Bump @fluentui/keyboard-keys to v9.0.0-rc.1",
296
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
45
297
  },
46
298
  {
47
299
  "author": "beachball",
48
300
  "package": "@fluentui/react-menu",
49
- "comment": "Bump @fluentui/react-positioning to v0.0.0-nightlyebf02572f720211207.1",
50
- "commit": "2523b8c9da23ec860780244563814b63ba963043"
301
+ "comment": "Bump @fluentui/react-context-selector to v9.0.0-rc.1",
302
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
51
303
  },
52
304
  {
53
305
  "author": "beachball",
54
306
  "package": "@fluentui/react-menu",
55
- "comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightlyebf02572f720211207.1",
56
- "commit": "2523b8c9da23ec860780244563814b63ba963043"
307
+ "comment": "Bump @fluentui/react-portal to v9.0.0-rc.1",
308
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
57
309
  },
58
310
  {
59
311
  "author": "beachball",
60
312
  "package": "@fluentui/react-menu",
61
- "comment": "Bump @fluentui/react-tabster to v0.0.0-nightlyebf02572f720211207.1",
62
- "commit": "2523b8c9da23ec860780244563814b63ba963043"
313
+ "comment": "Bump @fluentui/react-positioning to v9.0.0-rc.1",
314
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
63
315
  },
64
316
  {
65
317
  "author": "beachball",
66
318
  "package": "@fluentui/react-menu",
67
- "comment": "Bump @fluentui/react-utilities to v0.0.0-nightlyebf02572f720211207.1",
68
- "commit": "2523b8c9da23ec860780244563814b63ba963043"
319
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.1",
320
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
69
321
  },
70
322
  {
71
323
  "author": "beachball",
72
324
  "package": "@fluentui/react-menu",
73
- "comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightlyebf02572f720211207.1",
74
- "commit": "2523b8c9da23ec860780244563814b63ba963043"
325
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-rc.1",
326
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
75
327
  },
76
328
  {
77
329
  "author": "beachball",
78
330
  "package": "@fluentui/react-menu",
79
- "comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlyebf02572f720211207.1",
80
- "commit": "2523b8c9da23ec860780244563814b63ba963043"
331
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.1",
332
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
81
333
  },
82
334
  {
83
335
  "author": "beachball",
84
336
  "package": "@fluentui/react-menu",
85
- "comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlyebf02572f720211207.1",
86
- "commit": "2523b8c9da23ec860780244563814b63ba963043"
337
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.1",
338
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
339
+ }
340
+ ],
341
+ "none": [
342
+ {
343
+ "author": "email not defined",
344
+ "package": "@fluentui/react-menu",
345
+ "commit": "97752a0e494875c4dc22b268030d7d5e51b19211",
346
+ "comment": "Add workaround for cypress bug"
347
+ },
348
+ {
349
+ "author": "olfedias@microsoft.com",
350
+ "package": "@fluentui/react-menu",
351
+ "commit": "c061e98be4b4a718c72a144a1f60bb5515824612",
352
+ "comment": "remove inline-style-expand-shorthand from tsconfigs"
353
+ },
354
+ {
355
+ "author": "bsunderhus@microsoft.com",
356
+ "package": "@fluentui/react-menu",
357
+ "commit": "c0d4e63ee58e60e2c6674efbacc0783cd520984e",
358
+ "comment": "Updates components with nullRender changes"
359
+ },
360
+ {
361
+ "author": "elcraig@microsoft.com",
362
+ "package": "@fluentui/react-menu",
363
+ "commit": "3360b45ec159250b1346c91afad7dce138e6bc20",
364
+ "comment": "Update API file to version generated by typescript 4.3"
365
+ },
366
+ {
367
+ "author": "martinhochel@microsoft.com",
368
+ "package": "@fluentui/react-menu",
369
+ "commit": "8dfa712156b70414205b87b5b6d099367b0c297d",
370
+ "comment": "chore: use storybook runner for all vNext packages"
87
371
  }
88
372
  ]
89
373
  }
package/CHANGELOG.md CHANGED
@@ -1,29 +1,84 @@
1
1
  # Change Log - @fluentui/react-menu
2
2
 
3
- This log was last generated on Tue, 07 Dec 2021 04:14:34 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 22 Feb 2022 04:13:24 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightlyebf02572f720211207.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v0.0.0-nightlyebf02572f720211207.1)
7
+ ## [0.0.0-nightlyf3017f159620220222.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v0.0.0-nightlyf3017f159620220222.1)
8
8
 
9
- Tue, 07 Dec 2021 04:14:34 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.5..@fluentui/react-menu_v0.0.0-nightlyebf02572f720211207.1)
9
+ Tue, 22 Feb 2022 04:13:24 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-rc.3..@fluentui/react-menu_v0.0.0-nightlyf3017f159620220222.1)
11
11
 
12
12
  ### Changes
13
13
 
14
- - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/2523b8c9da23ec860780244563814b63ba963043) by email not defined)
14
+ - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/abd89ece026acc4dc588f4a78edfb26dc1b57921) by email not defined)
15
+ - Bump @fluentui/keyboard-keys to v0.0.0-nightlyf3017f159620220222.1 ([commit](https://github.com/microsoft/fluentui/commit/abd89ece026acc4dc588f4a78edfb26dc1b57921) by beachball)
16
+ - Bump @fluentui/react-context-selector to v0.0.0-nightlyf3017f159620220222.1 ([commit](https://github.com/microsoft/fluentui/commit/abd89ece026acc4dc588f4a78edfb26dc1b57921) by beachball)
17
+ - Bump @fluentui/react-portal to v0.0.0-nightlyf3017f159620220222.1 ([commit](https://github.com/microsoft/fluentui/commit/abd89ece026acc4dc588f4a78edfb26dc1b57921) by beachball)
18
+ - Bump @fluentui/react-positioning to v0.0.0-nightlyf3017f159620220222.1 ([commit](https://github.com/microsoft/fluentui/commit/abd89ece026acc4dc588f4a78edfb26dc1b57921) by beachball)
19
+ - Bump @fluentui/react-shared-contexts to v0.0.0-nightlyf3017f159620220222.1 ([commit](https://github.com/microsoft/fluentui/commit/abd89ece026acc4dc588f4a78edfb26dc1b57921) by beachball)
20
+ - Bump @fluentui/react-tabster to v0.0.0-nightlyf3017f159620220222.1 ([commit](https://github.com/microsoft/fluentui/commit/abd89ece026acc4dc588f4a78edfb26dc1b57921) by beachball)
21
+ - Bump @fluentui/react-utilities to v0.0.0-nightlyf3017f159620220222.1 ([commit](https://github.com/microsoft/fluentui/commit/abd89ece026acc4dc588f4a78edfb26dc1b57921) by beachball)
22
+ - Bump @fluentui/react-conformance-griffel to v0.0.0-nightlyf3017f159620220222.1 ([commit](https://github.com/microsoft/fluentui/commit/abd89ece026acc4dc588f4a78edfb26dc1b57921) by beachball)
23
+
24
+ ## [9.0.0-rc.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-rc.3)
25
+
26
+ Fri, 18 Feb 2022 13:35:33 GMT
27
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-rc.1..@fluentui/react-menu_v9.0.0-rc.3)
28
+
29
+ ### Changes
30
+
31
+ - fix: MenuItem is a submenu trigger if it is wrapped by a MenuTrigger and in a submenu ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by lingfangao@hotmail.com)
32
+ - fix: Source maps contain original source code ([PR #21690](https://github.com/microsoft/fluentui/pull/21690) by lingfangao@hotmail.com)
33
+ - Bump @fluentui/keyboard-keys to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
34
+ - Bump @fluentui/react-context-selector to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
35
+ - Bump @fluentui/react-portal to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
36
+ - Bump @fluentui/react-positioning to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
37
+ - Bump @fluentui/react-shared-contexts to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
38
+ - Bump @fluentui/react-tabster to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
39
+ - Bump @fluentui/react-utilities to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
40
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
41
+
42
+ ## [9.0.0-rc.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-rc.1)
43
+
44
+ Thu, 10 Feb 2022 08:51:30 GMT
45
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.5..@fluentui/react-menu_v9.0.0-rc.1)
46
+
47
+ ### Changes
48
+
49
+ - fix: set `aria-expanded` and `aria-haspopup` values correctly ([PR #20957](https://github.com/microsoft/fluentui/pull/20957) by lingfangao@hotmail.com)
50
+ - fix: Focus on first menu item on click ([PR #20955](https://github.com/microsoft/fluentui/pull/20955) by lingfangao@hotmail.com)
51
+ - fix: MenuTrigger should work correctly when `aria-disabled="true"` ([PR #21349](https://github.com/microsoft/fluentui/pull/21349) by lingfangao@hotmail.com)
52
+ - update @fluentui/react-icons package ([PR #21498](https://github.com/microsoft/fluentui/pull/21498) by olfedias@microsoft.com)
53
+ - Allow `MenuTrigger` to be wrapped by another trigger ([PR #21225](https://github.com/microsoft/fluentui/pull/21225) by lingfangao@hotmail.com)
54
+ - update types related to trigger (allow only React.ReactElement & null) ([PR #21609](https://github.com/microsoft/fluentui/pull/21609) by olfedias@microsoft.com)
55
+ - 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)
56
+ - 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)
57
+ - Remove component's shorthandProps array ([PR #21134](https://github.com/microsoft/fluentui/pull/21134) by behowell@microsoft.com)
15
58
  - update styles to not use CSS shorthands ([PR #20820](https://github.com/microsoft/fluentui/pull/20820) by olfedias@microsoft.com)
16
- - Bump @fluentui/keyboard-keys to v0.0.0-nightlyebf02572f720211207.1 ([commit](https://github.com/microsoft/fluentui/commit/2523b8c9da23ec860780244563814b63ba963043) by beachball)
17
- - Bump @fluentui/react-context-selector to v0.0.0-nightlyebf02572f720211207.1 ([commit](https://github.com/microsoft/fluentui/commit/2523b8c9da23ec860780244563814b63ba963043) by beachball)
18
- - Bump @fluentui/react-make-styles to v0.0.0-nightlyebf02572f720211207.1 ([commit](https://github.com/microsoft/fluentui/commit/2523b8c9da23ec860780244563814b63ba963043) by beachball)
19
- - Bump @fluentui/react-portal to v0.0.0-nightlyebf02572f720211207.1 ([commit](https://github.com/microsoft/fluentui/commit/2523b8c9da23ec860780244563814b63ba963043) by beachball)
20
- - Bump @fluentui/react-positioning to v0.0.0-nightlyebf02572f720211207.1 ([commit](https://github.com/microsoft/fluentui/commit/2523b8c9da23ec860780244563814b63ba963043) by beachball)
21
- - Bump @fluentui/react-shared-contexts to v0.0.0-nightlyebf02572f720211207.1 ([commit](https://github.com/microsoft/fluentui/commit/2523b8c9da23ec860780244563814b63ba963043) by beachball)
22
- - Bump @fluentui/react-tabster to v0.0.0-nightlyebf02572f720211207.1 ([commit](https://github.com/microsoft/fluentui/commit/2523b8c9da23ec860780244563814b63ba963043) by beachball)
23
- - Bump @fluentui/react-utilities to v0.0.0-nightlyebf02572f720211207.1 ([commit](https://github.com/microsoft/fluentui/commit/2523b8c9da23ec860780244563814b63ba963043) by beachball)
24
- - Bump @fluentui/babel-make-styles to v0.0.0-nightlyebf02572f720211207.1 ([commit](https://github.com/microsoft/fluentui/commit/2523b8c9da23ec860780244563814b63ba963043) by beachball)
25
- - Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlyebf02572f720211207.1 ([commit](https://github.com/microsoft/fluentui/commit/2523b8c9da23ec860780244563814b63ba963043) by beachball)
26
- - Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlyebf02572f720211207.1 ([commit](https://github.com/microsoft/fluentui/commit/2523b8c9da23ec860780244563814b63ba963043) by beachball)
59
+ - Refactor component Slot typings ([PR #21518](https://github.com/microsoft/fluentui/pull/21518) by behowell@microsoft.com)
60
+ - fix: Call `useCheckmarkStyles` in `useMenuItemStyles` ([PR #20956](https://github.com/microsoft/fluentui/pull/20956) by lingfangao@hotmail.com)
61
+ - Updating based on changes to composition types. ([PR #20891](https://github.com/microsoft/fluentui/pull/20891) by Humberto.Morimoto@microsoft.com)
62
+ - Updating based on removal of functions from makeStyles. ([PR #21239](https://github.com/microsoft/fluentui/pull/21239) by Humberto.Morimoto@microsoft.com)
63
+ - Update MenuTrigger and Tooltip to work together ([PR #21495](https://github.com/microsoft/fluentui/pull/21495) by behowell@microsoft.com)
64
+ - Bump Fluent UI packages to 9.0.0-rc ([PR #21623](https://github.com/microsoft/fluentui/pull/21623) by lingfangao@hotmail.com)
65
+ - 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)
66
+ - use Griffel packages ([PR #21391](https://github.com/microsoft/fluentui/pull/21391) by olfedias@microsoft.com)
67
+ - Apply fontSize styling to icon slot ([PR #21222](https://github.com/microsoft/fluentui/pull/21222) by behowell@microsoft.com)
68
+ - Update react-icons usage to resizable icons ([PR #21074](https://github.com/microsoft/fluentui/pull/21074) by ololubek@microsoft.com)
69
+ - feat: implement `MenuSplitGroup` component for split menu items ([PR #21095](https://github.com/microsoft/fluentui/pull/21095) by lingfangao@hotmail.com)
70
+ - 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)
71
+ - (fix): Update react-icons dependency to latest version ([PR #20943](https://github.com/microsoft/fluentui/pull/20943) by ololubek@microsoft.com)
72
+ - remove export of commons types ([PR #21660](https://github.com/microsoft/fluentui/pull/21660) by mgodbolt@microsoft.com)
73
+ - breaking: MenuTrigger must be the first child of the `Menu` ([PR #21096](https://github.com/microsoft/fluentui/pull/21096) by lingfangao@hotmail.com)
74
+ - Bump @fluentui/keyboard-keys to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
75
+ - Bump @fluentui/react-context-selector to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
76
+ - Bump @fluentui/react-portal to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
77
+ - Bump @fluentui/react-positioning to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
78
+ - Bump @fluentui/react-shared-contexts to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
79
+ - Bump @fluentui/react-tabster to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
80
+ - Bump @fluentui/react-utilities to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
81
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
27
82
 
28
83
  ## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-beta.5)
29
84
 
package/Spec.md CHANGED
@@ -619,7 +619,7 @@ const menu = (
619
619
 
620
620
  ```html
621
621
  <!-- expected DOM output -->
622
- <button aria-haspopup="true" aria-expanded="true" id="trigger">Open menu</button>
622
+ <button aria-haspopup="menu" aria-expanded="true" id="trigger">Open menu</button>
623
623
  <div role="menu" aria-labelledby="trigger">
624
624
  <div role="menuitem" tabindex="0">Option 1</div>
625
625
  <div role="menuitem" tabindex="-1">Option 2</div>
@@ -644,7 +644,7 @@ const menu = (
644
644
 
645
645
  ```html
646
646
  <!-- expected DOM output -->
647
- <button aria-haspopup="true" aria-expanded="true" id="trigger">Open menu</button>
647
+ <button aria-haspopup="menu" aria-expanded="true" id="trigger">Open menu</button>
648
648
  <div role="menu" aria-labelledby="trigger">
649
649
  <div role="menuitem" tabindex="0">
650
650
  <span role="presentation"><svg>FileIcon</svg></span>
@@ -682,7 +682,7 @@ const menu = (
682
682
 
683
683
  ```html
684
684
  <!-- expected DOM output -->
685
- <button aria-haspopup="true" aria-expanded="true" id="trigger">Open menu</button>
685
+ <button aria-haspopup="menu" aria-expanded="true" id="trigger">Open menu</button>
686
686
  <div role="menu" aria-labelledby="trigger">
687
687
  <div role="menuitem" tabindex="0">Option 1</div>
688
688
  <div role="separator" aria-hidden="true"></div>
@@ -719,7 +719,7 @@ const menu = (
719
719
 
720
720
  ```html
721
721
  <!-- expected DOM output -->
722
- <button aria-haspopup="true" aria-expanded="true" id="trigger">Open menu</button>
722
+ <button aria-haspopup="menu" aria-expanded="true" id="trigger">Open menu</button>
723
723
  <div role="menu" aria-labelledby="trigger">
724
724
  <div role="menuitem" tabindex="0">Option 1</div>
725
725
  <div role="separator" aria-hidden="true"></div>
@@ -758,10 +758,10 @@ const menu = (
758
758
 
759
759
  ```html
760
760
  <!-- expected DOM output -->
761
- <button aria-haspopup="true" aria-expanded="true" id="trigger">Open menu</button>
761
+ <button aria-haspopup="menu" aria-expanded="true" id="trigger">Open menu</button>
762
762
  <div role="menu" aria-labelledby="trigger">
763
763
  <div role="menuitem" tabindex="0">Option 1</div>
764
- <div role="menuitem" tabindex="-1" aria-haspopup="true" aria-expanded="false" id="submenu-trigger">Open submenu</div>
764
+ <div role="menuitem" tabindex="-1" aria-haspopup="menu" aria-expanded="false" id="submenu-trigger">Open submenu</div>
765
765
  </div>
766
766
 
767
767
  <!-- expected DOM output for submenu -->
@@ -843,7 +843,7 @@ const menuSelectableSections = (
843
843
  ```
844
844
 
845
845
  ```html
846
- <button aria-haspopup="true" aria-expanded="true" id="trigger">Open menu</button>
846
+ <button aria-haspopup="menu" aria-expanded="true" id="trigger">Open menu</button>
847
847
 
848
848
  <!-- expected DOM output for basic checkbox -->
849
849
  <div role="menu" aria-labelledby="trigger">
@@ -882,9 +882,12 @@ const menuSplitbutton= (
882
882
  <MenuList>
883
883
  <MenuItem>Option 1</MenuItem>
884
884
  <Menu>
885
- <MenuTrigger>
886
- <MenuItemSplit></MenuItemSplit>
887
- </MenuTrigger>
885
+ <MenuSplitGroup>
886
+ <MenuItem>Main action</MenuItem>
887
+ <MenuTrigger>
888
+ <MenuItem />
889
+ </MenuTrigger>
890
+ </MenuSplitGroup>
888
891
  <MenuItem>Option 1</MenuItem>
889
892
  <MenuItem>Option 2</MenuItem>
890
893
  <MenuItem>Option 3</MenuItem>
@@ -897,7 +900,7 @@ const menuSplitbutton= (
897
900
  ```html
898
901
  <div role="menu" aria-labelledby="trigger">
899
902
  <div role="menuitem" tabindex="0">Option 1</div>
900
- <div role="menuitem" tabindex="-1" aria-haspopup="true" aria-expanded="false" id="submenu-trigger">Open submenu</div>
903
+ <div role="menuitem" tabindex="-1" aria-haspopup="menu" aria-expanded="false" id="submenu-trigger">Open submenu</div>
901
904
  </div>
902
905
 
903
906
  <!-- expected DOM output -->
@@ -905,7 +908,7 @@ const menuSplitbutton= (
905
908
  <div role="menuitem" tabindex="0">Option 1</div>
906
909
  <div role="group">
907
910
  <div role="menuitem" tabindex="-1">content slot</div>
908
- <div role="menuitem" tabindex="-1" aria-haspopup="true" aria-expanded="false" id="submenu-trgger">
911
+ <div role="menuitem" tabindex="-1" aria-haspopup="menu" aria-expanded="false" id="submenu-trgger">
909
912
  <svg>indicator icon</svg>
910
913
  </div>
911
914
  </div>
@@ -958,11 +961,13 @@ Below is a set of diagrams that tries to illustrates all the interactions menus
958
961
 
959
962
  All of the above Mouse events seen previously should apply to the part of the split button that is intended to open a submenu.
960
963
 
961
- Once the submenu is open, the same behavior as in the [previous section](#submenu-trigger/navigation) applies with the exception of returning focus to the splitbutton, which is shown in the images below.
962
-
963
- ![Using up/down arrow key](./etc/images/splitbutton-up-down.jpg)
964
+ > TODO convert these diagrams to excalidraw or smth that is text format
965
+ > TODO add extra descriptions to diagrams
964
966
 
965
- ![Using left/right arrow key](./etc/images/splitbutton-left-right.jpg)
967
+ <img src="./etc/images/menu-interactions/Slide19.PNG" width="700" />
968
+ <img src="./etc/images/menu-interactions/Slide20.PNG" width="700" />
969
+ <img src="./etc/images/menu-interactions/Slide21.PNG" width="700" />
970
+ <img src="./etc/images/menu-interactions/Slide22.PNG" width="700" />
966
971
 
967
972
  ### MenuItem selection
968
973