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