@fluentui/react-menu 9.0.0-nightly.f81b28ceb3.1 → 9.0.0-rc.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (518) hide show
  1. package/CHANGELOG.json +1053 -27
  2. package/CHANGELOG.md +371 -137
  3. package/Spec.md +21 -16
  4. package/dist/{react-menu.d.ts → index.d.ts} +249 -170
  5. package/{lib → dist}/tsdoc-metadata.json +0 -0
  6. package/lib/Menu.js.map +1 -1
  7. package/lib/MenuDivider.js.map +1 -1
  8. package/lib/MenuGroup.js.map +1 -1
  9. package/lib/MenuGroupHeader.js.map +1 -1
  10. package/lib/MenuItem.js.map +1 -1
  11. package/lib/MenuItemCheckbox.js.map +1 -1
  12. package/lib/MenuItemRadio.js.map +1 -1
  13. package/lib/MenuList.js.map +1 -1
  14. package/lib/MenuPopover.js.map +1 -1
  15. package/lib/MenuSplitGroup.js +2 -0
  16. package/lib/MenuSplitGroup.js.map +1 -0
  17. package/lib/MenuTrigger.js.map +1 -1
  18. package/lib/components/Menu/Menu.js +7 -7
  19. package/lib/components/Menu/Menu.js.map +1 -1
  20. package/lib/components/Menu/Menu.types.js.map +1 -1
  21. package/lib/components/Menu/index.js.map +1 -1
  22. package/lib/components/Menu/renderMenu.js +1 -1
  23. package/lib/components/Menu/renderMenu.js.map +1 -1
  24. package/lib/components/Menu/useMenu.js +121 -130
  25. package/lib/components/Menu/useMenu.js.map +1 -1
  26. package/lib/components/Menu/useMenuContextValues.js +35 -33
  27. package/lib/components/Menu/useMenuContextValues.js.map +1 -1
  28. package/lib/components/MenuDivider/MenuDivider.js +8 -8
  29. package/lib/components/MenuDivider/MenuDivider.js.map +1 -1
  30. package/lib/components/MenuDivider/MenuDivider.types.js.map +1 -1
  31. package/lib/components/MenuDivider/index.js.map +1 -1
  32. package/lib/components/MenuDivider/renderMenuDivider.js +7 -7
  33. package/lib/components/MenuDivider/renderMenuDivider.js.map +1 -1
  34. package/lib/components/MenuDivider/useMenuDivider.js +9 -7
  35. package/lib/components/MenuDivider/useMenuDivider.js.map +1 -1
  36. package/lib/components/MenuDivider/useMenuDividerStyles.js +9 -5
  37. package/lib/components/MenuDivider/useMenuDividerStyles.js.map +1 -1
  38. package/lib/components/MenuGroup/MenuGroup.js +10 -8
  39. package/lib/components/MenuGroup/MenuGroup.js.map +1 -1
  40. package/lib/components/MenuGroup/MenuGroup.types.js.map +1 -1
  41. package/lib/components/MenuGroup/index.js +1 -0
  42. package/lib/components/MenuGroup/index.js.map +1 -1
  43. package/lib/components/MenuGroup/renderMenuGroup.js +7 -7
  44. package/lib/components/MenuGroup/renderMenuGroup.js.map +1 -1
  45. package/lib/components/MenuGroup/useMenuGroup.js +10 -7
  46. package/lib/components/MenuGroup/useMenuGroup.js.map +1 -1
  47. package/lib/components/MenuGroup/useMenuGroupContextValues.js +8 -8
  48. package/lib/components/MenuGroup/useMenuGroupContextValues.js.map +1 -1
  49. package/lib/components/MenuGroup/useMenuGroupStyles.js +9 -0
  50. package/lib/components/MenuGroup/useMenuGroupStyles.js.map +1 -0
  51. package/lib/components/MenuGroupHeader/MenuGroupHeader.js +8 -8
  52. package/lib/components/MenuGroupHeader/MenuGroupHeader.js.map +1 -1
  53. package/lib/components/MenuGroupHeader/MenuGroupHeader.types.js.map +1 -1
  54. package/lib/components/MenuGroupHeader/index.js.map +1 -1
  55. package/lib/components/MenuGroupHeader/renderMenuGroupHeader.js +7 -7
  56. package/lib/components/MenuGroupHeader/renderMenuGroupHeader.js.map +1 -1
  57. package/lib/components/MenuGroupHeader/useMenuGroupHeader.js +13 -8
  58. package/lib/components/MenuGroupHeader/useMenuGroupHeader.js.map +1 -1
  59. package/lib/components/MenuGroupHeader/useMenuGroupHeaderStyles.js +9 -5
  60. package/lib/components/MenuGroupHeader/useMenuGroupHeaderStyles.js.map +1 -1
  61. package/lib/components/MenuItem/MenuItem.js +8 -10
  62. package/lib/components/MenuItem/MenuItem.js.map +1 -1
  63. package/lib/components/MenuItem/MenuItem.types.js.map +1 -1
  64. package/lib/components/MenuItem/index.js.map +1 -1
  65. package/lib/components/MenuItem/renderMenuItem.js +12 -8
  66. package/lib/components/MenuItem/renderMenuItem.js.map +1 -1
  67. package/lib/components/MenuItem/useCharacterSearch.js +7 -7
  68. package/lib/components/MenuItem/useCharacterSearch.js.map +1 -1
  69. package/lib/components/MenuItem/useMenuItem.js +37 -44
  70. package/lib/components/MenuItem/useMenuItem.js.map +1 -1
  71. package/lib/components/MenuItem/useMenuItemStyles.js +56 -17
  72. package/lib/components/MenuItem/useMenuItemStyles.js.map +1 -1
  73. package/lib/components/MenuItemCheckbox/MenuItemCheckbox.js +8 -8
  74. package/lib/components/MenuItemCheckbox/MenuItemCheckbox.js.map +1 -1
  75. package/lib/components/MenuItemCheckbox/MenuItemCheckbox.types.js.map +1 -1
  76. package/lib/components/MenuItemCheckbox/index.js +1 -0
  77. package/lib/components/MenuItemCheckbox/index.js.map +1 -1
  78. package/lib/components/MenuItemCheckbox/renderMenuItemCheckbox.js +11 -8
  79. package/lib/components/MenuItemCheckbox/renderMenuItemCheckbox.js.map +1 -1
  80. package/lib/components/MenuItemCheckbox/useMenuItemCheckbox.js +14 -15
  81. package/lib/components/MenuItemCheckbox/useMenuItemCheckbox.js.map +1 -1
  82. package/lib/components/MenuItemCheckbox/useMenuItemCheckboxStyles.js +31 -5
  83. package/lib/components/MenuItemCheckbox/useMenuItemCheckboxStyles.js.map +1 -1
  84. package/lib/components/MenuItemRadio/MenuItemRadio.js +8 -8
  85. package/lib/components/MenuItemRadio/MenuItemRadio.js.map +1 -1
  86. package/lib/components/MenuItemRadio/MenuItemRadio.types.js.map +1 -1
  87. package/lib/components/MenuItemRadio/index.js +1 -0
  88. package/lib/components/MenuItemRadio/index.js.map +1 -1
  89. package/lib/components/MenuItemRadio/renderMenuItemRadio.js +11 -8
  90. package/lib/components/MenuItemRadio/renderMenuItemRadio.js.map +1 -1
  91. package/lib/components/MenuItemRadio/useMenuItemRadio.js +14 -14
  92. package/lib/components/MenuItemRadio/useMenuItemRadio.js.map +1 -1
  93. package/lib/components/MenuItemRadio/useMenuItemRadioStyles.js +31 -5
  94. package/lib/components/MenuItemRadio/useMenuItemRadioStyles.js.map +1 -1
  95. package/lib/components/MenuList/MenuList.js +10 -10
  96. package/lib/components/MenuList/MenuList.js.map +1 -1
  97. package/lib/components/MenuList/MenuList.types.js.map +1 -1
  98. package/lib/components/MenuList/index.js.map +1 -1
  99. package/lib/components/MenuList/renderMenuList.js +7 -7
  100. package/lib/components/MenuList/renderMenuList.js.map +1 -1
  101. package/lib/components/MenuList/useMenuList.js +71 -88
  102. package/lib/components/MenuList/useMenuList.js.map +1 -1
  103. package/lib/components/MenuList/useMenuListContextValues.js +19 -17
  104. package/lib/components/MenuList/useMenuListContextValues.js.map +1 -1
  105. package/lib/components/MenuList/useMenuListStyles.js +11 -7
  106. package/lib/components/MenuList/useMenuListStyles.js.map +1 -1
  107. package/lib/components/MenuPopover/MenuPopover.js +7 -7
  108. package/lib/components/MenuPopover/MenuPopover.js.map +1 -1
  109. package/lib/components/MenuPopover/MenuPopover.types.js.map +1 -1
  110. package/lib/components/MenuPopover/index.js.map +1 -1
  111. package/lib/components/MenuPopover/renderMenuPopover.js +9 -7
  112. package/lib/components/MenuPopover/renderMenuPopover.js.map +1 -1
  113. package/lib/components/MenuPopover/useMenuPopover.js +35 -41
  114. package/lib/components/MenuPopover/useMenuPopover.js.map +1 -1
  115. package/lib/components/MenuPopover/useMenuPopoverStyles.js +15 -8
  116. package/lib/components/MenuPopover/useMenuPopoverStyles.js.map +1 -1
  117. package/lib/components/MenuSplitGroup/MenuSplitGroup.js +15 -0
  118. package/lib/components/MenuSplitGroup/MenuSplitGroup.js.map +1 -0
  119. package/lib/components/MenuSplitGroup/MenuSplitGroup.types.js +2 -0
  120. package/lib/components/MenuSplitGroup/MenuSplitGroup.types.js.map +1 -0
  121. package/lib/components/MenuSplitGroup/index.js +6 -0
  122. package/lib/components/MenuSplitGroup/index.js.map +1 -0
  123. package/lib/components/MenuSplitGroup/renderMenuSplitGroup.js +15 -0
  124. package/lib/components/MenuSplitGroup/renderMenuSplitGroup.js.map +1 -0
  125. package/lib/components/MenuSplitGroup/useMenuSplitGroup.js +67 -0
  126. package/lib/components/MenuSplitGroup/useMenuSplitGroup.js.map +1 -0
  127. package/lib/components/MenuSplitGroup/useMenuSplitGroupStyles.js +37 -0
  128. package/lib/components/MenuSplitGroup/useMenuSplitGroupStyles.js.map +1 -0
  129. package/lib/components/MenuTrigger/MenuTrigger.js +6 -5
  130. package/lib/components/MenuTrigger/MenuTrigger.js.map +1 -1
  131. package/lib/components/MenuTrigger/MenuTrigger.types.js.map +1 -1
  132. package/lib/components/MenuTrigger/index.js.map +1 -1
  133. package/lib/components/MenuTrigger/renderMenuTrigger.js +2 -2
  134. package/lib/components/MenuTrigger/renderMenuTrigger.js.map +1 -1
  135. package/lib/components/MenuTrigger/useMenuTrigger.js +167 -5
  136. package/lib/components/MenuTrigger/useMenuTrigger.js.map +1 -1
  137. package/lib/components/index.js.map +1 -1
  138. package/lib/contexts/menuContext.js +5 -11
  139. package/lib/contexts/menuContext.js.map +1 -1
  140. package/lib/contexts/menuGroupContext.js +3 -5
  141. package/lib/contexts/menuGroupContext.js.map +1 -1
  142. package/lib/contexts/menuListContext.js +7 -17
  143. package/lib/contexts/menuListContext.js.map +1 -1
  144. package/lib/contexts/menuTriggerContext.js +4 -6
  145. package/lib/contexts/menuTriggerContext.js.map +1 -1
  146. package/lib/index.js +16 -15
  147. package/lib/index.js.map +1 -1
  148. package/lib/selectable/index.js.map +1 -1
  149. package/lib/selectable/types.js.map +1 -1
  150. package/lib/selectable/useCheckmarkStyles.js +4 -4
  151. package/lib/selectable/useCheckmarkStyles.js.map +1 -1
  152. package/lib/utils/index.js.map +1 -1
  153. package/lib/utils/useIsSubmenu.js +3 -5
  154. package/lib/utils/useIsSubmenu.js.map +1 -1
  155. package/lib/utils/useOnMenuEnter.js +16 -14
  156. package/lib/utils/useOnMenuEnter.js.map +1 -1
  157. package/lib-commonjs/Menu.js +1 -1
  158. package/lib-commonjs/Menu.js.map +1 -1
  159. package/lib-commonjs/MenuDivider.js +1 -1
  160. package/lib-commonjs/MenuDivider.js.map +1 -1
  161. package/lib-commonjs/MenuGroup.js +1 -1
  162. package/lib-commonjs/MenuGroup.js.map +1 -1
  163. package/lib-commonjs/MenuGroupHeader.js +1 -1
  164. package/lib-commonjs/MenuGroupHeader.js.map +1 -1
  165. package/lib-commonjs/MenuItem.js +1 -1
  166. package/lib-commonjs/MenuItem.js.map +1 -1
  167. package/lib-commonjs/MenuItemCheckbox.js +1 -1
  168. package/lib-commonjs/MenuItemCheckbox.js.map +1 -1
  169. package/lib-commonjs/MenuItemRadio.js +1 -1
  170. package/lib-commonjs/MenuItemRadio.js.map +1 -1
  171. package/lib-commonjs/MenuList.js +1 -1
  172. package/lib-commonjs/MenuList.js.map +1 -1
  173. package/lib-commonjs/MenuPopover.js +1 -1
  174. package/lib-commonjs/MenuPopover.js.map +1 -1
  175. package/lib-commonjs/MenuSplitGroup.js +10 -0
  176. package/lib-commonjs/MenuSplitGroup.js.map +1 -0
  177. package/lib-commonjs/MenuTrigger.js +1 -1
  178. package/lib-commonjs/MenuTrigger.js.map +1 -1
  179. package/lib-commonjs/components/Menu/Menu.js +7 -7
  180. package/lib-commonjs/components/Menu/Menu.js.map +1 -1
  181. package/lib-commonjs/components/Menu/Menu.types.js.map +1 -1
  182. package/lib-commonjs/components/Menu/index.js +1 -1
  183. package/lib-commonjs/components/Menu/index.js.map +1 -1
  184. package/lib-commonjs/components/Menu/renderMenu.js +5 -5
  185. package/lib-commonjs/components/Menu/renderMenu.js.map +1 -1
  186. package/lib-commonjs/components/Menu/useMenu.js +131 -142
  187. package/lib-commonjs/components/Menu/useMenu.js.map +1 -1
  188. package/lib-commonjs/components/Menu/useMenuContextValues.js +37 -35
  189. package/lib-commonjs/components/Menu/useMenuContextValues.js.map +1 -1
  190. package/lib-commonjs/components/MenuDivider/MenuDivider.js +9 -9
  191. package/lib-commonjs/components/MenuDivider/MenuDivider.js.map +1 -1
  192. package/lib-commonjs/components/MenuDivider/MenuDivider.types.js.map +1 -1
  193. package/lib-commonjs/components/MenuDivider/index.js +1 -1
  194. package/lib-commonjs/components/MenuDivider/index.js.map +1 -1
  195. package/lib-commonjs/components/MenuDivider/renderMenuDivider.js +11 -12
  196. package/lib-commonjs/components/MenuDivider/renderMenuDivider.js.map +1 -1
  197. package/lib-commonjs/components/MenuDivider/useMenuDivider.js +12 -11
  198. package/lib-commonjs/components/MenuDivider/useMenuDivider.js.map +1 -1
  199. package/lib-commonjs/components/MenuDivider/useMenuDividerStyles.js +13 -7
  200. package/lib-commonjs/components/MenuDivider/useMenuDividerStyles.js.map +1 -1
  201. package/lib-commonjs/components/MenuGroup/MenuGroup.js +12 -9
  202. package/lib-commonjs/components/MenuGroup/MenuGroup.js.map +1 -1
  203. package/lib-commonjs/components/MenuGroup/MenuGroup.types.js.map +1 -1
  204. package/lib-commonjs/components/MenuGroup/index.js +3 -1
  205. package/lib-commonjs/components/MenuGroup/index.js.map +1 -1
  206. package/lib-commonjs/components/MenuGroup/renderMenuGroup.js +12 -13
  207. package/lib-commonjs/components/MenuGroup/renderMenuGroup.js.map +1 -1
  208. package/lib-commonjs/components/MenuGroup/useMenuGroup.js +13 -11
  209. package/lib-commonjs/components/MenuGroup/useMenuGroup.js.map +1 -1
  210. package/lib-commonjs/components/MenuGroup/useMenuGroupContextValues.js +11 -11
  211. package/lib-commonjs/components/MenuGroup/useMenuGroupContextValues.js.map +1 -1
  212. package/lib-commonjs/components/MenuGroup/useMenuGroupStyles.js +20 -0
  213. package/lib-commonjs/components/MenuGroup/useMenuGroupStyles.js.map +1 -0
  214. package/lib-commonjs/components/MenuGroupHeader/MenuGroupHeader.js +9 -9
  215. package/lib-commonjs/components/MenuGroupHeader/MenuGroupHeader.js.map +1 -1
  216. package/lib-commonjs/components/MenuGroupHeader/MenuGroupHeader.types.js.map +1 -1
  217. package/lib-commonjs/components/MenuGroupHeader/index.js +1 -1
  218. package/lib-commonjs/components/MenuGroupHeader/index.js.map +1 -1
  219. package/lib-commonjs/components/MenuGroupHeader/renderMenuGroupHeader.js +11 -12
  220. package/lib-commonjs/components/MenuGroupHeader/renderMenuGroupHeader.js.map +1 -1
  221. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeader.js +16 -12
  222. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeader.js.map +1 -1
  223. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeaderStyles.js +13 -7
  224. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeaderStyles.js.map +1 -1
  225. package/lib-commonjs/components/MenuItem/MenuItem.js +9 -12
  226. package/lib-commonjs/components/MenuItem/MenuItem.js.map +1 -1
  227. package/lib-commonjs/components/MenuItem/MenuItem.types.js.map +1 -1
  228. package/lib-commonjs/components/MenuItem/index.js +1 -1
  229. package/lib-commonjs/components/MenuItem/index.js.map +1 -1
  230. package/lib-commonjs/components/MenuItem/renderMenuItem.js +16 -14
  231. package/lib-commonjs/components/MenuItem/renderMenuItem.js.map +1 -1
  232. package/lib-commonjs/components/MenuItem/useCharacterSearch.js +7 -7
  233. package/lib-commonjs/components/MenuItem/useCharacterSearch.js.map +1 -1
  234. package/lib-commonjs/components/MenuItem/useMenuItem.js +45 -53
  235. package/lib-commonjs/components/MenuItem/useMenuItem.js.map +1 -1
  236. package/lib-commonjs/components/MenuItem/useMenuItemStyles.js +63 -20
  237. package/lib-commonjs/components/MenuItem/useMenuItemStyles.js.map +1 -1
  238. package/lib-commonjs/components/MenuItemCheckbox/MenuItemCheckbox.js +9 -9
  239. package/lib-commonjs/components/MenuItemCheckbox/MenuItemCheckbox.js.map +1 -1
  240. package/lib-commonjs/components/MenuItemCheckbox/MenuItemCheckbox.types.js.map +1 -1
  241. package/lib-commonjs/components/MenuItemCheckbox/index.js +3 -1
  242. package/lib-commonjs/components/MenuItemCheckbox/index.js.map +1 -1
  243. package/lib-commonjs/components/MenuItemCheckbox/renderMenuItemCheckbox.js +15 -14
  244. package/lib-commonjs/components/MenuItemCheckbox/renderMenuItemCheckbox.js.map +1 -1
  245. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckbox.js +19 -21
  246. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckbox.js.map +1 -1
  247. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckboxStyles.js +35 -7
  248. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckboxStyles.js.map +1 -1
  249. package/lib-commonjs/components/MenuItemRadio/MenuItemRadio.js +9 -9
  250. package/lib-commonjs/components/MenuItemRadio/MenuItemRadio.js.map +1 -1
  251. package/lib-commonjs/components/MenuItemRadio/MenuItemRadio.types.js.map +1 -1
  252. package/lib-commonjs/components/MenuItemRadio/index.js +3 -1
  253. package/lib-commonjs/components/MenuItemRadio/index.js.map +1 -1
  254. package/lib-commonjs/components/MenuItemRadio/renderMenuItemRadio.js +15 -14
  255. package/lib-commonjs/components/MenuItemRadio/renderMenuItemRadio.js.map +1 -1
  256. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadio.js +19 -20
  257. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadio.js.map +1 -1
  258. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadioStyles.js +35 -7
  259. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadioStyles.js.map +1 -1
  260. package/lib-commonjs/components/MenuList/MenuList.js +11 -11
  261. package/lib-commonjs/components/MenuList/MenuList.js.map +1 -1
  262. package/lib-commonjs/components/MenuList/MenuList.types.js.map +1 -1
  263. package/lib-commonjs/components/MenuList/index.js +1 -1
  264. package/lib-commonjs/components/MenuList/index.js.map +1 -1
  265. package/lib-commonjs/components/MenuList/renderMenuList.js +12 -13
  266. package/lib-commonjs/components/MenuList/renderMenuList.js.map +1 -1
  267. package/lib-commonjs/components/MenuList/useMenuList.js +78 -96
  268. package/lib-commonjs/components/MenuList/useMenuList.js.map +1 -1
  269. package/lib-commonjs/components/MenuList/useMenuListContextValues.js +21 -19
  270. package/lib-commonjs/components/MenuList/useMenuListContextValues.js.map +1 -1
  271. package/lib-commonjs/components/MenuList/useMenuListStyles.js +14 -9
  272. package/lib-commonjs/components/MenuList/useMenuListStyles.js.map +1 -1
  273. package/lib-commonjs/components/MenuPopover/MenuPopover.js +8 -8
  274. package/lib-commonjs/components/MenuPopover/MenuPopover.js.map +1 -1
  275. package/lib-commonjs/components/MenuPopover/MenuPopover.types.js.map +1 -1
  276. package/lib-commonjs/components/MenuPopover/index.js +1 -1
  277. package/lib-commonjs/components/MenuPopover/index.js.map +1 -1
  278. package/lib-commonjs/components/MenuPopover/renderMenuPopover.js +14 -13
  279. package/lib-commonjs/components/MenuPopover/renderMenuPopover.js.map +1 -1
  280. package/lib-commonjs/components/MenuPopover/useMenuPopover.js +43 -50
  281. package/lib-commonjs/components/MenuPopover/useMenuPopover.js.map +1 -1
  282. package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.js +19 -10
  283. package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.js.map +1 -1
  284. package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.js +26 -0
  285. package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.js.map +1 -0
  286. package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.types.js +6 -0
  287. package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.types.js.map +1 -0
  288. package/lib-commonjs/components/MenuSplitGroup/index.js +18 -0
  289. package/lib-commonjs/components/MenuSplitGroup/index.js.map +1 -0
  290. package/lib-commonjs/components/MenuSplitGroup/renderMenuSplitGroup.js +26 -0
  291. package/lib-commonjs/components/MenuSplitGroup/renderMenuSplitGroup.js.map +1 -0
  292. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroup.js +81 -0
  293. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroup.js.map +1 -0
  294. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroupStyles.js +49 -0
  295. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroupStyles.js.map +1 -0
  296. package/lib-commonjs/components/MenuTrigger/MenuTrigger.js +6 -5
  297. package/lib-commonjs/components/MenuTrigger/MenuTrigger.js.map +1 -1
  298. package/lib-commonjs/components/MenuTrigger/MenuTrigger.types.js.map +1 -1
  299. package/lib-commonjs/components/MenuTrigger/index.js +1 -1
  300. package/lib-commonjs/components/MenuTrigger/index.js.map +1 -1
  301. package/lib-commonjs/components/MenuTrigger/renderMenuTrigger.js +6 -6
  302. package/lib-commonjs/components/MenuTrigger/renderMenuTrigger.js.map +1 -1
  303. package/lib-commonjs/components/MenuTrigger/useMenuTrigger.js +175 -7
  304. package/lib-commonjs/components/MenuTrigger/useMenuTrigger.js.map +1 -1
  305. package/lib-commonjs/components/index.js +1 -1
  306. package/lib-commonjs/components/index.js.map +1 -1
  307. package/lib-commonjs/contexts/menuContext.js +6 -12
  308. package/lib-commonjs/contexts/menuContext.js.map +1 -1
  309. package/lib-commonjs/contexts/menuGroupContext.js +5 -7
  310. package/lib-commonjs/contexts/menuGroupContext.js.map +1 -1
  311. package/lib-commonjs/contexts/menuListContext.js +8 -18
  312. package/lib-commonjs/contexts/menuListContext.js.map +1 -1
  313. package/lib-commonjs/contexts/menuTriggerContext.js +6 -8
  314. package/lib-commonjs/contexts/menuTriggerContext.js.map +1 -1
  315. package/lib-commonjs/index.js +412 -16
  316. package/lib-commonjs/index.js.map +1 -1
  317. package/lib-commonjs/selectable/index.js +1 -1
  318. package/lib-commonjs/selectable/index.js.map +1 -1
  319. package/lib-commonjs/selectable/types.js.map +1 -1
  320. package/lib-commonjs/selectable/useCheckmarkStyles.js +7 -7
  321. package/lib-commonjs/selectable/useCheckmarkStyles.js.map +1 -1
  322. package/lib-commonjs/utils/index.js +1 -1
  323. package/lib-commonjs/utils/index.js.map +1 -1
  324. package/lib-commonjs/utils/useIsSubmenu.js +5 -7
  325. package/lib-commonjs/utils/useIsSubmenu.js.map +1 -1
  326. package/lib-commonjs/utils/useOnMenuEnter.js +18 -16
  327. package/lib-commonjs/utils/useOnMenuEnter.js.map +1 -1
  328. package/package.json +25 -29
  329. package/lib/Menu.d.ts +0 -1
  330. package/lib/MenuDivider.d.ts +0 -1
  331. package/lib/MenuGroup.d.ts +0 -1
  332. package/lib/MenuGroupHeader.d.ts +0 -1
  333. package/lib/MenuItem.d.ts +0 -1
  334. package/lib/MenuItemCheckbox.d.ts +0 -1
  335. package/lib/MenuItemRadio.d.ts +0 -1
  336. package/lib/MenuList.d.ts +0 -1
  337. package/lib/MenuPopover.d.ts +0 -1
  338. package/lib/MenuTrigger.d.ts +0 -1
  339. package/lib/common/isConformant.d.ts +0 -4
  340. package/lib/common/isConformant.js +0 -12
  341. package/lib/common/isConformant.js.map +0 -1
  342. package/lib/common/mockUseMenuContext.d.ts +0 -7
  343. package/lib/common/mockUseMenuContext.js +0 -36
  344. package/lib/common/mockUseMenuContext.js.map +0 -1
  345. package/lib/components/Menu/Menu.d.ts +0 -6
  346. package/lib/components/Menu/Menu.types.d.ts +0 -112
  347. package/lib/components/Menu/index.d.ts +0 -5
  348. package/lib/components/Menu/renderMenu.d.ts +0 -5
  349. package/lib/components/Menu/useMenu.d.ts +0 -10
  350. package/lib/components/Menu/useMenuContextValues.d.ts +0 -2
  351. package/lib/components/MenuDivider/MenuDivider.d.ts +0 -6
  352. package/lib/components/MenuDivider/MenuDivider.types.d.ts +0 -6
  353. package/lib/components/MenuDivider/index.d.ts +0 -5
  354. package/lib/components/MenuDivider/renderMenuDivider.d.ts +0 -6
  355. package/lib/components/MenuDivider/useMenuDivider.d.ts +0 -6
  356. package/lib/components/MenuDivider/useMenuDividerStyles.d.ts +0 -2
  357. package/lib/components/MenuGroup/MenuGroup.d.ts +0 -6
  358. package/lib/components/MenuGroup/MenuGroup.types.d.ts +0 -15
  359. package/lib/components/MenuGroup/index.d.ts +0 -5
  360. package/lib/components/MenuGroup/renderMenuGroup.d.ts +0 -6
  361. package/lib/components/MenuGroup/useMenuGroup.d.ts +0 -6
  362. package/lib/components/MenuGroup/useMenuGroupContextValues.d.ts +0 -2
  363. package/lib/components/MenuGroupHeader/MenuGroupHeader.d.ts +0 -6
  364. package/lib/components/MenuGroupHeader/MenuGroupHeader.types.d.ts +0 -6
  365. package/lib/components/MenuGroupHeader/index.d.ts +0 -5
  366. package/lib/components/MenuGroupHeader/renderMenuGroupHeader.d.ts +0 -6
  367. package/lib/components/MenuGroupHeader/useMenuGroupHeader.d.ts +0 -6
  368. package/lib/components/MenuGroupHeader/useMenuGroupHeaderStyles.d.ts +0 -2
  369. package/lib/components/MenuItem/MenuItem.d.ts +0 -6
  370. package/lib/components/MenuItem/MenuItem.types.d.ts +0 -43
  371. package/lib/components/MenuItem/index.d.ts +0 -5
  372. package/lib/components/MenuItem/renderMenuItem.d.ts +0 -5
  373. package/lib/components/MenuItem/useCharacterSearch.d.ts +0 -3
  374. package/lib/components/MenuItem/useMenuItem.d.ts +0 -10
  375. package/lib/components/MenuItem/useMenuItemStyles.d.ts +0 -3
  376. package/lib/components/MenuItemCheckbox/MenuItemCheckbox.d.ts +0 -6
  377. package/lib/components/MenuItemCheckbox/MenuItemCheckbox.types.d.ts +0 -4
  378. package/lib/components/MenuItemCheckbox/index.d.ts +0 -4
  379. package/lib/components/MenuItemCheckbox/renderMenuItemCheckbox.d.ts +0 -3
  380. package/lib/components/MenuItemCheckbox/useMenuItemCheckbox.d.ts +0 -4
  381. package/lib/components/MenuItemCheckbox/useMenuItemCheckboxStyles.d.ts +0 -2
  382. package/lib/components/MenuItemRadio/MenuItemRadio.d.ts +0 -6
  383. package/lib/components/MenuItemRadio/MenuItemRadio.types.d.ts +0 -4
  384. package/lib/components/MenuItemRadio/index.d.ts +0 -4
  385. package/lib/components/MenuItemRadio/renderMenuItemRadio.d.ts +0 -6
  386. package/lib/components/MenuItemRadio/useMenuItemRadio.d.ts +0 -6
  387. package/lib/components/MenuItemRadio/useMenuItemRadioStyles.d.ts +0 -2
  388. package/lib/components/MenuList/MenuList.d.ts +0 -6
  389. package/lib/components/MenuList/MenuList.types.d.ts +0 -53
  390. package/lib/components/MenuList/index.d.ts +0 -6
  391. package/lib/components/MenuList/renderMenuList.d.ts +0 -5
  392. package/lib/components/MenuList/useMenuList.d.ts +0 -6
  393. package/lib/components/MenuList/useMenuListContextValues.d.ts +0 -2
  394. package/lib/components/MenuList/useMenuListStyles.d.ts +0 -5
  395. package/lib/components/MenuPopover/MenuPopover.d.ts +0 -6
  396. package/lib/components/MenuPopover/MenuPopover.types.d.ts +0 -18
  397. package/lib/components/MenuPopover/index.d.ts +0 -5
  398. package/lib/components/MenuPopover/renderMenuPopover.d.ts +0 -5
  399. package/lib/components/MenuPopover/useMenuPopover.d.ts +0 -12
  400. package/lib/components/MenuPopover/useMenuPopoverStyles.d.ts +0 -5
  401. package/lib/components/MenuTrigger/MenuTrigger.d.ts +0 -7
  402. package/lib/components/MenuTrigger/MenuTrigger.types.d.ts +0 -16
  403. package/lib/components/MenuTrigger/index.d.ts +0 -4
  404. package/lib/components/MenuTrigger/renderMenuTrigger.d.ts +0 -7
  405. package/lib/components/MenuTrigger/useMenuTrigger.d.ts +0 -8
  406. package/lib/components/MenuTrigger/useTriggerElement.d.ts +0 -5
  407. package/lib/components/MenuTrigger/useTriggerElement.js +0 -179
  408. package/lib/components/MenuTrigger/useTriggerElement.js.map +0 -1
  409. package/lib/components/index.d.ts +0 -2
  410. package/lib/contexts/menuContext.d.ts +0 -16
  411. package/lib/contexts/menuGroupContext.d.ts +0 -13
  412. package/lib/contexts/menuListContext.d.ts +0 -15
  413. package/lib/contexts/menuTriggerContext.d.ts +0 -3
  414. package/lib/index.d.ts +0 -15
  415. package/lib/selectable/index.d.ts +0 -2
  416. package/lib/selectable/types.d.ts +0 -34
  417. package/lib/selectable/useCheckmarkStyles.d.ts +0 -8
  418. package/lib/utils/DefaultIcons.d.ts +0 -7
  419. package/lib/utils/DefaultIcons.js +0 -88
  420. package/lib/utils/DefaultIcons.js.map +0 -1
  421. package/lib/utils/index.d.ts +0 -1
  422. package/lib/utils/useIsSubmenu.d.ts +0 -9
  423. package/lib/utils/useOnMenuEnter.d.ts +0 -23
  424. package/lib-commonjs/Menu.d.ts +0 -1
  425. package/lib-commonjs/MenuDivider.d.ts +0 -1
  426. package/lib-commonjs/MenuGroup.d.ts +0 -1
  427. package/lib-commonjs/MenuGroupHeader.d.ts +0 -1
  428. package/lib-commonjs/MenuItem.d.ts +0 -1
  429. package/lib-commonjs/MenuItemCheckbox.d.ts +0 -1
  430. package/lib-commonjs/MenuItemRadio.d.ts +0 -1
  431. package/lib-commonjs/MenuList.d.ts +0 -1
  432. package/lib-commonjs/MenuPopover.d.ts +0 -1
  433. package/lib-commonjs/MenuTrigger.d.ts +0 -1
  434. package/lib-commonjs/common/isConformant.d.ts +0 -4
  435. package/lib-commonjs/common/isConformant.js +0 -23
  436. package/lib-commonjs/common/isConformant.js.map +0 -1
  437. package/lib-commonjs/common/mockUseMenuContext.d.ts +0 -7
  438. package/lib-commonjs/common/mockUseMenuContext.js +0 -47
  439. package/lib-commonjs/common/mockUseMenuContext.js.map +0 -1
  440. package/lib-commonjs/components/Menu/Menu.d.ts +0 -6
  441. package/lib-commonjs/components/Menu/Menu.types.d.ts +0 -112
  442. package/lib-commonjs/components/Menu/index.d.ts +0 -5
  443. package/lib-commonjs/components/Menu/renderMenu.d.ts +0 -5
  444. package/lib-commonjs/components/Menu/useMenu.d.ts +0 -10
  445. package/lib-commonjs/components/Menu/useMenuContextValues.d.ts +0 -2
  446. package/lib-commonjs/components/MenuDivider/MenuDivider.d.ts +0 -6
  447. package/lib-commonjs/components/MenuDivider/MenuDivider.types.d.ts +0 -6
  448. package/lib-commonjs/components/MenuDivider/index.d.ts +0 -5
  449. package/lib-commonjs/components/MenuDivider/renderMenuDivider.d.ts +0 -6
  450. package/lib-commonjs/components/MenuDivider/useMenuDivider.d.ts +0 -6
  451. package/lib-commonjs/components/MenuDivider/useMenuDividerStyles.d.ts +0 -2
  452. package/lib-commonjs/components/MenuGroup/MenuGroup.d.ts +0 -6
  453. package/lib-commonjs/components/MenuGroup/MenuGroup.types.d.ts +0 -15
  454. package/lib-commonjs/components/MenuGroup/index.d.ts +0 -5
  455. package/lib-commonjs/components/MenuGroup/renderMenuGroup.d.ts +0 -6
  456. package/lib-commonjs/components/MenuGroup/useMenuGroup.d.ts +0 -6
  457. package/lib-commonjs/components/MenuGroup/useMenuGroupContextValues.d.ts +0 -2
  458. package/lib-commonjs/components/MenuGroupHeader/MenuGroupHeader.d.ts +0 -6
  459. package/lib-commonjs/components/MenuGroupHeader/MenuGroupHeader.types.d.ts +0 -6
  460. package/lib-commonjs/components/MenuGroupHeader/index.d.ts +0 -5
  461. package/lib-commonjs/components/MenuGroupHeader/renderMenuGroupHeader.d.ts +0 -6
  462. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeader.d.ts +0 -6
  463. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeaderStyles.d.ts +0 -2
  464. package/lib-commonjs/components/MenuItem/MenuItem.d.ts +0 -6
  465. package/lib-commonjs/components/MenuItem/MenuItem.types.d.ts +0 -43
  466. package/lib-commonjs/components/MenuItem/index.d.ts +0 -5
  467. package/lib-commonjs/components/MenuItem/renderMenuItem.d.ts +0 -5
  468. package/lib-commonjs/components/MenuItem/useCharacterSearch.d.ts +0 -3
  469. package/lib-commonjs/components/MenuItem/useMenuItem.d.ts +0 -10
  470. package/lib-commonjs/components/MenuItem/useMenuItemStyles.d.ts +0 -3
  471. package/lib-commonjs/components/MenuItemCheckbox/MenuItemCheckbox.d.ts +0 -6
  472. package/lib-commonjs/components/MenuItemCheckbox/MenuItemCheckbox.types.d.ts +0 -4
  473. package/lib-commonjs/components/MenuItemCheckbox/index.d.ts +0 -4
  474. package/lib-commonjs/components/MenuItemCheckbox/renderMenuItemCheckbox.d.ts +0 -3
  475. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckbox.d.ts +0 -4
  476. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckboxStyles.d.ts +0 -2
  477. package/lib-commonjs/components/MenuItemRadio/MenuItemRadio.d.ts +0 -6
  478. package/lib-commonjs/components/MenuItemRadio/MenuItemRadio.types.d.ts +0 -4
  479. package/lib-commonjs/components/MenuItemRadio/index.d.ts +0 -4
  480. package/lib-commonjs/components/MenuItemRadio/renderMenuItemRadio.d.ts +0 -6
  481. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadio.d.ts +0 -6
  482. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadioStyles.d.ts +0 -2
  483. package/lib-commonjs/components/MenuList/MenuList.d.ts +0 -6
  484. package/lib-commonjs/components/MenuList/MenuList.types.d.ts +0 -53
  485. package/lib-commonjs/components/MenuList/index.d.ts +0 -6
  486. package/lib-commonjs/components/MenuList/renderMenuList.d.ts +0 -5
  487. package/lib-commonjs/components/MenuList/useMenuList.d.ts +0 -6
  488. package/lib-commonjs/components/MenuList/useMenuListContextValues.d.ts +0 -2
  489. package/lib-commonjs/components/MenuList/useMenuListStyles.d.ts +0 -5
  490. package/lib-commonjs/components/MenuPopover/MenuPopover.d.ts +0 -6
  491. package/lib-commonjs/components/MenuPopover/MenuPopover.types.d.ts +0 -18
  492. package/lib-commonjs/components/MenuPopover/index.d.ts +0 -5
  493. package/lib-commonjs/components/MenuPopover/renderMenuPopover.d.ts +0 -5
  494. package/lib-commonjs/components/MenuPopover/useMenuPopover.d.ts +0 -12
  495. package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.d.ts +0 -5
  496. package/lib-commonjs/components/MenuTrigger/MenuTrigger.d.ts +0 -7
  497. package/lib-commonjs/components/MenuTrigger/MenuTrigger.types.d.ts +0 -16
  498. package/lib-commonjs/components/MenuTrigger/index.d.ts +0 -4
  499. package/lib-commonjs/components/MenuTrigger/renderMenuTrigger.d.ts +0 -7
  500. package/lib-commonjs/components/MenuTrigger/useMenuTrigger.d.ts +0 -8
  501. package/lib-commonjs/components/MenuTrigger/useTriggerElement.d.ts +0 -5
  502. package/lib-commonjs/components/MenuTrigger/useTriggerElement.js +0 -195
  503. package/lib-commonjs/components/MenuTrigger/useTriggerElement.js.map +0 -1
  504. package/lib-commonjs/components/index.d.ts +0 -2
  505. package/lib-commonjs/contexts/menuContext.d.ts +0 -16
  506. package/lib-commonjs/contexts/menuGroupContext.d.ts +0 -13
  507. package/lib-commonjs/contexts/menuListContext.d.ts +0 -15
  508. package/lib-commonjs/contexts/menuTriggerContext.d.ts +0 -3
  509. package/lib-commonjs/index.d.ts +0 -15
  510. package/lib-commonjs/selectable/index.d.ts +0 -2
  511. package/lib-commonjs/selectable/types.d.ts +0 -34
  512. package/lib-commonjs/selectable/useCheckmarkStyles.d.ts +0 -8
  513. package/lib-commonjs/utils/DefaultIcons.d.ts +0 -7
  514. package/lib-commonjs/utils/DefaultIcons.js +0 -100
  515. package/lib-commonjs/utils/DefaultIcons.js.map +0 -1
  516. package/lib-commonjs/utils/index.d.ts +0 -1
  517. package/lib-commonjs/utils/useIsSubmenu.d.ts +0 -9
  518. package/lib-commonjs/utils/useOnMenuEnter.d.ts +0 -23
@@ -3,20 +3,18 @@
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
- var React = /*#__PURE__*/require("react");
8
+ const React = /*#__PURE__*/require("react");
9
9
  /**
10
- * Context used communicate with child that it is a trigger for a menu
10
+ * Context used communicate with a child menu item that it is a trigger for a submenu
11
11
  */
12
12
 
13
13
 
14
- var MenuTriggerContext = /*#__PURE__*/React.createContext(false);
14
+ const MenuTriggerContext = /*#__PURE__*/React.createContext(false);
15
15
  exports.MenuTriggerContextProvider = MenuTriggerContext.Provider;
16
16
 
17
- var useMenuTriggerContext = function () {
18
- return React.useContext(MenuTriggerContext);
19
- };
17
+ const useMenuTriggerContext_unstable = () => React.useContext(MenuTriggerContext);
20
18
 
21
- exports.useMenuTriggerContext = useMenuTriggerContext;
19
+ exports.useMenuTriggerContext_unstable = useMenuTriggerContext_unstable;
22
20
  //# sourceMappingURL=menuTriggerContext.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/contexts/menuTriggerContext.ts"],"names":[],"mappings":";;;;;;;AAAA,IAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;AAEA;;AAEG;;;AACH,IAAM,kBAAkB,gBAAG,KAAK,CAAC,aAAN,CAA6B,KAA7B,CAA3B;AAEa,OAAA,CAAA,0BAAA,GAA6B,kBAAkB,CAAC,QAAhD;;AACN,IAAM,qBAAqB,GAAG,YAAA;AAAM,SAAA,KAAK,CAAC,UAAN,CAAA,kBAAA,CAAA;AAAoC,CAAxE;;AAAM,OAAA,CAAA,qBAAA,GAAqB,qBAArB","sourceRoot":""}
1
+ {"version":3,"sources":["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","sourcesContent":["import * as React from 'react';\n\n/**\n * Context used communicate with a child menu item that it is a trigger for a submenu\n */\nconst MenuTriggerContext = React.createContext<boolean>(false);\n\nexport const MenuTriggerContextProvider = MenuTriggerContext.Provider;\nexport const useMenuTriggerContext_unstable = () => React.useContext(MenuTriggerContext);\n"],"sourceRoot":"../src/"}
@@ -3,36 +3,432 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
+ exports.MenuPopover = exports.useMenuList_unstable = exports.useMenuListStyles_unstable = exports.useMenuListContextValues_unstable = exports.renderMenuList_unstable = exports.menuListClassNames = exports.MenuList = exports.useMenuItemRadio_unstable = exports.useMenuItemRadioStyles_unstable = exports.renderMenuItemRadio_unstable = exports.menuItemRadioClassNames = exports.MenuItemRadio = exports.useMenuItemCheckbox_unstable = exports.useMenuItemCheckboxStyles_unstable = exports.renderMenuItemCheckbox_unstable = exports.menuItemCheckboxClassNames = exports.MenuItemCheckbox = exports.useMenuItem_unstable = exports.useMenuItemStyles_unstable = exports.renderMenuItem_unstable = exports.menuItemClassNames = exports.MenuItem = exports.useMenuGroupHeader_unstable = exports.useMenuGroupHeaderStyles_unstable = exports.renderMenuGroupHeader_unstable = exports.menuGroupHeaderClassNames = exports.MenuGroupHeader = exports.useMenuGroup_unstable = exports.useMenuGroupStyles_unstable = exports.useMenuGroupContextValues_unstable = exports.renderMenuGroup_unstable = exports.menuGroupClassNames = exports.MenuGroup = exports.useMenuDivider_unstable = exports.useMenuDividerStyles_unstable = exports.renderMenuDivider_unstable = exports.menuDividerClassNames = exports.MenuDivider = exports.useMenu_unstable = exports.useMenuContextValues_unstable = exports.renderMenu_unstable = exports.Menu = exports.useMenuListContext_unstable = exports.MenuListProvider = exports.useMenuGroupContext_unstable = exports.MenuGroupContextProvider = exports.useMenuTriggerContext_unstable = exports.MenuTriggerContextProvider = exports.useMenuContext_unstable = exports.MenuProvider = void 0;
7
+ exports.useCheckmarkStyles_unstable = exports.useMenuTrigger_unstable = exports.renderMenuTrigger_unstable = exports.MenuTrigger = exports.useMenuSplitGroup_unstable = exports.useMenuSplitGroupStyles_unstable = exports.renderMenuSplitGroup_unstable = exports.menuSplitGroupClassNames = exports.MenuSplitGroup = exports.useMenuPopover_unstable = exports.useMenuPopoverStyles_unstable = exports.renderMenuPopover_unstable = exports.menuPopoverClassNames = void 0;
6
8
 
7
- var tslib_1 = /*#__PURE__*/require("tslib");
9
+ var menuContext_1 = /*#__PURE__*/require("./contexts/menuContext");
8
10
 
9
- tslib_1.__exportStar(require("./MenuItem"), exports);
11
+ Object.defineProperty(exports, "MenuProvider", {
12
+ enumerable: true,
13
+ get: function () {
14
+ return menuContext_1.MenuProvider;
15
+ }
16
+ });
17
+ Object.defineProperty(exports, "useMenuContext_unstable", {
18
+ enumerable: true,
19
+ get: function () {
20
+ return menuContext_1.useMenuContext_unstable;
21
+ }
22
+ });
23
+
24
+ var menuTriggerContext_1 = /*#__PURE__*/require("./contexts/menuTriggerContext");
25
+
26
+ Object.defineProperty(exports, "MenuTriggerContextProvider", {
27
+ enumerable: true,
28
+ get: function () {
29
+ return menuTriggerContext_1.MenuTriggerContextProvider;
30
+ }
31
+ });
32
+ Object.defineProperty(exports, "useMenuTriggerContext_unstable", {
33
+ enumerable: true,
34
+ get: function () {
35
+ return menuTriggerContext_1.useMenuTriggerContext_unstable;
36
+ }
37
+ });
38
+
39
+ var menuGroupContext_1 = /*#__PURE__*/require("./contexts/menuGroupContext");
40
+
41
+ Object.defineProperty(exports, "MenuGroupContextProvider", {
42
+ enumerable: true,
43
+ get: function () {
44
+ return menuGroupContext_1.MenuGroupContextProvider;
45
+ }
46
+ });
47
+ Object.defineProperty(exports, "useMenuGroupContext_unstable", {
48
+ enumerable: true,
49
+ get: function () {
50
+ return menuGroupContext_1.useMenuGroupContext_unstable;
51
+ }
52
+ });
10
53
 
11
- tslib_1.__exportStar(require("./MenuList"), exports);
54
+ var menuListContext_1 = /*#__PURE__*/require("./contexts/menuListContext");
12
55
 
13
- tslib_1.__exportStar(require("./MenuItemCheckbox"), exports);
56
+ Object.defineProperty(exports, "MenuListProvider", {
57
+ enumerable: true,
58
+ get: function () {
59
+ return menuListContext_1.MenuListProvider;
60
+ }
61
+ });
62
+ Object.defineProperty(exports, "useMenuListContext_unstable", {
63
+ enumerable: true,
64
+ get: function () {
65
+ return menuListContext_1.useMenuListContext_unstable;
66
+ }
67
+ });
14
68
 
15
- tslib_1.__exportStar(require("./MenuItemRadio"), exports);
69
+ var Menu_1 = /*#__PURE__*/require("./Menu");
16
70
 
17
- tslib_1.__exportStar(require("./MenuDivider"), exports);
71
+ Object.defineProperty(exports, "Menu", {
72
+ enumerable: true,
73
+ get: function () {
74
+ return Menu_1.Menu;
75
+ }
76
+ });
77
+ Object.defineProperty(exports, "renderMenu_unstable", {
78
+ enumerable: true,
79
+ get: function () {
80
+ return Menu_1.renderMenu_unstable;
81
+ }
82
+ });
83
+ Object.defineProperty(exports, "useMenuContextValues_unstable", {
84
+ enumerable: true,
85
+ get: function () {
86
+ return Menu_1.useMenuContextValues_unstable;
87
+ }
88
+ });
89
+ Object.defineProperty(exports, "useMenu_unstable", {
90
+ enumerable: true,
91
+ get: function () {
92
+ return Menu_1.useMenu_unstable;
93
+ }
94
+ });
18
95
 
19
- tslib_1.__exportStar(require("./MenuGroupHeader"), exports);
96
+ var MenuDivider_1 = /*#__PURE__*/require("./MenuDivider");
20
97
 
21
- tslib_1.__exportStar(require("./MenuGroup"), exports);
98
+ Object.defineProperty(exports, "MenuDivider", {
99
+ enumerable: true,
100
+ get: function () {
101
+ return MenuDivider_1.MenuDivider;
102
+ }
103
+ });
104
+ Object.defineProperty(exports, "menuDividerClassNames", {
105
+ enumerable: true,
106
+ get: function () {
107
+ return MenuDivider_1.menuDividerClassNames;
108
+ }
109
+ });
110
+ Object.defineProperty(exports, "renderMenuDivider_unstable", {
111
+ enumerable: true,
112
+ get: function () {
113
+ return MenuDivider_1.renderMenuDivider_unstable;
114
+ }
115
+ });
116
+ Object.defineProperty(exports, "useMenuDividerStyles_unstable", {
117
+ enumerable: true,
118
+ get: function () {
119
+ return MenuDivider_1.useMenuDividerStyles_unstable;
120
+ }
121
+ });
122
+ Object.defineProperty(exports, "useMenuDivider_unstable", {
123
+ enumerable: true,
124
+ get: function () {
125
+ return MenuDivider_1.useMenuDivider_unstable;
126
+ }
127
+ });
22
128
 
23
- tslib_1.__exportStar(require("./selectable/index"), exports);
129
+ var MenuGroup_1 = /*#__PURE__*/require("./MenuGroup");
24
130
 
25
- tslib_1.__exportStar(require("./MenuTrigger"), exports);
131
+ Object.defineProperty(exports, "MenuGroup", {
132
+ enumerable: true,
133
+ get: function () {
134
+ return MenuGroup_1.MenuGroup;
135
+ }
136
+ });
137
+ Object.defineProperty(exports, "menuGroupClassNames", {
138
+ enumerable: true,
139
+ get: function () {
140
+ return MenuGroup_1.menuGroupClassNames;
141
+ }
142
+ });
143
+ Object.defineProperty(exports, "renderMenuGroup_unstable", {
144
+ enumerable: true,
145
+ get: function () {
146
+ return MenuGroup_1.renderMenuGroup_unstable;
147
+ }
148
+ });
149
+ Object.defineProperty(exports, "useMenuGroupContextValues_unstable", {
150
+ enumerable: true,
151
+ get: function () {
152
+ return MenuGroup_1.useMenuGroupContextValues_unstable;
153
+ }
154
+ });
155
+ Object.defineProperty(exports, "useMenuGroupStyles_unstable", {
156
+ enumerable: true,
157
+ get: function () {
158
+ return MenuGroup_1.useMenuGroupStyles_unstable;
159
+ }
160
+ });
161
+ Object.defineProperty(exports, "useMenuGroup_unstable", {
162
+ enumerable: true,
163
+ get: function () {
164
+ return MenuGroup_1.useMenuGroup_unstable;
165
+ }
166
+ });
26
167
 
27
- tslib_1.__exportStar(require("./Menu"), exports);
168
+ var MenuGroupHeader_1 = /*#__PURE__*/require("./MenuGroupHeader");
28
169
 
29
- tslib_1.__exportStar(require("./contexts/menuContext"), exports);
170
+ Object.defineProperty(exports, "MenuGroupHeader", {
171
+ enumerable: true,
172
+ get: function () {
173
+ return MenuGroupHeader_1.MenuGroupHeader;
174
+ }
175
+ });
176
+ Object.defineProperty(exports, "menuGroupHeaderClassNames", {
177
+ enumerable: true,
178
+ get: function () {
179
+ return MenuGroupHeader_1.menuGroupHeaderClassNames;
180
+ }
181
+ });
182
+ Object.defineProperty(exports, "renderMenuGroupHeader_unstable", {
183
+ enumerable: true,
184
+ get: function () {
185
+ return MenuGroupHeader_1.renderMenuGroupHeader_unstable;
186
+ }
187
+ });
188
+ Object.defineProperty(exports, "useMenuGroupHeaderStyles_unstable", {
189
+ enumerable: true,
190
+ get: function () {
191
+ return MenuGroupHeader_1.useMenuGroupHeaderStyles_unstable;
192
+ }
193
+ });
194
+ Object.defineProperty(exports, "useMenuGroupHeader_unstable", {
195
+ enumerable: true,
196
+ get: function () {
197
+ return MenuGroupHeader_1.useMenuGroupHeader_unstable;
198
+ }
199
+ });
30
200
 
31
- tslib_1.__exportStar(require("./contexts/menuTriggerContext"), exports);
201
+ var MenuItem_1 = /*#__PURE__*/require("./MenuItem");
32
202
 
33
- tslib_1.__exportStar(require("./contexts/menuGroupContext"), exports);
203
+ Object.defineProperty(exports, "MenuItem", {
204
+ enumerable: true,
205
+ get: function () {
206
+ return MenuItem_1.MenuItem;
207
+ }
208
+ });
209
+ Object.defineProperty(exports, "menuItemClassNames", {
210
+ enumerable: true,
211
+ get: function () {
212
+ return MenuItem_1.menuItemClassNames;
213
+ }
214
+ });
215
+ Object.defineProperty(exports, "renderMenuItem_unstable", {
216
+ enumerable: true,
217
+ get: function () {
218
+ return MenuItem_1.renderMenuItem_unstable;
219
+ }
220
+ });
221
+ Object.defineProperty(exports, "useMenuItemStyles_unstable", {
222
+ enumerable: true,
223
+ get: function () {
224
+ return MenuItem_1.useMenuItemStyles_unstable;
225
+ }
226
+ });
227
+ Object.defineProperty(exports, "useMenuItem_unstable", {
228
+ enumerable: true,
229
+ get: function () {
230
+ return MenuItem_1.useMenuItem_unstable;
231
+ }
232
+ });
34
233
 
35
- tslib_1.__exportStar(require("./contexts/menuListContext"), exports);
234
+ var MenuItemCheckbox_1 = /*#__PURE__*/require("./MenuItemCheckbox");
36
235
 
37
- tslib_1.__exportStar(require("./MenuPopover"), exports);
236
+ Object.defineProperty(exports, "MenuItemCheckbox", {
237
+ enumerable: true,
238
+ get: function () {
239
+ return MenuItemCheckbox_1.MenuItemCheckbox;
240
+ }
241
+ });
242
+ Object.defineProperty(exports, "menuItemCheckboxClassNames", {
243
+ enumerable: true,
244
+ get: function () {
245
+ return MenuItemCheckbox_1.menuItemCheckboxClassNames;
246
+ }
247
+ });
248
+ Object.defineProperty(exports, "renderMenuItemCheckbox_unstable", {
249
+ enumerable: true,
250
+ get: function () {
251
+ return MenuItemCheckbox_1.renderMenuItemCheckbox_unstable;
252
+ }
253
+ });
254
+ Object.defineProperty(exports, "useMenuItemCheckboxStyles_unstable", {
255
+ enumerable: true,
256
+ get: function () {
257
+ return MenuItemCheckbox_1.useMenuItemCheckboxStyles_unstable;
258
+ }
259
+ });
260
+ Object.defineProperty(exports, "useMenuItemCheckbox_unstable", {
261
+ enumerable: true,
262
+ get: function () {
263
+ return MenuItemCheckbox_1.useMenuItemCheckbox_unstable;
264
+ }
265
+ });
266
+
267
+ var MenuItemRadio_1 = /*#__PURE__*/require("./MenuItemRadio");
268
+
269
+ Object.defineProperty(exports, "MenuItemRadio", {
270
+ enumerable: true,
271
+ get: function () {
272
+ return MenuItemRadio_1.MenuItemRadio;
273
+ }
274
+ });
275
+ Object.defineProperty(exports, "menuItemRadioClassNames", {
276
+ enumerable: true,
277
+ get: function () {
278
+ return MenuItemRadio_1.menuItemRadioClassNames;
279
+ }
280
+ });
281
+ Object.defineProperty(exports, "renderMenuItemRadio_unstable", {
282
+ enumerable: true,
283
+ get: function () {
284
+ return MenuItemRadio_1.renderMenuItemRadio_unstable;
285
+ }
286
+ });
287
+ Object.defineProperty(exports, "useMenuItemRadioStyles_unstable", {
288
+ enumerable: true,
289
+ get: function () {
290
+ return MenuItemRadio_1.useMenuItemRadioStyles_unstable;
291
+ }
292
+ });
293
+ Object.defineProperty(exports, "useMenuItemRadio_unstable", {
294
+ enumerable: true,
295
+ get: function () {
296
+ return MenuItemRadio_1.useMenuItemRadio_unstable;
297
+ }
298
+ });
299
+
300
+ var MenuList_1 = /*#__PURE__*/require("./MenuList");
301
+
302
+ Object.defineProperty(exports, "MenuList", {
303
+ enumerable: true,
304
+ get: function () {
305
+ return MenuList_1.MenuList;
306
+ }
307
+ });
308
+ Object.defineProperty(exports, "menuListClassNames", {
309
+ enumerable: true,
310
+ get: function () {
311
+ return MenuList_1.menuListClassNames;
312
+ }
313
+ });
314
+ Object.defineProperty(exports, "renderMenuList_unstable", {
315
+ enumerable: true,
316
+ get: function () {
317
+ return MenuList_1.renderMenuList_unstable;
318
+ }
319
+ });
320
+ Object.defineProperty(exports, "useMenuListContextValues_unstable", {
321
+ enumerable: true,
322
+ get: function () {
323
+ return MenuList_1.useMenuListContextValues_unstable;
324
+ }
325
+ });
326
+ Object.defineProperty(exports, "useMenuListStyles_unstable", {
327
+ enumerable: true,
328
+ get: function () {
329
+ return MenuList_1.useMenuListStyles_unstable;
330
+ }
331
+ });
332
+ Object.defineProperty(exports, "useMenuList_unstable", {
333
+ enumerable: true,
334
+ get: function () {
335
+ return MenuList_1.useMenuList_unstable;
336
+ }
337
+ });
338
+
339
+ var MenuPopover_1 = /*#__PURE__*/require("./MenuPopover");
340
+
341
+ Object.defineProperty(exports, "MenuPopover", {
342
+ enumerable: true,
343
+ get: function () {
344
+ return MenuPopover_1.MenuPopover;
345
+ }
346
+ });
347
+ Object.defineProperty(exports, "menuPopoverClassNames", {
348
+ enumerable: true,
349
+ get: function () {
350
+ return MenuPopover_1.menuPopoverClassNames;
351
+ }
352
+ });
353
+ Object.defineProperty(exports, "renderMenuPopover_unstable", {
354
+ enumerable: true,
355
+ get: function () {
356
+ return MenuPopover_1.renderMenuPopover_unstable;
357
+ }
358
+ });
359
+ Object.defineProperty(exports, "useMenuPopoverStyles_unstable", {
360
+ enumerable: true,
361
+ get: function () {
362
+ return MenuPopover_1.useMenuPopoverStyles_unstable;
363
+ }
364
+ });
365
+ Object.defineProperty(exports, "useMenuPopover_unstable", {
366
+ enumerable: true,
367
+ get: function () {
368
+ return MenuPopover_1.useMenuPopover_unstable;
369
+ }
370
+ });
371
+
372
+ var MenuSplitGroup_1 = /*#__PURE__*/require("./MenuSplitGroup");
373
+
374
+ Object.defineProperty(exports, "MenuSplitGroup", {
375
+ enumerable: true,
376
+ get: function () {
377
+ return MenuSplitGroup_1.MenuSplitGroup;
378
+ }
379
+ });
380
+ Object.defineProperty(exports, "menuSplitGroupClassNames", {
381
+ enumerable: true,
382
+ get: function () {
383
+ return MenuSplitGroup_1.menuSplitGroupClassNames;
384
+ }
385
+ });
386
+ Object.defineProperty(exports, "renderMenuSplitGroup_unstable", {
387
+ enumerable: true,
388
+ get: function () {
389
+ return MenuSplitGroup_1.renderMenuSplitGroup_unstable;
390
+ }
391
+ });
392
+ Object.defineProperty(exports, "useMenuSplitGroupStyles_unstable", {
393
+ enumerable: true,
394
+ get: function () {
395
+ return MenuSplitGroup_1.useMenuSplitGroupStyles_unstable;
396
+ }
397
+ });
398
+ Object.defineProperty(exports, "useMenuSplitGroup_unstable", {
399
+ enumerable: true,
400
+ get: function () {
401
+ return MenuSplitGroup_1.useMenuSplitGroup_unstable;
402
+ }
403
+ });
404
+
405
+ var MenuTrigger_1 = /*#__PURE__*/require("./MenuTrigger");
406
+
407
+ Object.defineProperty(exports, "MenuTrigger", {
408
+ enumerable: true,
409
+ get: function () {
410
+ return MenuTrigger_1.MenuTrigger;
411
+ }
412
+ });
413
+ Object.defineProperty(exports, "renderMenuTrigger_unstable", {
414
+ enumerable: true,
415
+ get: function () {
416
+ return MenuTrigger_1.renderMenuTrigger_unstable;
417
+ }
418
+ });
419
+ Object.defineProperty(exports, "useMenuTrigger_unstable", {
420
+ enumerable: true,
421
+ get: function () {
422
+ return MenuTrigger_1.useMenuTrigger_unstable;
423
+ }
424
+ });
425
+
426
+ var index_1 = /*#__PURE__*/require("./selectable/index");
427
+
428
+ Object.defineProperty(exports, "useCheckmarkStyles_unstable", {
429
+ enumerable: true,
430
+ get: function () {
431
+ return index_1.useCheckmarkStyles_unstable;
432
+ }
433
+ });
38
434
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,YAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,YAAA,C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from './contexts/menuContext';\nexport { MenuTriggerContextProvider, useMenuTriggerContext_unstable } from './contexts/menuTriggerContext';\nexport { MenuGroupContextProvider, useMenuGroupContext_unstable } from './contexts/menuGroupContext';\nexport type { MenuGroupContextValue } from './contexts/menuGroupContext';\nexport { MenuListProvider, useMenuListContext_unstable } from './contexts/menuListContext';\nexport type { MenuListContextValue } from './contexts/menuListContext';\n\nexport { Menu, renderMenu_unstable, useMenuContextValues_unstable, useMenu_unstable } from './Menu';\nexport type { MenuContextValues, MenuOpenChangeData, MenuOpenEvents, MenuProps, MenuSlots, MenuState } from './Menu';\nexport {\n MenuDivider,\n menuDividerClassNames,\n renderMenuDivider_unstable,\n useMenuDividerStyles_unstable,\n useMenuDivider_unstable,\n} from './MenuDivider';\nexport type { MenuDividerProps, MenuDividerSlots, MenuDividerState } from './MenuDivider';\nexport {\n MenuGroup,\n menuGroupClassNames,\n renderMenuGroup_unstable,\n useMenuGroupContextValues_unstable,\n useMenuGroupStyles_unstable,\n useMenuGroup_unstable,\n} from './MenuGroup';\nexport type { MenuGroupContextValues, MenuGroupProps, MenuGroupSlots, MenuGroupState } from './MenuGroup';\nexport {\n MenuGroupHeader,\n menuGroupHeaderClassNames,\n renderMenuGroupHeader_unstable,\n useMenuGroupHeaderStyles_unstable,\n useMenuGroupHeader_unstable,\n} from './MenuGroupHeader';\nexport type { MenuGroupHeaderProps, MenuGroupHeaderSlots, MenuGroupHeaderState } from './MenuGroupHeader';\nexport {\n MenuItem,\n menuItemClassNames,\n renderMenuItem_unstable,\n useMenuItemStyles_unstable,\n useMenuItem_unstable,\n} from './MenuItem';\nexport type { MenuItemProps, MenuItemSlots, MenuItemState } from './MenuItem';\nexport {\n MenuItemCheckbox,\n menuItemCheckboxClassNames,\n renderMenuItemCheckbox_unstable,\n useMenuItemCheckboxStyles_unstable,\n useMenuItemCheckbox_unstable,\n} from './MenuItemCheckbox';\nexport type { MenuItemCheckboxProps, MenuItemCheckboxState } from './MenuItemCheckbox';\nexport {\n MenuItemRadio,\n menuItemRadioClassNames,\n renderMenuItemRadio_unstable,\n useMenuItemRadioStyles_unstable,\n useMenuItemRadio_unstable,\n} from './MenuItemRadio';\nexport type { MenuItemRadioProps, MenuItemRadioState } from './MenuItemRadio';\nexport {\n MenuList,\n menuListClassNames,\n renderMenuList_unstable,\n useMenuListContextValues_unstable,\n useMenuListStyles_unstable,\n useMenuList_unstable,\n} from './MenuList';\nexport type {\n MenuCheckedValueChangeData,\n MenuCheckedValueChangeEvent,\n MenuListContextValues,\n MenuListProps,\n MenuListSlots,\n MenuListState,\n UninitializedMenuListState,\n} from './MenuList';\nexport {\n MenuPopover,\n menuPopoverClassNames,\n renderMenuPopover_unstable,\n useMenuPopoverStyles_unstable,\n useMenuPopover_unstable,\n} from './MenuPopover';\nexport type { MenuPopoverProps, MenuPopoverSlots, MenuPopoverState } from './MenuPopover';\nexport {\n MenuSplitGroup,\n menuSplitGroupClassNames,\n renderMenuSplitGroup_unstable,\n useMenuSplitGroupStyles_unstable,\n useMenuSplitGroup_unstable,\n} from './MenuSplitGroup';\nexport type { MenuSplitGroupProps, MenuSplitGroupSlots, MenuSplitGroupState } from './MenuSplitGroup';\nexport { MenuTrigger, renderMenuTrigger_unstable, useMenuTrigger_unstable } from './MenuTrigger';\nexport type { MenuTriggerChildProps, MenuTriggerProps, MenuTriggerState } from './MenuTrigger';\n\nexport { useCheckmarkStyles_unstable } from './selectable/index';\nexport type { MenuItemSelectableProps, MenuItemSelectableState, SelectableHandler } from './selectable/index';\n"],"sourceRoot":"../src/"}
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
 
7
- var tslib_1 = /*#__PURE__*/require("tslib");
7
+ const tslib_1 = /*#__PURE__*/require("tslib");
8
8
 
9
9
  tslib_1.__exportStar(require("./useCheckmarkStyles"), exports);
10
10
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/selectable/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,sBAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,SAAA,CAAA,EAAA,OAAA","sourceRoot":""}
1
+ {"version":3,"sources":["selectable/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,sBAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,SAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './useCheckmarkStyles';\nexport * from './types';\n"],"sourceRoot":"../src/"}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourceRoot":""}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","sourceRoot":"../src/"}
@@ -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
- var react_make_styles_1 = /*#__PURE__*/require("@fluentui/react-make-styles");
8
+ const react_1 = /*#__PURE__*/require("@griffel/react");
9
9
 
10
- var 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 @@ var useStyles = /*#__PURE__*/react_make_styles_1.__styles({
26
26
  */
27
27
 
28
28
 
29
- var useCheckmarkStyles = function (state) {
30
- var styles = useStyles();
29
+ const useCheckmarkStyles_unstable = state => {
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,IAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AAIA,IAAM,SAAS,gBAAG,mBAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAWA;;;;AAIG;;;AACI,IAAM,kBAAkB,GAAG,UAAC,KAAD,EAAkE;AAClG,MAAM,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":["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","sourcesContent":["import { mergeClasses, makeStyles } from '@griffel/react';\nimport type { MenuItemSelectableState } from './types';\nimport type { MenuItemState } from '../components/MenuItem/MenuItem.types';\n\nconst useStyles = makeStyles({\n root: {\n width: '16px',\n height: '16px',\n visibility: 'hidden',\n },\n rootChecked: {\n visibility: 'visible',\n },\n});\n\n/**\n * Applies styles to a checkmark slot for selectable menu items\n *\n * @param state - should contain a `checkmark` slot\n */\nexport const useCheckmarkStyles_unstable = (state: MenuItemSelectableState & Pick<MenuItemState, 'checkmark'>) => {\n const styles = useStyles();\n if (state.checkmark) {\n state.checkmark.className = mergeClasses(\n styles.root,\n state.checked && styles.rootChecked,\n state.checkmark.className,\n );\n }\n};\n"],"sourceRoot":"../src/"}
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
 
7
- var tslib_1 = /*#__PURE__*/require("tslib");
7
+ const tslib_1 = /*#__PURE__*/require("tslib");
8
8
 
9
9
  tslib_1.__exportStar(require("./useOnMenuEnter"), exports);
10
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/utils/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,kBAAA,CAAA,EAAA,OAAA","sourceRoot":""}
1
+ {"version":3,"sources":["utils/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,kBAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './useOnMenuEnter';\n"],"sourceRoot":"../src/"}
@@ -5,11 +5,11 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.useIsSubmenu = void 0;
7
7
 
8
- var react_context_selector_1 = /*#__PURE__*/require("@fluentui/react-context-selector");
8
+ const react_context_selector_1 = /*#__PURE__*/require("@fluentui/react-context-selector");
9
9
 
10
- var menuContext_1 = /*#__PURE__*/require("../contexts/menuContext");
10
+ const menuContext_1 = /*#__PURE__*/require("../contexts/menuContext");
11
11
 
12
- var menuListContext_1 = /*#__PURE__*/require("../contexts/menuListContext");
12
+ const menuListContext_1 = /*#__PURE__*/require("../contexts/menuListContext");
13
13
  /**
14
14
  * A component can be a part of a submenu whether its menu context `isSubmenu` flag is true
15
15
  * or whether it is a part of a `MenuList`
@@ -21,10 +21,8 @@ var menuListContext_1 = /*#__PURE__*/require("../contexts/menuListContext");
21
21
 
22
22
 
23
23
  function useIsSubmenu() {
24
- var menuContextValue = menuContext_1.useMenuContext(function (context) {
25
- return context.isSubmenu;
26
- });
27
- var hasMenuListContext = react_context_selector_1.useHasParentContext(menuListContext_1.MenuListContext);
24
+ const menuContextValue = menuContext_1.useMenuContext_unstable(context => context.isSubmenu);
25
+ const hasMenuListContext = react_context_selector_1.useHasParentContext(menuListContext_1.MenuListContext);
28
26
  return menuContextValue || hasMenuListContext;
29
27
  }
30
28
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/utils/useIsSubmenu.ts"],"names":[],"mappings":";;;;;;;AAAA,IAAA,wBAAA,gBAAA,OAAA,CAAA,kCAAA,CAAA;;AACA,IAAA,aAAA,gBAAA,OAAA,CAAA,yBAAA,CAAA;;AACA,IAAA,iBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;AAEA;;;;;;;AAOG;;;AACH,SAAgB,YAAhB,GAA4B;AAC1B,MAAM,gBAAgB,GAAG,aAAA,CAAA,cAAA,CAAe,UAAA,OAAA,EAAO;AAAI,WAAA,OAAO,CAAP,SAAA;AAAiB,GAA3C,CAAzB;AACA,MAAM,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":["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","sourcesContent":["import { useHasParentContext } from '@fluentui/react-context-selector';\nimport { useMenuContext_unstable } from '../contexts/menuContext';\nimport { MenuListContext } from '../contexts/menuListContext';\n\n/**\n * A component can be a part of a submenu whether its menu context `isSubmenu` flag is true\n * or whether it is a part of a `MenuList`\n *\n * A simple hook to check box contexts easily\n *\n * @returns whether the component is part of a submenu\n */\nexport function useIsSubmenu() {\n const menuContextValue = useMenuContext_unstable(context => context.isSubmenu);\n const hasMenuListContext = useHasParentContext(MenuListContext);\n\n return menuContextValue || hasMenuListContext;\n}\n"],"sourceRoot":"../src/"}