@fluentui/react-menu 0.0.0-nightly627ad67f1120211109.1 → 0.0.0-nightly63afcc343820220120.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 +310 -30
- package/CHANGELOG.md +69 -16
- package/Spec.md +21 -16
- package/dist/react-menu.d.ts +54 -12
- package/lib/MenuSplitGroup.d.ts +1 -0
- package/lib/MenuSplitGroup.js +2 -0
- package/lib/MenuSplitGroup.js.map +1 -0
- package/lib/components/Menu/useMenu.js +30 -22
- package/lib/components/Menu/useMenu.js.map +1 -1
- package/lib/components/MenuDivider/renderMenuDivider.js +2 -1
- package/lib/components/MenuDivider/renderMenuDivider.js.map +1 -1
- package/lib/components/MenuDivider/useMenuDivider.js +3 -0
- package/lib/components/MenuDivider/useMenuDivider.js.map +1 -1
- package/lib/components/MenuDivider/useMenuDividerStyles.d.ts +1 -1
- package/lib/components/MenuDivider/useMenuDividerStyles.js +2 -1
- package/lib/components/MenuDivider/useMenuDividerStyles.js.map +1 -1
- package/lib/components/MenuGroup/renderMenuGroup.js +2 -1
- package/lib/components/MenuGroup/renderMenuGroup.js.map +1 -1
- package/lib/components/MenuGroup/useMenuGroup.js +3 -0
- package/lib/components/MenuGroup/useMenuGroup.js.map +1 -1
- package/lib/components/MenuGroupHeader/renderMenuGroupHeader.js +2 -1
- package/lib/components/MenuGroupHeader/renderMenuGroupHeader.js.map +1 -1
- package/lib/components/MenuGroupHeader/useMenuGroupHeader.js +3 -0
- package/lib/components/MenuGroupHeader/useMenuGroupHeader.js.map +1 -1
- package/lib/components/MenuGroupHeader/useMenuGroupHeaderStyles.d.ts +1 -1
- package/lib/components/MenuGroupHeader/useMenuGroupHeaderStyles.js +1 -0
- package/lib/components/MenuGroupHeader/useMenuGroupHeaderStyles.js.map +1 -1
- package/lib/components/MenuItem/MenuItem.js +0 -2
- package/lib/components/MenuItem/MenuItem.js.map +1 -1
- package/lib/components/MenuItem/MenuItem.types.d.ts +1 -1
- package/lib/components/MenuItem/renderMenuItem.js +8 -3
- package/lib/components/MenuItem/renderMenuItem.js.map +1 -1
- package/lib/components/MenuItem/useMenuItem.d.ts +1 -5
- package/lib/components/MenuItem/useMenuItem.js +3 -8
- package/lib/components/MenuItem/useMenuItem.js.map +1 -1
- package/lib/components/MenuItem/useMenuItemStyles.js +26 -23
- package/lib/components/MenuItem/useMenuItemStyles.js.map +1 -1
- package/lib/components/MenuItemCheckbox/renderMenuItemCheckbox.js +7 -3
- package/lib/components/MenuItemCheckbox/renderMenuItemCheckbox.js.map +1 -1
- package/lib/components/MenuItemRadio/renderMenuItemRadio.js +7 -3
- package/lib/components/MenuItemRadio/renderMenuItemRadio.js.map +1 -1
- package/lib/components/MenuList/renderMenuList.js +2 -1
- package/lib/components/MenuList/renderMenuList.js.map +1 -1
- package/lib/components/MenuList/useMenuList.js +3 -0
- package/lib/components/MenuList/useMenuList.js.map +1 -1
- package/lib/components/MenuList/useMenuListStyles.js +4 -3
- package/lib/components/MenuList/useMenuListStyles.js.map +1 -1
- package/lib/components/MenuPopover/renderMenuPopover.js +4 -2
- package/lib/components/MenuPopover/renderMenuPopover.js.map +1 -1
- package/lib/components/MenuPopover/useMenuPopover.js +3 -0
- package/lib/components/MenuPopover/useMenuPopover.js.map +1 -1
- package/lib/components/MenuPopover/useMenuPopoverStyles.js +8 -4
- package/lib/components/MenuPopover/useMenuPopoverStyles.js.map +1 -1
- package/lib/components/MenuSplitGroup/MenuSplitGroup.d.ts +6 -0
- package/lib/components/MenuSplitGroup/MenuSplitGroup.js +15 -0
- package/lib/components/MenuSplitGroup/MenuSplitGroup.js.map +1 -0
- package/lib/components/MenuSplitGroup/MenuSplitGroup.types.d.ts +13 -0
- package/lib/components/MenuSplitGroup/MenuSplitGroup.types.js +2 -0
- package/lib/components/MenuSplitGroup/MenuSplitGroup.types.js.map +1 -0
- package/lib/components/MenuSplitGroup/index.d.ts +5 -0
- package/lib/components/MenuSplitGroup/index.js +6 -0
- package/lib/components/MenuSplitGroup/index.js.map +1 -0
- package/lib/components/MenuSplitGroup/renderMenuSplitGroup.d.ts +5 -0
- package/lib/components/MenuSplitGroup/renderMenuSplitGroup.js +15 -0
- package/lib/components/MenuSplitGroup/renderMenuSplitGroup.js.map +1 -0
- package/lib/components/MenuSplitGroup/useMenuSplitGroup.d.ts +12 -0
- package/lib/components/MenuSplitGroup/useMenuSplitGroup.js +67 -0
- package/lib/components/MenuSplitGroup/useMenuSplitGroup.js.map +1 -0
- package/lib/components/MenuSplitGroup/useMenuSplitGroupStyles.d.ts +6 -0
- package/lib/components/MenuSplitGroup/useMenuSplitGroupStyles.js +35 -0
- package/lib/components/MenuSplitGroup/useMenuSplitGroupStyles.js.map +1 -0
- package/lib/components/MenuTrigger/MenuTrigger.d.ts +1 -1
- package/lib/components/MenuTrigger/MenuTrigger.js +4 -3
- package/lib/components/MenuTrigger/MenuTrigger.js.map +1 -1
- package/lib/components/MenuTrigger/MenuTrigger.types.d.ts +5 -2
- package/lib/components/MenuTrigger/useMenuTrigger.d.ts +2 -1
- package/lib/components/MenuTrigger/useMenuTrigger.js +177 -5
- package/lib/components/MenuTrigger/useMenuTrigger.js.map +1 -1
- package/lib/index.d.ts +11 -10
- package/lib/index.js +11 -10
- package/lib/index.js.map +1 -1
- package/lib/utils/useOnMenuEnter.js.map +1 -1
- package/lib-commonjs/MenuSplitGroup.d.ts +1 -0
- package/lib-commonjs/MenuSplitGroup.js +10 -0
- package/lib-commonjs/MenuSplitGroup.js.map +1 -0
- package/lib-commonjs/components/Menu/useMenu.js +35 -28
- package/lib-commonjs/components/Menu/useMenu.js.map +1 -1
- package/lib-commonjs/components/MenuDivider/renderMenuDivider.js +2 -1
- package/lib-commonjs/components/MenuDivider/renderMenuDivider.js.map +1 -1
- package/lib-commonjs/components/MenuDivider/useMenuDivider.js +3 -0
- package/lib-commonjs/components/MenuDivider/useMenuDivider.js.map +1 -1
- package/lib-commonjs/components/MenuDivider/useMenuDividerStyles.d.ts +1 -1
- package/lib-commonjs/components/MenuDivider/useMenuDividerStyles.js +2 -0
- package/lib-commonjs/components/MenuDivider/useMenuDividerStyles.js.map +1 -1
- package/lib-commonjs/components/MenuGroup/renderMenuGroup.js +2 -1
- package/lib-commonjs/components/MenuGroup/renderMenuGroup.js.map +1 -1
- package/lib-commonjs/components/MenuGroup/useMenuGroup.js +3 -0
- package/lib-commonjs/components/MenuGroup/useMenuGroup.js.map +1 -1
- package/lib-commonjs/components/MenuGroupHeader/renderMenuGroupHeader.js +2 -1
- package/lib-commonjs/components/MenuGroupHeader/renderMenuGroupHeader.js.map +1 -1
- package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeader.js +3 -0
- package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeader.js.map +1 -1
- package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeaderStyles.d.ts +1 -1
- package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeaderStyles.js +2 -0
- package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeaderStyles.js.map +1 -1
- package/lib-commonjs/components/MenuItem/MenuItem.js +0 -3
- package/lib-commonjs/components/MenuItem/MenuItem.js.map +1 -1
- package/lib-commonjs/components/MenuItem/MenuItem.types.d.ts +1 -1
- package/lib-commonjs/components/MenuItem/renderMenuItem.js +8 -4
- package/lib-commonjs/components/MenuItem/renderMenuItem.js.map +1 -1
- package/lib-commonjs/components/MenuItem/useMenuItem.d.ts +1 -5
- package/lib-commonjs/components/MenuItem/useMenuItem.js +5 -10
- package/lib-commonjs/components/MenuItem/useMenuItem.js.map +1 -1
- package/lib-commonjs/components/MenuItem/useMenuItemStyles.js +27 -22
- package/lib-commonjs/components/MenuItem/useMenuItemStyles.js.map +1 -1
- package/lib-commonjs/components/MenuItemCheckbox/renderMenuItemCheckbox.js +7 -4
- package/lib-commonjs/components/MenuItemCheckbox/renderMenuItemCheckbox.js.map +1 -1
- package/lib-commonjs/components/MenuItemRadio/renderMenuItemRadio.js +7 -4
- package/lib-commonjs/components/MenuItemRadio/renderMenuItemRadio.js.map +1 -1
- package/lib-commonjs/components/MenuList/renderMenuList.js +2 -1
- package/lib-commonjs/components/MenuList/renderMenuList.js.map +1 -1
- package/lib-commonjs/components/MenuList/useMenuList.js +3 -0
- package/lib-commonjs/components/MenuList/useMenuList.js.map +1 -1
- package/lib-commonjs/components/MenuList/useMenuListStyles.js +3 -2
- package/lib-commonjs/components/MenuList/useMenuListStyles.js.map +1 -1
- package/lib-commonjs/components/MenuPopover/renderMenuPopover.js +4 -2
- package/lib-commonjs/components/MenuPopover/renderMenuPopover.js.map +1 -1
- package/lib-commonjs/components/MenuPopover/useMenuPopover.js +3 -0
- package/lib-commonjs/components/MenuPopover/useMenuPopover.js.map +1 -1
- package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.js +8 -3
- package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.js.map +1 -1
- package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.d.ts +6 -0
- package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.js +26 -0
- package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.js.map +1 -0
- package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.types.d.ts +13 -0
- package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.types.js +6 -0
- package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.types.js.map +1 -0
- package/lib-commonjs/components/MenuSplitGroup/index.d.ts +5 -0
- package/lib-commonjs/components/MenuSplitGroup/index.js +18 -0
- package/lib-commonjs/components/MenuSplitGroup/index.js.map +1 -0
- package/lib-commonjs/components/MenuSplitGroup/renderMenuSplitGroup.d.ts +5 -0
- package/lib-commonjs/components/MenuSplitGroup/renderMenuSplitGroup.js +26 -0
- package/lib-commonjs/components/MenuSplitGroup/renderMenuSplitGroup.js.map +1 -0
- package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroup.d.ts +12 -0
- package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroup.js +81 -0
- package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroup.js.map +1 -0
- package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroupStyles.d.ts +6 -0
- package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroupStyles.js +47 -0
- package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroupStyles.js.map +1 -0
- package/lib-commonjs/components/MenuTrigger/MenuTrigger.d.ts +1 -1
- package/lib-commonjs/components/MenuTrigger/MenuTrigger.js +5 -5
- package/lib-commonjs/components/MenuTrigger/MenuTrigger.js.map +1 -1
- package/lib-commonjs/components/MenuTrigger/MenuTrigger.types.d.ts +5 -2
- package/lib-commonjs/components/MenuTrigger/useMenuTrigger.d.ts +2 -1
- package/lib-commonjs/components/MenuTrigger/useMenuTrigger.js +184 -5
- package/lib-commonjs/components/MenuTrigger/useMenuTrigger.js.map +1 -1
- package/lib-commonjs/index.d.ts +11 -10
- package/lib-commonjs/index.js +16 -14
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/utils/useOnMenuEnter.js.map +1 -1
- package/package.json +17 -17
- 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 -29
- package/lib/common/mockUseMenuContext.js.map +0 -1
- package/lib/components/MenuTrigger/useTriggerElement.d.ts +0 -5
- package/lib/components/MenuTrigger/useTriggerElement.js +0 -165
- package/lib/components/MenuTrigger/useTriggerElement.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 -39
- package/lib-commonjs/common/mockUseMenuContext.js.map +0 -1
- package/lib-commonjs/components/MenuTrigger/useTriggerElement.d.ts +0 -5
- package/lib-commonjs/components/MenuTrigger/useTriggerElement.js +0 -180
- package/lib-commonjs/components/MenuTrigger/useTriggerElement.js.map +0 -1
package/CHANGELOG.json
CHANGED
|
@@ -2,23 +2,303 @@
|
|
|
2
2
|
"name": "@fluentui/react-menu",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
6
|
-
"tag": "@fluentui/react-menu_v0.0.0-
|
|
7
|
-
"version": "0.0.0-
|
|
5
|
+
"date": "Thu, 20 Jan 2022 04:17:50 GMT",
|
|
6
|
+
"tag": "@fluentui/react-menu_v0.0.0-nightly63afcc343820220120.1",
|
|
7
|
+
"version": "0.0.0-nightly63afcc343820220120.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": "1f354b562240b78c25d35df7989491f6eca92ef8",
|
|
14
14
|
"comment": "Release nightly v9"
|
|
15
15
|
},
|
|
16
|
+
{
|
|
17
|
+
"author": "Humberto.Morimoto@microsoft.com",
|
|
18
|
+
"package": "@fluentui/react-menu",
|
|
19
|
+
"commit": "6c32d0180e89674a46daf795de69e5dc6ca71ef7",
|
|
20
|
+
"comment": "Updating based on removal of functions from makeStyles."
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "Humberto.Morimoto@microsoft.com",
|
|
24
|
+
"package": "@fluentui/react-menu",
|
|
25
|
+
"commit": "227e09f59026e2bd243422427d9e230d6aa892ca",
|
|
26
|
+
"comment": "Replacing use of functions in makeStyles with direct use of tokens."
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"author": "behowell@microsoft.com",
|
|
30
|
+
"package": "@fluentui/react-menu",
|
|
31
|
+
"commit": "23b8a6df449d6e76b90ae5ca9bd2285febdff222",
|
|
32
|
+
"comment": "Apply fontSize styling to icon slot"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"author": "ololubek@microsoft.com",
|
|
36
|
+
"package": "@fluentui/react-menu",
|
|
37
|
+
"commit": "63cbefe55e5db10eedbde19392aa8b6376d6a7f7",
|
|
38
|
+
"comment": "Update react-icons usage to resizable icons"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"author": "lingfangao@hotmail.com",
|
|
42
|
+
"package": "@fluentui/react-menu",
|
|
43
|
+
"commit": "95a6a32cbffa9d86d6017cf8e0204d4b459ef370",
|
|
44
|
+
"comment": "feat: implement `MenuSplitGroup` component for split menu items"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"author": "Humberto.Morimoto@microsoft.com",
|
|
48
|
+
"package": "@fluentui/react-menu",
|
|
49
|
+
"commit": "00a5d945904c896a0664de6ba72c145a255f0848",
|
|
50
|
+
"comment": "Updating use of tokens.fontWeight now that we don't need to use casting."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"author": "ololubek@microsoft.com",
|
|
54
|
+
"package": "@fluentui/react-menu",
|
|
55
|
+
"commit": "7cb2a5d8db1b6a1ddb638aa82d5815ab5ae84e69",
|
|
56
|
+
"comment": "(fix): Update react-icons dependency to latest version"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"author": "lingfangao@hotmail.com",
|
|
60
|
+
"package": "@fluentui/react-menu",
|
|
61
|
+
"commit": "07d9ed6d1b436b7ca9571c94fbb0bcbdb080f235",
|
|
62
|
+
"comment": "breaking: MenuTrigger must be the first child of the `Menu`"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"author": "lingfangao@hotmail.com",
|
|
66
|
+
"package": "@fluentui/react-menu",
|
|
67
|
+
"commit": "c2e6c50d56dcb45b4ca9e3a9daf2fae4be10a19e",
|
|
68
|
+
"comment": "fix: set `aria-expanded` and `aria-haspopup` values correctly"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"author": "lingfangao@hotmail.com",
|
|
72
|
+
"package": "@fluentui/react-menu",
|
|
73
|
+
"commit": "6ca0355f6740f836ff4df009687718a380085247",
|
|
74
|
+
"comment": "fix: Focus on first menu item on click"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"author": "lingfangao@hotmail.com",
|
|
78
|
+
"package": "@fluentui/react-menu",
|
|
79
|
+
"commit": "d2eb57808a403b70845a732a62b55aa64d66b2a0",
|
|
80
|
+
"comment": "Allow `MenuTrigger` to be wrapped by another trigger"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"author": "Humberto.Morimoto@microsoft.com",
|
|
84
|
+
"package": "@fluentui/react-menu",
|
|
85
|
+
"commit": "38c8bed2c707014688ae2ae689033fa36ef23075",
|
|
86
|
+
"comment": "Updating packages based on changes to focusIndicator functions to remove functions from makeStyles in @fluentui/react-tabster."
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"author": "behowell@microsoft.com",
|
|
90
|
+
"package": "@fluentui/react-menu",
|
|
91
|
+
"commit": "7cc28ed8320b00f42d91c63882f10316db2205c5",
|
|
92
|
+
"comment": "Remove component's shorthandProps array"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"author": "olfedias@microsoft.com",
|
|
96
|
+
"package": "@fluentui/react-menu",
|
|
97
|
+
"commit": "7e0933ed386742df28c416e6b3a6903a0c041f28",
|
|
98
|
+
"comment": "update styles to not use CSS shorthands"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"author": "lingfangao@hotmail.com",
|
|
102
|
+
"package": "@fluentui/react-menu",
|
|
103
|
+
"commit": "4121754498bba5137f769295e2b7a2899f557278",
|
|
104
|
+
"comment": "fix: Call `useCheckmarkStyles` in `useMenuItemStyles`"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"author": "beachball",
|
|
108
|
+
"package": "@fluentui/react-menu",
|
|
109
|
+
"comment": "Bump @fluentui/keyboard-keys to v0.0.0-nightly63afcc343820220120.1",
|
|
110
|
+
"commit": "1f354b562240b78c25d35df7989491f6eca92ef8"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"author": "beachball",
|
|
114
|
+
"package": "@fluentui/react-menu",
|
|
115
|
+
"comment": "Bump @fluentui/react-context-selector to v0.0.0-nightly63afcc343820220120.1",
|
|
116
|
+
"commit": "1f354b562240b78c25d35df7989491f6eca92ef8"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"author": "beachball",
|
|
120
|
+
"package": "@fluentui/react-menu",
|
|
121
|
+
"comment": "Bump @fluentui/react-make-styles to v0.0.0-nightly63afcc343820220120.1",
|
|
122
|
+
"commit": "1f354b562240b78c25d35df7989491f6eca92ef8"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"author": "beachball",
|
|
126
|
+
"package": "@fluentui/react-menu",
|
|
127
|
+
"comment": "Bump @fluentui/react-portal to v0.0.0-nightly63afcc343820220120.1",
|
|
128
|
+
"commit": "1f354b562240b78c25d35df7989491f6eca92ef8"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"author": "beachball",
|
|
132
|
+
"package": "@fluentui/react-menu",
|
|
133
|
+
"comment": "Bump @fluentui/react-positioning to v0.0.0-nightly63afcc343820220120.1",
|
|
134
|
+
"commit": "1f354b562240b78c25d35df7989491f6eca92ef8"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"author": "beachball",
|
|
138
|
+
"package": "@fluentui/react-menu",
|
|
139
|
+
"comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightly63afcc343820220120.1",
|
|
140
|
+
"commit": "1f354b562240b78c25d35df7989491f6eca92ef8"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"author": "beachball",
|
|
144
|
+
"package": "@fluentui/react-menu",
|
|
145
|
+
"comment": "Bump @fluentui/react-tabster to v0.0.0-nightly63afcc343820220120.1",
|
|
146
|
+
"commit": "1f354b562240b78c25d35df7989491f6eca92ef8"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"author": "beachball",
|
|
150
|
+
"package": "@fluentui/react-menu",
|
|
151
|
+
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightly63afcc343820220120.1",
|
|
152
|
+
"commit": "1f354b562240b78c25d35df7989491f6eca92ef8"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"author": "beachball",
|
|
156
|
+
"package": "@fluentui/react-menu",
|
|
157
|
+
"comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightly63afcc343820220120.1",
|
|
158
|
+
"commit": "1f354b562240b78c25d35df7989491f6eca92ef8"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"author": "beachball",
|
|
162
|
+
"package": "@fluentui/react-menu",
|
|
163
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightly63afcc343820220120.1",
|
|
164
|
+
"commit": "1f354b562240b78c25d35df7989491f6eca92ef8"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"author": "beachball",
|
|
168
|
+
"package": "@fluentui/react-menu",
|
|
169
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightly63afcc343820220120.1",
|
|
170
|
+
"commit": "1f354b562240b78c25d35df7989491f6eca92ef8"
|
|
171
|
+
}
|
|
172
|
+
],
|
|
173
|
+
"none": [
|
|
174
|
+
{
|
|
175
|
+
"author": "elcraig@microsoft.com",
|
|
176
|
+
"package": "@fluentui/react-menu",
|
|
177
|
+
"commit": "3360b45ec159250b1346c91afad7dce138e6bc20",
|
|
178
|
+
"comment": "Update API file to version generated by typescript 4.3"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"author": "martinhochel@microsoft.com",
|
|
182
|
+
"package": "@fluentui/react-menu",
|
|
183
|
+
"commit": "8dfa712156b70414205b87b5b6d099367b0c297d",
|
|
184
|
+
"comment": "chore: use storybook runner for all vNext packages"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"author": "email not defined",
|
|
188
|
+
"package": "@fluentui/react-menu",
|
|
189
|
+
"commit": "97752a0e494875c4dc22b268030d7d5e51b19211",
|
|
190
|
+
"comment": "Add workaround for cypress bug"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"author": "olfedias@microsoft.com",
|
|
194
|
+
"package": "@fluentui/react-menu",
|
|
195
|
+
"commit": "c061e98be4b4a718c72a144a1f60bb5515824612",
|
|
196
|
+
"comment": "remove inline-style-expand-shorthand from tsconfigs"
|
|
197
|
+
}
|
|
198
|
+
]
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"date": "Thu, 25 Nov 2021 08:34:14 GMT",
|
|
203
|
+
"tag": "@fluentui/react-menu_v9.0.0-beta.5",
|
|
204
|
+
"version": "9.0.0-beta.5",
|
|
205
|
+
"comments": {
|
|
206
|
+
"none": [
|
|
207
|
+
{
|
|
208
|
+
"author": "lingfangao@hotmail.com",
|
|
209
|
+
"package": "@fluentui/react-menu",
|
|
210
|
+
"commit": "8a141d14f3a14de2e1c4691dad908622f310a9d1",
|
|
211
|
+
"comment": "Migrate package to use solution tsconfigs"
|
|
212
|
+
}
|
|
213
|
+
],
|
|
214
|
+
"prerelease": [
|
|
215
|
+
{
|
|
216
|
+
"author": "ololubek@microsoft.com",
|
|
217
|
+
"package": "@fluentui/react-menu",
|
|
218
|
+
"commit": "ecab13cfd6ac22657020db8f86eb89f952b0f953",
|
|
219
|
+
"comment": "update react-icons dependency"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"author": "beachball",
|
|
223
|
+
"package": "@fluentui/react-menu",
|
|
224
|
+
"comment": "Bump @fluentui/react-context-selector to v9.0.0-beta.4",
|
|
225
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"author": "beachball",
|
|
229
|
+
"package": "@fluentui/react-menu",
|
|
230
|
+
"comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.4",
|
|
231
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"author": "beachball",
|
|
235
|
+
"package": "@fluentui/react-menu",
|
|
236
|
+
"comment": "Bump @fluentui/react-portal to v9.0.0-beta.5",
|
|
237
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"author": "beachball",
|
|
241
|
+
"package": "@fluentui/react-menu",
|
|
242
|
+
"comment": "Bump @fluentui/react-positioning to v9.0.0-beta.4",
|
|
243
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"author": "beachball",
|
|
247
|
+
"package": "@fluentui/react-menu",
|
|
248
|
+
"comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.4",
|
|
249
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"author": "beachball",
|
|
253
|
+
"package": "@fluentui/react-menu",
|
|
254
|
+
"comment": "Bump @fluentui/react-tabster to v9.0.0-beta.5",
|
|
255
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"author": "beachball",
|
|
259
|
+
"package": "@fluentui/react-menu",
|
|
260
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-beta.4",
|
|
261
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"author": "beachball",
|
|
265
|
+
"package": "@fluentui/react-menu",
|
|
266
|
+
"comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.4",
|
|
267
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"author": "beachball",
|
|
271
|
+
"package": "@fluentui/react-menu",
|
|
272
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4",
|
|
273
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"author": "beachball",
|
|
277
|
+
"package": "@fluentui/react-menu",
|
|
278
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4",
|
|
279
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
|
280
|
+
}
|
|
281
|
+
]
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"date": "Fri, 12 Nov 2021 13:25:27 GMT",
|
|
286
|
+
"tag": "@fluentui/react-menu_v9.0.0-beta.4",
|
|
287
|
+
"version": "9.0.0-beta.4",
|
|
288
|
+
"comments": {
|
|
289
|
+
"prerelease": [
|
|
16
290
|
{
|
|
17
291
|
"author": "bsunderhus@microsoft.com",
|
|
18
292
|
"package": "@fluentui/react-menu",
|
|
19
293
|
"commit": "390056fd15a4413af93083ad0f5a0b15c4709ed1",
|
|
20
294
|
"comment": "Adds typings for `onCheckedValueChange` method"
|
|
21
295
|
},
|
|
296
|
+
{
|
|
297
|
+
"author": "olfedias@microsoft.com",
|
|
298
|
+
"package": "@fluentui/react-menu",
|
|
299
|
+
"commit": "28b87b619b5be37c8e4a3a75ba10071a93f2b10b",
|
|
300
|
+
"comment": "use react-shared-contexts instead of react-provider"
|
|
301
|
+
},
|
|
22
302
|
{
|
|
23
303
|
"author": "olfedias@microsoft.com",
|
|
24
304
|
"package": "@fluentui/react-menu",
|
|
@@ -34,71 +314,71 @@
|
|
|
34
314
|
{
|
|
35
315
|
"author": "beachball",
|
|
36
316
|
"package": "@fluentui/react-menu",
|
|
37
|
-
"comment": "Bump @fluentui/
|
|
38
|
-
"commit": "
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"author": "beachball",
|
|
42
|
-
"package": "@fluentui/react-menu",
|
|
43
|
-
"comment": "Bump @fluentui/react-context-selector to v0.0.0-nightly627ad67f1120211109.1",
|
|
44
|
-
"commit": "5e2f04f4741a9e3b98463480f9c1926ea2006337"
|
|
317
|
+
"comment": "Bump @fluentui/react-context-selector to v9.0.0-beta.3",
|
|
318
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
|
45
319
|
},
|
|
46
320
|
{
|
|
47
321
|
"author": "beachball",
|
|
48
322
|
"package": "@fluentui/react-menu",
|
|
49
|
-
"comment": "Bump @fluentui/react-make-styles to
|
|
50
|
-
"commit": "
|
|
323
|
+
"comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.3",
|
|
324
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
|
51
325
|
},
|
|
52
326
|
{
|
|
53
327
|
"author": "beachball",
|
|
54
328
|
"package": "@fluentui/react-menu",
|
|
55
|
-
"comment": "Bump @fluentui/react-portal to
|
|
56
|
-
"commit": "
|
|
329
|
+
"comment": "Bump @fluentui/react-portal to v9.0.0-beta.4",
|
|
330
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
|
57
331
|
},
|
|
58
332
|
{
|
|
59
333
|
"author": "beachball",
|
|
60
334
|
"package": "@fluentui/react-menu",
|
|
61
|
-
"comment": "Bump @fluentui/react-positioning to
|
|
62
|
-
"commit": "
|
|
335
|
+
"comment": "Bump @fluentui/react-positioning to v9.0.0-beta.3",
|
|
336
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
|
63
337
|
},
|
|
64
338
|
{
|
|
65
339
|
"author": "beachball",
|
|
66
340
|
"package": "@fluentui/react-menu",
|
|
67
|
-
"comment": "Bump @fluentui/react-
|
|
68
|
-
"commit": "
|
|
341
|
+
"comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.3",
|
|
342
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
|
69
343
|
},
|
|
70
344
|
{
|
|
71
345
|
"author": "beachball",
|
|
72
346
|
"package": "@fluentui/react-menu",
|
|
73
|
-
"comment": "Bump @fluentui/react-tabster to
|
|
74
|
-
"commit": "
|
|
347
|
+
"comment": "Bump @fluentui/react-tabster to v9.0.0-beta.4",
|
|
348
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
|
75
349
|
},
|
|
76
350
|
{
|
|
77
351
|
"author": "beachball",
|
|
78
352
|
"package": "@fluentui/react-menu",
|
|
79
|
-
"comment": "Bump @fluentui/react-utilities to
|
|
80
|
-
"commit": "
|
|
353
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-beta.3",
|
|
354
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
|
81
355
|
},
|
|
82
356
|
{
|
|
83
357
|
"author": "beachball",
|
|
84
358
|
"package": "@fluentui/react-menu",
|
|
85
|
-
"comment": "Bump @fluentui/babel-make-styles to
|
|
86
|
-
"commit": "
|
|
359
|
+
"comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.3",
|
|
360
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
|
87
361
|
},
|
|
88
362
|
{
|
|
89
363
|
"author": "beachball",
|
|
90
364
|
"package": "@fluentui/react-menu",
|
|
91
|
-
"comment": "Bump @fluentui/jest-serializer-make-styles to
|
|
92
|
-
"commit": "
|
|
365
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3",
|
|
366
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
|
93
367
|
},
|
|
94
368
|
{
|
|
95
369
|
"author": "beachball",
|
|
96
370
|
"package": "@fluentui/react-menu",
|
|
97
|
-
"comment": "Bump @fluentui/react-conformance-make-styles to
|
|
98
|
-
"commit": "
|
|
371
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3",
|
|
372
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
|
99
373
|
}
|
|
100
374
|
],
|
|
101
375
|
"none": [
|
|
376
|
+
{
|
|
377
|
+
"author": "lingfangao@hotmail.com",
|
|
378
|
+
"package": "@fluentui/react-menu",
|
|
379
|
+
"commit": "00f70581480b536e723fb69edf0ae617beac4807",
|
|
380
|
+
"comment": "Remove beta release tag"
|
|
381
|
+
},
|
|
102
382
|
{
|
|
103
383
|
"author": "mgodbolt@microsoft.com",
|
|
104
384
|
"package": "@fluentui/react-menu",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,31 +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, 20 Jan 2022 04:17:50 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
-
## [0.0.0-
|
|
7
|
+
## [0.0.0-nightly63afcc343820220120.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v0.0.0-nightly63afcc343820220120.1)
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.
|
|
9
|
+
Thu, 20 Jan 2022 04:17:50 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.5..@fluentui/react-menu_v0.0.0-nightly63afcc343820220120.1)
|
|
11
|
+
|
|
12
|
+
### Changes
|
|
13
|
+
|
|
14
|
+
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/1f354b562240b78c25d35df7989491f6eca92ef8) by email not defined)
|
|
15
|
+
- Updating based on removal of functions from makeStyles. ([PR #21239](https://github.com/microsoft/fluentui/pull/21239) by Humberto.Morimoto@microsoft.com)
|
|
16
|
+
- Replacing use of functions in makeStyles with direct use of tokens. ([PR #21048](https://github.com/microsoft/fluentui/pull/21048) by Humberto.Morimoto@microsoft.com)
|
|
17
|
+
- Apply fontSize styling to icon slot ([PR #21222](https://github.com/microsoft/fluentui/pull/21222) by behowell@microsoft.com)
|
|
18
|
+
- Update react-icons usage to resizable icons ([PR #21074](https://github.com/microsoft/fluentui/pull/21074) by ololubek@microsoft.com)
|
|
19
|
+
- feat: implement `MenuSplitGroup` component for split menu items ([PR #21095](https://github.com/microsoft/fluentui/pull/21095) by lingfangao@hotmail.com)
|
|
20
|
+
- Updating use of tokens.fontWeight now that we don't need to use casting. ([PR #21217](https://github.com/microsoft/fluentui/pull/21217) by Humberto.Morimoto@microsoft.com)
|
|
21
|
+
- (fix): Update react-icons dependency to latest version ([PR #20943](https://github.com/microsoft/fluentui/pull/20943) by ololubek@microsoft.com)
|
|
22
|
+
- breaking: MenuTrigger must be the first child of the `Menu` ([PR #21096](https://github.com/microsoft/fluentui/pull/21096) by lingfangao@hotmail.com)
|
|
23
|
+
- fix: set `aria-expanded` and `aria-haspopup` values correctly ([PR #20957](https://github.com/microsoft/fluentui/pull/20957) by lingfangao@hotmail.com)
|
|
24
|
+
- fix: Focus on first menu item on click ([PR #20955](https://github.com/microsoft/fluentui/pull/20955) by lingfangao@hotmail.com)
|
|
25
|
+
- Allow `MenuTrigger` to be wrapped by another trigger ([PR #21225](https://github.com/microsoft/fluentui/pull/21225) by lingfangao@hotmail.com)
|
|
26
|
+
- Updating packages based on changes to focusIndicator functions to remove functions from makeStyles in @fluentui/react-tabster. ([PR #21035](https://github.com/microsoft/fluentui/pull/21035) by Humberto.Morimoto@microsoft.com)
|
|
27
|
+
- Remove component's shorthandProps array ([PR #21134](https://github.com/microsoft/fluentui/pull/21134) by behowell@microsoft.com)
|
|
28
|
+
- update styles to not use CSS shorthands ([PR #20820](https://github.com/microsoft/fluentui/pull/20820) by olfedias@microsoft.com)
|
|
29
|
+
- fix: Call `useCheckmarkStyles` in `useMenuItemStyles` ([PR #20956](https://github.com/microsoft/fluentui/pull/20956) by lingfangao@hotmail.com)
|
|
30
|
+
- Bump @fluentui/keyboard-keys to v0.0.0-nightly63afcc343820220120.1 ([commit](https://github.com/microsoft/fluentui/commit/1f354b562240b78c25d35df7989491f6eca92ef8) by beachball)
|
|
31
|
+
- Bump @fluentui/react-context-selector to v0.0.0-nightly63afcc343820220120.1 ([commit](https://github.com/microsoft/fluentui/commit/1f354b562240b78c25d35df7989491f6eca92ef8) by beachball)
|
|
32
|
+
- Bump @fluentui/react-make-styles to v0.0.0-nightly63afcc343820220120.1 ([commit](https://github.com/microsoft/fluentui/commit/1f354b562240b78c25d35df7989491f6eca92ef8) by beachball)
|
|
33
|
+
- Bump @fluentui/react-portal to v0.0.0-nightly63afcc343820220120.1 ([commit](https://github.com/microsoft/fluentui/commit/1f354b562240b78c25d35df7989491f6eca92ef8) by beachball)
|
|
34
|
+
- Bump @fluentui/react-positioning to v0.0.0-nightly63afcc343820220120.1 ([commit](https://github.com/microsoft/fluentui/commit/1f354b562240b78c25d35df7989491f6eca92ef8) by beachball)
|
|
35
|
+
- Bump @fluentui/react-shared-contexts to v0.0.0-nightly63afcc343820220120.1 ([commit](https://github.com/microsoft/fluentui/commit/1f354b562240b78c25d35df7989491f6eca92ef8) by beachball)
|
|
36
|
+
- Bump @fluentui/react-tabster to v0.0.0-nightly63afcc343820220120.1 ([commit](https://github.com/microsoft/fluentui/commit/1f354b562240b78c25d35df7989491f6eca92ef8) by beachball)
|
|
37
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightly63afcc343820220120.1 ([commit](https://github.com/microsoft/fluentui/commit/1f354b562240b78c25d35df7989491f6eca92ef8) by beachball)
|
|
38
|
+
- Bump @fluentui/babel-make-styles to v0.0.0-nightly63afcc343820220120.1 ([commit](https://github.com/microsoft/fluentui/commit/1f354b562240b78c25d35df7989491f6eca92ef8) by beachball)
|
|
39
|
+
- Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightly63afcc343820220120.1 ([commit](https://github.com/microsoft/fluentui/commit/1f354b562240b78c25d35df7989491f6eca92ef8) by beachball)
|
|
40
|
+
- Bump @fluentui/react-conformance-make-styles to v0.0.0-nightly63afcc343820220120.1 ([commit](https://github.com/microsoft/fluentui/commit/1f354b562240b78c25d35df7989491f6eca92ef8) by beachball)
|
|
41
|
+
|
|
42
|
+
## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-beta.5)
|
|
43
|
+
|
|
44
|
+
Thu, 25 Nov 2021 08:34:14 GMT
|
|
45
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.4..@fluentui/react-menu_v9.0.0-beta.5)
|
|
46
|
+
|
|
47
|
+
### Changes
|
|
48
|
+
|
|
49
|
+
- update react-icons dependency ([PR #20563](https://github.com/microsoft/fluentui/pull/20563) by ololubek@microsoft.com)
|
|
50
|
+
- Bump @fluentui/react-context-selector to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
|
51
|
+
- Bump @fluentui/react-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
|
52
|
+
- Bump @fluentui/react-portal to v9.0.0-beta.5 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
|
53
|
+
- Bump @fluentui/react-positioning to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
|
54
|
+
- Bump @fluentui/react-shared-contexts to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
|
55
|
+
- Bump @fluentui/react-tabster to v9.0.0-beta.5 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
|
56
|
+
- Bump @fluentui/react-utilities to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
|
57
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
|
58
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
|
59
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
|
60
|
+
|
|
61
|
+
## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-beta.4)
|
|
62
|
+
|
|
63
|
+
Fri, 12 Nov 2021 13:25:27 GMT
|
|
64
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.3..@fluentui/react-menu_v9.0.0-beta.4)
|
|
11
65
|
|
|
12
66
|
### Changes
|
|
13
67
|
|
|
14
|
-
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/5e2f04f4741a9e3b98463480f9c1926ea2006337) by email not defined)
|
|
15
68
|
- Adds typings for `onCheckedValueChange` method ([PR #20493](https://github.com/microsoft/fluentui/pull/20493) by bsunderhus@microsoft.com)
|
|
69
|
+
- use react-shared-contexts instead of react-provider ([PR #20578](https://github.com/microsoft/fluentui/pull/20578) by olfedias@microsoft.com)
|
|
16
70
|
- export static classes for components ([PR #20450](https://github.com/microsoft/fluentui/pull/20450) by olfedias@microsoft.com)
|
|
17
71
|
- Updated beta and RC components to ES2019 ([PR #20405](https://github.com/microsoft/fluentui/pull/20405) by gcox@microsoft.com)
|
|
18
|
-
- Bump @fluentui/
|
|
19
|
-
- Bump @fluentui/react-
|
|
20
|
-
- Bump @fluentui/react-
|
|
21
|
-
- Bump @fluentui/react-
|
|
22
|
-
- Bump @fluentui/react-
|
|
23
|
-
- Bump @fluentui/react-
|
|
24
|
-
- Bump @fluentui/react-
|
|
25
|
-
- Bump @fluentui/
|
|
26
|
-
- Bump @fluentui/
|
|
27
|
-
- Bump @fluentui/
|
|
28
|
-
- Bump @fluentui/react-conformance-make-styles to v0.0.0-nightly627ad67f1120211109.1 ([commit](https://github.com/microsoft/fluentui/commit/5e2f04f4741a9e3b98463480f9c1926ea2006337) by beachball)
|
|
72
|
+
- Bump @fluentui/react-context-selector to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
|
73
|
+
- Bump @fluentui/react-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
|
74
|
+
- Bump @fluentui/react-portal to v9.0.0-beta.4 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
|
75
|
+
- Bump @fluentui/react-positioning to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
|
76
|
+
- Bump @fluentui/react-shared-contexts to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
|
77
|
+
- Bump @fluentui/react-tabster to v9.0.0-beta.4 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
|
78
|
+
- Bump @fluentui/react-utilities to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
|
79
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
|
80
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
|
81
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
|
29
82
|
|
|
30
83
|
## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-beta.3)
|
|
31
84
|
|
package/Spec.md
CHANGED
|
@@ -619,7 +619,7 @@ const menu = (
|
|
|
619
619
|
|
|
620
620
|
```html
|
|
621
621
|
<!-- expected DOM output -->
|
|
622
|
-
<button aria-haspopup="
|
|
622
|
+
<button aria-haspopup="menu" aria-expanded="true" id="trigger">Open menu</button>
|
|
623
623
|
<div role="menu" aria-labelledby="trigger">
|
|
624
624
|
<div role="menuitem" tabindex="0">Option 1</div>
|
|
625
625
|
<div role="menuitem" tabindex="-1">Option 2</div>
|
|
@@ -644,7 +644,7 @@ const menu = (
|
|
|
644
644
|
|
|
645
645
|
```html
|
|
646
646
|
<!-- expected DOM output -->
|
|
647
|
-
<button aria-haspopup="
|
|
647
|
+
<button aria-haspopup="menu" aria-expanded="true" id="trigger">Open menu</button>
|
|
648
648
|
<div role="menu" aria-labelledby="trigger">
|
|
649
649
|
<div role="menuitem" tabindex="0">
|
|
650
650
|
<span role="presentation"><svg>FileIcon</svg></span>
|
|
@@ -682,7 +682,7 @@ const menu = (
|
|
|
682
682
|
|
|
683
683
|
```html
|
|
684
684
|
<!-- expected DOM output -->
|
|
685
|
-
<button aria-haspopup="
|
|
685
|
+
<button aria-haspopup="menu" aria-expanded="true" id="trigger">Open menu</button>
|
|
686
686
|
<div role="menu" aria-labelledby="trigger">
|
|
687
687
|
<div role="menuitem" tabindex="0">Option 1</div>
|
|
688
688
|
<div role="separator" aria-hidden="true"></div>
|
|
@@ -719,7 +719,7 @@ const menu = (
|
|
|
719
719
|
|
|
720
720
|
```html
|
|
721
721
|
<!-- expected DOM output -->
|
|
722
|
-
<button aria-haspopup="
|
|
722
|
+
<button aria-haspopup="menu" aria-expanded="true" id="trigger">Open menu</button>
|
|
723
723
|
<div role="menu" aria-labelledby="trigger">
|
|
724
724
|
<div role="menuitem" tabindex="0">Option 1</div>
|
|
725
725
|
<div role="separator" aria-hidden="true"></div>
|
|
@@ -758,10 +758,10 @@ const menu = (
|
|
|
758
758
|
|
|
759
759
|
```html
|
|
760
760
|
<!-- expected DOM output -->
|
|
761
|
-
<button aria-haspopup="
|
|
761
|
+
<button aria-haspopup="menu" aria-expanded="true" id="trigger">Open menu</button>
|
|
762
762
|
<div role="menu" aria-labelledby="trigger">
|
|
763
763
|
<div role="menuitem" tabindex="0">Option 1</div>
|
|
764
|
-
<div role="menuitem" tabindex="-1" aria-haspopup="
|
|
764
|
+
<div role="menuitem" tabindex="-1" aria-haspopup="menu" aria-expanded="false" id="submenu-trigger">Open submenu</div>
|
|
765
765
|
</div>
|
|
766
766
|
|
|
767
767
|
<!-- expected DOM output for submenu -->
|
|
@@ -843,7 +843,7 @@ const menuSelectableSections = (
|
|
|
843
843
|
```
|
|
844
844
|
|
|
845
845
|
```html
|
|
846
|
-
<button aria-haspopup="
|
|
846
|
+
<button aria-haspopup="menu" aria-expanded="true" id="trigger">Open menu</button>
|
|
847
847
|
|
|
848
848
|
<!-- expected DOM output for basic checkbox -->
|
|
849
849
|
<div role="menu" aria-labelledby="trigger">
|
|
@@ -882,9 +882,12 @@ const menuSplitbutton= (
|
|
|
882
882
|
<MenuList>
|
|
883
883
|
<MenuItem>Option 1</MenuItem>
|
|
884
884
|
<Menu>
|
|
885
|
-
<
|
|
886
|
-
<
|
|
887
|
-
|
|
885
|
+
<MenuSplitGroup>
|
|
886
|
+
<MenuItem>Main action</MenuItem>
|
|
887
|
+
<MenuTrigger>
|
|
888
|
+
<MenuItem />
|
|
889
|
+
</MenuTrigger>
|
|
890
|
+
</MenuSplitGroup>
|
|
888
891
|
<MenuItem>Option 1</MenuItem>
|
|
889
892
|
<MenuItem>Option 2</MenuItem>
|
|
890
893
|
<MenuItem>Option 3</MenuItem>
|
|
@@ -897,7 +900,7 @@ const menuSplitbutton= (
|
|
|
897
900
|
```html
|
|
898
901
|
<div role="menu" aria-labelledby="trigger">
|
|
899
902
|
<div role="menuitem" tabindex="0">Option 1</div>
|
|
900
|
-
<div role="menuitem" tabindex="-1" aria-haspopup="
|
|
903
|
+
<div role="menuitem" tabindex="-1" aria-haspopup="menu" aria-expanded="false" id="submenu-trigger">Open submenu</div>
|
|
901
904
|
</div>
|
|
902
905
|
|
|
903
906
|
<!-- expected DOM output -->
|
|
@@ -905,7 +908,7 @@ const menuSplitbutton= (
|
|
|
905
908
|
<div role="menuitem" tabindex="0">Option 1</div>
|
|
906
909
|
<div role="group">
|
|
907
910
|
<div role="menuitem" tabindex="-1">content slot</div>
|
|
908
|
-
<div role="menuitem" tabindex="-1" aria-haspopup="
|
|
911
|
+
<div role="menuitem" tabindex="-1" aria-haspopup="menu" aria-expanded="false" id="submenu-trgger">
|
|
909
912
|
<svg>indicator icon</svg>
|
|
910
913
|
</div>
|
|
911
914
|
</div>
|
|
@@ -958,11 +961,13 @@ Below is a set of diagrams that tries to illustrates all the interactions menus
|
|
|
958
961
|
|
|
959
962
|
All of the above Mouse events seen previously should apply to the part of the split button that is intended to open a submenu.
|
|
960
963
|
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-

|
|
964
|
+
> TODO convert these diagrams to excalidraw or smth that is text format
|
|
965
|
+
> TODO add extra descriptions to diagrams
|
|
964
966
|
|
|
965
|
-
|
|
967
|
+
<img src="./etc/images/menu-interactions/Slide19.PNG" width="700" />
|
|
968
|
+
<img src="./etc/images/menu-interactions/Slide20.PNG" width="700" />
|
|
969
|
+
<img src="./etc/images/menu-interactions/Slide21.PNG" width="700" />
|
|
970
|
+
<img src="./etc/images/menu-interactions/Slide22.PNG" width="700" />
|
|
966
971
|
|
|
967
972
|
### MenuItem selection
|
|
968
973
|
|