@fluentui/react-menu 0.0.0-nightly0e0cf06c3420211029.1 → 0.0.0-nightly131c59c96120211203.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +214 -26
- package/CHANGELOG.md +58 -16
- package/dist/react-menu.d.ts +32 -6
- package/lib/components/Menu/Menu.js +3 -3
- package/lib/components/Menu/Menu.js.map +1 -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 +6 -5
- 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 +13 -8
- 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 +9 -7
- 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 +12 -8
- 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/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 +16 -10
- 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 +11 -8
- 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 +14 -9
- 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 +16 -16
- 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-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/CHANGELOG.json
CHANGED
|
@@ -2,85 +2,273 @@
|
|
|
2
2
|
"name": "@fluentui/react-menu",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "Fri,
|
|
6
|
-
"tag": "@fluentui/react-menu_v0.0.0-
|
|
7
|
-
"version": "0.0.0-
|
|
5
|
+
"date": "Fri, 03 Dec 2021 04:13:22 GMT",
|
|
6
|
+
"tag": "@fluentui/react-menu_v0.0.0-nightly131c59c96120211203.1",
|
|
7
|
+
"version": "0.0.0-nightly131c59c96120211203.1",
|
|
8
8
|
"comments": {
|
|
9
9
|
"prerelease": [
|
|
10
10
|
{
|
|
11
11
|
"author": "email not defined",
|
|
12
12
|
"package": "@fluentui/react-menu",
|
|
13
|
-
"commit": "
|
|
13
|
+
"commit": "6fe1f0a081835b662f3c880d6405724d3abc4c0b",
|
|
14
14
|
"comment": "Release nightly v9"
|
|
15
15
|
},
|
|
16
|
+
{
|
|
17
|
+
"author": "olfedias@microsoft.com",
|
|
18
|
+
"package": "@fluentui/react-menu",
|
|
19
|
+
"commit": "7e0933ed386742df28c416e6b3a6903a0c041f28",
|
|
20
|
+
"comment": "update styles to not use CSS shorthands"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "beachball",
|
|
24
|
+
"package": "@fluentui/react-menu",
|
|
25
|
+
"comment": "Bump @fluentui/keyboard-keys to v0.0.0-nightly131c59c96120211203.1",
|
|
26
|
+
"commit": "6fe1f0a081835b662f3c880d6405724d3abc4c0b"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"author": "beachball",
|
|
30
|
+
"package": "@fluentui/react-menu",
|
|
31
|
+
"comment": "Bump @fluentui/react-context-selector to v0.0.0-nightly131c59c96120211203.1",
|
|
32
|
+
"commit": "6fe1f0a081835b662f3c880d6405724d3abc4c0b"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"author": "beachball",
|
|
36
|
+
"package": "@fluentui/react-menu",
|
|
37
|
+
"comment": "Bump @fluentui/react-make-styles to v0.0.0-nightly131c59c96120211203.1",
|
|
38
|
+
"commit": "6fe1f0a081835b662f3c880d6405724d3abc4c0b"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"author": "beachball",
|
|
42
|
+
"package": "@fluentui/react-menu",
|
|
43
|
+
"comment": "Bump @fluentui/react-portal to v0.0.0-nightly131c59c96120211203.1",
|
|
44
|
+
"commit": "6fe1f0a081835b662f3c880d6405724d3abc4c0b"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"author": "beachball",
|
|
48
|
+
"package": "@fluentui/react-menu",
|
|
49
|
+
"comment": "Bump @fluentui/react-positioning to v0.0.0-nightly131c59c96120211203.1",
|
|
50
|
+
"commit": "6fe1f0a081835b662f3c880d6405724d3abc4c0b"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"author": "beachball",
|
|
54
|
+
"package": "@fluentui/react-menu",
|
|
55
|
+
"comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightly131c59c96120211203.1",
|
|
56
|
+
"commit": "6fe1f0a081835b662f3c880d6405724d3abc4c0b"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"author": "beachball",
|
|
60
|
+
"package": "@fluentui/react-menu",
|
|
61
|
+
"comment": "Bump @fluentui/react-tabster to v0.0.0-nightly131c59c96120211203.1",
|
|
62
|
+
"commit": "6fe1f0a081835b662f3c880d6405724d3abc4c0b"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"author": "beachball",
|
|
66
|
+
"package": "@fluentui/react-menu",
|
|
67
|
+
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightly131c59c96120211203.1",
|
|
68
|
+
"commit": "6fe1f0a081835b662f3c880d6405724d3abc4c0b"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"author": "beachball",
|
|
72
|
+
"package": "@fluentui/react-menu",
|
|
73
|
+
"comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightly131c59c96120211203.1",
|
|
74
|
+
"commit": "6fe1f0a081835b662f3c880d6405724d3abc4c0b"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"author": "beachball",
|
|
78
|
+
"package": "@fluentui/react-menu",
|
|
79
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightly131c59c96120211203.1",
|
|
80
|
+
"commit": "6fe1f0a081835b662f3c880d6405724d3abc4c0b"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"author": "beachball",
|
|
84
|
+
"package": "@fluentui/react-menu",
|
|
85
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightly131c59c96120211203.1",
|
|
86
|
+
"commit": "6fe1f0a081835b662f3c880d6405724d3abc4c0b"
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"date": "Thu, 25 Nov 2021 08:34:14 GMT",
|
|
93
|
+
"tag": "@fluentui/react-menu_v9.0.0-beta.5",
|
|
94
|
+
"version": "9.0.0-beta.5",
|
|
95
|
+
"comments": {
|
|
96
|
+
"none": [
|
|
97
|
+
{
|
|
98
|
+
"author": "lingfangao@hotmail.com",
|
|
99
|
+
"package": "@fluentui/react-menu",
|
|
100
|
+
"commit": "8a141d14f3a14de2e1c4691dad908622f310a9d1",
|
|
101
|
+
"comment": "Migrate package to use solution tsconfigs"
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"prerelease": [
|
|
105
|
+
{
|
|
106
|
+
"author": "ololubek@microsoft.com",
|
|
107
|
+
"package": "@fluentui/react-menu",
|
|
108
|
+
"commit": "ecab13cfd6ac22657020db8f86eb89f952b0f953",
|
|
109
|
+
"comment": "update react-icons dependency"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"author": "beachball",
|
|
113
|
+
"package": "@fluentui/react-menu",
|
|
114
|
+
"comment": "Bump @fluentui/react-context-selector to v9.0.0-beta.4",
|
|
115
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"author": "beachball",
|
|
119
|
+
"package": "@fluentui/react-menu",
|
|
120
|
+
"comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.4",
|
|
121
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
|
122
|
+
},
|
|
16
123
|
{
|
|
17
124
|
"author": "beachball",
|
|
18
125
|
"package": "@fluentui/react-menu",
|
|
19
|
-
"comment": "Bump @fluentui/
|
|
20
|
-
"commit": "
|
|
126
|
+
"comment": "Bump @fluentui/react-portal to v9.0.0-beta.5",
|
|
127
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
|
21
128
|
},
|
|
22
129
|
{
|
|
23
130
|
"author": "beachball",
|
|
24
131
|
"package": "@fluentui/react-menu",
|
|
25
|
-
"comment": "Bump @fluentui/react-
|
|
26
|
-
"commit": "
|
|
132
|
+
"comment": "Bump @fluentui/react-positioning to v9.0.0-beta.4",
|
|
133
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
|
27
134
|
},
|
|
28
135
|
{
|
|
29
136
|
"author": "beachball",
|
|
30
137
|
"package": "@fluentui/react-menu",
|
|
31
|
-
"comment": "Bump @fluentui/react-
|
|
32
|
-
"commit": "
|
|
138
|
+
"comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.4",
|
|
139
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
|
33
140
|
},
|
|
34
141
|
{
|
|
35
142
|
"author": "beachball",
|
|
36
143
|
"package": "@fluentui/react-menu",
|
|
37
|
-
"comment": "Bump @fluentui/react-
|
|
38
|
-
"commit": "
|
|
144
|
+
"comment": "Bump @fluentui/react-tabster to v9.0.0-beta.5",
|
|
145
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
|
39
146
|
},
|
|
40
147
|
{
|
|
41
148
|
"author": "beachball",
|
|
42
149
|
"package": "@fluentui/react-menu",
|
|
43
|
-
"comment": "Bump @fluentui/react-
|
|
44
|
-
"commit": "
|
|
150
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-beta.4",
|
|
151
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
|
45
152
|
},
|
|
46
153
|
{
|
|
47
154
|
"author": "beachball",
|
|
48
155
|
"package": "@fluentui/react-menu",
|
|
49
|
-
"comment": "Bump @fluentui/
|
|
50
|
-
"commit": "
|
|
156
|
+
"comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.4",
|
|
157
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
|
51
158
|
},
|
|
52
159
|
{
|
|
53
160
|
"author": "beachball",
|
|
54
161
|
"package": "@fluentui/react-menu",
|
|
55
|
-
"comment": "Bump @fluentui/
|
|
56
|
-
"commit": "
|
|
162
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4",
|
|
163
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
|
57
164
|
},
|
|
58
165
|
{
|
|
59
166
|
"author": "beachball",
|
|
60
167
|
"package": "@fluentui/react-menu",
|
|
61
|
-
"comment": "Bump @fluentui/react-
|
|
62
|
-
"commit": "
|
|
168
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4",
|
|
169
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
|
170
|
+
}
|
|
171
|
+
]
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"date": "Fri, 12 Nov 2021 13:25:27 GMT",
|
|
176
|
+
"tag": "@fluentui/react-menu_v9.0.0-beta.4",
|
|
177
|
+
"version": "9.0.0-beta.4",
|
|
178
|
+
"comments": {
|
|
179
|
+
"prerelease": [
|
|
180
|
+
{
|
|
181
|
+
"author": "bsunderhus@microsoft.com",
|
|
182
|
+
"package": "@fluentui/react-menu",
|
|
183
|
+
"commit": "390056fd15a4413af93083ad0f5a0b15c4709ed1",
|
|
184
|
+
"comment": "Adds typings for `onCheckedValueChange` method"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"author": "olfedias@microsoft.com",
|
|
188
|
+
"package": "@fluentui/react-menu",
|
|
189
|
+
"commit": "28b87b619b5be37c8e4a3a75ba10071a93f2b10b",
|
|
190
|
+
"comment": "use react-shared-contexts instead of react-provider"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"author": "olfedias@microsoft.com",
|
|
194
|
+
"package": "@fluentui/react-menu",
|
|
195
|
+
"commit": "ade4f5d3fa5a6b1c81097403f5c2f2afd859aa14",
|
|
196
|
+
"comment": "export static classes for components"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"author": "gcox@microsoft.com",
|
|
200
|
+
"package": "@fluentui/react-menu",
|
|
201
|
+
"commit": "c9bd5b5a02ae94a8239ce1b56cac2f0d0dbd3586",
|
|
202
|
+
"comment": "Updated beta and RC components to ES2019"
|
|
63
203
|
},
|
|
64
204
|
{
|
|
65
205
|
"author": "beachball",
|
|
66
206
|
"package": "@fluentui/react-menu",
|
|
67
|
-
"comment": "Bump @fluentui/
|
|
68
|
-
"commit": "
|
|
207
|
+
"comment": "Bump @fluentui/react-context-selector to v9.0.0-beta.3",
|
|
208
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
|
69
209
|
},
|
|
70
210
|
{
|
|
71
211
|
"author": "beachball",
|
|
72
212
|
"package": "@fluentui/react-menu",
|
|
73
|
-
"comment": "Bump @fluentui/
|
|
74
|
-
"commit": "
|
|
213
|
+
"comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.3",
|
|
214
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
|
75
215
|
},
|
|
76
216
|
{
|
|
77
217
|
"author": "beachball",
|
|
78
218
|
"package": "@fluentui/react-menu",
|
|
79
|
-
"comment": "Bump @fluentui/react-
|
|
80
|
-
"commit": "
|
|
219
|
+
"comment": "Bump @fluentui/react-portal to v9.0.0-beta.4",
|
|
220
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"author": "beachball",
|
|
224
|
+
"package": "@fluentui/react-menu",
|
|
225
|
+
"comment": "Bump @fluentui/react-positioning to v9.0.0-beta.3",
|
|
226
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"author": "beachball",
|
|
230
|
+
"package": "@fluentui/react-menu",
|
|
231
|
+
"comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.3",
|
|
232
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"author": "beachball",
|
|
236
|
+
"package": "@fluentui/react-menu",
|
|
237
|
+
"comment": "Bump @fluentui/react-tabster to v9.0.0-beta.4",
|
|
238
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"author": "beachball",
|
|
242
|
+
"package": "@fluentui/react-menu",
|
|
243
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-beta.3",
|
|
244
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"author": "beachball",
|
|
248
|
+
"package": "@fluentui/react-menu",
|
|
249
|
+
"comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.3",
|
|
250
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"author": "beachball",
|
|
254
|
+
"package": "@fluentui/react-menu",
|
|
255
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3",
|
|
256
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"author": "beachball",
|
|
260
|
+
"package": "@fluentui/react-menu",
|
|
261
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3",
|
|
262
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
|
81
263
|
}
|
|
82
264
|
],
|
|
83
265
|
"none": [
|
|
266
|
+
{
|
|
267
|
+
"author": "lingfangao@hotmail.com",
|
|
268
|
+
"package": "@fluentui/react-menu",
|
|
269
|
+
"commit": "00f70581480b536e723fb69edf0ae617beac4807",
|
|
270
|
+
"comment": "Remove beta release tag"
|
|
271
|
+
},
|
|
84
272
|
{
|
|
85
273
|
"author": "mgodbolt@microsoft.com",
|
|
86
274
|
"package": "@fluentui/react-menu",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,28 +1,70 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-menu
|
|
2
2
|
|
|
3
|
-
This log was last generated on Fri,
|
|
3
|
+
This log was last generated on Fri, 03 Dec 2021 04:13:22 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
-
## [0.0.0-
|
|
7
|
+
## [0.0.0-nightly131c59c96120211203.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v0.0.0-nightly131c59c96120211203.1)
|
|
8
8
|
|
|
9
|
-
Fri,
|
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.
|
|
9
|
+
Fri, 03 Dec 2021 04:13:22 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.5..@fluentui/react-menu_v0.0.0-nightly131c59c96120211203.1)
|
|
11
11
|
|
|
12
12
|
### Changes
|
|
13
13
|
|
|
14
|
-
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/
|
|
15
|
-
-
|
|
16
|
-
- Bump @fluentui/
|
|
17
|
-
- Bump @fluentui/react-
|
|
18
|
-
- Bump @fluentui/react-
|
|
19
|
-
- Bump @fluentui/react-
|
|
20
|
-
- Bump @fluentui/react-
|
|
21
|
-
- Bump @fluentui/react-
|
|
22
|
-
- Bump @fluentui/react-
|
|
23
|
-
- Bump @fluentui/
|
|
24
|
-
- Bump @fluentui/
|
|
25
|
-
- Bump @fluentui/
|
|
14
|
+
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/6fe1f0a081835b662f3c880d6405724d3abc4c0b) by email not defined)
|
|
15
|
+
- update styles to not use CSS shorthands ([PR #20820](https://github.com/microsoft/fluentui/pull/20820) by olfedias@microsoft.com)
|
|
16
|
+
- Bump @fluentui/keyboard-keys to v0.0.0-nightly131c59c96120211203.1 ([commit](https://github.com/microsoft/fluentui/commit/6fe1f0a081835b662f3c880d6405724d3abc4c0b) by beachball)
|
|
17
|
+
- Bump @fluentui/react-context-selector to v0.0.0-nightly131c59c96120211203.1 ([commit](https://github.com/microsoft/fluentui/commit/6fe1f0a081835b662f3c880d6405724d3abc4c0b) by beachball)
|
|
18
|
+
- Bump @fluentui/react-make-styles to v0.0.0-nightly131c59c96120211203.1 ([commit](https://github.com/microsoft/fluentui/commit/6fe1f0a081835b662f3c880d6405724d3abc4c0b) by beachball)
|
|
19
|
+
- Bump @fluentui/react-portal to v0.0.0-nightly131c59c96120211203.1 ([commit](https://github.com/microsoft/fluentui/commit/6fe1f0a081835b662f3c880d6405724d3abc4c0b) by beachball)
|
|
20
|
+
- Bump @fluentui/react-positioning to v0.0.0-nightly131c59c96120211203.1 ([commit](https://github.com/microsoft/fluentui/commit/6fe1f0a081835b662f3c880d6405724d3abc4c0b) by beachball)
|
|
21
|
+
- Bump @fluentui/react-shared-contexts to v0.0.0-nightly131c59c96120211203.1 ([commit](https://github.com/microsoft/fluentui/commit/6fe1f0a081835b662f3c880d6405724d3abc4c0b) by beachball)
|
|
22
|
+
- Bump @fluentui/react-tabster to v0.0.0-nightly131c59c96120211203.1 ([commit](https://github.com/microsoft/fluentui/commit/6fe1f0a081835b662f3c880d6405724d3abc4c0b) by beachball)
|
|
23
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightly131c59c96120211203.1 ([commit](https://github.com/microsoft/fluentui/commit/6fe1f0a081835b662f3c880d6405724d3abc4c0b) by beachball)
|
|
24
|
+
- Bump @fluentui/babel-make-styles to v0.0.0-nightly131c59c96120211203.1 ([commit](https://github.com/microsoft/fluentui/commit/6fe1f0a081835b662f3c880d6405724d3abc4c0b) by beachball)
|
|
25
|
+
- Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightly131c59c96120211203.1 ([commit](https://github.com/microsoft/fluentui/commit/6fe1f0a081835b662f3c880d6405724d3abc4c0b) by beachball)
|
|
26
|
+
- Bump @fluentui/react-conformance-make-styles to v0.0.0-nightly131c59c96120211203.1 ([commit](https://github.com/microsoft/fluentui/commit/6fe1f0a081835b662f3c880d6405724d3abc4c0b) by beachball)
|
|
27
|
+
|
|
28
|
+
## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-beta.5)
|
|
29
|
+
|
|
30
|
+
Thu, 25 Nov 2021 08:34:14 GMT
|
|
31
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.4..@fluentui/react-menu_v9.0.0-beta.5)
|
|
32
|
+
|
|
33
|
+
### Changes
|
|
34
|
+
|
|
35
|
+
- update react-icons dependency ([PR #20563](https://github.com/microsoft/fluentui/pull/20563) by ololubek@microsoft.com)
|
|
36
|
+
- Bump @fluentui/react-context-selector to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
|
37
|
+
- Bump @fluentui/react-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
|
38
|
+
- Bump @fluentui/react-portal to v9.0.0-beta.5 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
|
39
|
+
- Bump @fluentui/react-positioning to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
|
40
|
+
- Bump @fluentui/react-shared-contexts to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
|
41
|
+
- Bump @fluentui/react-tabster to v9.0.0-beta.5 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
|
42
|
+
- Bump @fluentui/react-utilities to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
|
43
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
|
44
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
|
45
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
|
46
|
+
|
|
47
|
+
## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-beta.4)
|
|
48
|
+
|
|
49
|
+
Fri, 12 Nov 2021 13:25:27 GMT
|
|
50
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.3..@fluentui/react-menu_v9.0.0-beta.4)
|
|
51
|
+
|
|
52
|
+
### Changes
|
|
53
|
+
|
|
54
|
+
- Adds typings for `onCheckedValueChange` method ([PR #20493](https://github.com/microsoft/fluentui/pull/20493) by bsunderhus@microsoft.com)
|
|
55
|
+
- use react-shared-contexts instead of react-provider ([PR #20578](https://github.com/microsoft/fluentui/pull/20578) by olfedias@microsoft.com)
|
|
56
|
+
- export static classes for components ([PR #20450](https://github.com/microsoft/fluentui/pull/20450) by olfedias@microsoft.com)
|
|
57
|
+
- Updated beta and RC components to ES2019 ([PR #20405](https://github.com/microsoft/fluentui/pull/20405) by gcox@microsoft.com)
|
|
58
|
+
- Bump @fluentui/react-context-selector to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
|
59
|
+
- Bump @fluentui/react-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
|
60
|
+
- Bump @fluentui/react-portal to v9.0.0-beta.4 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
|
61
|
+
- Bump @fluentui/react-positioning to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
|
62
|
+
- Bump @fluentui/react-shared-contexts to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
|
63
|
+
- Bump @fluentui/react-tabster to v9.0.0-beta.4 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
|
64
|
+
- Bump @fluentui/react-utilities to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
|
65
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
|
66
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
|
67
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
|
26
68
|
|
|
27
69
|
## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-beta.3)
|
|
28
70
|
|
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
|
*/
|
|
@@ -327,6 +345,8 @@ export declare type MenuOpenEvents = MouseEvent | TouchEvent | React_2.MouseEven
|
|
|
327
345
|
*/
|
|
328
346
|
export declare const MenuPopover: ForwardRefComponent<MenuPopoverProps>;
|
|
329
347
|
|
|
348
|
+
export declare const menuPopoverClassName = "fui-MenuPopover";
|
|
349
|
+
|
|
330
350
|
/**
|
|
331
351
|
* MenuPopover Props
|
|
332
352
|
*/
|
|
@@ -533,6 +553,8 @@ export declare function useMenuGroupHeader(props: MenuGroupHeaderProps, ref: Rea
|
|
|
533
553
|
|
|
534
554
|
export declare const useMenuGroupHeaderStyles: (state: MenuGroupHeaderState) => ComponentState<MenuGroupHeaderSlots>;
|
|
535
555
|
|
|
556
|
+
export declare const useMenuGroupStyles: (state: MenuGroupState) => MenuGroupState;
|
|
557
|
+
|
|
536
558
|
/**
|
|
537
559
|
* Returns the props and state required to render the component
|
|
538
560
|
*/
|
|
@@ -541,11 +563,15 @@ export declare const useMenuItem: (props: MenuItemProps, ref: React_2.Ref<HTMLEl
|
|
|
541
563
|
/** Returns the props and state required to render the component */
|
|
542
564
|
export declare const useMenuItemCheckbox: (props: MenuItemCheckboxProps, ref: React_2.Ref<HTMLElement>) => MenuItemCheckboxState;
|
|
543
565
|
|
|
566
|
+
export declare const useMenuItemCheckboxStyles: (state: MenuItemCheckboxState) => void;
|
|
567
|
+
|
|
544
568
|
/**
|
|
545
569
|
* Given user props, returns state and render function for a MenuItemRadio.
|
|
546
570
|
*/
|
|
547
571
|
export declare const useMenuItemRadio: (props: MenuItemRadioProps, ref: React_2.Ref<HTMLElement>) => MenuItemRadioState;
|
|
548
572
|
|
|
573
|
+
export declare const useMenuItemRadioStyles: (state: MenuItemRadioState) => void;
|
|
574
|
+
|
|
549
575
|
/** Applies style classnames to slots */
|
|
550
576
|
export declare const useMenuItemStyles: (state: MenuItemState) => void;
|
|
551
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":""}
|
|
@@ -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":""}
|