@fluentui/react-menu 0.0.0-nightlyc9ccb6f37d20211122.1 → 0.0.0-nightlycc44f3625c20211220.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. package/CHANGELOG.json +147 -26
  2. package/CHANGELOG.md +44 -20
  3. package/dist/react-menu.d.ts +4 -3
  4. package/lib/components/Menu/useMenu.js +8 -5
  5. package/lib/components/Menu/useMenu.js.map +1 -1
  6. package/lib/components/MenuDivider/renderMenuDivider.js +2 -1
  7. package/lib/components/MenuDivider/renderMenuDivider.js.map +1 -1
  8. package/lib/components/MenuDivider/useMenuDividerStyles.d.ts +1 -1
  9. package/lib/components/MenuDivider/useMenuDividerStyles.js +1 -1
  10. package/lib/components/MenuDivider/useMenuDividerStyles.js.map +1 -1
  11. package/lib/components/MenuGroup/renderMenuGroup.js +2 -1
  12. package/lib/components/MenuGroup/renderMenuGroup.js.map +1 -1
  13. package/lib/components/MenuGroupHeader/renderMenuGroupHeader.js +2 -1
  14. package/lib/components/MenuGroupHeader/renderMenuGroupHeader.js.map +1 -1
  15. package/lib/components/MenuGroupHeader/useMenuGroupHeaderStyles.d.ts +1 -1
  16. package/lib/components/MenuItem/MenuItem.js +0 -2
  17. package/lib/components/MenuItem/MenuItem.js.map +1 -1
  18. package/lib/components/MenuItem/renderMenuItem.js +7 -1
  19. package/lib/components/MenuItem/renderMenuItem.js.map +1 -1
  20. package/lib/components/MenuItem/useMenuItemStyles.js +11 -4
  21. package/lib/components/MenuItem/useMenuItemStyles.js.map +1 -1
  22. package/lib/components/MenuItemCheckbox/renderMenuItemCheckbox.js +6 -1
  23. package/lib/components/MenuItemCheckbox/renderMenuItemCheckbox.js.map +1 -1
  24. package/lib/components/MenuItemRadio/renderMenuItemRadio.js +6 -1
  25. package/lib/components/MenuItemRadio/renderMenuItemRadio.js.map +1 -1
  26. package/lib/components/MenuList/renderMenuList.js +2 -1
  27. package/lib/components/MenuList/renderMenuList.js.map +1 -1
  28. package/lib/components/MenuList/useMenuList.js.map +1 -1
  29. package/lib/components/MenuList/useMenuListStyles.js +4 -3
  30. package/lib/components/MenuList/useMenuListStyles.js.map +1 -1
  31. package/lib/components/MenuPopover/renderMenuPopover.js +4 -2
  32. package/lib/components/MenuPopover/renderMenuPopover.js.map +1 -1
  33. package/lib/components/MenuPopover/useMenuPopover.js.map +1 -1
  34. package/lib/components/MenuPopover/useMenuPopoverStyles.js +6 -3
  35. package/lib/components/MenuPopover/useMenuPopoverStyles.js.map +1 -1
  36. package/lib/components/MenuTrigger/MenuTrigger.types.d.ts +2 -1
  37. package/lib/components/MenuTrigger/useTriggerElement.js +6 -5
  38. package/lib/components/MenuTrigger/useTriggerElement.js.map +1 -1
  39. package/lib/utils/useOnMenuEnter.js.map +1 -1
  40. package/lib-commonjs/components/Menu/useMenu.js +8 -5
  41. package/lib-commonjs/components/Menu/useMenu.js.map +1 -1
  42. package/lib-commonjs/components/MenuDivider/renderMenuDivider.js +2 -1
  43. package/lib-commonjs/components/MenuDivider/renderMenuDivider.js.map +1 -1
  44. package/lib-commonjs/components/MenuDivider/useMenuDividerStyles.d.ts +1 -1
  45. package/lib-commonjs/components/MenuGroup/renderMenuGroup.js +2 -1
  46. package/lib-commonjs/components/MenuGroup/renderMenuGroup.js.map +1 -1
  47. package/lib-commonjs/components/MenuGroupHeader/renderMenuGroupHeader.js +2 -1
  48. package/lib-commonjs/components/MenuGroupHeader/renderMenuGroupHeader.js.map +1 -1
  49. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeaderStyles.d.ts +1 -1
  50. package/lib-commonjs/components/MenuItem/MenuItem.js +0 -3
  51. package/lib-commonjs/components/MenuItem/MenuItem.js.map +1 -1
  52. package/lib-commonjs/components/MenuItem/renderMenuItem.js +7 -1
  53. package/lib-commonjs/components/MenuItem/renderMenuItem.js.map +1 -1
  54. package/lib-commonjs/components/MenuItem/useMenuItemStyles.js +11 -3
  55. package/lib-commonjs/components/MenuItem/useMenuItemStyles.js.map +1 -1
  56. package/lib-commonjs/components/MenuItemCheckbox/renderMenuItemCheckbox.js +6 -1
  57. package/lib-commonjs/components/MenuItemCheckbox/renderMenuItemCheckbox.js.map +1 -1
  58. package/lib-commonjs/components/MenuItemRadio/renderMenuItemRadio.js +6 -1
  59. package/lib-commonjs/components/MenuItemRadio/renderMenuItemRadio.js.map +1 -1
  60. package/lib-commonjs/components/MenuList/renderMenuList.js +2 -1
  61. package/lib-commonjs/components/MenuList/renderMenuList.js.map +1 -1
  62. package/lib-commonjs/components/MenuList/useMenuList.js.map +1 -1
  63. package/lib-commonjs/components/MenuList/useMenuListStyles.js +3 -2
  64. package/lib-commonjs/components/MenuList/useMenuListStyles.js.map +1 -1
  65. package/lib-commonjs/components/MenuPopover/renderMenuPopover.js +4 -2
  66. package/lib-commonjs/components/MenuPopover/renderMenuPopover.js.map +1 -1
  67. package/lib-commonjs/components/MenuPopover/useMenuPopover.js.map +1 -1
  68. package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.js +5 -2
  69. package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.js.map +1 -1
  70. package/lib-commonjs/components/MenuTrigger/MenuTrigger.types.d.ts +2 -1
  71. package/lib-commonjs/components/MenuTrigger/useTriggerElement.js +6 -5
  72. package/lib-commonjs/components/MenuTrigger/useTriggerElement.js.map +1 -1
  73. package/lib-commonjs/utils/useOnMenuEnter.js.map +1 -1
  74. package/package.json +16 -15
  75. package/lib/common/isConformant.d.ts +0 -4
  76. package/lib/common/isConformant.js +0 -12
  77. package/lib/common/isConformant.js.map +0 -1
  78. package/lib/common/mockUseMenuContext.d.ts +0 -7
  79. package/lib/common/mockUseMenuContext.js +0 -29
  80. package/lib/common/mockUseMenuContext.js.map +0 -1
  81. package/lib-commonjs/common/isConformant.d.ts +0 -4
  82. package/lib-commonjs/common/isConformant.js +0 -23
  83. package/lib-commonjs/common/isConformant.js.map +0 -1
  84. package/lib-commonjs/common/mockUseMenuContext.d.ts +0 -7
  85. package/lib-commonjs/common/mockUseMenuContext.js +0 -39
  86. package/lib-commonjs/common/mockUseMenuContext.js.map +0 -1
package/CHANGELOG.json CHANGED
@@ -2,82 +2,203 @@
2
2
  "name": "@fluentui/react-menu",
3
3
  "entries": [
4
4
  {
5
- "date": "Mon, 22 Nov 2021 04:15:08 GMT",
6
- "tag": "@fluentui/react-menu_v0.0.0-nightlyc9ccb6f37d20211122.1",
7
- "version": "0.0.0-nightlyc9ccb6f37d20211122.1",
5
+ "date": "Mon, 20 Dec 2021 04:17:51 GMT",
6
+ "tag": "@fluentui/react-menu_v0.0.0-nightlycc44f3625c20211220.1",
7
+ "version": "0.0.0-nightlycc44f3625c20211220.1",
8
8
  "comments": {
9
9
  "prerelease": [
10
10
  {
11
11
  "author": "email not defined",
12
12
  "package": "@fluentui/react-menu",
13
- "commit": "485cdebc9d90401363f72f87d647689444cdaba4",
13
+ "commit": "0839b0d96424e04706bd895d731d371acd3baaf5",
14
14
  "comment": "Release nightly v9"
15
15
  },
16
+ {
17
+ "author": "lingfangao@hotmail.com",
18
+ "package": "@fluentui/react-menu",
19
+ "commit": "c2e6c50d56dcb45b4ca9e3a9daf2fae4be10a19e",
20
+ "comment": "fix: set `aria-expanded` and `aria-haspopup` values correctly"
21
+ },
22
+ {
23
+ "author": "lingfangao@hotmail.com",
24
+ "package": "@fluentui/react-menu",
25
+ "commit": "6ca0355f6740f836ff4df009687718a380085247",
26
+ "comment": "fix: Focus on first menu item on click"
27
+ },
28
+ {
29
+ "author": "olfedias@microsoft.com",
30
+ "package": "@fluentui/react-menu",
31
+ "commit": "7e0933ed386742df28c416e6b3a6903a0c041f28",
32
+ "comment": "update styles to not use CSS shorthands"
33
+ },
34
+ {
35
+ "author": "lingfangao@hotmail.com",
36
+ "package": "@fluentui/react-menu",
37
+ "commit": "4121754498bba5137f769295e2b7a2899f557278",
38
+ "comment": "fix: Call `useCheckmarkStyles` in `useMenuItemStyles`"
39
+ },
40
+ {
41
+ "author": "ololubek@microsoft.com",
42
+ "package": "@fluentui/react-menu",
43
+ "commit": "7cb2a5d8db1b6a1ddb638aa82d5815ab5ae84e69",
44
+ "comment": "(fix): Update react-icons dependency to latest version"
45
+ },
46
+ {
47
+ "author": "beachball",
48
+ "package": "@fluentui/react-menu",
49
+ "comment": "Bump @fluentui/keyboard-keys to v0.0.0-nightlycc44f3625c20211220.1",
50
+ "commit": "0839b0d96424e04706bd895d731d371acd3baaf5"
51
+ },
52
+ {
53
+ "author": "beachball",
54
+ "package": "@fluentui/react-menu",
55
+ "comment": "Bump @fluentui/react-context-selector to v0.0.0-nightlycc44f3625c20211220.1",
56
+ "commit": "0839b0d96424e04706bd895d731d371acd3baaf5"
57
+ },
58
+ {
59
+ "author": "beachball",
60
+ "package": "@fluentui/react-menu",
61
+ "comment": "Bump @fluentui/react-make-styles to v0.0.0-nightlycc44f3625c20211220.1",
62
+ "commit": "0839b0d96424e04706bd895d731d371acd3baaf5"
63
+ },
64
+ {
65
+ "author": "beachball",
66
+ "package": "@fluentui/react-menu",
67
+ "comment": "Bump @fluentui/react-portal to v0.0.0-nightlycc44f3625c20211220.1",
68
+ "commit": "0839b0d96424e04706bd895d731d371acd3baaf5"
69
+ },
70
+ {
71
+ "author": "beachball",
72
+ "package": "@fluentui/react-menu",
73
+ "comment": "Bump @fluentui/react-positioning to v0.0.0-nightlycc44f3625c20211220.1",
74
+ "commit": "0839b0d96424e04706bd895d731d371acd3baaf5"
75
+ },
76
+ {
77
+ "author": "beachball",
78
+ "package": "@fluentui/react-menu",
79
+ "comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightlycc44f3625c20211220.1",
80
+ "commit": "0839b0d96424e04706bd895d731d371acd3baaf5"
81
+ },
82
+ {
83
+ "author": "beachball",
84
+ "package": "@fluentui/react-menu",
85
+ "comment": "Bump @fluentui/react-tabster to v0.0.0-nightlycc44f3625c20211220.1",
86
+ "commit": "0839b0d96424e04706bd895d731d371acd3baaf5"
87
+ },
88
+ {
89
+ "author": "beachball",
90
+ "package": "@fluentui/react-menu",
91
+ "comment": "Bump @fluentui/react-utilities to v0.0.0-nightlycc44f3625c20211220.1",
92
+ "commit": "0839b0d96424e04706bd895d731d371acd3baaf5"
93
+ },
16
94
  {
17
95
  "author": "beachball",
18
96
  "package": "@fluentui/react-menu",
19
- "comment": "Bump @fluentui/keyboard-keys to v0.0.0-nightlyc9ccb6f37d20211122.1",
20
- "commit": "485cdebc9d90401363f72f87d647689444cdaba4"
97
+ "comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightlycc44f3625c20211220.1",
98
+ "commit": "0839b0d96424e04706bd895d731d371acd3baaf5"
99
+ },
100
+ {
101
+ "author": "beachball",
102
+ "package": "@fluentui/react-menu",
103
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlycc44f3625c20211220.1",
104
+ "commit": "0839b0d96424e04706bd895d731d371acd3baaf5"
105
+ },
106
+ {
107
+ "author": "beachball",
108
+ "package": "@fluentui/react-menu",
109
+ "comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlycc44f3625c20211220.1",
110
+ "commit": "0839b0d96424e04706bd895d731d371acd3baaf5"
111
+ }
112
+ ],
113
+ "none": [
114
+ {
115
+ "author": "elcraig@microsoft.com",
116
+ "package": "@fluentui/react-menu",
117
+ "commit": "3360b45ec159250b1346c91afad7dce138e6bc20",
118
+ "comment": "Update API file to version generated by typescript 4.3"
119
+ }
120
+ ]
121
+ }
122
+ },
123
+ {
124
+ "date": "Thu, 25 Nov 2021 08:34:14 GMT",
125
+ "tag": "@fluentui/react-menu_v9.0.0-beta.5",
126
+ "version": "9.0.0-beta.5",
127
+ "comments": {
128
+ "none": [
129
+ {
130
+ "author": "lingfangao@hotmail.com",
131
+ "package": "@fluentui/react-menu",
132
+ "commit": "8a141d14f3a14de2e1c4691dad908622f310a9d1",
133
+ "comment": "Migrate package to use solution tsconfigs"
134
+ }
135
+ ],
136
+ "prerelease": [
137
+ {
138
+ "author": "ololubek@microsoft.com",
139
+ "package": "@fluentui/react-menu",
140
+ "commit": "ecab13cfd6ac22657020db8f86eb89f952b0f953",
141
+ "comment": "update react-icons dependency"
21
142
  },
22
143
  {
23
144
  "author": "beachball",
24
145
  "package": "@fluentui/react-menu",
25
- "comment": "Bump @fluentui/react-context-selector to v0.0.0-nightlyc9ccb6f37d20211122.1",
26
- "commit": "485cdebc9d90401363f72f87d647689444cdaba4"
146
+ "comment": "Bump @fluentui/react-context-selector to v9.0.0-beta.4",
147
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
27
148
  },
28
149
  {
29
150
  "author": "beachball",
30
151
  "package": "@fluentui/react-menu",
31
- "comment": "Bump @fluentui/react-make-styles to v0.0.0-nightlyc9ccb6f37d20211122.1",
32
- "commit": "485cdebc9d90401363f72f87d647689444cdaba4"
152
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.4",
153
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
33
154
  },
34
155
  {
35
156
  "author": "beachball",
36
157
  "package": "@fluentui/react-menu",
37
- "comment": "Bump @fluentui/react-portal to v0.0.0-nightlyc9ccb6f37d20211122.1",
38
- "commit": "485cdebc9d90401363f72f87d647689444cdaba4"
158
+ "comment": "Bump @fluentui/react-portal to v9.0.0-beta.5",
159
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
39
160
  },
40
161
  {
41
162
  "author": "beachball",
42
163
  "package": "@fluentui/react-menu",
43
- "comment": "Bump @fluentui/react-positioning to v0.0.0-nightlyc9ccb6f37d20211122.1",
44
- "commit": "485cdebc9d90401363f72f87d647689444cdaba4"
164
+ "comment": "Bump @fluentui/react-positioning to v9.0.0-beta.4",
165
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
45
166
  },
46
167
  {
47
168
  "author": "beachball",
48
169
  "package": "@fluentui/react-menu",
49
- "comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightlyc9ccb6f37d20211122.1",
50
- "commit": "485cdebc9d90401363f72f87d647689444cdaba4"
170
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.4",
171
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
51
172
  },
52
173
  {
53
174
  "author": "beachball",
54
175
  "package": "@fluentui/react-menu",
55
- "comment": "Bump @fluentui/react-tabster to v0.0.0-nightlyc9ccb6f37d20211122.1",
56
- "commit": "485cdebc9d90401363f72f87d647689444cdaba4"
176
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-beta.5",
177
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
57
178
  },
58
179
  {
59
180
  "author": "beachball",
60
181
  "package": "@fluentui/react-menu",
61
- "comment": "Bump @fluentui/react-utilities to v0.0.0-nightlyc9ccb6f37d20211122.1",
62
- "commit": "485cdebc9d90401363f72f87d647689444cdaba4"
182
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.4",
183
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
63
184
  },
64
185
  {
65
186
  "author": "beachball",
66
187
  "package": "@fluentui/react-menu",
67
- "comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightlyc9ccb6f37d20211122.1",
68
- "commit": "485cdebc9d90401363f72f87d647689444cdaba4"
188
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.4",
189
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
69
190
  },
70
191
  {
71
192
  "author": "beachball",
72
193
  "package": "@fluentui/react-menu",
73
- "comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlyc9ccb6f37d20211122.1",
74
- "commit": "485cdebc9d90401363f72f87d647689444cdaba4"
194
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4",
195
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
75
196
  },
76
197
  {
77
198
  "author": "beachball",
78
199
  "package": "@fluentui/react-menu",
79
- "comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlyc9ccb6f37d20211122.1",
80
- "commit": "485cdebc9d90401363f72f87d647689444cdaba4"
200
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4",
201
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
81
202
  }
82
203
  ]
83
204
  }
package/CHANGELOG.md CHANGED
@@ -1,28 +1,52 @@
1
1
  # Change Log - @fluentui/react-menu
2
2
 
3
- This log was last generated on Mon, 22 Nov 2021 04:15:08 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 20 Dec 2021 04:17:51 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightlyc9ccb6f37d20211122.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v0.0.0-nightlyc9ccb6f37d20211122.1)
8
-
9
- Mon, 22 Nov 2021 04:15:08 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.4..@fluentui/react-menu_v0.0.0-nightlyc9ccb6f37d20211122.1)
11
-
12
- ### Changes
13
-
14
- - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/485cdebc9d90401363f72f87d647689444cdaba4) by email not defined)
15
- - Bump @fluentui/keyboard-keys to v0.0.0-nightlyc9ccb6f37d20211122.1 ([commit](https://github.com/microsoft/fluentui/commit/485cdebc9d90401363f72f87d647689444cdaba4) by beachball)
16
- - Bump @fluentui/react-context-selector to v0.0.0-nightlyc9ccb6f37d20211122.1 ([commit](https://github.com/microsoft/fluentui/commit/485cdebc9d90401363f72f87d647689444cdaba4) by beachball)
17
- - Bump @fluentui/react-make-styles to v0.0.0-nightlyc9ccb6f37d20211122.1 ([commit](https://github.com/microsoft/fluentui/commit/485cdebc9d90401363f72f87d647689444cdaba4) by beachball)
18
- - Bump @fluentui/react-portal to v0.0.0-nightlyc9ccb6f37d20211122.1 ([commit](https://github.com/microsoft/fluentui/commit/485cdebc9d90401363f72f87d647689444cdaba4) by beachball)
19
- - Bump @fluentui/react-positioning to v0.0.0-nightlyc9ccb6f37d20211122.1 ([commit](https://github.com/microsoft/fluentui/commit/485cdebc9d90401363f72f87d647689444cdaba4) by beachball)
20
- - Bump @fluentui/react-shared-contexts to v0.0.0-nightlyc9ccb6f37d20211122.1 ([commit](https://github.com/microsoft/fluentui/commit/485cdebc9d90401363f72f87d647689444cdaba4) by beachball)
21
- - Bump @fluentui/react-tabster to v0.0.0-nightlyc9ccb6f37d20211122.1 ([commit](https://github.com/microsoft/fluentui/commit/485cdebc9d90401363f72f87d647689444cdaba4) by beachball)
22
- - Bump @fluentui/react-utilities to v0.0.0-nightlyc9ccb6f37d20211122.1 ([commit](https://github.com/microsoft/fluentui/commit/485cdebc9d90401363f72f87d647689444cdaba4) by beachball)
23
- - Bump @fluentui/babel-make-styles to v0.0.0-nightlyc9ccb6f37d20211122.1 ([commit](https://github.com/microsoft/fluentui/commit/485cdebc9d90401363f72f87d647689444cdaba4) by beachball)
24
- - Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlyc9ccb6f37d20211122.1 ([commit](https://github.com/microsoft/fluentui/commit/485cdebc9d90401363f72f87d647689444cdaba4) by beachball)
25
- - Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlyc9ccb6f37d20211122.1 ([commit](https://github.com/microsoft/fluentui/commit/485cdebc9d90401363f72f87d647689444cdaba4) by beachball)
7
+ ## [0.0.0-nightlycc44f3625c20211220.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v0.0.0-nightlycc44f3625c20211220.1)
8
+
9
+ Mon, 20 Dec 2021 04:17:51 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.5..@fluentui/react-menu_v0.0.0-nightlycc44f3625c20211220.1)
11
+
12
+ ### Changes
13
+
14
+ - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/0839b0d96424e04706bd895d731d371acd3baaf5) by email not defined)
15
+ - fix: set `aria-expanded` and `aria-haspopup` values correctly ([PR #20957](https://github.com/microsoft/fluentui/pull/20957) by lingfangao@hotmail.com)
16
+ - fix: Focus on first menu item on click ([PR #20955](https://github.com/microsoft/fluentui/pull/20955) by lingfangao@hotmail.com)
17
+ - update styles to not use CSS shorthands ([PR #20820](https://github.com/microsoft/fluentui/pull/20820) by olfedias@microsoft.com)
18
+ - fix: Call `useCheckmarkStyles` in `useMenuItemStyles` ([PR #20956](https://github.com/microsoft/fluentui/pull/20956) by lingfangao@hotmail.com)
19
+ - (fix): Update react-icons dependency to latest version ([PR #20943](https://github.com/microsoft/fluentui/pull/20943) by ololubek@microsoft.com)
20
+ - Bump @fluentui/keyboard-keys to v0.0.0-nightlycc44f3625c20211220.1 ([commit](https://github.com/microsoft/fluentui/commit/0839b0d96424e04706bd895d731d371acd3baaf5) by beachball)
21
+ - Bump @fluentui/react-context-selector to v0.0.0-nightlycc44f3625c20211220.1 ([commit](https://github.com/microsoft/fluentui/commit/0839b0d96424e04706bd895d731d371acd3baaf5) by beachball)
22
+ - Bump @fluentui/react-make-styles to v0.0.0-nightlycc44f3625c20211220.1 ([commit](https://github.com/microsoft/fluentui/commit/0839b0d96424e04706bd895d731d371acd3baaf5) by beachball)
23
+ - Bump @fluentui/react-portal to v0.0.0-nightlycc44f3625c20211220.1 ([commit](https://github.com/microsoft/fluentui/commit/0839b0d96424e04706bd895d731d371acd3baaf5) by beachball)
24
+ - Bump @fluentui/react-positioning to v0.0.0-nightlycc44f3625c20211220.1 ([commit](https://github.com/microsoft/fluentui/commit/0839b0d96424e04706bd895d731d371acd3baaf5) by beachball)
25
+ - Bump @fluentui/react-shared-contexts to v0.0.0-nightlycc44f3625c20211220.1 ([commit](https://github.com/microsoft/fluentui/commit/0839b0d96424e04706bd895d731d371acd3baaf5) by beachball)
26
+ - Bump @fluentui/react-tabster to v0.0.0-nightlycc44f3625c20211220.1 ([commit](https://github.com/microsoft/fluentui/commit/0839b0d96424e04706bd895d731d371acd3baaf5) by beachball)
27
+ - Bump @fluentui/react-utilities to v0.0.0-nightlycc44f3625c20211220.1 ([commit](https://github.com/microsoft/fluentui/commit/0839b0d96424e04706bd895d731d371acd3baaf5) by beachball)
28
+ - Bump @fluentui/babel-make-styles to v0.0.0-nightlycc44f3625c20211220.1 ([commit](https://github.com/microsoft/fluentui/commit/0839b0d96424e04706bd895d731d371acd3baaf5) by beachball)
29
+ - Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlycc44f3625c20211220.1 ([commit](https://github.com/microsoft/fluentui/commit/0839b0d96424e04706bd895d731d371acd3baaf5) by beachball)
30
+ - Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlycc44f3625c20211220.1 ([commit](https://github.com/microsoft/fluentui/commit/0839b0d96424e04706bd895d731d371acd3baaf5) by beachball)
31
+
32
+ ## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-beta.5)
33
+
34
+ Thu, 25 Nov 2021 08:34:14 GMT
35
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.4..@fluentui/react-menu_v9.0.0-beta.5)
36
+
37
+ ### Changes
38
+
39
+ - update react-icons dependency ([PR #20563](https://github.com/microsoft/fluentui/pull/20563) by ololubek@microsoft.com)
40
+ - Bump @fluentui/react-context-selector to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
41
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
42
+ - Bump @fluentui/react-portal to v9.0.0-beta.5 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
43
+ - Bump @fluentui/react-positioning to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
44
+ - Bump @fluentui/react-shared-contexts to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
45
+ - Bump @fluentui/react-tabster to v9.0.0-beta.5 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
46
+ - Bump @fluentui/react-utilities to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
47
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
48
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
49
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
26
50
 
27
51
  ## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-beta.4)
28
52
 
@@ -434,8 +434,9 @@ export declare const MenuTrigger: React_2.FC<MenuTriggerProps>;
434
434
  /**
435
435
  * Props that are passed to the child of the MenuTrigger when cloned to ensure correct behaviour for the Menu
436
436
  */
437
- export declare type MenuTriggerChildProps = Required<Pick<React_2.HTMLAttributes<HTMLElement>, 'onClick' | 'onMouseEnter' | 'onMouseLeave' | 'onContextMenu' | 'onKeyDown' | 'aria-haspopup' | 'aria-expanded' | 'id'>> & {
437
+ export declare type MenuTriggerChildProps = Required<Pick<React_2.HTMLAttributes<HTMLElement>, 'onClick' | 'onMouseEnter' | 'onMouseLeave' | 'onContextMenu' | 'onKeyDown' | 'aria-haspopup' | 'id'>> & {
438
438
  ref?: React_2.Ref<never>;
439
+ 'aria-expanded': boolean | undefined;
439
440
  };
440
441
 
441
442
  export declare const MenuTriggerContextProvider: React_2.Provider<boolean>;
@@ -535,7 +536,7 @@ export declare function useMenuContextValues(state: MenuState): MenuContextValue
535
536
  */
536
537
  export declare const useMenuDivider: (props: MenuDividerProps, ref: React_2.Ref<HTMLElement>) => MenuDividerState;
537
538
 
538
- export declare const useMenuDividerStyles: (state: MenuDividerState) => ComponentState<MenuDividerSlots>;
539
+ export declare const useMenuDividerStyles: (state: MenuDividerState) => MenuDividerState;
539
540
 
540
541
  /**
541
542
  * Given user props, returns state and render function for a MenuGroup.
@@ -551,7 +552,7 @@ export declare function useMenuGroupContextValues(state: MenuGroupState): MenuGr
551
552
  */
552
553
  export declare function useMenuGroupHeader(props: MenuGroupHeaderProps, ref: React_2.Ref<HTMLElement>): MenuGroupHeaderState;
553
554
 
554
- export declare const useMenuGroupHeaderStyles: (state: MenuGroupHeaderState) => ComponentState<MenuGroupHeaderSlots>;
555
+ export declare const useMenuGroupHeaderStyles: (state: MenuGroupHeaderState) => MenuGroupHeaderState;
555
556
 
556
557
  export declare const useMenuGroupStyles: (state: MenuGroupState) => MenuGroupState;
557
558
 
@@ -227,15 +227,18 @@ const useMenuOpenState = state => {
227
227
  prevFocusable === null || prevFocusable === void 0 ? void 0 : prevFocusable.focus();
228
228
  }, [findPrevFocusable, state.triggerRef]);
229
229
  React.useEffect(() => {
230
- var _a;
231
-
232
- if (!shouldHandleKeyboardRef.current) {
233
- return;
230
+ if (open) {
231
+ focusFirst();
234
232
  }
233
+ }, [open, focusFirst]);
234
+ React.useEffect(() => {
235
+ var _a;
235
236
 
236
237
  if (open) {
237
238
  focusFirst();
238
- } else {
239
+ }
240
+
241
+ if (shouldHandleKeyboardRef.current && !open) {
239
242
  if (shouldHandleTabRef.current && !state.isSubmenu) {
240
243
  pressedShiftRef.current ? focusBeforeMenuTrigger() : focusAfterMenuTrigger();
241
244
  } else {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Menu/useMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,oBAAT,EAA+B,SAA/B,EAA0C,2BAA1C,QAA6E,6BAA7E;AACA,SAAS,oBAAT,EAA+B,KAA/B,EAAsC,iBAAtC,EAAyD,gBAAzD,QAAiF,2BAAjF;AACA,SAAS,SAAT,QAA0B,iCAA1B;AACA,SAAS,eAAT,QAAgC,wBAAhC;AACA,SAAS,eAAT,QAAgC,yBAAhC;AACA,SAAS,WAAT,QAA4B,sBAA5B;AACA,SAAS,cAAT,QAA+B,4BAA/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Aa,CAAE,KAAf,EAAA;AACD,GAH8B,EAG5B,CAAC,iBAAD,EAAoB,KAAK,CAAC,UAA1B,CAH4B,CAA/B;AAKA,EAAA,KAAK,CAAC,SAAN,CAAgB,MAAK;AACnB,QAAI,IAAJ,EAAU;AACR,MAAA,UAAU;AACX;AACF,GAJD,EAIG,CAAC,IAAD,EAAO,UAAP,CAJH;AAMA,EAAA,KAAK,CAAC,SAAN,CAAgB,MAAK;;;AACnB,QAAI,IAAJ,EAAU;AACR,MAAA,UAAU;AACX;;AAED,QAAI,uBAAuB,CAAC,OAAxB,IAAmC,CAAC,IAAxC,EAA8C;AAC5C,UAAI,kBAAkB,CAAC,OAAnB,IAA8B,CAAC,KAAK,CAAC,SAAzC,EAAoD;AAClD,QAAA,eAAe,CAAC,OAAhB,GAA0B,sBAAsB,EAAhD,GAAqD,qBAAqB,EAA1E;AACD,OAFD,MAEO;AACL,SAAA,EAAA,GAAA,KAAK,CAAC,UAAN,CAAiB,OAAjB,MAAwB,IAAxB,IAAwB,EAAA,KAAA,KAAA,CAAxB,GAAwB,KAAA,CAAxB,GAAwB,EAAA,CAAE,KAAF,EAAxB;AACD;AACF;;AAED,IAAA,uBAAuB,CAAC,OAAxB,GAAkC,KAAlC;AACA,IAAA,kBAAkB,CAAC,OAAnB,GAA6B,KAA7B;AACA,IAAA,eAAe,CAAC,OAAhB,GAA0B,KAA1B;AACD,GAhBD,EAgBG,CAAC,KAAK,CAAC,UAAP,EAAmB,KAAK,CAAC,SAAzB,EAAoC,IAApC,EAA0C,UAA1C,EAAsD,qBAAtD,EAA6E,sBAA7E,CAhBH;AAkBA,SAAO,CAAC,IAAI,KAAA,IAAJ,IAAA,IAAI,KAAA,KAAA,CAAJ,GAAA,IAAA,GAAQ,KAAT,EAAgB,OAAhB,CAAP;AACD,CAvID","sourceRoot":""}
@@ -10,6 +10,7 @@ export const renderMenuDivider = state => {
10
10
  slots,
11
11
  slotProps
12
12
  } = getSlots(state);
13
- return /*#__PURE__*/React.createElement(slots.root, Object.assign({}, slotProps.root));
13
+ return /*#__PURE__*/React.createElement(slots.root, { ...slotProps.root
14
+ });
14
15
  };
15
16
  //# sourceMappingURL=renderMenuDivider.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuDivider/renderMenuDivider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AAGA;;;AAGG;;AACH,OAAO,MAAM,iBAAiB,GAAI,KAAD,IAA4B;AAC3D,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,QAAQ,CAAmB,KAAnB,CAArC;AAEA,sBAAO,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,MAAA,CAAA,MAAA,CAAA,EAAA,EAAK,SAAS,CAAC,IAAf,CAAX,CAAP;AACD,CAJM","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuDivider/renderMenuDivider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AAGA;;;AAGG;;AACH,OAAO,MAAM,iBAAiB,GAAI,KAAD,IAA4B;AAC3D,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,QAAQ,CAAmB,KAAnB,CAArC;AAEA,sBAAO,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CAAP;AACD,CAJM","sourceRoot":""}
@@ -1,3 +1,3 @@
1
1
  import type { MenuDividerState } from './MenuDivider.types';
2
2
  export declare const menuDividerClassName = "fui-MenuDivider";
3
- export declare const useMenuDividerStyles: (state: MenuDividerState) => import("@fluentui/react-utilities").ComponentState<import("./MenuDivider.types").MenuDividerSlots>;
3
+ export declare const useMenuDividerStyles: (state: MenuDividerState) => MenuDividerState;
@@ -1,4 +1,4 @@
1
- import { mergeClasses, __styles } from '@fluentui/react-make-styles';
1
+ import { shorthands, mergeClasses, __styles } from '@fluentui/react-make-styles';
2
2
  export const menuDividerClassName = 'fui-MenuDivider';
3
3
 
4
4
  const useStyles = /*#__PURE__*/__styles({
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuDivider/useMenuDividerStyles.ts"],"names":[],"mappings":"AAAA,SAAS,YAAT,kBAAyC,6BAAzC;AAGA,OAAO,MAAM,oBAAoB,GAAG,iBAA7B;;AAEP,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;;AASA,OAAO,MAAM,oBAAoB,GAAI,KAAD,IAA4B;AAC9D,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,YAAY,CAAC,oBAAD,EAAuB,MAAM,CAAC,IAA9B,EAAoC,KAAK,CAAC,IAAN,CAAW,SAA/C,CAAnC;AAEA,SAAO,KAAP;AACD,CALM","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuDivider/useMenuDividerStyles.ts"],"names":[],"mappings":"AAAA,SAAS,UAAT,EAAqB,YAArB,kBAAqD,6BAArD;AAGA,OAAO,MAAM,oBAAoB,GAAG,iBAA7B;;AAEP,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;;AASA,OAAO,MAAM,oBAAoB,GAAI,KAAD,IAA4B;AAC9D,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,YAAY,CAAC,oBAAD,EAAuB,MAAM,CAAC,IAA9B,EAAoC,KAAK,CAAC,IAAN,CAAW,SAA/C,CAAnC;AAEA,SAAO,KAAP;AACD,CALM","sourceRoot":""}
@@ -13,6 +13,7 @@ export const renderMenuGroup = (state, contextValues) => {
13
13
  } = getSlots(state);
14
14
  return /*#__PURE__*/React.createElement(MenuGroupContextProvider, {
15
15
  value: contextValues.menuGroup
16
- }, /*#__PURE__*/React.createElement(slots.root, Object.assign({}, slotProps.root)));
16
+ }, /*#__PURE__*/React.createElement(slots.root, { ...slotProps.root
17
+ }));
17
18
  };
18
19
  //# sourceMappingURL=renderMenuGroup.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuGroup/renderMenuGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AAEA,SAAS,wBAAT,QAAyC,iCAAzC;AAEA;;;AAGG;;AACH,OAAO,MAAM,eAAe,GAAG,CAAC,KAAD,EAAwB,aAAxB,KAAiE;AAC9F,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,QAAQ,CAAiB,KAAjB,CAArC;AAEA,sBACE,KAAA,CAAA,aAAA,CAAC,wBAAD,EAAyB;AAAC,IAAA,KAAK,EAAE,aAAa,CAAC;AAAtB,GAAzB,eACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,MAAA,CAAA,MAAA,CAAA,EAAA,EAAK,SAAS,CAAC,IAAf,CAAX,CADF,CADF;AAKD,CARM","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuGroup/renderMenuGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AAEA,SAAS,wBAAT,QAAyC,iCAAzC;AAEA;;;AAGG;;AACH,OAAO,MAAM,eAAe,GAAG,CAAC,KAAD,EAAwB,aAAxB,KAAiE;AAC9F,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,QAAQ,CAAiB,KAAjB,CAArC;AAEA,sBACE,KAAA,CAAA,aAAA,CAAC,wBAAD,EAAyB;AAAC,IAAA,KAAK,EAAE,aAAa,CAAC;AAAtB,GAAzB,eACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CADF,CADF;AAKD,CARM","sourceRoot":""}
@@ -10,6 +10,7 @@ export const renderMenuGroupHeader = state => {
10
10
  slots,
11
11
  slotProps
12
12
  } = getSlots(state);
13
- return /*#__PURE__*/React.createElement(slots.root, Object.assign({}, slotProps.root));
13
+ return /*#__PURE__*/React.createElement(slots.root, { ...slotProps.root
14
+ });
14
15
  };
15
16
  //# sourceMappingURL=renderMenuGroupHeader.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuGroupHeader/renderMenuGroupHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AAGA;;;AAGG;;AACH,OAAO,MAAM,qBAAqB,GAAI,KAAD,IAAgC;AACnE,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,QAAQ,CAAuB,KAAvB,CAArC;AAEA,sBAAO,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,MAAA,CAAA,MAAA,CAAA,EAAA,EAAK,SAAS,CAAC,IAAf,CAAX,CAAP;AACD,CAJM","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuGroupHeader/renderMenuGroupHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AAGA;;;AAGG;;AACH,OAAO,MAAM,qBAAqB,GAAI,KAAD,IAAgC;AACnE,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,QAAQ,CAAuB,KAAvB,CAArC;AAEA,sBAAO,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CAAP;AACD,CAJM","sourceRoot":""}
@@ -1,3 +1,3 @@
1
1
  import type { MenuGroupHeaderState } from './MenuGroupHeader.types';
2
2
  export declare const menuGroupHeaderClassName = "fui-MenuGroupHeader";
3
- export declare const useMenuGroupHeaderStyles: (state: MenuGroupHeaderState) => import("@fluentui/react-utilities").ComponentState<import("./MenuGroupHeader.types").MenuGroupHeaderSlots>;
3
+ export declare const useMenuGroupHeaderStyles: (state: MenuGroupHeaderState) => MenuGroupHeaderState;
@@ -2,7 +2,6 @@ import * as React from 'react';
2
2
  import { useMenuItem } from './useMenuItem';
3
3
  import { renderMenuItem } from './renderMenuItem';
4
4
  import { useMenuItemStyles } from './useMenuItemStyles';
5
- import { useCheckmarkStyles } from '../../selectable/index';
6
5
  /**
7
6
  * Define a styled MenuItem, using the `useMenuItem` and `useMenuItemStyles` hook.
8
7
  */
@@ -10,7 +9,6 @@ import { useCheckmarkStyles } from '../../selectable/index';
10
9
  export const MenuItem = /*#__PURE__*/React.forwardRef((props, ref) => {
11
10
  const state = useMenuItem(props, ref);
12
11
  useMenuItemStyles(state);
13
- useCheckmarkStyles(state);
14
12
  return renderMenuItem(state);
15
13
  });
16
14
  MenuItem.displayName = 'MenuItem';
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuItem/MenuItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,WAAT,QAA4B,eAA5B;AACA,SAAS,cAAT,QAA+B,kBAA/B;AACA,SAAS,iBAAT,QAAkC,qBAAlC;AACA,SAAS,kBAAT,QAAmC,wBAAnC;AAKA;;AAEG;;AACH,OAAO,MAAM,QAAQ,gBAAuC,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;AAC1F,QAAM,KAAK,GAAG,WAAW,CAAC,KAAD,EAAQ,GAAR,CAAzB;AAEA,EAAA,iBAAiB,CAAC,KAAD,CAAjB;AACA,EAAA,kBAAkB,CAAC,KAAD,CAAlB;AACA,SAAO,cAAc,CAAC,KAAD,CAArB;AACD,CAN2D,CAArD;AAQP,QAAQ,CAAC,WAAT,GAAuB,UAAvB","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuItem/MenuItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,WAAT,QAA4B,eAA5B;AACA,SAAS,cAAT,QAA+B,kBAA/B;AACA,SAAS,iBAAT,QAAkC,qBAAlC;AAIA;;AAEG;;AACH,OAAO,MAAM,QAAQ,gBAAuC,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;AAC1F,QAAM,KAAK,GAAG,WAAW,CAAC,KAAD,EAAQ,GAAR,CAAzB;AAEA,EAAA,iBAAiB,CAAC,KAAD,CAAjB;AACA,SAAO,cAAc,CAAC,KAAD,CAArB;AACD,CAL2D,CAArD;AAOP,QAAQ,CAAC,WAAT,GAAuB,UAAvB","sourceRoot":""}
@@ -10,6 +10,12 @@ export const renderMenuItem = state => {
10
10
  slots,
11
11
  slotProps
12
12
  } = getSlots(state, menuItemSlots);
13
- return /*#__PURE__*/React.createElement(slots.root, Object.assign({}, slotProps.root), /*#__PURE__*/React.createElement(slots.checkmark, Object.assign({}, slotProps.checkmark)), /*#__PURE__*/React.createElement(slots.icon, Object.assign({}, slotProps.icon)), /*#__PURE__*/React.createElement(slots.content, Object.assign({}, slotProps.content)), /*#__PURE__*/React.createElement(slots.secondaryContent, Object.assign({}, slotProps.secondaryContent)), /*#__PURE__*/React.createElement(slots.submenuIndicator, Object.assign({}, slotProps.submenuIndicator)));
13
+ return /*#__PURE__*/React.createElement(slots.root, { ...slotProps.root
14
+ }, /*#__PURE__*/React.createElement(slots.checkmark, { ...slotProps.checkmark
15
+ }), /*#__PURE__*/React.createElement(slots.icon, { ...slotProps.icon
16
+ }), /*#__PURE__*/React.createElement(slots.content, { ...slotProps.content
17
+ }), /*#__PURE__*/React.createElement(slots.secondaryContent, { ...slotProps.secondaryContent
18
+ }), /*#__PURE__*/React.createElement(slots.submenuIndicator, { ...slotProps.submenuIndicator
19
+ }));
14
20
  };
15
21
  //# sourceMappingURL=renderMenuItem.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuItem/renderMenuItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AACA,SAAS,aAAT,QAA8B,eAA9B;AAGA;;AAEG;;AACH,OAAO,MAAM,cAAc,GAAI,KAAD,IAAyB;AACrD,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,QAAQ,CAAgB,KAAhB,EAAuB,aAAvB,CAArC;AAEA,sBACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,MAAA,CAAA,MAAA,CAAA,EAAA,EAAK,SAAS,CAAC,IAAf,CAAX,eACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,SAAP,EAAgB,MAAA,CAAA,MAAA,CAAA,EAAA,EAAK,SAAS,CAAC,SAAf,CAAhB,CADF,eAEE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,MAAA,CAAA,MAAA,CAAA,EAAA,EAAK,SAAS,CAAC,IAAf,CAAX,CAFF,eAGE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,OAAP,EAAc,MAAA,CAAA,MAAA,CAAA,EAAA,EAAK,SAAS,CAAC,OAAf,CAAd,CAHF,eAIE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,gBAAP,EAAuB,MAAA,CAAA,MAAA,CAAA,EAAA,EAAK,SAAS,CAAC,gBAAf,CAAvB,CAJF,eAKE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,gBAAP,EAAuB,MAAA,CAAA,MAAA,CAAA,EAAA,EAAK,SAAS,CAAC,gBAAf,CAAvB,CALF,CADF;AASD,CAZM","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuItem/renderMenuItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AACA,SAAS,aAAT,QAA8B,eAA9B;AAGA;;AAEG;;AACH,OAAO,MAAM,cAAc,GAAI,KAAD,IAAyB;AACrD,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,QAAQ,CAAgB,KAAhB,EAAuB,aAAvB,CAArC;AAEA,sBACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,eACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,SAAP,EAAgB,EAAA,GAAK,SAAS,CAAC;AAAf,GAAhB,CADF,eAEE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CAFF,eAGE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,OAAP,EAAc,EAAA,GAAK,SAAS,CAAC;AAAf,GAAd,CAHF,eAIE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,gBAAP,EAAuB,EAAA,GAAK,SAAS,CAAC;AAAf,GAAvB,CAJF,eAKE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,gBAAP,EAAuB,EAAA,GAAK,SAAS,CAAC;AAAf,GAAvB,CALF,CADF;AASD,CAZM","sourceRoot":""}
@@ -1,5 +1,6 @@
1
- import { mergeClasses, __styles } from '@fluentui/react-make-styles';
1
+ import { mergeClasses, __styles, shorthands } from '@fluentui/react-make-styles';
2
2
  import { createFocusOutlineStyle } from '@fluentui/react-tabster';
3
+ import { useCheckmarkStyles } from '../../selectable/index';
3
4
  export const menuItemClassName = 'fui-MenuItem';
4
5
 
5
6
  const useStyles = /*#__PURE__*/__styles({
@@ -33,7 +34,10 @@ const useStyles = /*#__PURE__*/__styles({
33
34
  "B1a67j7": ["f12y1wz2", "fvabyfg"]
34
35
  },
35
36
  "root": {
36
- "Dimara": "ft85np5",
37
+ "Bbmb7ep": ["f1aa9q02", "f16jpd5f"],
38
+ "Beyfa6y": ["f16jpd5f", "f1aa9q02"],
39
+ "B7oj6ja": ["f1jar5jt", "fyu767a"],
40
+ "Btl43ni": ["fyu767a", "f1jar5jt"],
37
41
  "qhf8xq": "f10pi13n",
38
42
  "sj55zd": "f19n0e5",
39
43
  "De3pzq": "fxugw4r",
@@ -44,7 +48,8 @@ const useStyles = /*#__PURE__*/__styles({
44
48
  "Bt984gj": "f122n59",
45
49
  "Be2twd7": "fkhj508",
46
50
  "Bceei9c": "f1k6fduh",
47
- "rmohyg": "f4xv25i",
51
+ "i8kkvl": "f1q8lukm",
52
+ "Belr9w4": "f1ma2n7n",
48
53
  "Jwef8y": "f1knas48",
49
54
  "Bi91k9c": "fnwyq0v",
50
55
  "famaaq": "f1xqy1su"
@@ -77,7 +82,7 @@ const useStyles = /*#__PURE__*/__styles({
77
82
  }
78
83
  }, {
79
84
  "i": [".f2hkw1w:focus-visible{outline-style:none;}"],
80
- "d": ["[data-keyboard-nav] .flfsvnh:focus{border-top-color:transparent;}", "[data-keyboard-nav] .f1781m5e:focus{border-right-color:transparent;}", "[data-keyboard-nav] .flvaaa9:focus{border-left-color:transparent;}", "[data-keyboard-nav] .f50u1b5:focus{border-bottom-color:transparent;}", "[data-keyboard-nav] .f1pxpxw8:focus:after{content:\"\";}", "[data-keyboard-nav] .f1149fnl:focus:after{position:absolute;}", "[data-keyboard-nav] .fd1orka:focus:after{pointer-events:none;}", "[data-keyboard-nav] .fgtqheg:focus:after{box-sizing:outline-box;}", "[data-keyboard-nav] .fq7mjg8:focus:after{z-index:1;}", "[data-keyboard-nav] .fmqgchs:focus:after{border-top-style:solid;}", "[data-keyboard-nav] .f1lv6wi8:focus:after{border-right-style:solid;}", "[data-keyboard-nav] .famjx04:focus:after{border-left-style:solid;}", "[data-keyboard-nav] .f1nbyjd2:focus:after{border-bottom-style:solid;}", "[data-keyboard-nav] .f5n18is:focus:after{border-top-width:2px;}", "[data-keyboard-nav] .f13az7yk:focus:after{border-right-width:2px;}", "[data-keyboard-nav] .f14kwzu1:focus:after{border-left-width:2px;}", "[data-keyboard-nav] .fneogx5:focus:after{border-bottom-width:2px;}", "[data-keyboard-nav] .f1ha6shg:focus:after{border-radius:var(--borderRadiusMedium);}", "[data-keyboard-nav] .f1f43d5r:focus:after{border-top-color:var(--colorStrokeFocus2);}", "[data-keyboard-nav] .f1ib27sc:focus:after{border-right-color:var(--colorStrokeFocus2);}", "[data-keyboard-nav] .f14s7j5v:focus:after{border-left-color:var(--colorStrokeFocus2);}", "[data-keyboard-nav] .f13oqbgc:focus:after{border-bottom-color:var(--colorStrokeFocus2);}", "[data-keyboard-nav] .f1284xzw:focus:after{top:-2px;}", "[data-keyboard-nav] .f14dru39:focus:after{bottom:-2px;}", "[data-keyboard-nav] .fvabyfg:focus:after{left:-2px;}", "[data-keyboard-nav] .f12y1wz2:focus:after{right:-2px;}", ".ft85np5{border-radius:var(--borderRadiusMedium);}", ".f10pi13n{position:relative;}", ".f19n0e5{color:var(--colorNeutralForeground1);}", ".fxugw4r{background-color:var(--colorNeutralBackground1);}", ".f81rol6{padding-right:10px;}", ".frdkuqy{padding-left:10px;}", ".f1d2rq10{height:32px;}", ".f22iagw{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}", ".f122n59{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".f1k6fduh{cursor:pointer;}", ".f4xv25i{gap:4px;}", ".f1xqy1su{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}", ".f161knb0{padding-left:2px;}", ".f12huiiw{padding-right:2px;}", ".f3rmtva{background-color:transparent;}", ".fqerorx{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;}", ".f11d4kpn{color:var(--colorNeutralForeground3);}", ".f64fuq3{width:20px;}", ".fjamq6b{height:20px;}", ".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],
85
+ "d": ["[data-keyboard-nav] .flfsvnh:focus{border-top-color:transparent;}", "[data-keyboard-nav] .f1781m5e:focus{border-right-color:transparent;}", "[data-keyboard-nav] .flvaaa9:focus{border-left-color:transparent;}", "[data-keyboard-nav] .f50u1b5:focus{border-bottom-color:transparent;}", "[data-keyboard-nav] .f1pxpxw8:focus:after{content:\"\";}", "[data-keyboard-nav] .f1149fnl:focus:after{position:absolute;}", "[data-keyboard-nav] .fd1orka:focus:after{pointer-events:none;}", "[data-keyboard-nav] .fgtqheg:focus:after{box-sizing:outline-box;}", "[data-keyboard-nav] .fq7mjg8:focus:after{z-index:1;}", "[data-keyboard-nav] .fmqgchs:focus:after{border-top-style:solid;}", "[data-keyboard-nav] .f1lv6wi8:focus:after{border-right-style:solid;}", "[data-keyboard-nav] .famjx04:focus:after{border-left-style:solid;}", "[data-keyboard-nav] .f1nbyjd2:focus:after{border-bottom-style:solid;}", "[data-keyboard-nav] .f5n18is:focus:after{border-top-width:2px;}", "[data-keyboard-nav] .f13az7yk:focus:after{border-right-width:2px;}", "[data-keyboard-nav] .f14kwzu1:focus:after{border-left-width:2px;}", "[data-keyboard-nav] .fneogx5:focus:after{border-bottom-width:2px;}", "[data-keyboard-nav] .f1ha6shg:focus:after{border-radius:var(--borderRadiusMedium);}", "[data-keyboard-nav] .f1f43d5r:focus:after{border-top-color:var(--colorStrokeFocus2);}", "[data-keyboard-nav] .f1ib27sc:focus:after{border-right-color:var(--colorStrokeFocus2);}", "[data-keyboard-nav] .f14s7j5v:focus:after{border-left-color:var(--colorStrokeFocus2);}", "[data-keyboard-nav] .f13oqbgc:focus:after{border-bottom-color:var(--colorStrokeFocus2);}", "[data-keyboard-nav] .f1284xzw:focus:after{top:-2px;}", "[data-keyboard-nav] .f14dru39:focus:after{bottom:-2px;}", "[data-keyboard-nav] .fvabyfg:focus:after{left:-2px;}", "[data-keyboard-nav] .f12y1wz2:focus:after{right:-2px;}", ".f1aa9q02{border-bottom-right-radius:var(--borderRadiusMedium);}", ".f16jpd5f{border-bottom-left-radius:var(--borderRadiusMedium);}", ".f1jar5jt{border-top-right-radius:var(--borderRadiusMedium);}", ".fyu767a{border-top-left-radius:var(--borderRadiusMedium);}", ".f10pi13n{position:relative;}", ".f19n0e5{color:var(--colorNeutralForeground1);}", ".fxugw4r{background-color:var(--colorNeutralBackground1);}", ".f81rol6{padding-right:10px;}", ".frdkuqy{padding-left:10px;}", ".f1d2rq10{height:32px;}", ".f22iagw{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}", ".f122n59{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".f1k6fduh{cursor:pointer;}", ".f1q8lukm{-webkit-column-gap:4px;column-gap:4px;}", ".f1ma2n7n{row-gap:4px;}", ".f1xqy1su{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}", ".f161knb0{padding-left:2px;}", ".f12huiiw{padding-right:2px;}", ".f3rmtva{background-color:transparent;}", ".fqerorx{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;}", ".f11d4kpn{color:var(--colorNeutralForeground3);}", ".f64fuq3{width:20px;}", ".fjamq6b{height:20px;}", ".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],
81
86
  "h": [".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}", ".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}", ".f1jp5ecu:hover{color:var(--colorNeutralForeground3Hover);}", ".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}"],
82
87
  "f": [".fc1cou1:focus{color:var(--colorNeutralForeground3Hover);}", ".ft33916:focus{color:var(--colorNeutralForegroundDisabled);}"]
83
88
  });
@@ -100,5 +105,7 @@ export const useMenuItemStyles = state => {
100
105
  if (state.submenuIndicator) {
101
106
  state.submenuIndicator.className = mergeClasses(styles.submenuIndicator, state.submenuIndicator.className);
102
107
  }
108
+
109
+ useCheckmarkStyles(state);
103
110
  };
104
111
  //# sourceMappingURL=useMenuItemStyles.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuItem/useMenuItemStyles.ts"],"names":[],"mappings":"AAAA,SAAS,YAAT,kBAAyC,6BAAzC;AACA,SAAS,uBAAT,QAAwC,yBAAxC;AAGA,OAAO,MAAM,iBAAiB,GAAG,cAA1B;;AAEP,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AA4DA;;;AACA,OAAO,MAAM,iBAAiB,GAAI,KAAD,IAAyB;AACxD,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,YAAY,CACjC,iBADiC,EAEjC,MAAM,CAAC,IAF0B,EAGjC,MAAM,CAAC,cAH0B,EAIjC,KAAK,CAAC,QAAN,IAAkB,MAAM,CAAC,QAJQ,EAKjC,KAAK,CAAC,IAAN,CAAW,SALsB,CAAnC;AAOA,EAAA,KAAK,CAAC,OAAN,CAAc,SAAd,GAA0B,YAAY,CAAC,MAAM,CAAC,OAAR,EAAiB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