@fluentui/react-menu 0.0.0-nightlyd514b3e0ee20220121.1 → 0.0.0-nightlyd80c90385320220216.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (330) hide show
  1. package/CHANGELOG.json +137 -38
  2. package/CHANGELOG.md +38 -16
  3. package/dist/react-menu.d.ts +70 -69
  4. package/lib/components/Menu/Menu.js +6 -6
  5. package/lib/components/Menu/Menu.js.map +1 -1
  6. package/lib/components/Menu/Menu.types.d.ts +1 -1
  7. package/lib/components/Menu/renderMenu.d.ts +1 -1
  8. package/lib/components/Menu/renderMenu.js +1 -1
  9. package/lib/components/Menu/renderMenu.js.map +1 -1
  10. package/lib/components/Menu/useMenu.d.ts +2 -2
  11. package/lib/components/Menu/useMenu.js +4 -4
  12. package/lib/components/Menu/useMenu.js.map +1 -1
  13. package/lib/components/Menu/useMenuContextValues.d.ts +1 -1
  14. package/lib/components/Menu/useMenuContextValues.js +1 -1
  15. package/lib/components/Menu/useMenuContextValues.js.map +1 -1
  16. package/lib/components/MenuDivider/MenuDivider.d.ts +1 -1
  17. package/lib/components/MenuDivider/MenuDivider.js +7 -7
  18. package/lib/components/MenuDivider/MenuDivider.js.map +1 -1
  19. package/lib/components/MenuDivider/MenuDivider.types.d.ts +2 -2
  20. package/lib/components/MenuDivider/renderMenuDivider.d.ts +1 -1
  21. package/lib/components/MenuDivider/renderMenuDivider.js +1 -1
  22. package/lib/components/MenuDivider/renderMenuDivider.js.map +1 -1
  23. package/lib/components/MenuDivider/useMenuDivider.d.ts +1 -1
  24. package/lib/components/MenuDivider/useMenuDivider.js +1 -1
  25. package/lib/components/MenuDivider/useMenuDivider.js.map +1 -1
  26. package/lib/components/MenuDivider/useMenuDividerStyles.d.ts +1 -1
  27. package/lib/components/MenuDivider/useMenuDividerStyles.js +2 -2
  28. package/lib/components/MenuDivider/useMenuDividerStyles.js.map +1 -1
  29. package/lib/components/MenuGroup/MenuGroup.d.ts +1 -1
  30. package/lib/components/MenuGroup/MenuGroup.js +9 -9
  31. package/lib/components/MenuGroup/MenuGroup.js.map +1 -1
  32. package/lib/components/MenuGroup/MenuGroup.types.d.ts +3 -3
  33. package/lib/components/MenuGroup/renderMenuGroup.d.ts +1 -1
  34. package/lib/components/MenuGroup/renderMenuGroup.js +1 -1
  35. package/lib/components/MenuGroup/renderMenuGroup.js.map +1 -1
  36. package/lib/components/MenuGroup/useMenuGroup.d.ts +1 -1
  37. package/lib/components/MenuGroup/useMenuGroup.js +1 -1
  38. package/lib/components/MenuGroup/useMenuGroup.js.map +1 -1
  39. package/lib/components/MenuGroup/useMenuGroupContextValues.d.ts +1 -1
  40. package/lib/components/MenuGroup/useMenuGroupContextValues.js +1 -1
  41. package/lib/components/MenuGroup/useMenuGroupContextValues.js.map +1 -1
  42. package/lib/components/MenuGroup/useMenuGroupStyles.d.ts +1 -1
  43. package/lib/components/MenuGroup/useMenuGroupStyles.js +2 -2
  44. package/lib/components/MenuGroup/useMenuGroupStyles.js.map +1 -1
  45. package/lib/components/MenuGroupHeader/MenuGroupHeader.d.ts +1 -1
  46. package/lib/components/MenuGroupHeader/MenuGroupHeader.js +7 -7
  47. package/lib/components/MenuGroupHeader/MenuGroupHeader.js.map +1 -1
  48. package/lib/components/MenuGroupHeader/MenuGroupHeader.types.d.ts +2 -2
  49. package/lib/components/MenuGroupHeader/renderMenuGroupHeader.d.ts +1 -1
  50. package/lib/components/MenuGroupHeader/renderMenuGroupHeader.js +1 -1
  51. package/lib/components/MenuGroupHeader/renderMenuGroupHeader.js.map +1 -1
  52. package/lib/components/MenuGroupHeader/useMenuGroupHeader.d.ts +1 -1
  53. package/lib/components/MenuGroupHeader/useMenuGroupHeader.js +3 -3
  54. package/lib/components/MenuGroupHeader/useMenuGroupHeader.js.map +1 -1
  55. package/lib/components/MenuGroupHeader/useMenuGroupHeaderStyles.d.ts +1 -1
  56. package/lib/components/MenuGroupHeader/useMenuGroupHeaderStyles.js +2 -2
  57. package/lib/components/MenuGroupHeader/useMenuGroupHeaderStyles.js.map +1 -1
  58. package/lib/components/MenuItem/MenuItem.d.ts +1 -1
  59. package/lib/components/MenuItem/MenuItem.js +7 -7
  60. package/lib/components/MenuItem/MenuItem.js.map +1 -1
  61. package/lib/components/MenuItem/MenuItem.types.d.ts +7 -7
  62. package/lib/components/MenuItem/renderMenuItem.d.ts +1 -1
  63. package/lib/components/MenuItem/renderMenuItem.js +6 -6
  64. package/lib/components/MenuItem/renderMenuItem.js.map +1 -1
  65. package/lib/components/MenuItem/useCharacterSearch.js +2 -2
  66. package/lib/components/MenuItem/useCharacterSearch.js.map +1 -1
  67. package/lib/components/MenuItem/useMenuItem.d.ts +1 -1
  68. package/lib/components/MenuItem/useMenuItem.js +9 -9
  69. package/lib/components/MenuItem/useMenuItem.js.map +1 -1
  70. package/lib/components/MenuItem/useMenuItemStyles.d.ts +1 -1
  71. package/lib/components/MenuItem/useMenuItemStyles.js +4 -4
  72. package/lib/components/MenuItem/useMenuItemStyles.js.map +1 -1
  73. package/lib/components/MenuItemCheckbox/MenuItemCheckbox.d.ts +1 -1
  74. package/lib/components/MenuItemCheckbox/MenuItemCheckbox.js +7 -7
  75. package/lib/components/MenuItemCheckbox/MenuItemCheckbox.js.map +1 -1
  76. package/lib/components/MenuItemCheckbox/renderMenuItemCheckbox.d.ts +1 -1
  77. package/lib/components/MenuItemCheckbox/renderMenuItemCheckbox.js +5 -5
  78. package/lib/components/MenuItemCheckbox/renderMenuItemCheckbox.js.map +1 -1
  79. package/lib/components/MenuItemCheckbox/useMenuItemCheckbox.d.ts +1 -1
  80. package/lib/components/MenuItemCheckbox/useMenuItemCheckbox.js +6 -6
  81. package/lib/components/MenuItemCheckbox/useMenuItemCheckbox.js.map +1 -1
  82. package/lib/components/MenuItemCheckbox/useMenuItemCheckboxStyles.d.ts +1 -1
  83. package/lib/components/MenuItemCheckbox/useMenuItemCheckboxStyles.js +6 -6
  84. package/lib/components/MenuItemCheckbox/useMenuItemCheckboxStyles.js.map +1 -1
  85. package/lib/components/MenuItemRadio/MenuItemRadio.d.ts +1 -1
  86. package/lib/components/MenuItemRadio/MenuItemRadio.js +7 -7
  87. package/lib/components/MenuItemRadio/MenuItemRadio.js.map +1 -1
  88. package/lib/components/MenuItemRadio/renderMenuItemRadio.d.ts +1 -1
  89. package/lib/components/MenuItemRadio/renderMenuItemRadio.js +5 -5
  90. package/lib/components/MenuItemRadio/renderMenuItemRadio.js.map +1 -1
  91. package/lib/components/MenuItemRadio/useMenuItemRadio.d.ts +1 -1
  92. package/lib/components/MenuItemRadio/useMenuItemRadio.js +6 -6
  93. package/lib/components/MenuItemRadio/useMenuItemRadio.js.map +1 -1
  94. package/lib/components/MenuItemRadio/useMenuItemRadioStyles.d.ts +1 -1
  95. package/lib/components/MenuItemRadio/useMenuItemRadioStyles.js +6 -6
  96. package/lib/components/MenuItemRadio/useMenuItemRadioStyles.js.map +1 -1
  97. package/lib/components/MenuList/MenuList.d.ts +1 -1
  98. package/lib/components/MenuList/MenuList.js +9 -9
  99. package/lib/components/MenuList/MenuList.js.map +1 -1
  100. package/lib/components/MenuList/MenuList.types.d.ts +4 -4
  101. package/lib/components/MenuList/index.d.ts +1 -1
  102. package/lib/components/MenuList/index.js +0 -1
  103. package/lib/components/MenuList/index.js.map +1 -1
  104. package/lib/components/MenuList/renderMenuList.d.ts +1 -1
  105. package/lib/components/MenuList/renderMenuList.js +1 -1
  106. package/lib/components/MenuList/renderMenuList.js.map +1 -1
  107. package/lib/components/MenuList/useMenuList.d.ts +1 -1
  108. package/lib/components/MenuList/useMenuList.js +8 -8
  109. package/lib/components/MenuList/useMenuList.js.map +1 -1
  110. package/lib/components/MenuList/useMenuListContextValues.d.ts +1 -1
  111. package/lib/components/MenuList/useMenuListContextValues.js +1 -1
  112. package/lib/components/MenuList/useMenuListContextValues.js.map +1 -1
  113. package/lib/components/MenuList/useMenuListStyles.d.ts +1 -1
  114. package/lib/components/MenuList/useMenuListStyles.js +2 -2
  115. package/lib/components/MenuList/useMenuListStyles.js.map +1 -1
  116. package/lib/components/MenuPopover/MenuPopover.js +6 -6
  117. package/lib/components/MenuPopover/MenuPopover.js.map +1 -1
  118. package/lib/components/MenuPopover/MenuPopover.types.d.ts +2 -2
  119. package/lib/components/MenuPopover/renderMenuPopover.d.ts +1 -1
  120. package/lib/components/MenuPopover/renderMenuPopover.js +1 -1
  121. package/lib/components/MenuPopover/renderMenuPopover.js.map +1 -1
  122. package/lib/components/MenuPopover/useMenuPopover.d.ts +3 -3
  123. package/lib/components/MenuPopover/useMenuPopover.js +8 -8
  124. package/lib/components/MenuPopover/useMenuPopover.js.map +1 -1
  125. package/lib/components/MenuPopover/useMenuPopoverStyles.d.ts +1 -1
  126. package/lib/components/MenuPopover/useMenuPopoverStyles.js +2 -2
  127. package/lib/components/MenuPopover/useMenuPopoverStyles.js.map +1 -1
  128. package/lib/components/MenuSplitGroup/MenuSplitGroup.js +6 -6
  129. package/lib/components/MenuSplitGroup/MenuSplitGroup.js.map +1 -1
  130. package/lib/components/MenuSplitGroup/MenuSplitGroup.types.d.ts +4 -3
  131. package/lib/components/MenuSplitGroup/renderMenuSplitGroup.d.ts +1 -1
  132. package/lib/components/MenuSplitGroup/renderMenuSplitGroup.js +1 -1
  133. package/lib/components/MenuSplitGroup/renderMenuSplitGroup.js.map +1 -1
  134. package/lib/components/MenuSplitGroup/useMenuSplitGroup.d.ts +3 -3
  135. package/lib/components/MenuSplitGroup/useMenuSplitGroup.js +3 -3
  136. package/lib/components/MenuSplitGroup/useMenuSplitGroup.js.map +1 -1
  137. package/lib/components/MenuSplitGroup/useMenuSplitGroupStyles.d.ts +1 -1
  138. package/lib/components/MenuSplitGroup/useMenuSplitGroupStyles.js +2 -2
  139. package/lib/components/MenuSplitGroup/useMenuSplitGroupStyles.js.map +1 -1
  140. package/lib/components/MenuTrigger/MenuTrigger.d.ts +2 -1
  141. package/lib/components/MenuTrigger/MenuTrigger.js +7 -7
  142. package/lib/components/MenuTrigger/MenuTrigger.js.map +1 -1
  143. package/lib/components/MenuTrigger/MenuTrigger.types.d.ts +2 -2
  144. package/lib/components/MenuTrigger/renderMenuTrigger.d.ts +1 -1
  145. package/lib/components/MenuTrigger/renderMenuTrigger.js +1 -1
  146. package/lib/components/MenuTrigger/renderMenuTrigger.js.map +1 -1
  147. package/lib/components/MenuTrigger/useMenuTrigger.d.ts +2 -3
  148. package/lib/components/MenuTrigger/useMenuTrigger.js +25 -35
  149. package/lib/components/MenuTrigger/useMenuTrigger.js.map +1 -1
  150. package/lib/contexts/menuContext.d.ts +1 -1
  151. package/lib/contexts/menuContext.js +1 -1
  152. package/lib/contexts/menuContext.js.map +1 -1
  153. package/lib/contexts/menuGroupContext.d.ts +1 -1
  154. package/lib/contexts/menuGroupContext.js +1 -1
  155. package/lib/contexts/menuGroupContext.js.map +1 -1
  156. package/lib/contexts/menuListContext.d.ts +1 -1
  157. package/lib/contexts/menuListContext.js +1 -1
  158. package/lib/contexts/menuListContext.js.map +1 -1
  159. package/lib/contexts/menuTriggerContext.d.ts +1 -1
  160. package/lib/contexts/menuTriggerContext.js +1 -1
  161. package/lib/contexts/menuTriggerContext.js.map +1 -1
  162. package/lib/selectable/useCheckmarkStyles.d.ts +2 -2
  163. package/lib/selectable/useCheckmarkStyles.js +2 -2
  164. package/lib/selectable/useCheckmarkStyles.js.map +1 -1
  165. package/lib/utils/useIsSubmenu.js +2 -2
  166. package/lib/utils/useIsSubmenu.js.map +1 -1
  167. package/lib-commonjs/components/Menu/Menu.js +3 -3
  168. package/lib-commonjs/components/Menu/Menu.js.map +1 -1
  169. package/lib-commonjs/components/Menu/Menu.types.d.ts +1 -1
  170. package/lib-commonjs/components/Menu/renderMenu.d.ts +1 -1
  171. package/lib-commonjs/components/Menu/renderMenu.js +3 -3
  172. package/lib-commonjs/components/Menu/renderMenu.js.map +1 -1
  173. package/lib-commonjs/components/Menu/useMenu.d.ts +2 -2
  174. package/lib-commonjs/components/Menu/useMenu.js +5 -5
  175. package/lib-commonjs/components/Menu/useMenu.js.map +1 -1
  176. package/lib-commonjs/components/Menu/useMenuContextValues.d.ts +1 -1
  177. package/lib-commonjs/components/Menu/useMenuContextValues.js +3 -3
  178. package/lib-commonjs/components/Menu/useMenuContextValues.js.map +1 -1
  179. package/lib-commonjs/components/MenuDivider/MenuDivider.d.ts +1 -1
  180. package/lib-commonjs/components/MenuDivider/MenuDivider.js +4 -4
  181. package/lib-commonjs/components/MenuDivider/MenuDivider.js.map +1 -1
  182. package/lib-commonjs/components/MenuDivider/MenuDivider.types.d.ts +2 -2
  183. package/lib-commonjs/components/MenuDivider/renderMenuDivider.d.ts +1 -1
  184. package/lib-commonjs/components/MenuDivider/renderMenuDivider.js +3 -3
  185. package/lib-commonjs/components/MenuDivider/renderMenuDivider.js.map +1 -1
  186. package/lib-commonjs/components/MenuDivider/useMenuDivider.d.ts +1 -1
  187. package/lib-commonjs/components/MenuDivider/useMenuDivider.js +3 -3
  188. package/lib-commonjs/components/MenuDivider/useMenuDivider.js.map +1 -1
  189. package/lib-commonjs/components/MenuDivider/useMenuDividerStyles.d.ts +1 -1
  190. package/lib-commonjs/components/MenuDivider/useMenuDividerStyles.js +6 -6
  191. package/lib-commonjs/components/MenuDivider/useMenuDividerStyles.js.map +1 -1
  192. package/lib-commonjs/components/MenuGroup/MenuGroup.d.ts +1 -1
  193. package/lib-commonjs/components/MenuGroup/MenuGroup.js +5 -5
  194. package/lib-commonjs/components/MenuGroup/MenuGroup.js.map +1 -1
  195. package/lib-commonjs/components/MenuGroup/MenuGroup.types.d.ts +3 -3
  196. package/lib-commonjs/components/MenuGroup/renderMenuGroup.d.ts +1 -1
  197. package/lib-commonjs/components/MenuGroup/renderMenuGroup.js +3 -3
  198. package/lib-commonjs/components/MenuGroup/renderMenuGroup.js.map +1 -1
  199. package/lib-commonjs/components/MenuGroup/useMenuGroup.d.ts +1 -1
  200. package/lib-commonjs/components/MenuGroup/useMenuGroup.js +3 -3
  201. package/lib-commonjs/components/MenuGroup/useMenuGroup.js.map +1 -1
  202. package/lib-commonjs/components/MenuGroup/useMenuGroupContextValues.d.ts +1 -1
  203. package/lib-commonjs/components/MenuGroup/useMenuGroupContextValues.js +3 -3
  204. package/lib-commonjs/components/MenuGroup/useMenuGroupContextValues.js.map +1 -1
  205. package/lib-commonjs/components/MenuGroup/useMenuGroupStyles.d.ts +1 -1
  206. package/lib-commonjs/components/MenuGroup/useMenuGroupStyles.js +5 -5
  207. package/lib-commonjs/components/MenuGroup/useMenuGroupStyles.js.map +1 -1
  208. package/lib-commonjs/components/MenuGroupHeader/MenuGroupHeader.d.ts +1 -1
  209. package/lib-commonjs/components/MenuGroupHeader/MenuGroupHeader.js +4 -4
  210. package/lib-commonjs/components/MenuGroupHeader/MenuGroupHeader.js.map +1 -1
  211. package/lib-commonjs/components/MenuGroupHeader/MenuGroupHeader.types.d.ts +2 -2
  212. package/lib-commonjs/components/MenuGroupHeader/renderMenuGroupHeader.d.ts +1 -1
  213. package/lib-commonjs/components/MenuGroupHeader/renderMenuGroupHeader.js +3 -3
  214. package/lib-commonjs/components/MenuGroupHeader/renderMenuGroupHeader.js.map +1 -1
  215. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeader.d.ts +1 -1
  216. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeader.js +4 -4
  217. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeader.js.map +1 -1
  218. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeaderStyles.d.ts +1 -1
  219. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeaderStyles.js +6 -6
  220. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeaderStyles.js.map +1 -1
  221. package/lib-commonjs/components/MenuItem/MenuItem.d.ts +1 -1
  222. package/lib-commonjs/components/MenuItem/MenuItem.js +4 -4
  223. package/lib-commonjs/components/MenuItem/MenuItem.js.map +1 -1
  224. package/lib-commonjs/components/MenuItem/MenuItem.types.d.ts +7 -7
  225. package/lib-commonjs/components/MenuItem/renderMenuItem.d.ts +1 -1
  226. package/lib-commonjs/components/MenuItem/renderMenuItem.js +8 -8
  227. package/lib-commonjs/components/MenuItem/renderMenuItem.js.map +1 -1
  228. package/lib-commonjs/components/MenuItem/useCharacterSearch.js +1 -1
  229. package/lib-commonjs/components/MenuItem/useCharacterSearch.js.map +1 -1
  230. package/lib-commonjs/components/MenuItem/useMenuItem.d.ts +1 -1
  231. package/lib-commonjs/components/MenuItem/useMenuItem.js +8 -8
  232. package/lib-commonjs/components/MenuItem/useMenuItem.js.map +1 -1
  233. package/lib-commonjs/components/MenuItem/useMenuItemStyles.d.ts +1 -1
  234. package/lib-commonjs/components/MenuItem/useMenuItemStyles.js +11 -11
  235. package/lib-commonjs/components/MenuItem/useMenuItemStyles.js.map +1 -1
  236. package/lib-commonjs/components/MenuItemCheckbox/MenuItemCheckbox.d.ts +1 -1
  237. package/lib-commonjs/components/MenuItemCheckbox/MenuItemCheckbox.js +4 -4
  238. package/lib-commonjs/components/MenuItemCheckbox/MenuItemCheckbox.js.map +1 -1
  239. package/lib-commonjs/components/MenuItemCheckbox/renderMenuItemCheckbox.d.ts +1 -1
  240. package/lib-commonjs/components/MenuItemCheckbox/renderMenuItemCheckbox.js +7 -7
  241. package/lib-commonjs/components/MenuItemCheckbox/renderMenuItemCheckbox.js.map +1 -1
  242. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckbox.d.ts +1 -1
  243. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckbox.js +6 -6
  244. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckbox.js.map +1 -1
  245. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckboxStyles.d.ts +1 -1
  246. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckboxStyles.js +7 -7
  247. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckboxStyles.js.map +1 -1
  248. package/lib-commonjs/components/MenuItemRadio/MenuItemRadio.d.ts +1 -1
  249. package/lib-commonjs/components/MenuItemRadio/MenuItemRadio.js +4 -4
  250. package/lib-commonjs/components/MenuItemRadio/MenuItemRadio.js.map +1 -1
  251. package/lib-commonjs/components/MenuItemRadio/renderMenuItemRadio.d.ts +1 -1
  252. package/lib-commonjs/components/MenuItemRadio/renderMenuItemRadio.js +7 -7
  253. package/lib-commonjs/components/MenuItemRadio/renderMenuItemRadio.js.map +1 -1
  254. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadio.d.ts +1 -1
  255. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadio.js +6 -6
  256. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadio.js.map +1 -1
  257. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadioStyles.d.ts +1 -1
  258. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadioStyles.js +7 -7
  259. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadioStyles.js.map +1 -1
  260. package/lib-commonjs/components/MenuList/MenuList.d.ts +1 -1
  261. package/lib-commonjs/components/MenuList/MenuList.js +5 -5
  262. package/lib-commonjs/components/MenuList/MenuList.js.map +1 -1
  263. package/lib-commonjs/components/MenuList/MenuList.types.d.ts +4 -4
  264. package/lib-commonjs/components/MenuList/index.d.ts +1 -1
  265. package/lib-commonjs/components/MenuList/index.js +0 -2
  266. package/lib-commonjs/components/MenuList/index.js.map +1 -1
  267. package/lib-commonjs/components/MenuList/renderMenuList.d.ts +1 -1
  268. package/lib-commonjs/components/MenuList/renderMenuList.js +3 -3
  269. package/lib-commonjs/components/MenuList/renderMenuList.js.map +1 -1
  270. package/lib-commonjs/components/MenuList/useMenuList.d.ts +1 -1
  271. package/lib-commonjs/components/MenuList/useMenuList.js +9 -9
  272. package/lib-commonjs/components/MenuList/useMenuList.js.map +1 -1
  273. package/lib-commonjs/components/MenuList/useMenuListContextValues.d.ts +1 -1
  274. package/lib-commonjs/components/MenuList/useMenuListContextValues.js +3 -3
  275. package/lib-commonjs/components/MenuList/useMenuListContextValues.js.map +1 -1
  276. package/lib-commonjs/components/MenuList/useMenuListStyles.d.ts +1 -1
  277. package/lib-commonjs/components/MenuList/useMenuListStyles.js +6 -6
  278. package/lib-commonjs/components/MenuList/useMenuListStyles.js.map +1 -1
  279. package/lib-commonjs/components/MenuPopover/MenuPopover.js +3 -3
  280. package/lib-commonjs/components/MenuPopover/MenuPopover.js.map +1 -1
  281. package/lib-commonjs/components/MenuPopover/MenuPopover.types.d.ts +2 -2
  282. package/lib-commonjs/components/MenuPopover/renderMenuPopover.d.ts +1 -1
  283. package/lib-commonjs/components/MenuPopover/renderMenuPopover.js +3 -3
  284. package/lib-commonjs/components/MenuPopover/renderMenuPopover.js.map +1 -1
  285. package/lib-commonjs/components/MenuPopover/useMenuPopover.d.ts +3 -3
  286. package/lib-commonjs/components/MenuPopover/useMenuPopover.js +9 -9
  287. package/lib-commonjs/components/MenuPopover/useMenuPopover.js.map +1 -1
  288. package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.d.ts +1 -1
  289. package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.js +6 -6
  290. package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.js.map +1 -1
  291. package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.js +3 -3
  292. package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.js.map +1 -1
  293. package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.types.d.ts +4 -3
  294. package/lib-commonjs/components/MenuSplitGroup/renderMenuSplitGroup.d.ts +1 -1
  295. package/lib-commonjs/components/MenuSplitGroup/renderMenuSplitGroup.js +3 -3
  296. package/lib-commonjs/components/MenuSplitGroup/renderMenuSplitGroup.js.map +1 -1
  297. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroup.d.ts +3 -3
  298. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroup.js +5 -5
  299. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroup.js.map +1 -1
  300. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroupStyles.d.ts +1 -1
  301. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroupStyles.js +6 -6
  302. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroupStyles.js.map +1 -1
  303. package/lib-commonjs/components/MenuTrigger/MenuTrigger.d.ts +2 -1
  304. package/lib-commonjs/components/MenuTrigger/MenuTrigger.js +7 -6
  305. package/lib-commonjs/components/MenuTrigger/MenuTrigger.js.map +1 -1
  306. package/lib-commonjs/components/MenuTrigger/MenuTrigger.types.d.ts +2 -2
  307. package/lib-commonjs/components/MenuTrigger/renderMenuTrigger.d.ts +1 -1
  308. package/lib-commonjs/components/MenuTrigger/renderMenuTrigger.js +3 -3
  309. package/lib-commonjs/components/MenuTrigger/renderMenuTrigger.js.map +1 -1
  310. package/lib-commonjs/components/MenuTrigger/useMenuTrigger.d.ts +2 -3
  311. package/lib-commonjs/components/MenuTrigger/useMenuTrigger.js +25 -35
  312. package/lib-commonjs/components/MenuTrigger/useMenuTrigger.js.map +1 -1
  313. package/lib-commonjs/contexts/menuContext.d.ts +1 -1
  314. package/lib-commonjs/contexts/menuContext.js +3 -3
  315. package/lib-commonjs/contexts/menuContext.js.map +1 -1
  316. package/lib-commonjs/contexts/menuGroupContext.d.ts +1 -1
  317. package/lib-commonjs/contexts/menuGroupContext.js +3 -3
  318. package/lib-commonjs/contexts/menuGroupContext.js.map +1 -1
  319. package/lib-commonjs/contexts/menuListContext.d.ts +1 -1
  320. package/lib-commonjs/contexts/menuListContext.js +3 -3
  321. package/lib-commonjs/contexts/menuListContext.js.map +1 -1
  322. package/lib-commonjs/contexts/menuTriggerContext.d.ts +1 -1
  323. package/lib-commonjs/contexts/menuTriggerContext.js +3 -3
  324. package/lib-commonjs/contexts/menuTriggerContext.js.map +1 -1
  325. package/lib-commonjs/selectable/useCheckmarkStyles.d.ts +2 -2
  326. package/lib-commonjs/selectable/useCheckmarkStyles.js +6 -6
  327. package/lib-commonjs/selectable/useCheckmarkStyles.js.map +1 -1
  328. package/lib-commonjs/utils/useIsSubmenu.js +1 -1
  329. package/lib-commonjs/utils/useIsSubmenu.js.map +1 -1
  330. package/package.json +11 -13
@@ -12,4 +12,4 @@ export declare type MenuListContextValue = Pick<MenuListProps, 'checkedValues' |
12
12
  selectRadio?: SelectableHandler;
13
13
  };
14
14
  export declare const MenuListProvider: React.Provider<MenuListContextValue> & React.FC<React.ProviderProps<MenuListContextValue>>;
15
- export declare const useMenuListContext: <T>(selector: ContextSelector<MenuListContextValue, T>) => T;
15
+ export declare const useMenuListContext_unstable: <T>(selector: ContextSelector<MenuListContextValue, T>) => T;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.useMenuListContext = exports.MenuListProvider = exports.MenuListContext = void 0;
6
+ exports.useMenuListContext_unstable = exports.MenuListProvider = exports.MenuListContext = void 0;
7
7
 
8
8
  const react_context_selector_1 = /*#__PURE__*/require("@fluentui/react-context-selector");
9
9
 
@@ -18,7 +18,7 @@ exports.MenuListContext = /*#__PURE__*/react_context_selector_1.createContext({
18
18
  });
19
19
  exports.MenuListProvider = exports.MenuListContext.Provider;
20
20
 
21
- const useMenuListContext = selector => react_context_selector_1.useContextSelector(exports.MenuListContext, selector);
21
+ const useMenuListContext_unstable = selector => react_context_selector_1.useContextSelector(exports.MenuListContext, selector);
22
22
 
23
- exports.useMenuListContext = useMenuListContext;
23
+ exports.useMenuListContext_unstable = useMenuListContext_unstable;
24
24
  //# sourceMappingURL=menuListContext.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/contexts/menuListContext.tsx"],"names":[],"mappings":";;;;;;;AACA,MAAA,wBAAA,gBAAA,OAAA,CAAA,kCAAA,CAAA;;AAKa,OAAA,CAAA,eAAA,gBAAiD,wBAAA,CAAA,aAAA,CAAoC;AAChG,EAAA,aAAa,EAAE,EADiF;AAEhG,EAAA,oBAAoB,EAAE,MAAM,IAFoE;AAGhG,EAAA,wBAAwB,EAAE,MAAM,IAHgE;AAIhG,EAAA,cAAc,EAAE,MAAM,IAJ0E;AAKhG,EAAA,WAAW,EAAE,MAAM,IAL6E;AAMhG,EAAA,QAAQ,EAAE,KANsF;AAOhG,EAAA,aAAa,EAAE;AAPiF,CAApC,CAAjD;AAsBA,OAAA,CAAA,gBAAA,GAAmB,OAAA,CAAA,eAAA,CAAgB,QAAnC;;AAEN,MAAM,kBAAkB,GAAQ,QAAL,IAChC,wBAAA,CAAA,kBAAA,CAAmB,OAAA,CAAA,eAAnB,EAAoC,QAApC,CADK;;AAAM,OAAA,CAAA,kBAAA,GAAkB,kBAAlB","sourceRoot":""}
1
+ {"version":3,"sources":["../../src/contexts/menuListContext.tsx"],"names":[],"mappings":";;;;;;;AACA,MAAA,wBAAA,gBAAA,OAAA,CAAA,kCAAA,CAAA;;AAKa,OAAA,CAAA,eAAA,gBAAiD,wBAAA,CAAA,aAAA,CAAoC;AAChG,EAAA,aAAa,EAAE,EADiF;AAEhG,EAAA,oBAAoB,EAAE,MAAM,IAFoE;AAGhG,EAAA,wBAAwB,EAAE,MAAM,IAHgE;AAIhG,EAAA,cAAc,EAAE,MAAM,IAJ0E;AAKhG,EAAA,WAAW,EAAE,MAAM,IAL6E;AAMhG,EAAA,QAAQ,EAAE,KANsF;AAOhG,EAAA,aAAa,EAAE;AAPiF,CAApC,CAAjD;AAsBA,OAAA,CAAA,gBAAA,GAAmB,OAAA,CAAA,eAAA,CAAgB,QAAnC;;AAEN,MAAM,2BAA2B,GAAQ,QAAL,IACzC,wBAAA,CAAA,kBAAA,CAAmB,OAAA,CAAA,eAAnB,EAAoC,QAApC,CADK;;AAAM,OAAA,CAAA,2BAAA,GAA2B,2BAA3B","sourceRoot":""}
@@ -1,3 +1,3 @@
1
1
  import * as React from 'react';
2
2
  export declare const MenuTriggerContextProvider: React.Provider<boolean>;
3
- export declare const useMenuTriggerContext: () => boolean;
3
+ export declare const useMenuTriggerContext_unstable: () => boolean;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.useMenuTriggerContext = exports.MenuTriggerContextProvider = void 0;
6
+ exports.useMenuTriggerContext_unstable = exports.MenuTriggerContextProvider = void 0;
7
7
 
8
8
  const React = /*#__PURE__*/require("react");
9
9
  /**
@@ -14,7 +14,7 @@ const React = /*#__PURE__*/require("react");
14
14
  const MenuTriggerContext = /*#__PURE__*/React.createContext(false);
15
15
  exports.MenuTriggerContextProvider = MenuTriggerContext.Provider;
16
16
 
17
- const useMenuTriggerContext = () => React.useContext(MenuTriggerContext);
17
+ const useMenuTriggerContext_unstable = () => React.useContext(MenuTriggerContext);
18
18
 
19
- exports.useMenuTriggerContext = useMenuTriggerContext;
19
+ exports.useMenuTriggerContext_unstable = useMenuTriggerContext_unstable;
20
20
  //# sourceMappingURL=menuTriggerContext.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/contexts/menuTriggerContext.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;AAEA;;AAEG;;;AACH,MAAM,kBAAkB,gBAAG,KAAK,CAAC,aAAN,CAA6B,KAA7B,CAA3B;AAEa,OAAA,CAAA,0BAAA,GAA6B,kBAAkB,CAAC,QAAhD;;AACN,MAAM,qBAAqB,GAAG,MAAM,KAAK,CAAC,UAAN,CAAiB,kBAAjB,CAApC;;AAAM,OAAA,CAAA,qBAAA,GAAqB,qBAArB","sourceRoot":""}
1
+ {"version":3,"sources":["../../src/contexts/menuTriggerContext.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;AAEA;;AAEG;;;AACH,MAAM,kBAAkB,gBAAG,KAAK,CAAC,aAAN,CAA6B,KAA7B,CAA3B;AAEa,OAAA,CAAA,0BAAA,GAA6B,kBAAkB,CAAC,QAAhD;;AACN,MAAM,8BAA8B,GAAG,MAAM,KAAK,CAAC,UAAN,CAAiB,kBAAjB,CAA7C;;AAAM,OAAA,CAAA,8BAAA,GAA8B,8BAA9B","sourceRoot":""}
@@ -1,8 +1,8 @@
1
1
  import type { MenuItemSelectableState } from './types';
2
- import type { MenuItemSlots } from '../components/MenuItem/MenuItem.types';
2
+ import type { MenuItemState } from '../components/MenuItem/MenuItem.types';
3
3
  /**
4
4
  * Applies styles to a checkmark slot for selectable menu items
5
5
  *
6
6
  * @param state - should contain a `checkmark` slot
7
7
  */
8
- export declare const useCheckmarkStyles: (state: MenuItemSelectableState & Pick<MenuItemSlots, 'checkmark'>) => void;
8
+ export declare const useCheckmarkStyles_unstable: (state: MenuItemSelectableState & Pick<MenuItemState, 'checkmark'>) => void;
@@ -3,11 +3,11 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.useCheckmarkStyles = void 0;
6
+ exports.useCheckmarkStyles_unstable = void 0;
7
7
 
8
- const react_make_styles_1 = /*#__PURE__*/require("@fluentui/react-make-styles");
8
+ const react_1 = /*#__PURE__*/require("@griffel/react");
9
9
 
10
- const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
10
+ const useStyles = /*#__PURE__*/react_1.__styles({
11
11
  "root": {
12
12
  "a9b677": "fjw5fx7",
13
13
  "Bqenvij": "fd461yt",
@@ -26,13 +26,13 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
26
26
  */
27
27
 
28
28
 
29
- const useCheckmarkStyles = state => {
29
+ const useCheckmarkStyles_unstable = state => {
30
30
  const styles = useStyles();
31
31
 
32
32
  if (state.checkmark) {
33
- state.checkmark.className = react_make_styles_1.mergeClasses(styles.root, state.checked && styles.rootChecked, state.checkmark.className);
33
+ state.checkmark.className = react_1.mergeClasses(styles.root, state.checked && styles.rootChecked, state.checkmark.className);
34
34
  }
35
35
  };
36
36
 
37
- exports.useCheckmarkStyles = useCheckmarkStyles;
37
+ exports.useCheckmarkStyles_unstable = useCheckmarkStyles_unstable;
38
38
  //# sourceMappingURL=useCheckmarkStyles.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/selectable/useCheckmarkStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AAIA,MAAM,SAAS,gBAAG,mBAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAWA;;;;AAIG;;;AACI,MAAM,kBAAkB,GAAI,KAAD,IAAsE;AACtG,QAAM,MAAM,GAAG,SAAS,EAAxB;;AACA,MAAI,KAAK,CAAC,SAAV,EAAqB;AACnB,IAAA,KAAK,CAAC,SAAN,CAAgB,SAAhB,GAA4B,mBAAA,CAAA,YAAA,CAC1B,MAAM,CAAC,IADmB,EAE1B,KAAK,CAAC,OAAN,IAAiB,MAAM,CAAC,WAFE,EAG1B,KAAK,CAAC,SAAN,CAAgB,SAHU,CAA5B;AAKD;AACF,CATM;;AAAM,OAAA,CAAA,kBAAA,GAAkB,kBAAlB","sourceRoot":""}
1
+ {"version":3,"sources":["../../src/selectable/useCheckmarkStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,OAAA,gBAAA,OAAA,CAAA,gBAAA,CAAA;;AAIA,MAAM,SAAS,gBAAG,OAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAWA;;;;AAIG;;;AACI,MAAM,2BAA2B,GAAI,KAAD,IAAsE;AAC/G,QAAM,MAAM,GAAG,SAAS,EAAxB;;AACA,MAAI,KAAK,CAAC,SAAV,EAAqB;AACnB,IAAA,KAAK,CAAC,SAAN,CAAgB,SAAhB,GAA4B,OAAA,CAAA,YAAA,CAC1B,MAAM,CAAC,IADmB,EAE1B,KAAK,CAAC,OAAN,IAAiB,MAAM,CAAC,WAFE,EAG1B,KAAK,CAAC,SAAN,CAAgB,SAHU,CAA5B;AAKD;AACF,CATM;;AAAM,OAAA,CAAA,2BAAA,GAA2B,2BAA3B","sourceRoot":""}
@@ -21,7 +21,7 @@ const menuListContext_1 = /*#__PURE__*/require("../contexts/menuListContext");
21
21
 
22
22
 
23
23
  function useIsSubmenu() {
24
- const menuContextValue = menuContext_1.useMenuContext(context => context.isSubmenu);
24
+ const menuContextValue = menuContext_1.useMenuContext_unstable(context => context.isSubmenu);
25
25
  const hasMenuListContext = react_context_selector_1.useHasParentContext(menuListContext_1.MenuListContext);
26
26
  return menuContextValue || hasMenuListContext;
27
27
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/utils/useIsSubmenu.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,wBAAA,gBAAA,OAAA,CAAA,kCAAA,CAAA;;AACA,MAAA,aAAA,gBAAA,OAAA,CAAA,yBAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;AAEA;;;;;;;AAOG;;;AACH,SAAgB,YAAhB,GAA4B;AAC1B,QAAM,gBAAgB,GAAG,aAAA,CAAA,cAAA,CAAe,OAAO,IAAI,OAAO,CAAC,SAAlC,CAAzB;AACA,QAAM,kBAAkB,GAAG,wBAAA,CAAA,mBAAA,CAAoB,iBAAA,CAAA,eAApB,CAA3B;AAEA,SAAO,gBAAgB,IAAI,kBAA3B;AACD;;AALD,OAAA,CAAA,YAAA,GAAA,YAAA","sourceRoot":""}
1
+ {"version":3,"sources":["../../src/utils/useIsSubmenu.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,wBAAA,gBAAA,OAAA,CAAA,kCAAA,CAAA;;AACA,MAAA,aAAA,gBAAA,OAAA,CAAA,yBAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;AAEA;;;;;;;AAOG;;;AACH,SAAgB,YAAhB,GAA4B;AAC1B,QAAM,gBAAgB,GAAG,aAAA,CAAA,uBAAA,CAAwB,OAAO,IAAI,OAAO,CAAC,SAA3C,CAAzB;AACA,QAAM,kBAAkB,GAAG,wBAAA,CAAA,mBAAA,CAAoB,iBAAA,CAAA,eAApB,CAA3B;AAEA,SAAO,gBAAgB,IAAI,kBAA3B;AACD;;AALD,OAAA,CAAA,YAAA,GAAA,YAAA","sourceRoot":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-menu",
3
- "version": "0.0.0-nightlyd514b3e0ee20220121.1",
3
+ "version": "0.0.0-nightlyd80c90385320220216.1",
4
4
  "description": "Fluent UI menu component",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -27,11 +27,9 @@
27
27
  "type-check": "tsc -b tsconfig.json"
28
28
  },
29
29
  "devDependencies": {
30
- "@fluentui/babel-make-styles": "0.0.0-nightlyd514b3e0ee20220121.1",
31
30
  "@fluentui/eslint-plugin": "*",
32
- "@fluentui/jest-serializer-make-styles": "0.0.0-nightlyd514b3e0ee20220121.1",
33
31
  "@fluentui/react-conformance": "*",
34
- "@fluentui/react-conformance-make-styles": "0.0.0-nightlyd514b3e0ee20220121.1",
32
+ "@fluentui/react-conformance-griffel": "0.0.0-nightlyd80c90385320220216.1",
35
33
  "@fluentui/scripts": "^1.0.0",
36
34
  "@types/enzyme": "3.10.3",
37
35
  "@types/enzyme-adapter-react-16": "1.0.3",
@@ -45,15 +43,15 @@
45
43
  "react-test-renderer": "^16.3.0"
46
44
  },
47
45
  "dependencies": {
48
- "@fluentui/keyboard-keys": "0.0.0-nightlyd514b3e0ee20220121.1",
49
- "@fluentui/react-context-selector": "0.0.0-nightlyd514b3e0ee20220121.1",
50
- "@fluentui/react-icons": "^2.0.154-beta.5",
51
- "@fluentui/react-make-styles": "0.0.0-nightlyd514b3e0ee20220121.1",
52
- "@fluentui/react-portal": "0.0.0-nightlyd514b3e0ee20220121.1",
53
- "@fluentui/react-positioning": "0.0.0-nightlyd514b3e0ee20220121.1",
54
- "@fluentui/react-shared-contexts": "0.0.0-nightlyd514b3e0ee20220121.1",
55
- "@fluentui/react-tabster": "0.0.0-nightlyd514b3e0ee20220121.1",
56
- "@fluentui/react-utilities": "0.0.0-nightlyd514b3e0ee20220121.1",
46
+ "@fluentui/keyboard-keys": "0.0.0-nightlyd80c90385320220216.1",
47
+ "@fluentui/react-context-selector": "0.0.0-nightlyd80c90385320220216.1",
48
+ "@fluentui/react-icons": "^2.0.159-beta.10",
49
+ "@griffel/react": "1.0.0",
50
+ "@fluentui/react-portal": "0.0.0-nightlyd80c90385320220216.1",
51
+ "@fluentui/react-positioning": "0.0.0-nightlyd80c90385320220216.1",
52
+ "@fluentui/react-shared-contexts": "0.0.0-nightlyd80c90385320220216.1",
53
+ "@fluentui/react-tabster": "0.0.0-nightlyd80c90385320220216.1",
54
+ "@fluentui/react-utilities": "0.0.0-nightlyd80c90385320220216.1",
57
55
  "tslib": "^2.1.0"
58
56
  },
59
57
  "peerDependencies": {