@fluentui/react-menu 0.0.0-nightly0bc161458e20220126.1 → 0.0.0-nightly2170ed575f20220223.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 (230) hide show
  1. package/CHANGELOG.json +194 -20
  2. package/CHANGELOG.md +54 -13
  3. package/dist/react-menu.d.ts +22 -20
  4. package/lib/Menu.js.map +1 -1
  5. package/lib/MenuDivider.js.map +1 -1
  6. package/lib/MenuGroup.js.map +1 -1
  7. package/lib/MenuGroupHeader.js.map +1 -1
  8. package/lib/MenuItem.js.map +1 -1
  9. package/lib/MenuItemCheckbox.js.map +1 -1
  10. package/lib/MenuItemRadio.js.map +1 -1
  11. package/lib/MenuList.js.map +1 -1
  12. package/lib/MenuPopover.js.map +1 -1
  13. package/lib/MenuSplitGroup.js.map +1 -1
  14. package/lib/MenuTrigger.js.map +1 -1
  15. package/lib/components/Menu/Menu.js.map +1 -1
  16. package/lib/components/Menu/Menu.types.d.ts +1 -1
  17. package/lib/components/Menu/Menu.types.js.map +1 -1
  18. package/lib/components/Menu/index.js.map +1 -1
  19. package/lib/components/Menu/renderMenu.js.map +1 -1
  20. package/lib/components/Menu/useMenu.js.map +1 -1
  21. package/lib/components/Menu/useMenuContextValues.js.map +1 -1
  22. package/lib/components/MenuDivider/MenuDivider.js.map +1 -1
  23. package/lib/components/MenuDivider/MenuDivider.types.d.ts +2 -2
  24. package/lib/components/MenuDivider/MenuDivider.types.js.map +1 -1
  25. package/lib/components/MenuDivider/index.js.map +1 -1
  26. package/lib/components/MenuDivider/renderMenuDivider.js.map +1 -1
  27. package/lib/components/MenuDivider/useMenuDivider.js.map +1 -1
  28. package/lib/components/MenuDivider/useMenuDividerStyles.js.map +1 -1
  29. package/lib/components/MenuGroup/MenuGroup.js.map +1 -1
  30. package/lib/components/MenuGroup/MenuGroup.types.d.ts +3 -3
  31. package/lib/components/MenuGroup/MenuGroup.types.js.map +1 -1
  32. package/lib/components/MenuGroup/index.js.map +1 -1
  33. package/lib/components/MenuGroup/renderMenuGroup.js.map +1 -1
  34. package/lib/components/MenuGroup/useMenuGroup.js.map +1 -1
  35. package/lib/components/MenuGroup/useMenuGroupContextValues.js.map +1 -1
  36. package/lib/components/MenuGroup/useMenuGroupStyles.js.map +1 -1
  37. package/lib/components/MenuGroupHeader/MenuGroupHeader.js.map +1 -1
  38. package/lib/components/MenuGroupHeader/MenuGroupHeader.types.d.ts +2 -2
  39. package/lib/components/MenuGroupHeader/MenuGroupHeader.types.js.map +1 -1
  40. package/lib/components/MenuGroupHeader/index.js.map +1 -1
  41. package/lib/components/MenuGroupHeader/renderMenuGroupHeader.js.map +1 -1
  42. package/lib/components/MenuGroupHeader/useMenuGroupHeader.js.map +1 -1
  43. package/lib/components/MenuGroupHeader/useMenuGroupHeaderStyles.js.map +1 -1
  44. package/lib/components/MenuItem/MenuItem.js.map +1 -1
  45. package/lib/components/MenuItem/MenuItem.types.d.ts +7 -7
  46. package/lib/components/MenuItem/MenuItem.types.js.map +1 -1
  47. package/lib/components/MenuItem/index.js.map +1 -1
  48. package/lib/components/MenuItem/renderMenuItem.js +5 -5
  49. package/lib/components/MenuItem/renderMenuItem.js.map +1 -1
  50. package/lib/components/MenuItem/useCharacterSearch.js.map +1 -1
  51. package/lib/components/MenuItem/useMenuItem.js +4 -1
  52. package/lib/components/MenuItem/useMenuItem.js.map +1 -1
  53. package/lib/components/MenuItem/useMenuItemStyles.js.map +1 -1
  54. package/lib/components/MenuItemCheckbox/MenuItemCheckbox.js.map +1 -1
  55. package/lib/components/MenuItemCheckbox/MenuItemCheckbox.types.js.map +1 -1
  56. package/lib/components/MenuItemCheckbox/index.js.map +1 -1
  57. package/lib/components/MenuItemCheckbox/renderMenuItemCheckbox.js +4 -4
  58. package/lib/components/MenuItemCheckbox/renderMenuItemCheckbox.js.map +1 -1
  59. package/lib/components/MenuItemCheckbox/useMenuItemCheckbox.js.map +1 -1
  60. package/lib/components/MenuItemCheckbox/useMenuItemCheckboxStyles.js.map +1 -1
  61. package/lib/components/MenuItemRadio/MenuItemRadio.js.map +1 -1
  62. package/lib/components/MenuItemRadio/MenuItemRadio.types.js.map +1 -1
  63. package/lib/components/MenuItemRadio/index.js.map +1 -1
  64. package/lib/components/MenuItemRadio/renderMenuItemRadio.js +4 -4
  65. package/lib/components/MenuItemRadio/renderMenuItemRadio.js.map +1 -1
  66. package/lib/components/MenuItemRadio/useMenuItemRadio.js.map +1 -1
  67. package/lib/components/MenuItemRadio/useMenuItemRadioStyles.js.map +1 -1
  68. package/lib/components/MenuList/MenuList.js.map +1 -1
  69. package/lib/components/MenuList/MenuList.types.d.ts +4 -4
  70. package/lib/components/MenuList/MenuList.types.js.map +1 -1
  71. package/lib/components/MenuList/index.d.ts +1 -1
  72. package/lib/components/MenuList/index.js +0 -1
  73. package/lib/components/MenuList/index.js.map +1 -1
  74. package/lib/components/MenuList/renderMenuList.js.map +1 -1
  75. package/lib/components/MenuList/useMenuList.js.map +1 -1
  76. package/lib/components/MenuList/useMenuListContextValues.js.map +1 -1
  77. package/lib/components/MenuList/useMenuListStyles.js.map +1 -1
  78. package/lib/components/MenuPopover/MenuPopover.js.map +1 -1
  79. package/lib/components/MenuPopover/MenuPopover.types.d.ts +2 -2
  80. package/lib/components/MenuPopover/MenuPopover.types.js.map +1 -1
  81. package/lib/components/MenuPopover/index.js.map +1 -1
  82. package/lib/components/MenuPopover/renderMenuPopover.js.map +1 -1
  83. package/lib/components/MenuPopover/useMenuPopover.js.map +1 -1
  84. package/lib/components/MenuPopover/useMenuPopoverStyles.js.map +1 -1
  85. package/lib/components/MenuSplitGroup/MenuSplitGroup.js.map +1 -1
  86. package/lib/components/MenuSplitGroup/MenuSplitGroup.types.d.ts +4 -3
  87. package/lib/components/MenuSplitGroup/MenuSplitGroup.types.js.map +1 -1
  88. package/lib/components/MenuSplitGroup/index.js.map +1 -1
  89. package/lib/components/MenuSplitGroup/renderMenuSplitGroup.js.map +1 -1
  90. package/lib/components/MenuSplitGroup/useMenuSplitGroup.js.map +1 -1
  91. package/lib/components/MenuSplitGroup/useMenuSplitGroupStyles.js.map +1 -1
  92. package/lib/components/MenuTrigger/MenuTrigger.d.ts +2 -1
  93. package/lib/components/MenuTrigger/MenuTrigger.js +4 -4
  94. package/lib/components/MenuTrigger/MenuTrigger.js.map +1 -1
  95. package/lib/components/MenuTrigger/MenuTrigger.types.d.ts +3 -2
  96. package/lib/components/MenuTrigger/MenuTrigger.types.js.map +1 -1
  97. package/lib/components/MenuTrigger/index.js.map +1 -1
  98. package/lib/components/MenuTrigger/renderMenuTrigger.js +1 -1
  99. package/lib/components/MenuTrigger/renderMenuTrigger.js.map +1 -1
  100. package/lib/components/MenuTrigger/useMenuTrigger.d.ts +2 -3
  101. package/lib/components/MenuTrigger/useMenuTrigger.js +18 -27
  102. package/lib/components/MenuTrigger/useMenuTrigger.js.map +1 -1
  103. package/lib/components/index.js.map +1 -1
  104. package/lib/contexts/menuContext.js.map +1 -1
  105. package/lib/contexts/menuGroupContext.js.map +1 -1
  106. package/lib/contexts/menuListContext.js.map +1 -1
  107. package/lib/contexts/menuTriggerContext.js +1 -1
  108. package/lib/contexts/menuTriggerContext.js.map +1 -1
  109. package/lib/index.js.map +1 -1
  110. package/lib/selectable/index.js.map +1 -1
  111. package/lib/selectable/types.js.map +1 -1
  112. package/lib/selectable/useCheckmarkStyles.d.ts +2 -2
  113. package/lib/selectable/useCheckmarkStyles.js.map +1 -1
  114. package/lib/utils/index.js.map +1 -1
  115. package/lib/utils/useIsSubmenu.js.map +1 -1
  116. package/lib/utils/useOnMenuEnter.js.map +1 -1
  117. package/lib-commonjs/Menu.js.map +1 -1
  118. package/lib-commonjs/MenuDivider.js.map +1 -1
  119. package/lib-commonjs/MenuGroup.js.map +1 -1
  120. package/lib-commonjs/MenuGroupHeader.js.map +1 -1
  121. package/lib-commonjs/MenuItem.js.map +1 -1
  122. package/lib-commonjs/MenuItemCheckbox.js.map +1 -1
  123. package/lib-commonjs/MenuItemRadio.js.map +1 -1
  124. package/lib-commonjs/MenuList.js.map +1 -1
  125. package/lib-commonjs/MenuPopover.js.map +1 -1
  126. package/lib-commonjs/MenuSplitGroup.js.map +1 -1
  127. package/lib-commonjs/MenuTrigger.js.map +1 -1
  128. package/lib-commonjs/components/Menu/Menu.js.map +1 -1
  129. package/lib-commonjs/components/Menu/Menu.types.d.ts +1 -1
  130. package/lib-commonjs/components/Menu/Menu.types.js.map +1 -1
  131. package/lib-commonjs/components/Menu/index.js.map +1 -1
  132. package/lib-commonjs/components/Menu/renderMenu.js.map +1 -1
  133. package/lib-commonjs/components/Menu/useMenu.js.map +1 -1
  134. package/lib-commonjs/components/Menu/useMenuContextValues.js.map +1 -1
  135. package/lib-commonjs/components/MenuDivider/MenuDivider.js.map +1 -1
  136. package/lib-commonjs/components/MenuDivider/MenuDivider.types.d.ts +2 -2
  137. package/lib-commonjs/components/MenuDivider/MenuDivider.types.js.map +1 -1
  138. package/lib-commonjs/components/MenuDivider/index.js.map +1 -1
  139. package/lib-commonjs/components/MenuDivider/renderMenuDivider.js.map +1 -1
  140. package/lib-commonjs/components/MenuDivider/useMenuDivider.js.map +1 -1
  141. package/lib-commonjs/components/MenuDivider/useMenuDividerStyles.js.map +1 -1
  142. package/lib-commonjs/components/MenuGroup/MenuGroup.js.map +1 -1
  143. package/lib-commonjs/components/MenuGroup/MenuGroup.types.d.ts +3 -3
  144. package/lib-commonjs/components/MenuGroup/MenuGroup.types.js.map +1 -1
  145. package/lib-commonjs/components/MenuGroup/index.js.map +1 -1
  146. package/lib-commonjs/components/MenuGroup/renderMenuGroup.js.map +1 -1
  147. package/lib-commonjs/components/MenuGroup/useMenuGroup.js.map +1 -1
  148. package/lib-commonjs/components/MenuGroup/useMenuGroupContextValues.js.map +1 -1
  149. package/lib-commonjs/components/MenuGroup/useMenuGroupStyles.js.map +1 -1
  150. package/lib-commonjs/components/MenuGroupHeader/MenuGroupHeader.js.map +1 -1
  151. package/lib-commonjs/components/MenuGroupHeader/MenuGroupHeader.types.d.ts +2 -2
  152. package/lib-commonjs/components/MenuGroupHeader/MenuGroupHeader.types.js.map +1 -1
  153. package/lib-commonjs/components/MenuGroupHeader/index.js.map +1 -1
  154. package/lib-commonjs/components/MenuGroupHeader/renderMenuGroupHeader.js.map +1 -1
  155. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeader.js.map +1 -1
  156. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeaderStyles.js.map +1 -1
  157. package/lib-commonjs/components/MenuItem/MenuItem.js.map +1 -1
  158. package/lib-commonjs/components/MenuItem/MenuItem.types.d.ts +7 -7
  159. package/lib-commonjs/components/MenuItem/MenuItem.types.js.map +1 -1
  160. package/lib-commonjs/components/MenuItem/index.js.map +1 -1
  161. package/lib-commonjs/components/MenuItem/renderMenuItem.js +5 -5
  162. package/lib-commonjs/components/MenuItem/renderMenuItem.js.map +1 -1
  163. package/lib-commonjs/components/MenuItem/useCharacterSearch.js.map +1 -1
  164. package/lib-commonjs/components/MenuItem/useMenuItem.js +4 -1
  165. package/lib-commonjs/components/MenuItem/useMenuItem.js.map +1 -1
  166. package/lib-commonjs/components/MenuItem/useMenuItemStyles.js.map +1 -1
  167. package/lib-commonjs/components/MenuItemCheckbox/MenuItemCheckbox.js.map +1 -1
  168. package/lib-commonjs/components/MenuItemCheckbox/MenuItemCheckbox.types.js.map +1 -1
  169. package/lib-commonjs/components/MenuItemCheckbox/index.js.map +1 -1
  170. package/lib-commonjs/components/MenuItemCheckbox/renderMenuItemCheckbox.js +4 -4
  171. package/lib-commonjs/components/MenuItemCheckbox/renderMenuItemCheckbox.js.map +1 -1
  172. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckbox.js.map +1 -1
  173. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckboxStyles.js.map +1 -1
  174. package/lib-commonjs/components/MenuItemRadio/MenuItemRadio.js.map +1 -1
  175. package/lib-commonjs/components/MenuItemRadio/MenuItemRadio.types.js.map +1 -1
  176. package/lib-commonjs/components/MenuItemRadio/index.js.map +1 -1
  177. package/lib-commonjs/components/MenuItemRadio/renderMenuItemRadio.js +4 -4
  178. package/lib-commonjs/components/MenuItemRadio/renderMenuItemRadio.js.map +1 -1
  179. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadio.js.map +1 -1
  180. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadioStyles.js.map +1 -1
  181. package/lib-commonjs/components/MenuList/MenuList.js.map +1 -1
  182. package/lib-commonjs/components/MenuList/MenuList.types.d.ts +4 -4
  183. package/lib-commonjs/components/MenuList/MenuList.types.js.map +1 -1
  184. package/lib-commonjs/components/MenuList/index.d.ts +1 -1
  185. package/lib-commonjs/components/MenuList/index.js +0 -2
  186. package/lib-commonjs/components/MenuList/index.js.map +1 -1
  187. package/lib-commonjs/components/MenuList/renderMenuList.js.map +1 -1
  188. package/lib-commonjs/components/MenuList/useMenuList.js.map +1 -1
  189. package/lib-commonjs/components/MenuList/useMenuListContextValues.js.map +1 -1
  190. package/lib-commonjs/components/MenuList/useMenuListStyles.js.map +1 -1
  191. package/lib-commonjs/components/MenuPopover/MenuPopover.js.map +1 -1
  192. package/lib-commonjs/components/MenuPopover/MenuPopover.types.d.ts +2 -2
  193. package/lib-commonjs/components/MenuPopover/MenuPopover.types.js.map +1 -1
  194. package/lib-commonjs/components/MenuPopover/index.js.map +1 -1
  195. package/lib-commonjs/components/MenuPopover/renderMenuPopover.js.map +1 -1
  196. package/lib-commonjs/components/MenuPopover/useMenuPopover.js.map +1 -1
  197. package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.js.map +1 -1
  198. package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.js.map +1 -1
  199. package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.types.d.ts +4 -3
  200. package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.types.js.map +1 -1
  201. package/lib-commonjs/components/MenuSplitGroup/index.js.map +1 -1
  202. package/lib-commonjs/components/MenuSplitGroup/renderMenuSplitGroup.js.map +1 -1
  203. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroup.js.map +1 -1
  204. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroupStyles.js.map +1 -1
  205. package/lib-commonjs/components/MenuTrigger/MenuTrigger.d.ts +2 -1
  206. package/lib-commonjs/components/MenuTrigger/MenuTrigger.js +6 -5
  207. package/lib-commonjs/components/MenuTrigger/MenuTrigger.js.map +1 -1
  208. package/lib-commonjs/components/MenuTrigger/MenuTrigger.types.d.ts +3 -2
  209. package/lib-commonjs/components/MenuTrigger/MenuTrigger.types.js.map +1 -1
  210. package/lib-commonjs/components/MenuTrigger/index.js.map +1 -1
  211. package/lib-commonjs/components/MenuTrigger/renderMenuTrigger.js +1 -1
  212. package/lib-commonjs/components/MenuTrigger/renderMenuTrigger.js.map +1 -1
  213. package/lib-commonjs/components/MenuTrigger/useMenuTrigger.d.ts +2 -3
  214. package/lib-commonjs/components/MenuTrigger/useMenuTrigger.js +17 -26
  215. package/lib-commonjs/components/MenuTrigger/useMenuTrigger.js.map +1 -1
  216. package/lib-commonjs/components/index.js.map +1 -1
  217. package/lib-commonjs/contexts/menuContext.js.map +1 -1
  218. package/lib-commonjs/contexts/menuGroupContext.js.map +1 -1
  219. package/lib-commonjs/contexts/menuListContext.js.map +1 -1
  220. package/lib-commonjs/contexts/menuTriggerContext.js +1 -1
  221. package/lib-commonjs/contexts/menuTriggerContext.js.map +1 -1
  222. package/lib-commonjs/index.js.map +1 -1
  223. package/lib-commonjs/selectable/index.js.map +1 -1
  224. package/lib-commonjs/selectable/types.js.map +1 -1
  225. package/lib-commonjs/selectable/useCheckmarkStyles.d.ts +2 -2
  226. package/lib-commonjs/selectable/useCheckmarkStyles.js.map +1 -1
  227. package/lib-commonjs/utils/index.js.map +1 -1
  228. package/lib-commonjs/utils/useIsSubmenu.js.map +1 -1
  229. package/lib-commonjs/utils/useOnMenuEnter.js.map +1 -1
  230. package/package.json +10 -10
package/CHANGELOG.json CHANGED
@@ -2,17 +2,143 @@
2
2
  "name": "@fluentui/react-menu",
3
3
  "entries": [
4
4
  {
5
- "date": "Wed, 26 Jan 2022 04:16:47 GMT",
6
- "tag": "@fluentui/react-menu_v0.0.0-nightly0bc161458e20220126.1",
7
- "version": "0.0.0-nightly0bc161458e20220126.1",
5
+ "date": "Wed, 23 Feb 2022 04:16:23 GMT",
6
+ "tag": "@fluentui/react-menu_v0.0.0-nightly2170ed575f20220223.1",
7
+ "version": "0.0.0-nightly2170ed575f20220223.1",
8
8
  "comments": {
9
9
  "prerelease": [
10
10
  {
11
11
  "author": "email not defined",
12
12
  "package": "@fluentui/react-menu",
13
- "commit": "68e7ec86018b052c1f95cc84d4a0a2fbe361eb7c",
13
+ "commit": "d95e2014fb1257eac783ce505fc7a7652da408c2",
14
14
  "comment": "Release nightly v9"
15
15
  },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@fluentui/react-menu",
19
+ "comment": "Bump @fluentui/keyboard-keys to v0.0.0-nightly2170ed575f20220223.1",
20
+ "commit": "d95e2014fb1257eac783ce505fc7a7652da408c2"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@fluentui/react-menu",
25
+ "comment": "Bump @fluentui/react-context-selector to v0.0.0-nightly2170ed575f20220223.1",
26
+ "commit": "d95e2014fb1257eac783ce505fc7a7652da408c2"
27
+ },
28
+ {
29
+ "author": "beachball",
30
+ "package": "@fluentui/react-menu",
31
+ "comment": "Bump @fluentui/react-portal to v0.0.0-nightly2170ed575f20220223.1",
32
+ "commit": "d95e2014fb1257eac783ce505fc7a7652da408c2"
33
+ },
34
+ {
35
+ "author": "beachball",
36
+ "package": "@fluentui/react-menu",
37
+ "comment": "Bump @fluentui/react-positioning to v0.0.0-nightly2170ed575f20220223.1",
38
+ "commit": "d95e2014fb1257eac783ce505fc7a7652da408c2"
39
+ },
40
+ {
41
+ "author": "beachball",
42
+ "package": "@fluentui/react-menu",
43
+ "comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightly2170ed575f20220223.1",
44
+ "commit": "d95e2014fb1257eac783ce505fc7a7652da408c2"
45
+ },
46
+ {
47
+ "author": "beachball",
48
+ "package": "@fluentui/react-menu",
49
+ "comment": "Bump @fluentui/react-tabster to v0.0.0-nightly2170ed575f20220223.1",
50
+ "commit": "d95e2014fb1257eac783ce505fc7a7652da408c2"
51
+ },
52
+ {
53
+ "author": "beachball",
54
+ "package": "@fluentui/react-menu",
55
+ "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly2170ed575f20220223.1",
56
+ "commit": "d95e2014fb1257eac783ce505fc7a7652da408c2"
57
+ },
58
+ {
59
+ "author": "beachball",
60
+ "package": "@fluentui/react-menu",
61
+ "comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly2170ed575f20220223.1",
62
+ "commit": "d95e2014fb1257eac783ce505fc7a7652da408c2"
63
+ }
64
+ ]
65
+ }
66
+ },
67
+ {
68
+ "date": "Fri, 18 Feb 2022 13:35:33 GMT",
69
+ "tag": "@fluentui/react-menu_v9.0.0-rc.3",
70
+ "version": "9.0.0-rc.3",
71
+ "comments": {
72
+ "prerelease": [
73
+ {
74
+ "author": "lingfangao@hotmail.com",
75
+ "package": "@fluentui/react-menu",
76
+ "commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504",
77
+ "comment": "fix: MenuItem is a submenu trigger if it is wrapped by a MenuTrigger and in a submenu"
78
+ },
79
+ {
80
+ "author": "lingfangao@hotmail.com",
81
+ "package": "@fluentui/react-menu",
82
+ "commit": "1aa9e691fcccd9a64168cea7941c0f1e71fa1d14",
83
+ "comment": "fix: Source maps contain original source code"
84
+ },
85
+ {
86
+ "author": "beachball",
87
+ "package": "@fluentui/react-menu",
88
+ "comment": "Bump @fluentui/keyboard-keys to v9.0.0-rc.3",
89
+ "commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
90
+ },
91
+ {
92
+ "author": "beachball",
93
+ "package": "@fluentui/react-menu",
94
+ "comment": "Bump @fluentui/react-context-selector to v9.0.0-rc.3",
95
+ "commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
96
+ },
97
+ {
98
+ "author": "beachball",
99
+ "package": "@fluentui/react-menu",
100
+ "comment": "Bump @fluentui/react-portal to v9.0.0-rc.3",
101
+ "commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
102
+ },
103
+ {
104
+ "author": "beachball",
105
+ "package": "@fluentui/react-menu",
106
+ "comment": "Bump @fluentui/react-positioning to v9.0.0-rc.3",
107
+ "commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
108
+ },
109
+ {
110
+ "author": "beachball",
111
+ "package": "@fluentui/react-menu",
112
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.3",
113
+ "commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
114
+ },
115
+ {
116
+ "author": "beachball",
117
+ "package": "@fluentui/react-menu",
118
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-rc.3",
119
+ "commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
120
+ },
121
+ {
122
+ "author": "beachball",
123
+ "package": "@fluentui/react-menu",
124
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.3",
125
+ "commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
126
+ },
127
+ {
128
+ "author": "beachball",
129
+ "package": "@fluentui/react-menu",
130
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.3",
131
+ "commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
132
+ }
133
+ ]
134
+ }
135
+ },
136
+ {
137
+ "date": "Thu, 10 Feb 2022 08:51:30 GMT",
138
+ "tag": "@fluentui/react-menu_v9.0.0-rc.1",
139
+ "version": "9.0.0-rc.1",
140
+ "comments": {
141
+ "prerelease": [
16
142
  {
17
143
  "author": "lingfangao@hotmail.com",
18
144
  "package": "@fluentui/react-menu",
@@ -31,12 +157,24 @@
31
157
  "commit": "4f22b6dad04ea37eb53e4af23c73d2de4db512a2",
32
158
  "comment": "fix: MenuTrigger should work correctly when `aria-disabled=\"true\"`"
33
159
  },
160
+ {
161
+ "author": "olfedias@microsoft.com",
162
+ "package": "@fluentui/react-menu",
163
+ "commit": "b23239743c4f5518bcf7dcad496a36fc16bbd2e5",
164
+ "comment": "update @fluentui/react-icons package"
165
+ },
34
166
  {
35
167
  "author": "lingfangao@hotmail.com",
36
168
  "package": "@fluentui/react-menu",
37
169
  "commit": "d2eb57808a403b70845a732a62b55aa64d66b2a0",
38
170
  "comment": "Allow `MenuTrigger` to be wrapped by another trigger"
39
171
  },
172
+ {
173
+ "author": "olfedias@microsoft.com",
174
+ "package": "@fluentui/react-menu",
175
+ "commit": "aa6cfd8ac825b5a280206808101de549a91094fc",
176
+ "comment": "update types related to trigger (allow only React.ReactElement & null)"
177
+ },
40
178
  {
41
179
  "author": "behowell@microsoft.com",
42
180
  "package": "@fluentui/react-menu",
@@ -61,18 +199,42 @@
61
199
  "commit": "7e0933ed386742df28c416e6b3a6903a0c041f28",
62
200
  "comment": "update styles to not use CSS shorthands"
63
201
  },
202
+ {
203
+ "author": "behowell@microsoft.com",
204
+ "package": "@fluentui/react-menu",
205
+ "commit": "53b01d71e335715fda91b33e3d7bbd9d471d5ed3",
206
+ "comment": "Refactor component Slot typings"
207
+ },
64
208
  {
65
209
  "author": "lingfangao@hotmail.com",
66
210
  "package": "@fluentui/react-menu",
67
211
  "commit": "4121754498bba5137f769295e2b7a2899f557278",
68
212
  "comment": "fix: Call `useCheckmarkStyles` in `useMenuItemStyles`"
69
213
  },
214
+ {
215
+ "author": "Humberto.Morimoto@microsoft.com",
216
+ "package": "@fluentui/react-menu",
217
+ "commit": "e0b8e1fa6980077e7b311fd1c72c28d3e4305db0",
218
+ "comment": "Updating based on changes to composition types."
219
+ },
70
220
  {
71
221
  "author": "Humberto.Morimoto@microsoft.com",
72
222
  "package": "@fluentui/react-menu",
73
223
  "commit": "6c32d0180e89674a46daf795de69e5dc6ca71ef7",
74
224
  "comment": "Updating based on removal of functions from makeStyles."
75
225
  },
226
+ {
227
+ "author": "behowell@microsoft.com",
228
+ "package": "@fluentui/react-menu",
229
+ "commit": "f30e7585a8d2abd9db06c4076f39a779008b0eca",
230
+ "comment": "Update MenuTrigger and Tooltip to work together"
231
+ },
232
+ {
233
+ "author": "lingfangao@hotmail.com",
234
+ "package": "@fluentui/react-menu",
235
+ "commit": "c00913d50e2dd15bbfbb0757cefe43b192ff1d7f",
236
+ "comment": "Bump Fluent UI packages to 9.0.0-rc"
237
+ },
76
238
  {
77
239
  "author": "Humberto.Morimoto@microsoft.com",
78
240
  "package": "@fluentui/react-menu",
@@ -115,6 +277,12 @@
115
277
  "commit": "7cb2a5d8db1b6a1ddb638aa82d5815ab5ae84e69",
116
278
  "comment": "(fix): Update react-icons dependency to latest version"
117
279
  },
280
+ {
281
+ "author": "mgodbolt@microsoft.com",
282
+ "package": "@fluentui/react-menu",
283
+ "commit": "839ec14849e112b85aa321d034739ec421199141",
284
+ "comment": "remove export of commons types"
285
+ },
118
286
  {
119
287
  "author": "lingfangao@hotmail.com",
120
288
  "package": "@fluentui/react-menu",
@@ -124,50 +292,50 @@
124
292
  {
125
293
  "author": "beachball",
126
294
  "package": "@fluentui/react-menu",
127
- "comment": "Bump @fluentui/keyboard-keys to v0.0.0-nightly0bc161458e20220126.1",
128
- "commit": "68e7ec86018b052c1f95cc84d4a0a2fbe361eb7c"
295
+ "comment": "Bump @fluentui/keyboard-keys to v9.0.0-rc.1",
296
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
129
297
  },
130
298
  {
131
299
  "author": "beachball",
132
300
  "package": "@fluentui/react-menu",
133
- "comment": "Bump @fluentui/react-context-selector to v0.0.0-nightly0bc161458e20220126.1",
134
- "commit": "68e7ec86018b052c1f95cc84d4a0a2fbe361eb7c"
301
+ "comment": "Bump @fluentui/react-context-selector to v9.0.0-rc.1",
302
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
135
303
  },
136
304
  {
137
305
  "author": "beachball",
138
306
  "package": "@fluentui/react-menu",
139
- "comment": "Bump @fluentui/react-portal to v0.0.0-nightly0bc161458e20220126.1",
140
- "commit": "68e7ec86018b052c1f95cc84d4a0a2fbe361eb7c"
307
+ "comment": "Bump @fluentui/react-portal to v9.0.0-rc.1",
308
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
141
309
  },
142
310
  {
143
311
  "author": "beachball",
144
312
  "package": "@fluentui/react-menu",
145
- "comment": "Bump @fluentui/react-positioning to v0.0.0-nightly0bc161458e20220126.1",
146
- "commit": "68e7ec86018b052c1f95cc84d4a0a2fbe361eb7c"
313
+ "comment": "Bump @fluentui/react-positioning to v9.0.0-rc.1",
314
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
147
315
  },
148
316
  {
149
317
  "author": "beachball",
150
318
  "package": "@fluentui/react-menu",
151
- "comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightly0bc161458e20220126.1",
152
- "commit": "68e7ec86018b052c1f95cc84d4a0a2fbe361eb7c"
319
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.1",
320
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
153
321
  },
154
322
  {
155
323
  "author": "beachball",
156
324
  "package": "@fluentui/react-menu",
157
- "comment": "Bump @fluentui/react-tabster to v0.0.0-nightly0bc161458e20220126.1",
158
- "commit": "68e7ec86018b052c1f95cc84d4a0a2fbe361eb7c"
325
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-rc.1",
326
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
159
327
  },
160
328
  {
161
329
  "author": "beachball",
162
330
  "package": "@fluentui/react-menu",
163
- "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly0bc161458e20220126.1",
164
- "commit": "68e7ec86018b052c1f95cc84d4a0a2fbe361eb7c"
331
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.1",
332
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
165
333
  },
166
334
  {
167
335
  "author": "beachball",
168
336
  "package": "@fluentui/react-menu",
169
- "comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly0bc161458e20220126.1",
170
- "commit": "68e7ec86018b052c1f95cc84d4a0a2fbe361eb7c"
337
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.1",
338
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
171
339
  }
172
340
  ],
173
341
  "none": [
@@ -183,6 +351,12 @@
183
351
  "commit": "c061e98be4b4a718c72a144a1f60bb5515824612",
184
352
  "comment": "remove inline-style-expand-shorthand from tsconfigs"
185
353
  },
354
+ {
355
+ "author": "bsunderhus@microsoft.com",
356
+ "package": "@fluentui/react-menu",
357
+ "commit": "c0d4e63ee58e60e2c6674efbacc0783cd520984e",
358
+ "comment": "Updates components with nullRender changes"
359
+ },
186
360
  {
187
361
  "author": "elcraig@microsoft.com",
188
362
  "package": "@fluentui/react-menu",
package/CHANGELOG.md CHANGED
@@ -1,27 +1,67 @@
1
1
  # Change Log - @fluentui/react-menu
2
2
 
3
- This log was last generated on Wed, 26 Jan 2022 04:16:47 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 23 Feb 2022 04:16:23 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightly0bc161458e20220126.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v0.0.0-nightly0bc161458e20220126.1)
7
+ ## [0.0.0-nightly2170ed575f20220223.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v0.0.0-nightly2170ed575f20220223.1)
8
8
 
9
- Wed, 26 Jan 2022 04:16:47 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.5..@fluentui/react-menu_v0.0.0-nightly0bc161458e20220126.1)
9
+ Wed, 23 Feb 2022 04:16:23 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-rc.3..@fluentui/react-menu_v0.0.0-nightly2170ed575f20220223.1)
11
+
12
+ ### Changes
13
+
14
+ - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/d95e2014fb1257eac783ce505fc7a7652da408c2) by email not defined)
15
+ - Bump @fluentui/keyboard-keys to v0.0.0-nightly2170ed575f20220223.1 ([commit](https://github.com/microsoft/fluentui/commit/d95e2014fb1257eac783ce505fc7a7652da408c2) by beachball)
16
+ - Bump @fluentui/react-context-selector to v0.0.0-nightly2170ed575f20220223.1 ([commit](https://github.com/microsoft/fluentui/commit/d95e2014fb1257eac783ce505fc7a7652da408c2) by beachball)
17
+ - Bump @fluentui/react-portal to v0.0.0-nightly2170ed575f20220223.1 ([commit](https://github.com/microsoft/fluentui/commit/d95e2014fb1257eac783ce505fc7a7652da408c2) by beachball)
18
+ - Bump @fluentui/react-positioning to v0.0.0-nightly2170ed575f20220223.1 ([commit](https://github.com/microsoft/fluentui/commit/d95e2014fb1257eac783ce505fc7a7652da408c2) by beachball)
19
+ - Bump @fluentui/react-shared-contexts to v0.0.0-nightly2170ed575f20220223.1 ([commit](https://github.com/microsoft/fluentui/commit/d95e2014fb1257eac783ce505fc7a7652da408c2) by beachball)
20
+ - Bump @fluentui/react-tabster to v0.0.0-nightly2170ed575f20220223.1 ([commit](https://github.com/microsoft/fluentui/commit/d95e2014fb1257eac783ce505fc7a7652da408c2) by beachball)
21
+ - Bump @fluentui/react-utilities to v0.0.0-nightly2170ed575f20220223.1 ([commit](https://github.com/microsoft/fluentui/commit/d95e2014fb1257eac783ce505fc7a7652da408c2) by beachball)
22
+ - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly2170ed575f20220223.1 ([commit](https://github.com/microsoft/fluentui/commit/d95e2014fb1257eac783ce505fc7a7652da408c2) by beachball)
23
+
24
+ ## [9.0.0-rc.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-rc.3)
25
+
26
+ Fri, 18 Feb 2022 13:35:33 GMT
27
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-rc.1..@fluentui/react-menu_v9.0.0-rc.3)
28
+
29
+ ### Changes
30
+
31
+ - fix: MenuItem is a submenu trigger if it is wrapped by a MenuTrigger and in a submenu ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by lingfangao@hotmail.com)
32
+ - fix: Source maps contain original source code ([PR #21690](https://github.com/microsoft/fluentui/pull/21690) by lingfangao@hotmail.com)
33
+ - Bump @fluentui/keyboard-keys to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
34
+ - Bump @fluentui/react-context-selector to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
35
+ - Bump @fluentui/react-portal to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
36
+ - Bump @fluentui/react-positioning to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
37
+ - Bump @fluentui/react-shared-contexts to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
38
+ - Bump @fluentui/react-tabster to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
39
+ - Bump @fluentui/react-utilities to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
40
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
41
+
42
+ ## [9.0.0-rc.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-rc.1)
43
+
44
+ Thu, 10 Feb 2022 08:51:30 GMT
45
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.5..@fluentui/react-menu_v9.0.0-rc.1)
11
46
 
12
47
  ### Changes
13
48
 
14
- - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/68e7ec86018b052c1f95cc84d4a0a2fbe361eb7c) by email not defined)
15
49
  - fix: set `aria-expanded` and `aria-haspopup` values correctly ([PR #20957](https://github.com/microsoft/fluentui/pull/20957) by lingfangao@hotmail.com)
16
50
  - fix: Focus on first menu item on click ([PR #20955](https://github.com/microsoft/fluentui/pull/20955) by lingfangao@hotmail.com)
17
51
  - fix: MenuTrigger should work correctly when `aria-disabled="true"` ([PR #21349](https://github.com/microsoft/fluentui/pull/21349) by lingfangao@hotmail.com)
52
+ - update @fluentui/react-icons package ([PR #21498](https://github.com/microsoft/fluentui/pull/21498) by olfedias@microsoft.com)
18
53
  - Allow `MenuTrigger` to be wrapped by another trigger ([PR #21225](https://github.com/microsoft/fluentui/pull/21225) by lingfangao@hotmail.com)
54
+ - update types related to trigger (allow only React.ReactElement & null) ([PR #21609](https://github.com/microsoft/fluentui/pull/21609) by olfedias@microsoft.com)
19
55
  - BREAKING: Rename component hooks add the suffix _unstable, as their API has not been finalized yet ([PR #21365](https://github.com/microsoft/fluentui/pull/21365) by behowell@microsoft.com)
20
56
  - Updating packages based on changes to focusIndicator functions to remove functions from makeStyles in @fluentui/react-tabster. ([PR #21035](https://github.com/microsoft/fluentui/pull/21035) by Humberto.Morimoto@microsoft.com)
21
57
  - Remove component's shorthandProps array ([PR #21134](https://github.com/microsoft/fluentui/pull/21134) by behowell@microsoft.com)
22
58
  - update styles to not use CSS shorthands ([PR #20820](https://github.com/microsoft/fluentui/pull/20820) by olfedias@microsoft.com)
59
+ - Refactor component Slot typings ([PR #21518](https://github.com/microsoft/fluentui/pull/21518) by behowell@microsoft.com)
23
60
  - fix: Call `useCheckmarkStyles` in `useMenuItemStyles` ([PR #20956](https://github.com/microsoft/fluentui/pull/20956) by lingfangao@hotmail.com)
61
+ - Updating based on changes to composition types. ([PR #20891](https://github.com/microsoft/fluentui/pull/20891) by Humberto.Morimoto@microsoft.com)
24
62
  - Updating based on removal of functions from makeStyles. ([PR #21239](https://github.com/microsoft/fluentui/pull/21239) by Humberto.Morimoto@microsoft.com)
63
+ - Update MenuTrigger and Tooltip to work together ([PR #21495](https://github.com/microsoft/fluentui/pull/21495) by behowell@microsoft.com)
64
+ - Bump Fluent UI packages to 9.0.0-rc ([PR #21623](https://github.com/microsoft/fluentui/pull/21623) by lingfangao@hotmail.com)
25
65
  - Replacing use of functions in makeStyles with direct use of tokens. ([PR #21048](https://github.com/microsoft/fluentui/pull/21048) by Humberto.Morimoto@microsoft.com)
26
66
  - use Griffel packages ([PR #21391](https://github.com/microsoft/fluentui/pull/21391) by olfedias@microsoft.com)
27
67
  - Apply fontSize styling to icon slot ([PR #21222](https://github.com/microsoft/fluentui/pull/21222) by behowell@microsoft.com)
@@ -29,15 +69,16 @@ Wed, 26 Jan 2022 04:16:47 GMT
29
69
  - feat: implement `MenuSplitGroup` component for split menu items ([PR #21095](https://github.com/microsoft/fluentui/pull/21095) by lingfangao@hotmail.com)
30
70
  - Updating use of tokens.fontWeight now that we don't need to use casting. ([PR #21217](https://github.com/microsoft/fluentui/pull/21217) by Humberto.Morimoto@microsoft.com)
31
71
  - (fix): Update react-icons dependency to latest version ([PR #20943](https://github.com/microsoft/fluentui/pull/20943) by ololubek@microsoft.com)
72
+ - remove export of commons types ([PR #21660](https://github.com/microsoft/fluentui/pull/21660) by mgodbolt@microsoft.com)
32
73
  - breaking: MenuTrigger must be the first child of the `Menu` ([PR #21096](https://github.com/microsoft/fluentui/pull/21096) by lingfangao@hotmail.com)
33
- - Bump @fluentui/keyboard-keys to v0.0.0-nightly0bc161458e20220126.1 ([commit](https://github.com/microsoft/fluentui/commit/68e7ec86018b052c1f95cc84d4a0a2fbe361eb7c) by beachball)
34
- - Bump @fluentui/react-context-selector to v0.0.0-nightly0bc161458e20220126.1 ([commit](https://github.com/microsoft/fluentui/commit/68e7ec86018b052c1f95cc84d4a0a2fbe361eb7c) by beachball)
35
- - Bump @fluentui/react-portal to v0.0.0-nightly0bc161458e20220126.1 ([commit](https://github.com/microsoft/fluentui/commit/68e7ec86018b052c1f95cc84d4a0a2fbe361eb7c) by beachball)
36
- - Bump @fluentui/react-positioning to v0.0.0-nightly0bc161458e20220126.1 ([commit](https://github.com/microsoft/fluentui/commit/68e7ec86018b052c1f95cc84d4a0a2fbe361eb7c) by beachball)
37
- - Bump @fluentui/react-shared-contexts to v0.0.0-nightly0bc161458e20220126.1 ([commit](https://github.com/microsoft/fluentui/commit/68e7ec86018b052c1f95cc84d4a0a2fbe361eb7c) by beachball)
38
- - Bump @fluentui/react-tabster to v0.0.0-nightly0bc161458e20220126.1 ([commit](https://github.com/microsoft/fluentui/commit/68e7ec86018b052c1f95cc84d4a0a2fbe361eb7c) by beachball)
39
- - Bump @fluentui/react-utilities to v0.0.0-nightly0bc161458e20220126.1 ([commit](https://github.com/microsoft/fluentui/commit/68e7ec86018b052c1f95cc84d4a0a2fbe361eb7c) by beachball)
40
- - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly0bc161458e20220126.1 ([commit](https://github.com/microsoft/fluentui/commit/68e7ec86018b052c1f95cc84d4a0a2fbe361eb7c) by beachball)
74
+ - Bump @fluentui/keyboard-keys to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
75
+ - Bump @fluentui/react-context-selector to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
76
+ - Bump @fluentui/react-portal to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
77
+ - Bump @fluentui/react-positioning to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
78
+ - Bump @fluentui/react-shared-contexts to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
79
+ - Bump @fluentui/react-tabster to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
80
+ - Bump @fluentui/react-utilities to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
81
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
41
82
 
42
83
  ## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-beta.5)
43
84
 
@@ -2,10 +2,11 @@ import { ComponentProps } from '@fluentui/react-utilities';
2
2
  import { ComponentState } from '@fluentui/react-utilities';
3
3
  import type { Context } from '@fluentui/react-context-selector';
4
4
  import type { ContextSelector } from '@fluentui/react-context-selector';
5
+ import type { FluentTriggerComponent } from '@fluentui/react-utilities';
5
6
  import type { ForwardRefComponent } from '@fluentui/react-utilities';
6
- import { IntrinsicShorthandProps } from '@fluentui/react-utilities';
7
7
  import { PositioningShorthand } from '@fluentui/react-positioning';
8
8
  import * as React_2 from 'react';
9
+ import type { Slot } from '@fluentui/react-utilities';
9
10
  import { usePopperMouseTarget } from '@fluentui/react-positioning';
10
11
 
11
12
  /**
@@ -82,7 +83,7 @@ export declare const menuDividerClassName = "fui-MenuDivider";
82
83
  export declare type MenuDividerProps = ComponentProps<MenuDividerSlots>;
83
84
 
84
85
  export declare type MenuDividerSlots = {
85
- root: IntrinsicShorthandProps<'div'>;
86
+ root: Slot<'div'>;
86
87
  };
87
88
 
88
89
  export declare type MenuDividerState = ComponentState<MenuDividerSlots>;
@@ -121,7 +122,7 @@ export declare const menuGroupHeaderClassName = "fui-MenuGroupHeader";
121
122
  export declare type MenuGroupHeaderProps = ComponentProps<MenuGroupHeaderSlots>;
122
123
 
123
124
  export declare type MenuGroupHeaderSlots = {
124
- root: IntrinsicShorthandProps<'div'>;
125
+ root: Slot<'div'>;
125
126
  };
126
127
 
127
128
  export declare type MenuGroupHeaderState = ComponentState<MenuGroupHeaderSlots>;
@@ -129,7 +130,7 @@ export declare type MenuGroupHeaderState = ComponentState<MenuGroupHeaderSlots>;
129
130
  export declare type MenuGroupProps = ComponentProps<MenuGroupSlots>;
130
131
 
131
132
  export declare type MenuGroupSlots = {
132
- root: IntrinsicShorthandProps<'div'>;
133
+ root: Slot<'div'>;
133
134
  };
134
135
 
135
136
  export declare type MenuGroupState = ComponentState<MenuGroupSlots> & {
@@ -220,29 +221,29 @@ export declare type MenuItemSelectableState = MenuItemSelectableProps & {
220
221
  };
221
222
 
222
223
  export declare type MenuItemSlots = {
223
- root: IntrinsicShorthandProps<'div'>;
224
+ root: Slot<'div'>;
224
225
  /**
225
226
  * Icon slot rendered before children content
226
227
  */
227
- icon?: IntrinsicShorthandProps<'span'>;
228
+ icon?: Slot<'span'>;
228
229
  /**
229
230
  * A helper slot for alignment when a menu item is used with selectable menuitems
230
231
  * Avoid using this slot as a replacement for MenuItemCheckbox and MenuItemRadio components
231
232
  */
232
- checkmark?: IntrinsicShorthandProps<'span'>;
233
+ checkmark?: Slot<'span'>;
233
234
  /**
234
235
  * Icon slot that shows the indicator for a submenu
235
236
  */
236
- submenuIndicator?: IntrinsicShorthandProps<'span'>;
237
+ submenuIndicator?: Slot<'span'>;
237
238
  /**
238
239
  * Component children are placed in this slot
239
240
  * Avoid using the `children` property in this slot in favour of Component children whenever possible
240
241
  */
241
- content?: IntrinsicShorthandProps<'span'>;
242
+ content?: Slot<'span'>;
242
243
  /**
243
244
  * Secondary content rendered opposite the primary content (e.g Shortcut text)
244
245
  */
245
- secondaryContent?: IntrinsicShorthandProps<'span'>;
246
+ secondaryContent?: Slot<'span'>;
246
247
  };
247
248
 
248
249
  export declare type MenuItemState = ComponentState<MenuItemSlots> & MenuItemCommons;
@@ -254,7 +255,7 @@ export declare const MenuList: ForwardRefComponent<MenuListProps>;
254
255
 
255
256
  export declare const menuListClassName = "fui-MenuList";
256
257
 
257
- export declare type MenuListCommons = {
258
+ declare type MenuListCommons = {
258
259
  /**
259
260
  * Callback when checked items change for value with a name
260
261
  *
@@ -300,7 +301,7 @@ export declare type MenuListProps = ComponentProps<MenuListSlots> & Partial<Menu
300
301
  export declare const MenuListProvider: React_2.Provider<MenuListContextValue> & React_2.FC<React_2.ProviderProps<MenuListContextValue>>;
301
302
 
302
303
  export declare type MenuListSlots = {
303
- root: IntrinsicShorthandProps<'div'>;
304
+ root: Slot<'div'>;
304
305
  };
305
306
 
306
307
  export declare type MenuListState = ComponentState<MenuListSlots> & MenuListCommons & {
@@ -348,7 +349,7 @@ export declare const menuPopoverClassName = "fui-MenuPopover";
348
349
  export declare type MenuPopoverProps = ComponentProps<MenuPopoverSlots>;
349
350
 
350
351
  export declare type MenuPopoverSlots = {
351
- root: IntrinsicShorthandProps<'div'>;
352
+ root: Slot<'div'>;
352
353
  };
353
354
 
354
355
  /**
@@ -388,7 +389,7 @@ export declare const MenuSplitGroup: ForwardRefComponent<MenuSplitGroupProps>;
388
389
 
389
390
  export declare const menuSplitGroupClassName = "fui-MenuSplitGroup";
390
391
 
391
- export declare type MenuSplitGroupCommons = {};
392
+ declare type MenuSplitGroupCommons = {};
392
393
 
393
394
  /**
394
395
  * MenuSplitGroup Props
@@ -396,7 +397,7 @@ export declare type MenuSplitGroupCommons = {};
396
397
  export declare type MenuSplitGroupProps = ComponentProps<MenuSplitGroupSlots> & MenuSplitGroupCommons;
397
398
 
398
399
  export declare type MenuSplitGroupSlots = {
399
- root: IntrinsicShorthandProps<'div'>;
400
+ root: Slot<'div'>;
400
401
  };
401
402
 
402
403
  /**
@@ -447,7 +448,7 @@ export declare type MenuState = MenuCommons & ComponentState<MenuSlots> & {
447
448
  * Wraps a trigger element as an only child
448
449
  * and adds the necessary event handling to open a popup menu
449
450
  */
450
- export declare const MenuTrigger: React_2.ForwardRefExoticComponent<MenuTriggerProps & React_2.RefAttributes<HTMLElement>>;
451
+ export declare const MenuTrigger: React_2.FC<MenuTriggerProps> & FluentTriggerComponent;
451
452
 
452
453
  /**
453
454
  * Props that are passed to the child of the MenuTrigger when cloned to ensure correct behaviour for the Menu
@@ -465,11 +466,12 @@ export declare type MenuTriggerProps = {
465
466
  */
466
467
  children: (React_2.ReactElement & {
467
468
  ref?: React_2.Ref<unknown>;
468
- }) | ((props: MenuTriggerChildProps) => React_2.ReactNode);
469
+ }) | ((props: MenuTriggerChildProps) => React_2.ReactElement | null);
469
470
  };
470
471
 
471
472
  export declare type MenuTriggerState = {
472
- children: React_2.ReactNode;
473
+ children: React_2.ReactElement | null;
474
+ isSubmenu: boolean;
473
475
  };
474
476
 
475
477
  /**
@@ -540,7 +542,7 @@ export declare type UninitializedMenuListState = Omit<MenuListState, 'setFocusBy
540
542
  *
541
543
  * @param state - should contain a `checkmark` slot
542
544
  */
543
- export declare const useCheckmarkStyles_unstable: (state: MenuItemSelectableState & Pick<MenuItemSlots, 'checkmark'>) => void;
545
+ export declare const useCheckmarkStyles_unstable: (state: MenuItemSelectableState & Pick<MenuItemState, 'checkmark'>) => void;
544
546
 
545
547
  /**
546
548
  * Create the state required to render Menu.
@@ -653,7 +655,7 @@ export declare const useMenuSplitGroupStyles_unstable: (state: MenuSplitGroupSta
653
655
  *
654
656
  * @param props - props from this instance of MenuTrigger
655
657
  */
656
- export declare const useMenuTrigger_unstable: (props: MenuTriggerProps, ref: React_2.Ref<HTMLElement>) => MenuTriggerState;
658
+ export declare const useMenuTrigger_unstable: (props: MenuTriggerProps) => MenuTriggerState;
657
659
 
658
660
  export declare const useMenuTriggerContext_unstable: () => boolean;
659
661
 
package/lib/Menu.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Menu.js","sourceRoot":"","sources":["../src/Menu.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
1
+ {"version":3,"file":"Menu.js","sourceRoot":"../src/","sources":["Menu.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC","sourcesContent":["export * from './components/Menu/index';\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"MenuDivider.js","sourceRoot":"","sources":["../src/MenuDivider.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC"}
1
+ {"version":3,"file":"MenuDivider.js","sourceRoot":"../src/","sources":["MenuDivider.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC","sourcesContent":["export * from './components/MenuDivider/index';\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"MenuGroup.js","sourceRoot":"","sources":["../src/MenuGroup.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC"}
1
+ {"version":3,"file":"MenuGroup.js","sourceRoot":"../src/","sources":["MenuGroup.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC","sourcesContent":["export * from './components/MenuGroup/index';\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"MenuGroupHeader.js","sourceRoot":"","sources":["../src/MenuGroupHeader.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAC"}
1
+ {"version":3,"file":"MenuGroupHeader.js","sourceRoot":"../src/","sources":["MenuGroupHeader.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAC","sourcesContent":["export * from './components/MenuGroupHeader/index';\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"MenuItem.js","sourceRoot":"","sources":["../src/MenuItem.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}
1
+ {"version":3,"file":"MenuItem.js","sourceRoot":"../src/","sources":["MenuItem.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC","sourcesContent":["export * from './components/MenuItem/index';\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"MenuItemCheckbox.js","sourceRoot":"","sources":["../src/MenuItemCheckbox.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC"}
1
+ {"version":3,"file":"MenuItemCheckbox.js","sourceRoot":"../src/","sources":["MenuItemCheckbox.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC","sourcesContent":["export * from './components/MenuItemCheckbox/index';\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"MenuItemRadio.js","sourceRoot":"","sources":["../src/MenuItemRadio.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC"}
1
+ {"version":3,"file":"MenuItemRadio.js","sourceRoot":"../src/","sources":["MenuItemRadio.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC","sourcesContent":["export * from './components/MenuItemRadio/index';\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"MenuList.js","sourceRoot":"","sources":["../src/MenuList.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}
1
+ {"version":3,"file":"MenuList.js","sourceRoot":"../src/","sources":["MenuList.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC","sourcesContent":["export * from './components/MenuList/index';\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"MenuPopover.js","sourceRoot":"","sources":["../src/MenuPopover.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC"}
1
+ {"version":3,"file":"MenuPopover.js","sourceRoot":"../src/","sources":["MenuPopover.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC","sourcesContent":["export * from './components/MenuPopover/index';\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"MenuSplitGroup.js","sourceRoot":"","sources":["../src/MenuSplitGroup.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC"}
1
+ {"version":3,"file":"MenuSplitGroup.js","sourceRoot":"../src/","sources":["MenuSplitGroup.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC","sourcesContent":["export * from './components/MenuSplitGroup/index';\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"MenuTrigger.js","sourceRoot":"","sources":["../src/MenuTrigger.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC"}
1
+ {"version":3,"file":"MenuTrigger.js","sourceRoot":"../src/","sources":["MenuTrigger.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC","sourcesContent":["export * from './components/MenuTrigger/index';\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Menu/Menu.tsx"],"names":[],"mappings":"AACA,SAAS,gBAAT,QAAiC,WAAjC;AACA,SAAS,6BAAT,QAA8C,wBAA9C;AACA,SAAS,mBAAT,QAAoC,cAApC;AAGA;;AAEG;;AACH,OAAO,MAAM,IAAI,GAAwB,KAAK,IAAG;AAC/C,QAAM,KAAK,GAAG,gBAAgB,CAAC,KAAD,CAA9B;AACA,QAAM,aAAa,GAAG,6BAA6B,CAAC,KAAD,CAAnD;AAEA,SAAO,mBAAmB,CAAC,KAAD,EAAQ,aAAR,CAA1B;AACD,CALM;AAOP,IAAI,CAAC,WAAL,GAAmB,MAAnB","sourceRoot":""}
1
+ {"version":3,"sources":["components/Menu/Menu.tsx"],"names":[],"mappings":"AACA,SAAS,gBAAT,QAAiC,WAAjC;AACA,SAAS,6BAAT,QAA8C,wBAA9C;AACA,SAAS,mBAAT,QAAoC,cAApC;AAGA;;AAEG;;AACH,OAAO,MAAM,IAAI,GAAwB,KAAK,IAAG;AAC/C,QAAM,KAAK,GAAG,gBAAgB,CAAC,KAAD,CAA9B;AACA,QAAM,aAAa,GAAG,6BAA6B,CAAC,KAAD,CAAnD;AAEA,SAAO,mBAAmB,CAAC,KAAD,EAAQ,aAAR,CAA1B;AACD,CALM;AAOP,IAAI,CAAC,WAAL,GAAmB,MAAnB","sourcesContent":["import * as React from 'react';\nimport { useMenu_unstable } from './useMenu';\nimport { useMenuContextValues_unstable } from './useMenuContextValues';\nimport { renderMenu_unstable } from './renderMenu';\nimport type { MenuProps } from './Menu.types';\n\n/**\n * Wrapper component that manages state for a popup MenuList and a MenuTrigger\n */\nexport const Menu: React.FC<MenuProps> = props => {\n const state = useMenu_unstable(props);\n const contextValues = useMenuContextValues_unstable(state);\n\n return renderMenu_unstable(state, contextValues);\n};\n\nMenu.displayName = 'Menu';\n"],"sourceRoot":"../src/"}