@fluentui/react-menu 0.0.0-nightly050f89bf0020211102.1 → 0.0.0-nightly442708a36520211209.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 (275) hide show
  1. package/CHANGELOG.json +238 -26
  2. package/CHANGELOG.md +66 -20
  3. package/dist/react-menu.d.ts +34 -7
  4. package/lib/components/Menu/Menu.js +3 -3
  5. package/lib/components/Menu/Menu.js.map +1 -1
  6. package/lib/components/Menu/renderMenu.js +1 -1
  7. package/lib/components/Menu/renderMenu.js.map +1 -1
  8. package/lib/components/Menu/useMenu.js +103 -117
  9. package/lib/components/Menu/useMenu.js.map +1 -1
  10. package/lib/components/Menu/useMenuContextValues.js +34 -32
  11. package/lib/components/Menu/useMenuContextValues.js.map +1 -1
  12. package/lib/components/MenuDivider/MenuDivider.js +2 -2
  13. package/lib/components/MenuDivider/MenuDivider.js.map +1 -1
  14. package/lib/components/MenuDivider/renderMenuDivider.js +6 -7
  15. package/lib/components/MenuDivider/renderMenuDivider.js.map +1 -1
  16. package/lib/components/MenuDivider/useMenuDivider.js +6 -7
  17. package/lib/components/MenuDivider/useMenuDivider.js.map +1 -1
  18. package/lib/components/MenuDivider/useMenuDividerStyles.d.ts +1 -0
  19. package/lib/components/MenuDivider/useMenuDividerStyles.js +6 -5
  20. package/lib/components/MenuDivider/useMenuDividerStyles.js.map +1 -1
  21. package/lib/components/MenuGroup/MenuGroup.js +5 -3
  22. package/lib/components/MenuGroup/MenuGroup.js.map +1 -1
  23. package/lib/components/MenuGroup/index.d.ts +1 -0
  24. package/lib/components/MenuGroup/index.js +1 -0
  25. package/lib/components/MenuGroup/index.js.map +1 -1
  26. package/lib/components/MenuGroup/renderMenuGroup.js +6 -7
  27. package/lib/components/MenuGroup/renderMenuGroup.js.map +1 -1
  28. package/lib/components/MenuGroup/useMenuGroup.js +6 -6
  29. package/lib/components/MenuGroup/useMenuGroup.js.map +1 -1
  30. package/lib/components/MenuGroup/useMenuGroupContextValues.js +7 -7
  31. package/lib/components/MenuGroup/useMenuGroupContextValues.js.map +1 -1
  32. package/lib/components/MenuGroup/useMenuGroupStyles.d.ts +3 -0
  33. package/lib/components/MenuGroup/useMenuGroupStyles.js +7 -0
  34. package/lib/components/MenuGroup/useMenuGroupStyles.js.map +1 -0
  35. package/lib/components/MenuGroupHeader/MenuGroupHeader.js +2 -2
  36. package/lib/components/MenuGroupHeader/MenuGroupHeader.js.map +1 -1
  37. package/lib/components/MenuGroupHeader/renderMenuGroupHeader.js +6 -7
  38. package/lib/components/MenuGroupHeader/renderMenuGroupHeader.js.map +1 -1
  39. package/lib/components/MenuGroupHeader/useMenuGroupHeader.js +8 -6
  40. package/lib/components/MenuGroupHeader/useMenuGroupHeader.js.map +1 -1
  41. package/lib/components/MenuGroupHeader/useMenuGroupHeaderStyles.d.ts +1 -0
  42. package/lib/components/MenuGroupHeader/useMenuGroupHeaderStyles.js +5 -4
  43. package/lib/components/MenuGroupHeader/useMenuGroupHeaderStyles.js.map +1 -1
  44. package/lib/components/MenuItem/MenuItem.js +2 -4
  45. package/lib/components/MenuItem/MenuItem.js.map +1 -1
  46. package/lib/components/MenuItem/renderMenuItem.js +6 -7
  47. package/lib/components/MenuItem/renderMenuItem.js.map +1 -1
  48. package/lib/components/MenuItem/useCharacterSearch.js +6 -6
  49. package/lib/components/MenuItem/useCharacterSearch.js.map +1 -1
  50. package/lib/components/MenuItem/useMenuItem.js +31 -36
  51. package/lib/components/MenuItem/useMenuItem.js.map +1 -1
  52. package/lib/components/MenuItem/useMenuItemStyles.d.ts +1 -0
  53. package/lib/components/MenuItem/useMenuItemStyles.js +16 -8
  54. package/lib/components/MenuItem/useMenuItemStyles.js.map +1 -1
  55. package/lib/components/MenuItemCheckbox/MenuItemCheckbox.js +4 -4
  56. package/lib/components/MenuItemCheckbox/MenuItemCheckbox.js.map +1 -1
  57. package/lib/components/MenuItemCheckbox/index.d.ts +1 -0
  58. package/lib/components/MenuItemCheckbox/index.js +1 -0
  59. package/lib/components/MenuItemCheckbox/index.js.map +1 -1
  60. package/lib/components/MenuItemCheckbox/renderMenuItemCheckbox.js +6 -7
  61. package/lib/components/MenuItemCheckbox/renderMenuItemCheckbox.js.map +1 -1
  62. package/lib/components/MenuItemCheckbox/useMenuItemCheckbox.js +12 -13
  63. package/lib/components/MenuItemCheckbox/useMenuItemCheckbox.js.map +1 -1
  64. package/lib/components/MenuItemCheckbox/useMenuItemCheckboxStyles.d.ts +2 -1
  65. package/lib/components/MenuItemCheckbox/useMenuItemCheckboxStyles.js +4 -1
  66. package/lib/components/MenuItemCheckbox/useMenuItemCheckboxStyles.js.map +1 -1
  67. package/lib/components/MenuItemRadio/MenuItemRadio.js +2 -2
  68. package/lib/components/MenuItemRadio/MenuItemRadio.js.map +1 -1
  69. package/lib/components/MenuItemRadio/index.d.ts +1 -0
  70. package/lib/components/MenuItemRadio/index.js +1 -0
  71. package/lib/components/MenuItemRadio/index.js.map +1 -1
  72. package/lib/components/MenuItemRadio/renderMenuItemRadio.js +6 -7
  73. package/lib/components/MenuItemRadio/renderMenuItemRadio.js.map +1 -1
  74. package/lib/components/MenuItemRadio/useMenuItemRadio.js +12 -12
  75. package/lib/components/MenuItemRadio/useMenuItemRadio.js.map +1 -1
  76. package/lib/components/MenuItemRadio/useMenuItemRadioStyles.d.ts +1 -0
  77. package/lib/components/MenuItemRadio/useMenuItemRadioStyles.js +4 -1
  78. package/lib/components/MenuItemRadio/useMenuItemRadioStyles.js.map +1 -1
  79. package/lib/components/MenuList/MenuList.js +3 -3
  80. package/lib/components/MenuList/MenuList.js.map +1 -1
  81. package/lib/components/MenuList/MenuList.types.d.ts +8 -6
  82. package/lib/components/MenuList/renderMenuList.js +6 -7
  83. package/lib/components/MenuList/renderMenuList.js.map +1 -1
  84. package/lib/components/MenuList/useMenuList.js +66 -86
  85. package/lib/components/MenuList/useMenuList.js.map +1 -1
  86. package/lib/components/MenuList/useMenuListContextValues.js +18 -16
  87. package/lib/components/MenuList/useMenuListContextValues.js.map +1 -1
  88. package/lib/components/MenuList/useMenuListStyles.d.ts +1 -0
  89. package/lib/components/MenuList/useMenuListStyles.js +9 -7
  90. package/lib/components/MenuList/useMenuListStyles.js.map +1 -1
  91. package/lib/components/MenuPopover/MenuPopover.js +2 -2
  92. package/lib/components/MenuPopover/MenuPopover.js.map +1 -1
  93. package/lib/components/MenuPopover/renderMenuPopover.js +7 -7
  94. package/lib/components/MenuPopover/renderMenuPopover.js.map +1 -1
  95. package/lib/components/MenuPopover/useMenuPopover.js +29 -38
  96. package/lib/components/MenuPopover/useMenuPopover.js.map +1 -1
  97. package/lib/components/MenuPopover/useMenuPopoverStyles.d.ts +1 -0
  98. package/lib/components/MenuPopover/useMenuPopoverStyles.js +12 -8
  99. package/lib/components/MenuPopover/useMenuPopoverStyles.js.map +1 -1
  100. package/lib/components/MenuTrigger/MenuTrigger.js +2 -2
  101. package/lib/components/MenuTrigger/MenuTrigger.js.map +1 -1
  102. package/lib/components/MenuTrigger/MenuTrigger.types.d.ts +2 -1
  103. package/lib/components/MenuTrigger/renderMenuTrigger.js +1 -1
  104. package/lib/components/MenuTrigger/renderMenuTrigger.js.map +1 -1
  105. package/lib/components/MenuTrigger/useMenuTrigger.js +3 -4
  106. package/lib/components/MenuTrigger/useMenuTrigger.js.map +1 -1
  107. package/lib/components/MenuTrigger/useTriggerElement.js +57 -70
  108. package/lib/components/MenuTrigger/useTriggerElement.js.map +1 -1
  109. package/lib/contexts/menuContext.js +5 -11
  110. package/lib/contexts/menuContext.js.map +1 -1
  111. package/lib/contexts/menuGroupContext.js +3 -5
  112. package/lib/contexts/menuGroupContext.js.map +1 -1
  113. package/lib/contexts/menuListContext.js +7 -17
  114. package/lib/contexts/menuListContext.js.map +1 -1
  115. package/lib/contexts/menuTriggerContext.js +3 -5
  116. package/lib/contexts/menuTriggerContext.js.map +1 -1
  117. package/lib/selectable/useCheckmarkStyles.js +3 -3
  118. package/lib/selectable/useCheckmarkStyles.js.map +1 -1
  119. package/lib/utils/useIsSubmenu.js +2 -4
  120. package/lib/utils/useIsSubmenu.js.map +1 -1
  121. package/lib/utils/useOnMenuEnter.js +16 -14
  122. package/lib/utils/useOnMenuEnter.js.map +1 -1
  123. package/lib-commonjs/Menu.js +1 -1
  124. package/lib-commonjs/MenuDivider.js +1 -1
  125. package/lib-commonjs/MenuGroup.js +1 -1
  126. package/lib-commonjs/MenuGroupHeader.js +1 -1
  127. package/lib-commonjs/MenuItem.js +1 -1
  128. package/lib-commonjs/MenuItemCheckbox.js +1 -1
  129. package/lib-commonjs/MenuItemRadio.js +1 -1
  130. package/lib-commonjs/MenuList.js +1 -1
  131. package/lib-commonjs/MenuPopover.js +1 -1
  132. package/lib-commonjs/MenuTrigger.js +1 -1
  133. package/lib-commonjs/components/Menu/Menu.js +6 -6
  134. package/lib-commonjs/components/Menu/Menu.js.map +1 -1
  135. package/lib-commonjs/components/Menu/index.js +1 -1
  136. package/lib-commonjs/components/Menu/renderMenu.js +3 -3
  137. package/lib-commonjs/components/Menu/renderMenu.js.map +1 -1
  138. package/lib-commonjs/components/Menu/useMenu.js +112 -127
  139. package/lib-commonjs/components/Menu/useMenu.js.map +1 -1
  140. package/lib-commonjs/components/Menu/useMenuContextValues.js +34 -32
  141. package/lib-commonjs/components/Menu/useMenuContextValues.js.map +1 -1
  142. package/lib-commonjs/components/MenuDivider/MenuDivider.js +6 -6
  143. package/lib-commonjs/components/MenuDivider/MenuDivider.js.map +1 -1
  144. package/lib-commonjs/components/MenuDivider/index.js +1 -1
  145. package/lib-commonjs/components/MenuDivider/renderMenuDivider.js +8 -10
  146. package/lib-commonjs/components/MenuDivider/renderMenuDivider.js.map +1 -1
  147. package/lib-commonjs/components/MenuDivider/useMenuDivider.js +7 -9
  148. package/lib-commonjs/components/MenuDivider/useMenuDivider.js.map +1 -1
  149. package/lib-commonjs/components/MenuDivider/useMenuDividerStyles.d.ts +1 -0
  150. package/lib-commonjs/components/MenuDivider/useMenuDividerStyles.js +8 -6
  151. package/lib-commonjs/components/MenuDivider/useMenuDividerStyles.js.map +1 -1
  152. package/lib-commonjs/components/MenuGroup/MenuGroup.js +10 -7
  153. package/lib-commonjs/components/MenuGroup/MenuGroup.js.map +1 -1
  154. package/lib-commonjs/components/MenuGroup/index.d.ts +1 -0
  155. package/lib-commonjs/components/MenuGroup/index.js +3 -1
  156. package/lib-commonjs/components/MenuGroup/index.js.map +1 -1
  157. package/lib-commonjs/components/MenuGroup/renderMenuGroup.js +9 -11
  158. package/lib-commonjs/components/MenuGroup/renderMenuGroup.js.map +1 -1
  159. package/lib-commonjs/components/MenuGroup/useMenuGroup.js +7 -8
  160. package/lib-commonjs/components/MenuGroup/useMenuGroup.js.map +1 -1
  161. package/lib-commonjs/components/MenuGroup/useMenuGroupContextValues.js +8 -8
  162. package/lib-commonjs/components/MenuGroup/useMenuGroupContextValues.js.map +1 -1
  163. package/lib-commonjs/components/MenuGroup/useMenuGroupStyles.d.ts +3 -0
  164. package/lib-commonjs/components/MenuGroup/useMenuGroupStyles.js +18 -0
  165. package/lib-commonjs/components/MenuGroup/useMenuGroupStyles.js.map +1 -0
  166. package/lib-commonjs/components/MenuGroupHeader/MenuGroupHeader.js +6 -6
  167. package/lib-commonjs/components/MenuGroupHeader/MenuGroupHeader.js.map +1 -1
  168. package/lib-commonjs/components/MenuGroupHeader/index.js +1 -1
  169. package/lib-commonjs/components/MenuGroupHeader/renderMenuGroupHeader.js +8 -10
  170. package/lib-commonjs/components/MenuGroupHeader/renderMenuGroupHeader.js.map +1 -1
  171. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeader.js +10 -9
  172. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeader.js.map +1 -1
  173. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeaderStyles.d.ts +1 -0
  174. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeaderStyles.js +8 -6
  175. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeaderStyles.js.map +1 -1
  176. package/lib-commonjs/components/MenuItem/MenuItem.js +6 -9
  177. package/lib-commonjs/components/MenuItem/MenuItem.js.map +1 -1
  178. package/lib-commonjs/components/MenuItem/index.js +1 -1
  179. package/lib-commonjs/components/MenuItem/renderMenuItem.js +9 -11
  180. package/lib-commonjs/components/MenuItem/renderMenuItem.js.map +1 -1
  181. package/lib-commonjs/components/MenuItem/useCharacterSearch.js +7 -7
  182. package/lib-commonjs/components/MenuItem/useCharacterSearch.js.map +1 -1
  183. package/lib-commonjs/components/MenuItem/useMenuItem.js +38 -44
  184. package/lib-commonjs/components/MenuItem/useMenuItem.js.map +1 -1
  185. package/lib-commonjs/components/MenuItem/useMenuItemStyles.d.ts +1 -0
  186. package/lib-commonjs/components/MenuItem/useMenuItemStyles.js +20 -10
  187. package/lib-commonjs/components/MenuItem/useMenuItemStyles.js.map +1 -1
  188. package/lib-commonjs/components/MenuItemCheckbox/MenuItemCheckbox.js +7 -7
  189. package/lib-commonjs/components/MenuItemCheckbox/MenuItemCheckbox.js.map +1 -1
  190. package/lib-commonjs/components/MenuItemCheckbox/index.d.ts +1 -0
  191. package/lib-commonjs/components/MenuItemCheckbox/index.js +3 -1
  192. package/lib-commonjs/components/MenuItemCheckbox/index.js.map +1 -1
  193. package/lib-commonjs/components/MenuItemCheckbox/renderMenuItemCheckbox.js +9 -11
  194. package/lib-commonjs/components/MenuItemCheckbox/renderMenuItemCheckbox.js.map +1 -1
  195. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckbox.js +17 -19
  196. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckbox.js.map +1 -1
  197. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckboxStyles.d.ts +2 -1
  198. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckboxStyles.js +10 -5
  199. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckboxStyles.js.map +1 -1
  200. package/lib-commonjs/components/MenuItemRadio/MenuItemRadio.js +6 -6
  201. package/lib-commonjs/components/MenuItemRadio/MenuItemRadio.js.map +1 -1
  202. package/lib-commonjs/components/MenuItemRadio/index.d.ts +1 -0
  203. package/lib-commonjs/components/MenuItemRadio/index.js +3 -1
  204. package/lib-commonjs/components/MenuItemRadio/index.js.map +1 -1
  205. package/lib-commonjs/components/MenuItemRadio/renderMenuItemRadio.js +9 -11
  206. package/lib-commonjs/components/MenuItemRadio/renderMenuItemRadio.js.map +1 -1
  207. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadio.js +17 -18
  208. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadio.js.map +1 -1
  209. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadioStyles.d.ts +1 -0
  210. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadioStyles.js +9 -4
  211. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadioStyles.js.map +1 -1
  212. package/lib-commonjs/components/MenuList/MenuList.js +8 -8
  213. package/lib-commonjs/components/MenuList/MenuList.js.map +1 -1
  214. package/lib-commonjs/components/MenuList/MenuList.types.d.ts +8 -6
  215. package/lib-commonjs/components/MenuList/index.js +1 -1
  216. package/lib-commonjs/components/MenuList/renderMenuList.js +9 -11
  217. package/lib-commonjs/components/MenuList/renderMenuList.js.map +1 -1
  218. package/lib-commonjs/components/MenuList/useMenuList.js +72 -93
  219. package/lib-commonjs/components/MenuList/useMenuList.js.map +1 -1
  220. package/lib-commonjs/components/MenuList/useMenuListContextValues.js +18 -16
  221. package/lib-commonjs/components/MenuList/useMenuListContextValues.js.map +1 -1
  222. package/lib-commonjs/components/MenuList/useMenuListStyles.d.ts +1 -0
  223. package/lib-commonjs/components/MenuList/useMenuListStyles.js +11 -8
  224. package/lib-commonjs/components/MenuList/useMenuListStyles.js.map +1 -1
  225. package/lib-commonjs/components/MenuPopover/MenuPopover.js +6 -6
  226. package/lib-commonjs/components/MenuPopover/MenuPopover.js.map +1 -1
  227. package/lib-commonjs/components/MenuPopover/index.js +1 -1
  228. package/lib-commonjs/components/MenuPopover/renderMenuPopover.js +10 -11
  229. package/lib-commonjs/components/MenuPopover/renderMenuPopover.js.map +1 -1
  230. package/lib-commonjs/components/MenuPopover/useMenuPopover.js +36 -46
  231. package/lib-commonjs/components/MenuPopover/useMenuPopover.js.map +1 -1
  232. package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.d.ts +1 -0
  233. package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.js +14 -9
  234. package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.js.map +1 -1
  235. package/lib-commonjs/components/MenuTrigger/MenuTrigger.js +4 -4
  236. package/lib-commonjs/components/MenuTrigger/MenuTrigger.js.map +1 -1
  237. package/lib-commonjs/components/MenuTrigger/MenuTrigger.types.d.ts +2 -1
  238. package/lib-commonjs/components/MenuTrigger/index.js +1 -1
  239. package/lib-commonjs/components/MenuTrigger/renderMenuTrigger.js +3 -3
  240. package/lib-commonjs/components/MenuTrigger/renderMenuTrigger.js.map +1 -1
  241. package/lib-commonjs/components/MenuTrigger/useMenuTrigger.js +4 -6
  242. package/lib-commonjs/components/MenuTrigger/useMenuTrigger.js.map +1 -1
  243. package/lib-commonjs/components/MenuTrigger/useTriggerElement.js +64 -78
  244. package/lib-commonjs/components/MenuTrigger/useTriggerElement.js.map +1 -1
  245. package/lib-commonjs/components/index.js +1 -1
  246. package/lib-commonjs/contexts/menuContext.js +4 -10
  247. package/lib-commonjs/contexts/menuContext.js.map +1 -1
  248. package/lib-commonjs/contexts/menuGroupContext.js +3 -5
  249. package/lib-commonjs/contexts/menuGroupContext.js.map +1 -1
  250. package/lib-commonjs/contexts/menuListContext.js +6 -16
  251. package/lib-commonjs/contexts/menuListContext.js.map +1 -1
  252. package/lib-commonjs/contexts/menuTriggerContext.js +3 -5
  253. package/lib-commonjs/contexts/menuTriggerContext.js.map +1 -1
  254. package/lib-commonjs/index.js +1 -1
  255. package/lib-commonjs/selectable/index.js +1 -1
  256. package/lib-commonjs/selectable/useCheckmarkStyles.js +4 -4
  257. package/lib-commonjs/selectable/useCheckmarkStyles.js.map +1 -1
  258. package/lib-commonjs/utils/index.js +1 -1
  259. package/lib-commonjs/utils/useIsSubmenu.js +5 -7
  260. package/lib-commonjs/utils/useIsSubmenu.js.map +1 -1
  261. package/lib-commonjs/utils/useOnMenuEnter.js +18 -16
  262. package/lib-commonjs/utils/useOnMenuEnter.js.map +1 -1
  263. package/package.json +16 -16
  264. package/lib/common/isConformant.d.ts +0 -4
  265. package/lib/common/isConformant.js +0 -12
  266. package/lib/common/isConformant.js.map +0 -1
  267. package/lib/common/mockUseMenuContext.d.ts +0 -7
  268. package/lib/common/mockUseMenuContext.js +0 -36
  269. package/lib/common/mockUseMenuContext.js.map +0 -1
  270. package/lib-commonjs/common/isConformant.d.ts +0 -4
  271. package/lib-commonjs/common/isConformant.js +0 -23
  272. package/lib-commonjs/common/isConformant.js.map +0 -1
  273. package/lib-commonjs/common/mockUseMenuContext.d.ts +0 -7
  274. package/lib-commonjs/common/mockUseMenuContext.js +0 -47
  275. package/lib-commonjs/common/mockUseMenuContext.js.map +0 -1
package/CHANGELOG.json CHANGED
@@ -2,85 +2,297 @@
2
2
  "name": "@fluentui/react-menu",
3
3
  "entries": [
4
4
  {
5
- "date": "Tue, 02 Nov 2021 08:40:38 GMT",
6
- "tag": "@fluentui/react-menu_v0.0.0-nightly050f89bf0020211102.1",
7
- "version": "0.0.0-nightly050f89bf0020211102.1",
5
+ "date": "Thu, 09 Dec 2021 04:15:07 GMT",
6
+ "tag": "@fluentui/react-menu_v0.0.0-nightly442708a36520211209.1",
7
+ "version": "0.0.0-nightly442708a36520211209.1",
8
8
  "comments": {
9
9
  "prerelease": [
10
10
  {
11
11
  "author": "email not defined",
12
12
  "package": "@fluentui/react-menu",
13
- "commit": "40469cc9aef788dfd49e97df32d6aed267c2cc26",
13
+ "commit": "20c96796031556594c49a5171b45f4ed191b06d9",
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": "olfedias@microsoft.com",
30
+ "package": "@fluentui/react-menu",
31
+ "commit": "7e0933ed386742df28c416e6b3a6903a0c041f28",
32
+ "comment": "update styles to not use CSS shorthands"
33
+ },
34
+ {
35
+ "author": "lingfangao@hotmail.com",
36
+ "package": "@fluentui/react-menu",
37
+ "commit": "4121754498bba5137f769295e2b7a2899f557278",
38
+ "comment": "fix: Call `useCheckmarkStyles` in `useMenuItemStyles`"
39
+ },
40
+ {
41
+ "author": "ololubek@microsoft.com",
42
+ "package": "@fluentui/react-menu",
43
+ "commit": "7cb2a5d8db1b6a1ddb638aa82d5815ab5ae84e69",
44
+ "comment": "(fix): Update react-icons dependency to latest version"
45
+ },
46
+ {
47
+ "author": "beachball",
48
+ "package": "@fluentui/react-menu",
49
+ "comment": "Bump @fluentui/keyboard-keys to v0.0.0-nightly442708a36520211209.1",
50
+ "commit": "20c96796031556594c49a5171b45f4ed191b06d9"
51
+ },
52
+ {
53
+ "author": "beachball",
54
+ "package": "@fluentui/react-menu",
55
+ "comment": "Bump @fluentui/react-context-selector to v0.0.0-nightly442708a36520211209.1",
56
+ "commit": "20c96796031556594c49a5171b45f4ed191b06d9"
57
+ },
58
+ {
59
+ "author": "beachball",
60
+ "package": "@fluentui/react-menu",
61
+ "comment": "Bump @fluentui/react-make-styles to v0.0.0-nightly442708a36520211209.1",
62
+ "commit": "20c96796031556594c49a5171b45f4ed191b06d9"
63
+ },
64
+ {
65
+ "author": "beachball",
66
+ "package": "@fluentui/react-menu",
67
+ "comment": "Bump @fluentui/react-portal to v0.0.0-nightly442708a36520211209.1",
68
+ "commit": "20c96796031556594c49a5171b45f4ed191b06d9"
69
+ },
70
+ {
71
+ "author": "beachball",
72
+ "package": "@fluentui/react-menu",
73
+ "comment": "Bump @fluentui/react-positioning to v0.0.0-nightly442708a36520211209.1",
74
+ "commit": "20c96796031556594c49a5171b45f4ed191b06d9"
75
+ },
76
+ {
77
+ "author": "beachball",
78
+ "package": "@fluentui/react-menu",
79
+ "comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightly442708a36520211209.1",
80
+ "commit": "20c96796031556594c49a5171b45f4ed191b06d9"
81
+ },
82
+ {
83
+ "author": "beachball",
84
+ "package": "@fluentui/react-menu",
85
+ "comment": "Bump @fluentui/react-tabster to v0.0.0-nightly442708a36520211209.1",
86
+ "commit": "20c96796031556594c49a5171b45f4ed191b06d9"
87
+ },
88
+ {
89
+ "author": "beachball",
90
+ "package": "@fluentui/react-menu",
91
+ "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly442708a36520211209.1",
92
+ "commit": "20c96796031556594c49a5171b45f4ed191b06d9"
93
+ },
94
+ {
95
+ "author": "beachball",
96
+ "package": "@fluentui/react-menu",
97
+ "comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightly442708a36520211209.1",
98
+ "commit": "20c96796031556594c49a5171b45f4ed191b06d9"
99
+ },
100
+ {
101
+ "author": "beachball",
102
+ "package": "@fluentui/react-menu",
103
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightly442708a36520211209.1",
104
+ "commit": "20c96796031556594c49a5171b45f4ed191b06d9"
105
+ },
106
+ {
107
+ "author": "beachball",
108
+ "package": "@fluentui/react-menu",
109
+ "comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightly442708a36520211209.1",
110
+ "commit": "20c96796031556594c49a5171b45f4ed191b06d9"
111
+ }
112
+ ]
113
+ }
114
+ },
115
+ {
116
+ "date": "Thu, 25 Nov 2021 08:34:14 GMT",
117
+ "tag": "@fluentui/react-menu_v9.0.0-beta.5",
118
+ "version": "9.0.0-beta.5",
119
+ "comments": {
120
+ "none": [
121
+ {
122
+ "author": "lingfangao@hotmail.com",
123
+ "package": "@fluentui/react-menu",
124
+ "commit": "8a141d14f3a14de2e1c4691dad908622f310a9d1",
125
+ "comment": "Migrate package to use solution tsconfigs"
126
+ }
127
+ ],
128
+ "prerelease": [
129
+ {
130
+ "author": "ololubek@microsoft.com",
131
+ "package": "@fluentui/react-menu",
132
+ "commit": "ecab13cfd6ac22657020db8f86eb89f952b0f953",
133
+ "comment": "update react-icons dependency"
134
+ },
16
135
  {
17
136
  "author": "beachball",
18
137
  "package": "@fluentui/react-menu",
19
- "comment": "Bump @fluentui/keyboard-keys to v0.0.0-nightly050f89bf0020211102.1",
20
- "commit": "40469cc9aef788dfd49e97df32d6aed267c2cc26"
138
+ "comment": "Bump @fluentui/react-context-selector to v9.0.0-beta.4",
139
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
21
140
  },
22
141
  {
23
142
  "author": "beachball",
24
143
  "package": "@fluentui/react-menu",
25
- "comment": "Bump @fluentui/react-context-selector to v0.0.0-nightly050f89bf0020211102.1",
26
- "commit": "40469cc9aef788dfd49e97df32d6aed267c2cc26"
144
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.4",
145
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
27
146
  },
28
147
  {
29
148
  "author": "beachball",
30
149
  "package": "@fluentui/react-menu",
31
- "comment": "Bump @fluentui/react-make-styles to v0.0.0-nightly050f89bf0020211102.1",
32
- "commit": "40469cc9aef788dfd49e97df32d6aed267c2cc26"
150
+ "comment": "Bump @fluentui/react-portal to v9.0.0-beta.5",
151
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
33
152
  },
34
153
  {
35
154
  "author": "beachball",
36
155
  "package": "@fluentui/react-menu",
37
- "comment": "Bump @fluentui/react-portal to v0.0.0-nightly050f89bf0020211102.1",
38
- "commit": "40469cc9aef788dfd49e97df32d6aed267c2cc26"
156
+ "comment": "Bump @fluentui/react-positioning to v9.0.0-beta.4",
157
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
39
158
  },
40
159
  {
41
160
  "author": "beachball",
42
161
  "package": "@fluentui/react-menu",
43
- "comment": "Bump @fluentui/react-positioning to v0.0.0-nightly050f89bf0020211102.1",
44
- "commit": "40469cc9aef788dfd49e97df32d6aed267c2cc26"
162
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.4",
163
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
45
164
  },
46
165
  {
47
166
  "author": "beachball",
48
167
  "package": "@fluentui/react-menu",
49
- "comment": "Bump @fluentui/react-provider to v0.0.0-nightly050f89bf0020211102.1",
50
- "commit": "40469cc9aef788dfd49e97df32d6aed267c2cc26"
168
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-beta.5",
169
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
51
170
  },
52
171
  {
53
172
  "author": "beachball",
54
173
  "package": "@fluentui/react-menu",
55
- "comment": "Bump @fluentui/react-tabster to v0.0.0-nightly050f89bf0020211102.1",
56
- "commit": "40469cc9aef788dfd49e97df32d6aed267c2cc26"
174
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.4",
175
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
57
176
  },
58
177
  {
59
178
  "author": "beachball",
60
179
  "package": "@fluentui/react-menu",
61
- "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly050f89bf0020211102.1",
62
- "commit": "40469cc9aef788dfd49e97df32d6aed267c2cc26"
180
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.4",
181
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
63
182
  },
64
183
  {
65
184
  "author": "beachball",
66
185
  "package": "@fluentui/react-menu",
67
- "comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightly050f89bf0020211102.1",
68
- "commit": "40469cc9aef788dfd49e97df32d6aed267c2cc26"
186
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4",
187
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
188
+ },
189
+ {
190
+ "author": "beachball",
191
+ "package": "@fluentui/react-menu",
192
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4",
193
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
194
+ }
195
+ ]
196
+ }
197
+ },
198
+ {
199
+ "date": "Fri, 12 Nov 2021 13:25:27 GMT",
200
+ "tag": "@fluentui/react-menu_v9.0.0-beta.4",
201
+ "version": "9.0.0-beta.4",
202
+ "comments": {
203
+ "prerelease": [
204
+ {
205
+ "author": "bsunderhus@microsoft.com",
206
+ "package": "@fluentui/react-menu",
207
+ "commit": "390056fd15a4413af93083ad0f5a0b15c4709ed1",
208
+ "comment": "Adds typings for `onCheckedValueChange` method"
209
+ },
210
+ {
211
+ "author": "olfedias@microsoft.com",
212
+ "package": "@fluentui/react-menu",
213
+ "commit": "28b87b619b5be37c8e4a3a75ba10071a93f2b10b",
214
+ "comment": "use react-shared-contexts instead of react-provider"
215
+ },
216
+ {
217
+ "author": "olfedias@microsoft.com",
218
+ "package": "@fluentui/react-menu",
219
+ "commit": "ade4f5d3fa5a6b1c81097403f5c2f2afd859aa14",
220
+ "comment": "export static classes for components"
221
+ },
222
+ {
223
+ "author": "gcox@microsoft.com",
224
+ "package": "@fluentui/react-menu",
225
+ "commit": "c9bd5b5a02ae94a8239ce1b56cac2f0d0dbd3586",
226
+ "comment": "Updated beta and RC components to ES2019"
69
227
  },
70
228
  {
71
229
  "author": "beachball",
72
230
  "package": "@fluentui/react-menu",
73
- "comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightly050f89bf0020211102.1",
74
- "commit": "40469cc9aef788dfd49e97df32d6aed267c2cc26"
231
+ "comment": "Bump @fluentui/react-context-selector to v9.0.0-beta.3",
232
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
75
233
  },
76
234
  {
77
235
  "author": "beachball",
78
236
  "package": "@fluentui/react-menu",
79
- "comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightly050f89bf0020211102.1",
80
- "commit": "40469cc9aef788dfd49e97df32d6aed267c2cc26"
237
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.3",
238
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
239
+ },
240
+ {
241
+ "author": "beachball",
242
+ "package": "@fluentui/react-menu",
243
+ "comment": "Bump @fluentui/react-portal to v9.0.0-beta.4",
244
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
245
+ },
246
+ {
247
+ "author": "beachball",
248
+ "package": "@fluentui/react-menu",
249
+ "comment": "Bump @fluentui/react-positioning to v9.0.0-beta.3",
250
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
251
+ },
252
+ {
253
+ "author": "beachball",
254
+ "package": "@fluentui/react-menu",
255
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.3",
256
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
257
+ },
258
+ {
259
+ "author": "beachball",
260
+ "package": "@fluentui/react-menu",
261
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-beta.4",
262
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
263
+ },
264
+ {
265
+ "author": "beachball",
266
+ "package": "@fluentui/react-menu",
267
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.3",
268
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
269
+ },
270
+ {
271
+ "author": "beachball",
272
+ "package": "@fluentui/react-menu",
273
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.3",
274
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
275
+ },
276
+ {
277
+ "author": "beachball",
278
+ "package": "@fluentui/react-menu",
279
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3",
280
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
281
+ },
282
+ {
283
+ "author": "beachball",
284
+ "package": "@fluentui/react-menu",
285
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3",
286
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
81
287
  }
82
288
  ],
83
289
  "none": [
290
+ {
291
+ "author": "lingfangao@hotmail.com",
292
+ "package": "@fluentui/react-menu",
293
+ "commit": "00f70581480b536e723fb69edf0ae617beac4807",
294
+ "comment": "Remove beta release tag"
295
+ },
84
296
  {
85
297
  "author": "mgodbolt@microsoft.com",
86
298
  "package": "@fluentui/react-menu",
package/CHANGELOG.md CHANGED
@@ -1,28 +1,74 @@
1
1
  # Change Log - @fluentui/react-menu
2
2
 
3
- This log was last generated on Tue, 02 Nov 2021 08:40:38 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 09 Dec 2021 04:15:07 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightly050f89bf0020211102.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v0.0.0-nightly050f89bf0020211102.1)
8
-
9
- Tue, 02 Nov 2021 08:40:38 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.3..@fluentui/react-menu_v0.0.0-nightly050f89bf0020211102.1)
11
-
12
- ### Changes
13
-
14
- - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/40469cc9aef788dfd49e97df32d6aed267c2cc26) by email not defined)
15
- - Bump @fluentui/keyboard-keys to v0.0.0-nightly050f89bf0020211102.1 ([commit](https://github.com/microsoft/fluentui/commit/40469cc9aef788dfd49e97df32d6aed267c2cc26) by beachball)
16
- - Bump @fluentui/react-context-selector to v0.0.0-nightly050f89bf0020211102.1 ([commit](https://github.com/microsoft/fluentui/commit/40469cc9aef788dfd49e97df32d6aed267c2cc26) by beachball)
17
- - Bump @fluentui/react-make-styles to v0.0.0-nightly050f89bf0020211102.1 ([commit](https://github.com/microsoft/fluentui/commit/40469cc9aef788dfd49e97df32d6aed267c2cc26) by beachball)
18
- - Bump @fluentui/react-portal to v0.0.0-nightly050f89bf0020211102.1 ([commit](https://github.com/microsoft/fluentui/commit/40469cc9aef788dfd49e97df32d6aed267c2cc26) by beachball)
19
- - Bump @fluentui/react-positioning to v0.0.0-nightly050f89bf0020211102.1 ([commit](https://github.com/microsoft/fluentui/commit/40469cc9aef788dfd49e97df32d6aed267c2cc26) by beachball)
20
- - Bump @fluentui/react-provider to v0.0.0-nightly050f89bf0020211102.1 ([commit](https://github.com/microsoft/fluentui/commit/40469cc9aef788dfd49e97df32d6aed267c2cc26) by beachball)
21
- - Bump @fluentui/react-tabster to v0.0.0-nightly050f89bf0020211102.1 ([commit](https://github.com/microsoft/fluentui/commit/40469cc9aef788dfd49e97df32d6aed267c2cc26) by beachball)
22
- - Bump @fluentui/react-utilities to v0.0.0-nightly050f89bf0020211102.1 ([commit](https://github.com/microsoft/fluentui/commit/40469cc9aef788dfd49e97df32d6aed267c2cc26) by beachball)
23
- - Bump @fluentui/babel-make-styles to v0.0.0-nightly050f89bf0020211102.1 ([commit](https://github.com/microsoft/fluentui/commit/40469cc9aef788dfd49e97df32d6aed267c2cc26) by beachball)
24
- - Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightly050f89bf0020211102.1 ([commit](https://github.com/microsoft/fluentui/commit/40469cc9aef788dfd49e97df32d6aed267c2cc26) by beachball)
25
- - Bump @fluentui/react-conformance-make-styles to v0.0.0-nightly050f89bf0020211102.1 ([commit](https://github.com/microsoft/fluentui/commit/40469cc9aef788dfd49e97df32d6aed267c2cc26) by beachball)
7
+ ## [0.0.0-nightly442708a36520211209.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v0.0.0-nightly442708a36520211209.1)
8
+
9
+ Thu, 09 Dec 2021 04:15:07 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.5..@fluentui/react-menu_v0.0.0-nightly442708a36520211209.1)
11
+
12
+ ### Changes
13
+
14
+ - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/20c96796031556594c49a5171b45f4ed191b06d9) 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
+ - update styles to not use CSS shorthands ([PR #20820](https://github.com/microsoft/fluentui/pull/20820) by olfedias@microsoft.com)
18
+ - fix: Call `useCheckmarkStyles` in `useMenuItemStyles` ([PR #20956](https://github.com/microsoft/fluentui/pull/20956) by lingfangao@hotmail.com)
19
+ - (fix): Update react-icons dependency to latest version ([PR #20943](https://github.com/microsoft/fluentui/pull/20943) by ololubek@microsoft.com)
20
+ - Bump @fluentui/keyboard-keys to v0.0.0-nightly442708a36520211209.1 ([commit](https://github.com/microsoft/fluentui/commit/20c96796031556594c49a5171b45f4ed191b06d9) by beachball)
21
+ - Bump @fluentui/react-context-selector to v0.0.0-nightly442708a36520211209.1 ([commit](https://github.com/microsoft/fluentui/commit/20c96796031556594c49a5171b45f4ed191b06d9) by beachball)
22
+ - Bump @fluentui/react-make-styles to v0.0.0-nightly442708a36520211209.1 ([commit](https://github.com/microsoft/fluentui/commit/20c96796031556594c49a5171b45f4ed191b06d9) by beachball)
23
+ - Bump @fluentui/react-portal to v0.0.0-nightly442708a36520211209.1 ([commit](https://github.com/microsoft/fluentui/commit/20c96796031556594c49a5171b45f4ed191b06d9) by beachball)
24
+ - Bump @fluentui/react-positioning to v0.0.0-nightly442708a36520211209.1 ([commit](https://github.com/microsoft/fluentui/commit/20c96796031556594c49a5171b45f4ed191b06d9) by beachball)
25
+ - Bump @fluentui/react-shared-contexts to v0.0.0-nightly442708a36520211209.1 ([commit](https://github.com/microsoft/fluentui/commit/20c96796031556594c49a5171b45f4ed191b06d9) by beachball)
26
+ - Bump @fluentui/react-tabster to v0.0.0-nightly442708a36520211209.1 ([commit](https://github.com/microsoft/fluentui/commit/20c96796031556594c49a5171b45f4ed191b06d9) by beachball)
27
+ - Bump @fluentui/react-utilities to v0.0.0-nightly442708a36520211209.1 ([commit](https://github.com/microsoft/fluentui/commit/20c96796031556594c49a5171b45f4ed191b06d9) by beachball)
28
+ - Bump @fluentui/babel-make-styles to v0.0.0-nightly442708a36520211209.1 ([commit](https://github.com/microsoft/fluentui/commit/20c96796031556594c49a5171b45f4ed191b06d9) by beachball)
29
+ - Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightly442708a36520211209.1 ([commit](https://github.com/microsoft/fluentui/commit/20c96796031556594c49a5171b45f4ed191b06d9) by beachball)
30
+ - Bump @fluentui/react-conformance-make-styles to v0.0.0-nightly442708a36520211209.1 ([commit](https://github.com/microsoft/fluentui/commit/20c96796031556594c49a5171b45f4ed191b06d9) by beachball)
31
+
32
+ ## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-beta.5)
33
+
34
+ Thu, 25 Nov 2021 08:34:14 GMT
35
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.4..@fluentui/react-menu_v9.0.0-beta.5)
36
+
37
+ ### Changes
38
+
39
+ - update react-icons dependency ([PR #20563](https://github.com/microsoft/fluentui/pull/20563) by ololubek@microsoft.com)
40
+ - Bump @fluentui/react-context-selector to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
41
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
42
+ - Bump @fluentui/react-portal to v9.0.0-beta.5 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
43
+ - Bump @fluentui/react-positioning to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
44
+ - Bump @fluentui/react-shared-contexts to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
45
+ - Bump @fluentui/react-tabster to v9.0.0-beta.5 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
46
+ - Bump @fluentui/react-utilities to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
47
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
48
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
49
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
50
+
51
+ ## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-beta.4)
52
+
53
+ Fri, 12 Nov 2021 13:25:27 GMT
54
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.3..@fluentui/react-menu_v9.0.0-beta.4)
55
+
56
+ ### Changes
57
+
58
+ - Adds typings for `onCheckedValueChange` method ([PR #20493](https://github.com/microsoft/fluentui/pull/20493) by bsunderhus@microsoft.com)
59
+ - use react-shared-contexts instead of react-provider ([PR #20578](https://github.com/microsoft/fluentui/pull/20578) by olfedias@microsoft.com)
60
+ - export static classes for components ([PR #20450](https://github.com/microsoft/fluentui/pull/20450) by olfedias@microsoft.com)
61
+ - Updated beta and RC components to ES2019 ([PR #20405](https://github.com/microsoft/fluentui/pull/20405) by gcox@microsoft.com)
62
+ - Bump @fluentui/react-context-selector to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
63
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
64
+ - Bump @fluentui/react-portal to v9.0.0-beta.4 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
65
+ - Bump @fluentui/react-positioning to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
66
+ - Bump @fluentui/react-shared-contexts to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
67
+ - Bump @fluentui/react-tabster to v9.0.0-beta.4 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
68
+ - Bump @fluentui/react-utilities to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
69
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
70
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
71
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
26
72
 
27
73
  ## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-beta.3)
28
74
 
@@ -13,6 +13,15 @@ import { usePopperMouseTarget } from '@fluentui/react-positioning';
13
13
  */
14
14
  export declare const Menu: React_2.FC<MenuProps>;
15
15
 
16
+ export declare type MenuCheckedValueChangeData = {
17
+ /** The name of the value */
18
+ name: string;
19
+ /** The items for this value that are checked */
20
+ checkedItems: string[];
21
+ };
22
+
23
+ export declare type MenuCheckedValueChangeEvent = React_2.MouseEvent | React_2.KeyboardEvent;
24
+
16
25
  declare type MenuCommons = MenuListCommons & {
17
26
  /**
18
27
  * Whether the popup is open
@@ -68,6 +77,8 @@ export declare type MenuContextValues = {
68
77
  */
69
78
  export declare const MenuDivider: ForwardRefComponent<MenuDividerProps>;
70
79
 
80
+ export declare const menuDividerClassName = "fui-MenuDivider";
81
+
71
82
  export declare type MenuDividerProps = ComponentProps<MenuDividerSlots>;
72
83
 
73
84
  export declare type MenuDividerSlots = {
@@ -81,6 +92,8 @@ export declare type MenuDividerState = ComponentState<MenuDividerSlots>;
81
92
  */
82
93
  export declare const MenuGroup: ForwardRefComponent<MenuGroupProps>;
83
94
 
95
+ export declare const menuGroupClassName = "fui-MenuGroup";
96
+
84
97
  export declare const MenuGroupContextProvider: React_2.Provider<MenuGroupContextValue>;
85
98
 
86
99
  /**
@@ -103,6 +116,8 @@ export declare type MenuGroupContextValues = {
103
116
  */
104
117
  export declare const MenuGroupHeader: ForwardRefComponent<MenuGroupHeaderProps>;
105
118
 
119
+ export declare const menuGroupHeaderClassName = "fui-MenuGroupHeader";
120
+
106
121
  export declare type MenuGroupHeaderProps = ComponentProps<MenuGroupHeaderSlots>;
107
122
 
108
123
  export declare type MenuGroupHeaderSlots = {
@@ -134,10 +149,14 @@ export declare const MenuItem: ForwardRefComponent<MenuItemProps>;
134
149
  */
135
150
  export declare const MenuItemCheckbox: ForwardRefComponent<MenuItemCheckboxProps>;
136
151
 
152
+ export declare const menuItemCheckboxClassName = "fui-MenuItemCheckbox";
153
+
137
154
  export declare type MenuItemCheckboxProps = MenuItemProps & MenuItemSelectableProps;
138
155
 
139
156
  export declare type MenuItemCheckboxState = MenuItemState & MenuItemSelectableState;
140
157
 
158
+ export declare const menuItemClassName = "fui-MenuItem";
159
+
141
160
  declare type MenuItemCommons = {
142
161
  /**
143
162
  * If the menu item is a trigger for a submenu
@@ -160,6 +179,8 @@ export declare type MenuItemProps = ComponentProps<Partial<MenuItemSlots>> & Men
160
179
  */
161
180
  export declare const MenuItemRadio: ForwardRefComponent<MenuItemRadioProps>;
162
181
 
182
+ export declare const menuItemRadioClassName = "fui-MenuItemRadio";
183
+
163
184
  export declare type MenuItemRadioProps = MenuItemProps & MenuItemSelectableProps;
164
185
 
165
186
  export declare type MenuItemRadioState = MenuItemState & MenuItemSelectableState;
@@ -236,6 +257,8 @@ export declare type MenuItemState = ComponentState<MenuItemSlots> & MenuItemComm
236
257
  */
237
258
  export declare const MenuList: ForwardRefComponent<MenuListProps>;
238
259
 
260
+ export declare const menuListClassName = "fui-MenuList";
261
+
239
262
  export declare type MenuListCommons = {
240
263
  /**
241
264
  * Callback when checked items change for value with a name
@@ -243,12 +266,7 @@ export declare type MenuListCommons = {
243
266
  * @param event - React's original SyntheticEvent
244
267
  * @param data - A data object with relevant information
245
268
  */
246
- onCheckedValueChange?: (e: React_2.MouseEvent | React_2.KeyboardEvent, data: {
247
- /** The name of the value */
248
- name: string;
249
- /** The items for this value that are checked */
250
- checkedItems: string[];
251
- }) => void;
269
+ onCheckedValueChange?: (e: MenuCheckedValueChangeEvent, data: MenuCheckedValueChangeData) => void;
252
270
  /**
253
271
  * Map of all checked values
254
272
  */
@@ -327,6 +345,8 @@ export declare type MenuOpenEvents = MouseEvent | TouchEvent | React_2.MouseEven
327
345
  */
328
346
  export declare const MenuPopover: ForwardRefComponent<MenuPopoverProps>;
329
347
 
348
+ export declare const menuPopoverClassName = "fui-MenuPopover";
349
+
330
350
  /**
331
351
  * MenuPopover Props
332
352
  */
@@ -414,8 +434,9 @@ export declare const MenuTrigger: React_2.FC<MenuTriggerProps>;
414
434
  /**
415
435
  * Props that are passed to the child of the MenuTrigger when cloned to ensure correct behaviour for the Menu
416
436
  */
417
- export declare type MenuTriggerChildProps = Required<Pick<React_2.HTMLAttributes<HTMLElement>, 'onClick' | 'onMouseEnter' | 'onMouseLeave' | 'onContextMenu' | 'onKeyDown' | 'aria-haspopup' | 'aria-expanded' | 'id'>> & {
437
+ export declare type MenuTriggerChildProps = Required<Pick<React_2.HTMLAttributes<HTMLElement>, 'onClick' | 'onMouseEnter' | 'onMouseLeave' | 'onContextMenu' | 'onKeyDown' | 'aria-haspopup' | 'id'>> & {
418
438
  ref?: React_2.Ref<never>;
439
+ 'aria-expanded': boolean | undefined;
419
440
  };
420
441
 
421
442
  export declare const MenuTriggerContextProvider: React_2.Provider<boolean>;
@@ -533,6 +554,8 @@ export declare function useMenuGroupHeader(props: MenuGroupHeaderProps, ref: Rea
533
554
 
534
555
  export declare const useMenuGroupHeaderStyles: (state: MenuGroupHeaderState) => ComponentState<MenuGroupHeaderSlots>;
535
556
 
557
+ export declare const useMenuGroupStyles: (state: MenuGroupState) => MenuGroupState;
558
+
536
559
  /**
537
560
  * Returns the props and state required to render the component
538
561
  */
@@ -541,11 +564,15 @@ export declare const useMenuItem: (props: MenuItemProps, ref: React_2.Ref<HTMLEl
541
564
  /** Returns the props and state required to render the component */
542
565
  export declare const useMenuItemCheckbox: (props: MenuItemCheckboxProps, ref: React_2.Ref<HTMLElement>) => MenuItemCheckboxState;
543
566
 
567
+ export declare const useMenuItemCheckboxStyles: (state: MenuItemCheckboxState) => void;
568
+
544
569
  /**
545
570
  * Given user props, returns state and render function for a MenuItemRadio.
546
571
  */
547
572
  export declare const useMenuItemRadio: (props: MenuItemRadioProps, ref: React_2.Ref<HTMLElement>) => MenuItemRadioState;
548
573
 
574
+ export declare const useMenuItemRadioStyles: (state: MenuItemRadioState) => void;
575
+
549
576
  /** Applies style classnames to slots */
550
577
  export declare const useMenuItemStyles: (state: MenuItemState) => void;
551
578
 
@@ -5,9 +5,9 @@ import { renderMenu } from './renderMenu';
5
5
  * Wrapper component that manages state for a popup MenuList and a MenuTrigger
6
6
  */
7
7
 
8
- export var Menu = function (props) {
9
- var state = useMenu(props);
10
- var contextValues = useMenuContextValues(state);
8
+ export const Menu = props => {
9
+ const state = useMenu(props);
10
+ const contextValues = useMenuContextValues(state);
11
11
  return renderMenu(state, contextValues);
12
12
  };
13
13
  Menu.displayName = 'Menu';
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Menu/Menu.tsx"],"names":[],"mappings":"AACA,SAAS,OAAT,QAAwB,WAAxB;AACA,SAAS,oBAAT,QAAqC,wBAArC;AACA,SAAS,UAAT,QAA2B,cAA3B;AAGA;;AAEG;;AACH,OAAO,IAAM,IAAI,GAAwB,UAAA,KAAA,EAAK;AAC5C,MAAM,KAAK,GAAG,OAAO,CAAC,KAAD,CAArB;AACA,MAAM,aAAa,GAAG,oBAAoB,CAAC,KAAD,CAA1C;AAEA,SAAO,UAAU,CAAC,KAAD,EAAQ,aAAR,CAAjB;AACD,CALM;AAOP,IAAI,CAAC,WAAL,GAAmB,MAAnB","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/Menu/Menu.tsx"],"names":[],"mappings":"AACA,SAAS,OAAT,QAAwB,WAAxB;AACA,SAAS,oBAAT,QAAqC,wBAArC;AACA,SAAS,UAAT,QAA2B,cAA3B;AAGA;;AAEG;;AACH,OAAO,MAAM,IAAI,GAAwB,KAAK,IAAG;AAC/C,QAAM,KAAK,GAAG,OAAO,CAAC,KAAD,CAArB;AACA,QAAM,aAAa,GAAG,oBAAoB,CAAC,KAAD,CAA1C;AAEA,SAAO,UAAU,CAAC,KAAD,EAAQ,aAAR,CAAjB;AACD,CALM;AAOP,IAAI,CAAC,WAAL,GAAmB,MAAnB","sourceRoot":""}
@@ -4,7 +4,7 @@ import { MenuProvider } from '../../contexts/menuContext';
4
4
  * Render the final JSX of Menu
5
5
  */
6
6
 
7
- export var renderMenu = function (state, contextValues) {
7
+ export const renderMenu = (state, contextValues) => {
8
8
  return /*#__PURE__*/React.createElement(MenuProvider, {
9
9
  value: contextValues.menu
10
10
  }, state.menuTrigger, state.open && state.menuPopover);
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Menu/renderMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,YAAT,QAA6B,4BAA7B;AAGA;;AAEG;;AACH,OAAO,IAAM,UAAU,GAAG,UAAC,KAAD,EAAmB,aAAnB,EAAmD;AAC3E,sBACE,KAAA,CAAA,aAAA,CAAC,YAAD,EAAa;AAAC,IAAA,KAAK,EAAE,aAAa,CAAC;AAAtB,GAAb,EACG,KAAK,CAAC,WADT,EAEG,KAAK,CAAC,IAAN,IAAc,KAAK,CAAC,WAFvB,CADF;AAMD,CAPM","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/Menu/renderMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,YAAT,QAA6B,4BAA7B;AAGA;;AAEG;;AACH,OAAO,MAAM,UAAU,GAAG,CAAC,KAAD,EAAmB,aAAnB,KAAuD;AAC/E,sBACE,KAAA,CAAA,aAAA,CAAC,YAAD,EAAa;AAAC,IAAA,KAAK,EAAE,aAAa,CAAC;AAAtB,GAAb,EACG,KAAK,CAAC,WADT,EAEG,KAAK,CAAC,IAAN,IAAc,KAAK,CAAC,WAFvB,CADF;AAMD,CAPM","sourceRoot":""}