@fluentui/react-menu 9.0.0-beta.1 → 9.0.0-beta.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (281) hide show
  1. package/CHANGELOG.json +307 -1
  2. package/CHANGELOG.md +74 -2
  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/Menu.types.d.ts +2 -1
  7. package/lib/components/Menu/renderMenu.js +1 -1
  8. package/lib/components/Menu/renderMenu.js.map +1 -1
  9. package/lib/components/Menu/useMenu.js +95 -112
  10. package/lib/components/Menu/useMenu.js.map +1 -1
  11. package/lib/components/Menu/useMenuContextValues.js +34 -32
  12. package/lib/components/Menu/useMenuContextValues.js.map +1 -1
  13. package/lib/components/MenuDivider/MenuDivider.js +2 -2
  14. package/lib/components/MenuDivider/MenuDivider.js.map +1 -1
  15. package/lib/components/MenuDivider/renderMenuDivider.js +6 -7
  16. package/lib/components/MenuDivider/renderMenuDivider.js.map +1 -1
  17. package/lib/components/MenuDivider/useMenuDivider.js +6 -7
  18. package/lib/components/MenuDivider/useMenuDivider.js.map +1 -1
  19. package/lib/components/MenuDivider/useMenuDividerStyles.d.ts +1 -0
  20. package/lib/components/MenuDivider/useMenuDividerStyles.js +5 -4
  21. package/lib/components/MenuDivider/useMenuDividerStyles.js.map +1 -1
  22. package/lib/components/MenuGroup/MenuGroup.js +5 -3
  23. package/lib/components/MenuGroup/MenuGroup.js.map +1 -1
  24. package/lib/components/MenuGroup/index.d.ts +1 -0
  25. package/lib/components/MenuGroup/index.js +1 -0
  26. package/lib/components/MenuGroup/index.js.map +1 -1
  27. package/lib/components/MenuGroup/renderMenuGroup.js +6 -7
  28. package/lib/components/MenuGroup/renderMenuGroup.js.map +1 -1
  29. package/lib/components/MenuGroup/useMenuGroup.js +6 -6
  30. package/lib/components/MenuGroup/useMenuGroup.js.map +1 -1
  31. package/lib/components/MenuGroup/useMenuGroupContextValues.js +7 -7
  32. package/lib/components/MenuGroup/useMenuGroupContextValues.js.map +1 -1
  33. package/lib/components/MenuGroup/useMenuGroupStyles.d.ts +3 -0
  34. package/lib/components/MenuGroup/useMenuGroupStyles.js +7 -0
  35. package/lib/components/MenuGroup/useMenuGroupStyles.js.map +1 -0
  36. package/lib/components/MenuGroupHeader/MenuGroupHeader.js +2 -2
  37. package/lib/components/MenuGroupHeader/MenuGroupHeader.js.map +1 -1
  38. package/lib/components/MenuGroupHeader/renderMenuGroupHeader.js +6 -7
  39. package/lib/components/MenuGroupHeader/renderMenuGroupHeader.js.map +1 -1
  40. package/lib/components/MenuGroupHeader/useMenuGroupHeader.js +8 -6
  41. package/lib/components/MenuGroupHeader/useMenuGroupHeader.js.map +1 -1
  42. package/lib/components/MenuGroupHeader/useMenuGroupHeaderStyles.d.ts +1 -0
  43. package/lib/components/MenuGroupHeader/useMenuGroupHeaderStyles.js +5 -4
  44. package/lib/components/MenuGroupHeader/useMenuGroupHeaderStyles.js.map +1 -1
  45. package/lib/components/MenuItem/MenuItem.js +2 -2
  46. package/lib/components/MenuItem/MenuItem.js.map +1 -1
  47. package/lib/components/MenuItem/renderMenuItem.js +6 -7
  48. package/lib/components/MenuItem/renderMenuItem.js.map +1 -1
  49. package/lib/components/MenuItem/useCharacterSearch.js +6 -6
  50. package/lib/components/MenuItem/useCharacterSearch.js.map +1 -1
  51. package/lib/components/MenuItem/useMenuItem.js +31 -36
  52. package/lib/components/MenuItem/useMenuItem.js.map +1 -1
  53. package/lib/components/MenuItem/useMenuItemStyles.d.ts +1 -0
  54. package/lib/components/MenuItem/useMenuItemStyles.js +5 -4
  55. package/lib/components/MenuItem/useMenuItemStyles.js.map +1 -1
  56. package/lib/components/MenuItemCheckbox/MenuItemCheckbox.js +4 -4
  57. package/lib/components/MenuItemCheckbox/MenuItemCheckbox.js.map +1 -1
  58. package/lib/components/MenuItemCheckbox/index.d.ts +1 -0
  59. package/lib/components/MenuItemCheckbox/index.js +1 -0
  60. package/lib/components/MenuItemCheckbox/index.js.map +1 -1
  61. package/lib/components/MenuItemCheckbox/renderMenuItemCheckbox.js +6 -7
  62. package/lib/components/MenuItemCheckbox/renderMenuItemCheckbox.js.map +1 -1
  63. package/lib/components/MenuItemCheckbox/useMenuItemCheckbox.js +12 -13
  64. package/lib/components/MenuItemCheckbox/useMenuItemCheckbox.js.map +1 -1
  65. package/lib/components/MenuItemCheckbox/useMenuItemCheckboxStyles.d.ts +2 -1
  66. package/lib/components/MenuItemCheckbox/useMenuItemCheckboxStyles.js +4 -1
  67. package/lib/components/MenuItemCheckbox/useMenuItemCheckboxStyles.js.map +1 -1
  68. package/lib/components/MenuItemRadio/MenuItemRadio.js +2 -2
  69. package/lib/components/MenuItemRadio/MenuItemRadio.js.map +1 -1
  70. package/lib/components/MenuItemRadio/index.d.ts +1 -0
  71. package/lib/components/MenuItemRadio/index.js +1 -0
  72. package/lib/components/MenuItemRadio/index.js.map +1 -1
  73. package/lib/components/MenuItemRadio/renderMenuItemRadio.js +6 -7
  74. package/lib/components/MenuItemRadio/renderMenuItemRadio.js.map +1 -1
  75. package/lib/components/MenuItemRadio/useMenuItemRadio.js +12 -12
  76. package/lib/components/MenuItemRadio/useMenuItemRadio.js.map +1 -1
  77. package/lib/components/MenuItemRadio/useMenuItemRadioStyles.d.ts +1 -0
  78. package/lib/components/MenuItemRadio/useMenuItemRadioStyles.js +4 -1
  79. package/lib/components/MenuItemRadio/useMenuItemRadioStyles.js.map +1 -1
  80. package/lib/components/MenuList/MenuList.js +3 -3
  81. package/lib/components/MenuList/MenuList.js.map +1 -1
  82. package/lib/components/MenuList/MenuList.types.d.ts +8 -6
  83. package/lib/components/MenuList/renderMenuList.js +6 -7
  84. package/lib/components/MenuList/renderMenuList.js.map +1 -1
  85. package/lib/components/MenuList/useMenuList.js +66 -86
  86. package/lib/components/MenuList/useMenuList.js.map +1 -1
  87. package/lib/components/MenuList/useMenuListContextValues.js +18 -16
  88. package/lib/components/MenuList/useMenuListContextValues.js.map +1 -1
  89. package/lib/components/MenuList/useMenuListStyles.d.ts +1 -0
  90. package/lib/components/MenuList/useMenuListStyles.js +5 -4
  91. package/lib/components/MenuList/useMenuListStyles.js.map +1 -1
  92. package/lib/components/MenuPopover/MenuPopover.js +2 -2
  93. package/lib/components/MenuPopover/MenuPopover.js.map +1 -1
  94. package/lib/components/MenuPopover/renderMenuPopover.js +7 -7
  95. package/lib/components/MenuPopover/renderMenuPopover.js.map +1 -1
  96. package/lib/components/MenuPopover/useMenuPopover.js +29 -38
  97. package/lib/components/MenuPopover/useMenuPopover.js.map +1 -1
  98. package/lib/components/MenuPopover/useMenuPopoverStyles.d.ts +1 -0
  99. package/lib/components/MenuPopover/useMenuPopoverStyles.js +7 -6
  100. package/lib/components/MenuPopover/useMenuPopoverStyles.js.map +1 -1
  101. package/lib/components/MenuTrigger/MenuTrigger.js +2 -2
  102. package/lib/components/MenuTrigger/MenuTrigger.js.map +1 -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 +51 -65
  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/Menu.types.d.ts +2 -1
  136. package/lib-commonjs/components/Menu/index.js +1 -1
  137. package/lib-commonjs/components/Menu/renderMenu.js +3 -3
  138. package/lib-commonjs/components/Menu/renderMenu.js.map +1 -1
  139. package/lib-commonjs/components/Menu/useMenu.js +104 -122
  140. package/lib-commonjs/components/Menu/useMenu.js.map +1 -1
  141. package/lib-commonjs/components/Menu/useMenuContextValues.js +34 -32
  142. package/lib-commonjs/components/Menu/useMenuContextValues.js.map +1 -1
  143. package/lib-commonjs/components/MenuDivider/MenuDivider.js +6 -6
  144. package/lib-commonjs/components/MenuDivider/MenuDivider.js.map +1 -1
  145. package/lib-commonjs/components/MenuDivider/index.js +1 -1
  146. package/lib-commonjs/components/MenuDivider/renderMenuDivider.js +8 -10
  147. package/lib-commonjs/components/MenuDivider/renderMenuDivider.js.map +1 -1
  148. package/lib-commonjs/components/MenuDivider/useMenuDivider.js +7 -9
  149. package/lib-commonjs/components/MenuDivider/useMenuDivider.js.map +1 -1
  150. package/lib-commonjs/components/MenuDivider/useMenuDividerStyles.d.ts +1 -0
  151. package/lib-commonjs/components/MenuDivider/useMenuDividerStyles.js +8 -6
  152. package/lib-commonjs/components/MenuDivider/useMenuDividerStyles.js.map +1 -1
  153. package/lib-commonjs/components/MenuGroup/MenuGroup.js +10 -7
  154. package/lib-commonjs/components/MenuGroup/MenuGroup.js.map +1 -1
  155. package/lib-commonjs/components/MenuGroup/index.d.ts +1 -0
  156. package/lib-commonjs/components/MenuGroup/index.js +3 -1
  157. package/lib-commonjs/components/MenuGroup/index.js.map +1 -1
  158. package/lib-commonjs/components/MenuGroup/renderMenuGroup.js +9 -11
  159. package/lib-commonjs/components/MenuGroup/renderMenuGroup.js.map +1 -1
  160. package/lib-commonjs/components/MenuGroup/useMenuGroup.js +7 -8
  161. package/lib-commonjs/components/MenuGroup/useMenuGroup.js.map +1 -1
  162. package/lib-commonjs/components/MenuGroup/useMenuGroupContextValues.js +8 -8
  163. package/lib-commonjs/components/MenuGroup/useMenuGroupContextValues.js.map +1 -1
  164. package/lib-commonjs/components/MenuGroup/useMenuGroupStyles.d.ts +3 -0
  165. package/lib-commonjs/components/MenuGroup/useMenuGroupStyles.js +18 -0
  166. package/lib-commonjs/components/MenuGroup/useMenuGroupStyles.js.map +1 -0
  167. package/lib-commonjs/components/MenuGroupHeader/MenuGroupHeader.js +6 -6
  168. package/lib-commonjs/components/MenuGroupHeader/MenuGroupHeader.js.map +1 -1
  169. package/lib-commonjs/components/MenuGroupHeader/index.js +1 -1
  170. package/lib-commonjs/components/MenuGroupHeader/renderMenuGroupHeader.js +8 -10
  171. package/lib-commonjs/components/MenuGroupHeader/renderMenuGroupHeader.js.map +1 -1
  172. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeader.js +10 -9
  173. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeader.js.map +1 -1
  174. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeaderStyles.d.ts +1 -0
  175. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeaderStyles.js +8 -6
  176. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeaderStyles.js.map +1 -1
  177. package/lib-commonjs/components/MenuItem/MenuItem.js +7 -7
  178. package/lib-commonjs/components/MenuItem/MenuItem.js.map +1 -1
  179. package/lib-commonjs/components/MenuItem/index.js +1 -1
  180. package/lib-commonjs/components/MenuItem/renderMenuItem.js +9 -11
  181. package/lib-commonjs/components/MenuItem/renderMenuItem.js.map +1 -1
  182. package/lib-commonjs/components/MenuItem/useCharacterSearch.js +7 -7
  183. package/lib-commonjs/components/MenuItem/useCharacterSearch.js.map +1 -1
  184. package/lib-commonjs/components/MenuItem/useMenuItem.js +38 -44
  185. package/lib-commonjs/components/MenuItem/useMenuItem.js.map +1 -1
  186. package/lib-commonjs/components/MenuItem/useMenuItemStyles.d.ts +1 -0
  187. package/lib-commonjs/components/MenuItem/useMenuItemStyles.js +9 -7
  188. package/lib-commonjs/components/MenuItem/useMenuItemStyles.js.map +1 -1
  189. package/lib-commonjs/components/MenuItemCheckbox/MenuItemCheckbox.js +7 -7
  190. package/lib-commonjs/components/MenuItemCheckbox/MenuItemCheckbox.js.map +1 -1
  191. package/lib-commonjs/components/MenuItemCheckbox/index.d.ts +1 -0
  192. package/lib-commonjs/components/MenuItemCheckbox/index.js +3 -1
  193. package/lib-commonjs/components/MenuItemCheckbox/index.js.map +1 -1
  194. package/lib-commonjs/components/MenuItemCheckbox/renderMenuItemCheckbox.js +9 -11
  195. package/lib-commonjs/components/MenuItemCheckbox/renderMenuItemCheckbox.js.map +1 -1
  196. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckbox.js +17 -19
  197. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckbox.js.map +1 -1
  198. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckboxStyles.d.ts +2 -1
  199. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckboxStyles.js +10 -5
  200. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckboxStyles.js.map +1 -1
  201. package/lib-commonjs/components/MenuItemRadio/MenuItemRadio.js +6 -6
  202. package/lib-commonjs/components/MenuItemRadio/MenuItemRadio.js.map +1 -1
  203. package/lib-commonjs/components/MenuItemRadio/index.d.ts +1 -0
  204. package/lib-commonjs/components/MenuItemRadio/index.js +3 -1
  205. package/lib-commonjs/components/MenuItemRadio/index.js.map +1 -1
  206. package/lib-commonjs/components/MenuItemRadio/renderMenuItemRadio.js +9 -11
  207. package/lib-commonjs/components/MenuItemRadio/renderMenuItemRadio.js.map +1 -1
  208. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadio.js +17 -18
  209. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadio.js.map +1 -1
  210. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadioStyles.d.ts +1 -0
  211. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadioStyles.js +9 -4
  212. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadioStyles.js.map +1 -1
  213. package/lib-commonjs/components/MenuList/MenuList.js +8 -8
  214. package/lib-commonjs/components/MenuList/MenuList.js.map +1 -1
  215. package/lib-commonjs/components/MenuList/MenuList.types.d.ts +8 -6
  216. package/lib-commonjs/components/MenuList/index.js +1 -1
  217. package/lib-commonjs/components/MenuList/renderMenuList.js +9 -11
  218. package/lib-commonjs/components/MenuList/renderMenuList.js.map +1 -1
  219. package/lib-commonjs/components/MenuList/useMenuList.js +72 -93
  220. package/lib-commonjs/components/MenuList/useMenuList.js.map +1 -1
  221. package/lib-commonjs/components/MenuList/useMenuListContextValues.js +18 -16
  222. package/lib-commonjs/components/MenuList/useMenuListContextValues.js.map +1 -1
  223. package/lib-commonjs/components/MenuList/useMenuListStyles.d.ts +1 -0
  224. package/lib-commonjs/components/MenuList/useMenuListStyles.js +8 -6
  225. package/lib-commonjs/components/MenuList/useMenuListStyles.js.map +1 -1
  226. package/lib-commonjs/components/MenuPopover/MenuPopover.js +6 -6
  227. package/lib-commonjs/components/MenuPopover/MenuPopover.js.map +1 -1
  228. package/lib-commonjs/components/MenuPopover/index.js +1 -1
  229. package/lib-commonjs/components/MenuPopover/renderMenuPopover.js +10 -11
  230. package/lib-commonjs/components/MenuPopover/renderMenuPopover.js.map +1 -1
  231. package/lib-commonjs/components/MenuPopover/useMenuPopover.js +36 -46
  232. package/lib-commonjs/components/MenuPopover/useMenuPopover.js.map +1 -1
  233. package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.d.ts +1 -0
  234. package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.js +10 -8
  235. package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.js.map +1 -1
  236. package/lib-commonjs/components/MenuTrigger/MenuTrigger.js +4 -4
  237. package/lib-commonjs/components/MenuTrigger/MenuTrigger.js.map +1 -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 +58 -73
  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 +15 -15
  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/utils/DefaultIcons.d.ts +0 -7
  271. package/lib/utils/DefaultIcons.js +0 -88
  272. package/lib/utils/DefaultIcons.js.map +0 -1
  273. package/lib-commonjs/common/isConformant.d.ts +0 -4
  274. package/lib-commonjs/common/isConformant.js +0 -23
  275. package/lib-commonjs/common/isConformant.js.map +0 -1
  276. package/lib-commonjs/common/mockUseMenuContext.d.ts +0 -7
  277. package/lib-commonjs/common/mockUseMenuContext.js +0 -47
  278. package/lib-commonjs/common/mockUseMenuContext.js.map +0 -1
  279. package/lib-commonjs/utils/DefaultIcons.d.ts +0 -7
  280. package/lib-commonjs/utils/DefaultIcons.js +0 -100
  281. package/lib-commonjs/utils/DefaultIcons.js.map +0 -1
package/CHANGELOG.json CHANGED
@@ -2,7 +2,313 @@
2
2
  "name": "@fluentui/react-menu",
3
3
  "entries": [
4
4
  {
5
- "date": "Wed, 06 Oct 2021 10:36:00 GMT",
5
+ "date": "Thu, 25 Nov 2021 08:31:32 GMT",
6
+ "tag": "@fluentui/react-menu_v9.0.0-beta.5",
7
+ "version": "9.0.0-beta.5",
8
+ "comments": {
9
+ "none": [
10
+ {
11
+ "author": "lingfangao@hotmail.com",
12
+ "package": "@fluentui/react-menu",
13
+ "commit": "8a141d14f3a14de2e1c4691dad908622f310a9d1",
14
+ "comment": "Migrate package to use solution tsconfigs"
15
+ }
16
+ ],
17
+ "prerelease": [
18
+ {
19
+ "author": "ololubek@microsoft.com",
20
+ "package": "@fluentui/react-menu",
21
+ "commit": "ecab13cfd6ac22657020db8f86eb89f952b0f953",
22
+ "comment": "update react-icons dependency"
23
+ },
24
+ {
25
+ "author": "beachball",
26
+ "package": "@fluentui/react-menu",
27
+ "comment": "Bump @fluentui/react-context-selector to v9.0.0-beta.4",
28
+ "commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
29
+ },
30
+ {
31
+ "author": "beachball",
32
+ "package": "@fluentui/react-menu",
33
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.4",
34
+ "commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
35
+ },
36
+ {
37
+ "author": "beachball",
38
+ "package": "@fluentui/react-menu",
39
+ "comment": "Bump @fluentui/react-portal to v9.0.0-beta.5",
40
+ "commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
41
+ },
42
+ {
43
+ "author": "beachball",
44
+ "package": "@fluentui/react-menu",
45
+ "comment": "Bump @fluentui/react-positioning to v9.0.0-beta.4",
46
+ "commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
47
+ },
48
+ {
49
+ "author": "beachball",
50
+ "package": "@fluentui/react-menu",
51
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.4",
52
+ "commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
53
+ },
54
+ {
55
+ "author": "beachball",
56
+ "package": "@fluentui/react-menu",
57
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-beta.5",
58
+ "commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
59
+ },
60
+ {
61
+ "author": "beachball",
62
+ "package": "@fluentui/react-menu",
63
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.4",
64
+ "commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
65
+ },
66
+ {
67
+ "author": "beachball",
68
+ "package": "@fluentui/react-menu",
69
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.4",
70
+ "commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
71
+ },
72
+ {
73
+ "author": "beachball",
74
+ "package": "@fluentui/react-menu",
75
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4",
76
+ "commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
77
+ },
78
+ {
79
+ "author": "beachball",
80
+ "package": "@fluentui/react-menu",
81
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4",
82
+ "commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
83
+ }
84
+ ]
85
+ }
86
+ },
87
+ {
88
+ "date": "Fri, 12 Nov 2021 13:25:27 GMT",
89
+ "tag": "@fluentui/react-menu_v9.0.0-beta.4",
90
+ "version": "9.0.0-beta.4",
91
+ "comments": {
92
+ "prerelease": [
93
+ {
94
+ "author": "bsunderhus@microsoft.com",
95
+ "package": "@fluentui/react-menu",
96
+ "commit": "390056fd15a4413af93083ad0f5a0b15c4709ed1",
97
+ "comment": "Adds typings for `onCheckedValueChange` method"
98
+ },
99
+ {
100
+ "author": "olfedias@microsoft.com",
101
+ "package": "@fluentui/react-menu",
102
+ "commit": "28b87b619b5be37c8e4a3a75ba10071a93f2b10b",
103
+ "comment": "use react-shared-contexts instead of react-provider"
104
+ },
105
+ {
106
+ "author": "olfedias@microsoft.com",
107
+ "package": "@fluentui/react-menu",
108
+ "commit": "ade4f5d3fa5a6b1c81097403f5c2f2afd859aa14",
109
+ "comment": "export static classes for components"
110
+ },
111
+ {
112
+ "author": "gcox@microsoft.com",
113
+ "package": "@fluentui/react-menu",
114
+ "commit": "c9bd5b5a02ae94a8239ce1b56cac2f0d0dbd3586",
115
+ "comment": "Updated beta and RC components to ES2019"
116
+ },
117
+ {
118
+ "author": "beachball",
119
+ "package": "@fluentui/react-menu",
120
+ "comment": "Bump @fluentui/react-context-selector to v9.0.0-beta.3",
121
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
122
+ },
123
+ {
124
+ "author": "beachball",
125
+ "package": "@fluentui/react-menu",
126
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.3",
127
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
128
+ },
129
+ {
130
+ "author": "beachball",
131
+ "package": "@fluentui/react-menu",
132
+ "comment": "Bump @fluentui/react-portal to v9.0.0-beta.4",
133
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
134
+ },
135
+ {
136
+ "author": "beachball",
137
+ "package": "@fluentui/react-menu",
138
+ "comment": "Bump @fluentui/react-positioning to v9.0.0-beta.3",
139
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
140
+ },
141
+ {
142
+ "author": "beachball",
143
+ "package": "@fluentui/react-menu",
144
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.3",
145
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
146
+ },
147
+ {
148
+ "author": "beachball",
149
+ "package": "@fluentui/react-menu",
150
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-beta.4",
151
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
152
+ },
153
+ {
154
+ "author": "beachball",
155
+ "package": "@fluentui/react-menu",
156
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.3",
157
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
158
+ },
159
+ {
160
+ "author": "beachball",
161
+ "package": "@fluentui/react-menu",
162
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.3",
163
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
164
+ },
165
+ {
166
+ "author": "beachball",
167
+ "package": "@fluentui/react-menu",
168
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3",
169
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
170
+ },
171
+ {
172
+ "author": "beachball",
173
+ "package": "@fluentui/react-menu",
174
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3",
175
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
176
+ }
177
+ ],
178
+ "none": [
179
+ {
180
+ "author": "lingfangao@hotmail.com",
181
+ "package": "@fluentui/react-menu",
182
+ "commit": "00f70581480b536e723fb69edf0ae617beac4807",
183
+ "comment": "Remove beta release tag"
184
+ },
185
+ {
186
+ "author": "mgodbolt@microsoft.com",
187
+ "package": "@fluentui/react-menu",
188
+ "commit": "7fafe76eb2c09f9d17a03c11ba73729d91ef411e",
189
+ "comment": "update docs descriptions"
190
+ }
191
+ ]
192
+ }
193
+ },
194
+ {
195
+ "date": "Wed, 27 Oct 2021 12:14:20 GMT",
196
+ "tag": "@fluentui/react-menu_v9.0.0-beta.3",
197
+ "version": "9.0.0-beta.3",
198
+ "comments": {
199
+ "none": [
200
+ {
201
+ "author": "olfedias@microsoft.com",
202
+ "package": "@fluentui/react-menu",
203
+ "commit": "193af6527f202f11efdd71da7581cc6e76ca2925",
204
+ "comment": "remove unused file with icons"
205
+ }
206
+ ],
207
+ "prerelease": [
208
+ {
209
+ "author": "olfedias@microsoft.com",
210
+ "package": "@fluentui/react-menu",
211
+ "commit": "1efadb35b4fc630435968de2ee44fe80d539ba1a",
212
+ "comment": "Simplify type for MenuOpenChangeData"
213
+ },
214
+ {
215
+ "author": "peter@draxler.ml",
216
+ "package": "@fluentui/react-menu",
217
+ "commit": "f6db7c8d6b7db0902775e7857b62b745be35b59a",
218
+ "comment": "added styling of documentation"
219
+ },
220
+ {
221
+ "author": "beachball",
222
+ "package": "@fluentui/react-menu",
223
+ "comment": "Bump @fluentui/react-context-selector to v9.0.0-beta.2",
224
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
225
+ },
226
+ {
227
+ "author": "beachball",
228
+ "package": "@fluentui/react-menu",
229
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.2",
230
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
231
+ },
232
+ {
233
+ "author": "beachball",
234
+ "package": "@fluentui/react-menu",
235
+ "comment": "Bump @fluentui/react-portal to v9.0.0-beta.3",
236
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
237
+ },
238
+ {
239
+ "author": "beachball",
240
+ "package": "@fluentui/react-menu",
241
+ "comment": "Bump @fluentui/react-positioning to v9.0.0-beta.2",
242
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
243
+ },
244
+ {
245
+ "author": "beachball",
246
+ "package": "@fluentui/react-menu",
247
+ "comment": "Bump @fluentui/react-provider to v9.0.0-beta.3",
248
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
249
+ },
250
+ {
251
+ "author": "beachball",
252
+ "package": "@fluentui/react-menu",
253
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-beta.3",
254
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
255
+ },
256
+ {
257
+ "author": "beachball",
258
+ "package": "@fluentui/react-menu",
259
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.2",
260
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
261
+ },
262
+ {
263
+ "author": "beachball",
264
+ "package": "@fluentui/react-menu",
265
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.2",
266
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
267
+ },
268
+ {
269
+ "author": "beachball",
270
+ "package": "@fluentui/react-menu",
271
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.2",
272
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
273
+ },
274
+ {
275
+ "author": "beachball",
276
+ "package": "@fluentui/react-menu",
277
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.2",
278
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
279
+ }
280
+ ]
281
+ }
282
+ },
283
+ {
284
+ "date": "Tue, 12 Oct 2021 19:45:58 GMT",
285
+ "tag": "@fluentui/react-menu_v9.0.0-beta.2",
286
+ "version": "9.0.0-beta.2",
287
+ "comments": {
288
+ "prerelease": [
289
+ {
290
+ "author": "beachball",
291
+ "package": "@fluentui/react-menu",
292
+ "comment": "Bump @fluentui/react-portal to v9.0.0-beta.2",
293
+ "commit": "bdd19e2bb827fc1d8eb329e6ed48cd0542048358"
294
+ },
295
+ {
296
+ "author": "beachball",
297
+ "package": "@fluentui/react-menu",
298
+ "comment": "Bump @fluentui/react-provider to v9.0.0-beta.2",
299
+ "commit": "bdd19e2bb827fc1d8eb329e6ed48cd0542048358"
300
+ },
301
+ {
302
+ "author": "beachball",
303
+ "package": "@fluentui/react-menu",
304
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-beta.2",
305
+ "commit": "bdd19e2bb827fc1d8eb329e6ed48cd0542048358"
306
+ }
307
+ ]
308
+ }
309
+ },
310
+ {
311
+ "date": "Wed, 06 Oct 2021 10:37:22 GMT",
6
312
  "tag": "@fluentui/react-menu_v9.0.0-beta.1",
7
313
  "version": "9.0.0-beta.1",
8
314
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,84 @@
1
1
  # Change Log - @fluentui/react-menu
2
2
 
3
- This log was last generated on Wed, 06 Oct 2021 10:36:00 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 25 Nov 2021 08:31:32 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-beta.5)
8
+
9
+ Thu, 25 Nov 2021 08:31:32 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.4..@fluentui/react-menu_v9.0.0-beta.5)
11
+
12
+ ### Changes
13
+
14
+ - update react-icons dependency ([PR #20563](https://github.com/microsoft/fluentui/pull/20563) by ololubek@microsoft.com)
15
+ - Bump @fluentui/react-context-selector to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
16
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
17
+ - Bump @fluentui/react-portal to v9.0.0-beta.5 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
18
+ - Bump @fluentui/react-positioning to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
19
+ - Bump @fluentui/react-shared-contexts to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
20
+ - Bump @fluentui/react-tabster to v9.0.0-beta.5 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
21
+ - Bump @fluentui/react-utilities to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
22
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
23
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
24
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
25
+
26
+ ## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-beta.4)
27
+
28
+ Fri, 12 Nov 2021 13:25:27 GMT
29
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.3..@fluentui/react-menu_v9.0.0-beta.4)
30
+
31
+ ### Changes
32
+
33
+ - Adds typings for `onCheckedValueChange` method ([PR #20493](https://github.com/microsoft/fluentui/pull/20493) by bsunderhus@microsoft.com)
34
+ - use react-shared-contexts instead of react-provider ([PR #20578](https://github.com/microsoft/fluentui/pull/20578) by olfedias@microsoft.com)
35
+ - export static classes for components ([PR #20450](https://github.com/microsoft/fluentui/pull/20450) by olfedias@microsoft.com)
36
+ - Updated beta and RC components to ES2019 ([PR #20405](https://github.com/microsoft/fluentui/pull/20405) by gcox@microsoft.com)
37
+ - Bump @fluentui/react-context-selector to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
38
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
39
+ - Bump @fluentui/react-portal to v9.0.0-beta.4 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
40
+ - Bump @fluentui/react-positioning to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
41
+ - Bump @fluentui/react-shared-contexts to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
42
+ - Bump @fluentui/react-tabster to v9.0.0-beta.4 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
43
+ - Bump @fluentui/react-utilities to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
44
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
45
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
46
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
47
+
48
+ ## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-beta.3)
49
+
50
+ Wed, 27 Oct 2021 12:14:20 GMT
51
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.2..@fluentui/react-menu_v9.0.0-beta.3)
52
+
53
+ ### Changes
54
+
55
+ - Simplify type for MenuOpenChangeData ([PR #20096](https://github.com/microsoft/fluentui/pull/20096) by olfedias@microsoft.com)
56
+ - added styling of documentation ([PR #20193](https://github.com/microsoft/fluentui/pull/20193) by peter@draxler.ml)
57
+ - Bump @fluentui/react-context-selector to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
58
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
59
+ - Bump @fluentui/react-portal to v9.0.0-beta.3 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
60
+ - Bump @fluentui/react-positioning to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
61
+ - Bump @fluentui/react-provider to v9.0.0-beta.3 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
62
+ - Bump @fluentui/react-tabster to v9.0.0-beta.3 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
63
+ - Bump @fluentui/react-utilities to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
64
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
65
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
66
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
67
+
68
+ ## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-beta.2)
69
+
70
+ Tue, 12 Oct 2021 19:45:58 GMT
71
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.1..@fluentui/react-menu_v9.0.0-beta.2)
72
+
73
+ ### Changes
74
+
75
+ - Bump @fluentui/react-portal to v9.0.0-beta.2 ([PR #20132](https://github.com/microsoft/fluentui/pull/20132) by beachball)
76
+ - Bump @fluentui/react-provider to v9.0.0-beta.2 ([PR #20132](https://github.com/microsoft/fluentui/pull/20132) by beachball)
77
+ - Bump @fluentui/react-tabster to v9.0.0-beta.2 ([PR #20132](https://github.com/microsoft/fluentui/pull/20132) by beachball)
78
+
7
79
  ## [9.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-beta.1)
8
80
 
9
- Wed, 06 Oct 2021 10:36:00 GMT
81
+ Wed, 06 Oct 2021 10:37:22 GMT
10
82
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-alpha.92..@fluentui/react-menu_v9.0.0-beta.1)
11
83
 
12
84
  ### Changes
@@ -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
  */
@@ -305,7 +323,8 @@ export declare type MenuListState = ComponentState<MenuListSlots> & MenuListComm
305
323
  /**
306
324
  * Data attached to open/close events
307
325
  */
308
- export declare type MenuOpenChangeData = Pick<MenuState, 'open'> & {
326
+ export declare type MenuOpenChangeData = {
327
+ open: boolean;
309
328
  /**
310
329
  * Indicates whether the change of state was a keyboard interaction
311
330
  */
@@ -326,6 +345,8 @@ export declare type MenuOpenEvents = MouseEvent | TouchEvent | React_2.MouseEven
326
345
  */
327
346
  export declare const MenuPopover: ForwardRefComponent<MenuPopoverProps>;
328
347
 
348
+ export declare const menuPopoverClassName = "fui-MenuPopover";
349
+
329
350
  /**
330
351
  * MenuPopover Props
331
352
  */
@@ -532,6 +553,8 @@ export declare function useMenuGroupHeader(props: MenuGroupHeaderProps, ref: Rea
532
553
 
533
554
  export declare const useMenuGroupHeaderStyles: (state: MenuGroupHeaderState) => ComponentState<MenuGroupHeaderSlots>;
534
555
 
556
+ export declare const useMenuGroupStyles: (state: MenuGroupState) => MenuGroupState;
557
+
535
558
  /**
536
559
  * Returns the props and state required to render the component
537
560
  */
@@ -540,11 +563,15 @@ export declare const useMenuItem: (props: MenuItemProps, ref: React_2.Ref<HTMLEl
540
563
  /** Returns the props and state required to render the component */
541
564
  export declare const useMenuItemCheckbox: (props: MenuItemCheckboxProps, ref: React_2.Ref<HTMLElement>) => MenuItemCheckboxState;
542
565
 
566
+ export declare const useMenuItemCheckboxStyles: (state: MenuItemCheckboxState) => void;
567
+
543
568
  /**
544
569
  * Given user props, returns state and render function for a MenuItemRadio.
545
570
  */
546
571
  export declare const useMenuItemRadio: (props: MenuItemRadioProps, ref: React_2.Ref<HTMLElement>) => MenuItemRadioState;
547
572
 
573
+ export declare const useMenuItemRadioStyles: (state: MenuItemRadioState) => void;
574
+
548
575
  /** Applies style classnames to slots */
549
576
  export declare const useMenuItemStyles: (state: MenuItemState) => void;
550
577
 
@@ -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":""}
@@ -92,7 +92,8 @@ export declare type MenuState = MenuCommons & ComponentState<MenuSlots> & {
92
92
  /**
93
93
  * Data attached to open/close events
94
94
  */
95
- export declare type MenuOpenChangeData = Pick<MenuState, 'open'> & {
95
+ export declare type MenuOpenChangeData = {
96
+ open: boolean;
96
97
  /**
97
98
  * Indicates whether the change of state was a keyboard interaction
98
99
  */
@@ -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":""}