@fluentui/react-menu 0.0.0-nightlybc5ff01fb020211104.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 (88) hide show
  1. package/CHANGELOG.json +238 -30
  2. package/CHANGELOG.md +60 -16
  3. package/dist/react-menu.d.ts +14 -9
  4. package/lib/components/Menu/useMenu.js +9 -6
  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/MenuList.types.d.ts +8 -6
  27. package/lib/components/MenuList/renderMenuList.js +2 -1
  28. package/lib/components/MenuList/renderMenuList.js.map +1 -1
  29. package/lib/components/MenuList/useMenuList.js.map +1 -1
  30. package/lib/components/MenuList/useMenuListStyles.js +4 -3
  31. package/lib/components/MenuList/useMenuListStyles.js.map +1 -1
  32. package/lib/components/MenuPopover/renderMenuPopover.js +4 -2
  33. package/lib/components/MenuPopover/renderMenuPopover.js.map +1 -1
  34. package/lib/components/MenuPopover/useMenuPopover.js.map +1 -1
  35. package/lib/components/MenuPopover/useMenuPopoverStyles.js +7 -4
  36. package/lib/components/MenuPopover/useMenuPopoverStyles.js.map +1 -1
  37. package/lib/components/MenuTrigger/MenuTrigger.types.d.ts +2 -1
  38. package/lib/components/MenuTrigger/useTriggerElement.js +6 -5
  39. package/lib/components/MenuTrigger/useTriggerElement.js.map +1 -1
  40. package/lib/utils/useOnMenuEnter.js.map +1 -1
  41. package/lib-commonjs/components/Menu/useMenu.js +10 -7
  42. package/lib-commonjs/components/Menu/useMenu.js.map +1 -1
  43. package/lib-commonjs/components/MenuDivider/renderMenuDivider.js +2 -1
  44. package/lib-commonjs/components/MenuDivider/renderMenuDivider.js.map +1 -1
  45. package/lib-commonjs/components/MenuDivider/useMenuDividerStyles.d.ts +1 -1
  46. package/lib-commonjs/components/MenuGroup/renderMenuGroup.js +2 -1
  47. package/lib-commonjs/components/MenuGroup/renderMenuGroup.js.map +1 -1
  48. package/lib-commonjs/components/MenuGroupHeader/renderMenuGroupHeader.js +2 -1
  49. package/lib-commonjs/components/MenuGroupHeader/renderMenuGroupHeader.js.map +1 -1
  50. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeaderStyles.d.ts +1 -1
  51. package/lib-commonjs/components/MenuItem/MenuItem.js +0 -3
  52. package/lib-commonjs/components/MenuItem/MenuItem.js.map +1 -1
  53. package/lib-commonjs/components/MenuItem/renderMenuItem.js +7 -1
  54. package/lib-commonjs/components/MenuItem/renderMenuItem.js.map +1 -1
  55. package/lib-commonjs/components/MenuItem/useMenuItemStyles.js +11 -3
  56. package/lib-commonjs/components/MenuItem/useMenuItemStyles.js.map +1 -1
  57. package/lib-commonjs/components/MenuItemCheckbox/renderMenuItemCheckbox.js +6 -1
  58. package/lib-commonjs/components/MenuItemCheckbox/renderMenuItemCheckbox.js.map +1 -1
  59. package/lib-commonjs/components/MenuItemRadio/renderMenuItemRadio.js +6 -1
  60. package/lib-commonjs/components/MenuItemRadio/renderMenuItemRadio.js.map +1 -1
  61. package/lib-commonjs/components/MenuList/MenuList.types.d.ts +8 -6
  62. package/lib-commonjs/components/MenuList/renderMenuList.js +2 -1
  63. package/lib-commonjs/components/MenuList/renderMenuList.js.map +1 -1
  64. package/lib-commonjs/components/MenuList/useMenuList.js.map +1 -1
  65. package/lib-commonjs/components/MenuList/useMenuListStyles.js +3 -2
  66. package/lib-commonjs/components/MenuList/useMenuListStyles.js.map +1 -1
  67. package/lib-commonjs/components/MenuPopover/renderMenuPopover.js +4 -2
  68. package/lib-commonjs/components/MenuPopover/renderMenuPopover.js.map +1 -1
  69. package/lib-commonjs/components/MenuPopover/useMenuPopover.js.map +1 -1
  70. package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.js +6 -3
  71. package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.js.map +1 -1
  72. package/lib-commonjs/components/MenuTrigger/MenuTrigger.types.d.ts +2 -1
  73. package/lib-commonjs/components/MenuTrigger/useTriggerElement.js +6 -5
  74. package/lib-commonjs/components/MenuTrigger/useTriggerElement.js.map +1 -1
  75. package/lib-commonjs/utils/useOnMenuEnter.js.map +1 -1
  76. package/package.json +16 -16
  77. package/lib/common/isConformant.d.ts +0 -4
  78. package/lib/common/isConformant.js +0 -12
  79. package/lib/common/isConformant.js.map +0 -1
  80. package/lib/common/mockUseMenuContext.d.ts +0 -7
  81. package/lib/common/mockUseMenuContext.js +0 -29
  82. package/lib/common/mockUseMenuContext.js.map +0 -1
  83. package/lib-commonjs/common/isConformant.d.ts +0 -4
  84. package/lib-commonjs/common/isConformant.js +0 -23
  85. package/lib-commonjs/common/isConformant.js.map +0 -1
  86. package/lib-commonjs/common/mockUseMenuContext.d.ts +0 -7
  87. package/lib-commonjs/common/mockUseMenuContext.js +0 -39
  88. package/lib-commonjs/common/mockUseMenuContext.js.map +0 -1
package/CHANGELOG.json CHANGED
@@ -2,17 +2,225 @@
2
2
  "name": "@fluentui/react-menu",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 04 Nov 2021 04:20:34 GMT",
6
- "tag": "@fluentui/react-menu_v0.0.0-nightlybc5ff01fb020211104.1",
7
- "version": "0.0.0-nightlybc5ff01fb020211104.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": "112d5b8815c25532184ed7c1407ba9a777e2f48d",
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
+ },
94
+ {
95
+ "author": "beachball",
96
+ "package": "@fluentui/react-menu",
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"
142
+ },
143
+ {
144
+ "author": "beachball",
145
+ "package": "@fluentui/react-menu",
146
+ "comment": "Bump @fluentui/react-context-selector to v9.0.0-beta.4",
147
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
148
+ },
149
+ {
150
+ "author": "beachball",
151
+ "package": "@fluentui/react-menu",
152
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.4",
153
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
154
+ },
155
+ {
156
+ "author": "beachball",
157
+ "package": "@fluentui/react-menu",
158
+ "comment": "Bump @fluentui/react-portal to v9.0.0-beta.5",
159
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
160
+ },
161
+ {
162
+ "author": "beachball",
163
+ "package": "@fluentui/react-menu",
164
+ "comment": "Bump @fluentui/react-positioning to v9.0.0-beta.4",
165
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
166
+ },
167
+ {
168
+ "author": "beachball",
169
+ "package": "@fluentui/react-menu",
170
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.4",
171
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
172
+ },
173
+ {
174
+ "author": "beachball",
175
+ "package": "@fluentui/react-menu",
176
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-beta.5",
177
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
178
+ },
179
+ {
180
+ "author": "beachball",
181
+ "package": "@fluentui/react-menu",
182
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.4",
183
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
184
+ },
185
+ {
186
+ "author": "beachball",
187
+ "package": "@fluentui/react-menu",
188
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.4",
189
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
190
+ },
191
+ {
192
+ "author": "beachball",
193
+ "package": "@fluentui/react-menu",
194
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4",
195
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
196
+ },
197
+ {
198
+ "author": "beachball",
199
+ "package": "@fluentui/react-menu",
200
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4",
201
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
202
+ }
203
+ ]
204
+ }
205
+ },
206
+ {
207
+ "date": "Fri, 12 Nov 2021 13:25:27 GMT",
208
+ "tag": "@fluentui/react-menu_v9.0.0-beta.4",
209
+ "version": "9.0.0-beta.4",
210
+ "comments": {
211
+ "prerelease": [
212
+ {
213
+ "author": "bsunderhus@microsoft.com",
214
+ "package": "@fluentui/react-menu",
215
+ "commit": "390056fd15a4413af93083ad0f5a0b15c4709ed1",
216
+ "comment": "Adds typings for `onCheckedValueChange` method"
217
+ },
218
+ {
219
+ "author": "olfedias@microsoft.com",
220
+ "package": "@fluentui/react-menu",
221
+ "commit": "28b87b619b5be37c8e4a3a75ba10071a93f2b10b",
222
+ "comment": "use react-shared-contexts instead of react-provider"
223
+ },
16
224
  {
17
225
  "author": "olfedias@microsoft.com",
18
226
  "package": "@fluentui/react-menu",
@@ -28,71 +236,71 @@
28
236
  {
29
237
  "author": "beachball",
30
238
  "package": "@fluentui/react-menu",
31
- "comment": "Bump @fluentui/keyboard-keys to v0.0.0-nightlybc5ff01fb020211104.1",
32
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
33
- },
34
- {
35
- "author": "beachball",
36
- "package": "@fluentui/react-menu",
37
- "comment": "Bump @fluentui/react-context-selector to v0.0.0-nightlybc5ff01fb020211104.1",
38
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
239
+ "comment": "Bump @fluentui/react-context-selector to v9.0.0-beta.3",
240
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
39
241
  },
40
242
  {
41
243
  "author": "beachball",
42
244
  "package": "@fluentui/react-menu",
43
- "comment": "Bump @fluentui/react-make-styles to v0.0.0-nightlybc5ff01fb020211104.1",
44
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
245
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.3",
246
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
45
247
  },
46
248
  {
47
249
  "author": "beachball",
48
250
  "package": "@fluentui/react-menu",
49
- "comment": "Bump @fluentui/react-portal to v0.0.0-nightlybc5ff01fb020211104.1",
50
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
251
+ "comment": "Bump @fluentui/react-portal to v9.0.0-beta.4",
252
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
51
253
  },
52
254
  {
53
255
  "author": "beachball",
54
256
  "package": "@fluentui/react-menu",
55
- "comment": "Bump @fluentui/react-positioning to v0.0.0-nightlybc5ff01fb020211104.1",
56
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
257
+ "comment": "Bump @fluentui/react-positioning to v9.0.0-beta.3",
258
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
57
259
  },
58
260
  {
59
261
  "author": "beachball",
60
262
  "package": "@fluentui/react-menu",
61
- "comment": "Bump @fluentui/react-provider to v0.0.0-nightlybc5ff01fb020211104.1",
62
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
263
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.3",
264
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
63
265
  },
64
266
  {
65
267
  "author": "beachball",
66
268
  "package": "@fluentui/react-menu",
67
- "comment": "Bump @fluentui/react-tabster to v0.0.0-nightlybc5ff01fb020211104.1",
68
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
269
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-beta.4",
270
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
69
271
  },
70
272
  {
71
273
  "author": "beachball",
72
274
  "package": "@fluentui/react-menu",
73
- "comment": "Bump @fluentui/react-utilities to v0.0.0-nightlybc5ff01fb020211104.1",
74
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
275
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.3",
276
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
75
277
  },
76
278
  {
77
279
  "author": "beachball",
78
280
  "package": "@fluentui/react-menu",
79
- "comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightlybc5ff01fb020211104.1",
80
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
281
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.3",
282
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
81
283
  },
82
284
  {
83
285
  "author": "beachball",
84
286
  "package": "@fluentui/react-menu",
85
- "comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlybc5ff01fb020211104.1",
86
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
287
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3",
288
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
87
289
  },
88
290
  {
89
291
  "author": "beachball",
90
292
  "package": "@fluentui/react-menu",
91
- "comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlybc5ff01fb020211104.1",
92
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
293
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3",
294
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
93
295
  }
94
296
  ],
95
297
  "none": [
298
+ {
299
+ "author": "lingfangao@hotmail.com",
300
+ "package": "@fluentui/react-menu",
301
+ "commit": "00f70581480b536e723fb69edf0ae617beac4807",
302
+ "comment": "Remove beta release tag"
303
+ },
96
304
  {
97
305
  "author": "mgodbolt@microsoft.com",
98
306
  "package": "@fluentui/react-menu",
package/CHANGELOG.md CHANGED
@@ -1,30 +1,74 @@
1
1
  # Change Log - @fluentui/react-menu
2
2
 
3
- This log was last generated on Thu, 04 Nov 2021 04:20:34 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-nightlybc5ff01fb020211104.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v0.0.0-nightlybc5ff01fb020211104.1)
7
+ ## [0.0.0-nightlycc44f3625c20211220.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v0.0.0-nightlycc44f3625c20211220.1)
8
8
 
9
- Thu, 04 Nov 2021 04:20:34 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.3..@fluentui/react-menu_v0.0.0-nightlybc5ff01fb020211104.1)
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
11
 
12
12
  ### Changes
13
13
 
14
- - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/112d5b8815c25532184ed7c1407ba9a777e2f48d) by email not defined)
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)
50
+
51
+ ## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-beta.4)
52
+
53
+ Fri, 12 Nov 2021 13:25:27 GMT
54
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.3..@fluentui/react-menu_v9.0.0-beta.4)
55
+
56
+ ### Changes
57
+
58
+ - Adds typings for `onCheckedValueChange` method ([PR #20493](https://github.com/microsoft/fluentui/pull/20493) by bsunderhus@microsoft.com)
59
+ - use react-shared-contexts instead of react-provider ([PR #20578](https://github.com/microsoft/fluentui/pull/20578) by olfedias@microsoft.com)
15
60
  - export static classes for components ([PR #20450](https://github.com/microsoft/fluentui/pull/20450) by olfedias@microsoft.com)
16
61
  - Updated beta and RC components to ES2019 ([PR #20405](https://github.com/microsoft/fluentui/pull/20405) by gcox@microsoft.com)
17
- - Bump @fluentui/keyboard-keys to v0.0.0-nightlybc5ff01fb020211104.1 ([commit](https://github.com/microsoft/fluentui/commit/112d5b8815c25532184ed7c1407ba9a777e2f48d) by beachball)
18
- - Bump @fluentui/react-context-selector to v0.0.0-nightlybc5ff01fb020211104.1 ([commit](https://github.com/microsoft/fluentui/commit/112d5b8815c25532184ed7c1407ba9a777e2f48d) by beachball)
19
- - Bump @fluentui/react-make-styles to v0.0.0-nightlybc5ff01fb020211104.1 ([commit](https://github.com/microsoft/fluentui/commit/112d5b8815c25532184ed7c1407ba9a777e2f48d) by beachball)
20
- - Bump @fluentui/react-portal to v0.0.0-nightlybc5ff01fb020211104.1 ([commit](https://github.com/microsoft/fluentui/commit/112d5b8815c25532184ed7c1407ba9a777e2f48d) by beachball)
21
- - Bump @fluentui/react-positioning to v0.0.0-nightlybc5ff01fb020211104.1 ([commit](https://github.com/microsoft/fluentui/commit/112d5b8815c25532184ed7c1407ba9a777e2f48d) by beachball)
22
- - Bump @fluentui/react-provider to v0.0.0-nightlybc5ff01fb020211104.1 ([commit](https://github.com/microsoft/fluentui/commit/112d5b8815c25532184ed7c1407ba9a777e2f48d) by beachball)
23
- - Bump @fluentui/react-tabster to v0.0.0-nightlybc5ff01fb020211104.1 ([commit](https://github.com/microsoft/fluentui/commit/112d5b8815c25532184ed7c1407ba9a777e2f48d) by beachball)
24
- - Bump @fluentui/react-utilities to v0.0.0-nightlybc5ff01fb020211104.1 ([commit](https://github.com/microsoft/fluentui/commit/112d5b8815c25532184ed7c1407ba9a777e2f48d) by beachball)
25
- - Bump @fluentui/babel-make-styles to v0.0.0-nightlybc5ff01fb020211104.1 ([commit](https://github.com/microsoft/fluentui/commit/112d5b8815c25532184ed7c1407ba9a777e2f48d) by beachball)
26
- - Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlybc5ff01fb020211104.1 ([commit](https://github.com/microsoft/fluentui/commit/112d5b8815c25532184ed7c1407ba9a777e2f48d) by beachball)
27
- - Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlybc5ff01fb020211104.1 ([commit](https://github.com/microsoft/fluentui/commit/112d5b8815c25532184ed7c1407ba9a777e2f48d) by beachball)
62
+ - Bump @fluentui/react-context-selector to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
63
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
64
+ - Bump @fluentui/react-portal to v9.0.0-beta.4 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
65
+ - Bump @fluentui/react-positioning to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
66
+ - Bump @fluentui/react-shared-contexts to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
67
+ - Bump @fluentui/react-tabster to v9.0.0-beta.4 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
68
+ - Bump @fluentui/react-utilities to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
69
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
70
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
71
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
28
72
 
29
73
  ## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-beta.3)
30
74
 
@@ -13,6 +13,15 @@ import { usePopperMouseTarget } from '@fluentui/react-positioning';
13
13
  */
14
14
  export declare const Menu: React_2.FC<MenuProps>;
15
15
 
16
+ export declare type MenuCheckedValueChangeData = {
17
+ /** The name of the value */
18
+ name: string;
19
+ /** The items for this value that are checked */
20
+ checkedItems: string[];
21
+ };
22
+
23
+ export declare type MenuCheckedValueChangeEvent = React_2.MouseEvent | React_2.KeyboardEvent;
24
+
16
25
  declare type MenuCommons = MenuListCommons & {
17
26
  /**
18
27
  * Whether the popup is open
@@ -257,12 +266,7 @@ export declare type MenuListCommons = {
257
266
  * @param event - React's original SyntheticEvent
258
267
  * @param data - A data object with relevant information
259
268
  */
260
- onCheckedValueChange?: (e: React_2.MouseEvent | React_2.KeyboardEvent, data: {
261
- /** The name of the value */
262
- name: string;
263
- /** The items for this value that are checked */
264
- checkedItems: string[];
265
- }) => void;
269
+ onCheckedValueChange?: (e: MenuCheckedValueChangeEvent, data: MenuCheckedValueChangeData) => void;
266
270
  /**
267
271
  * Map of all checked values
268
272
  */
@@ -430,8 +434,9 @@ export declare const MenuTrigger: React_2.FC<MenuTriggerProps>;
430
434
  /**
431
435
  * Props that are passed to the child of the MenuTrigger when cloned to ensure correct behaviour for the Menu
432
436
  */
433
- 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'>> & {
434
438
  ref?: React_2.Ref<never>;
439
+ 'aria-expanded': boolean | undefined;
435
440
  };
436
441
 
437
442
  export declare const MenuTriggerContextProvider: React_2.Provider<boolean>;
@@ -531,7 +536,7 @@ export declare function useMenuContextValues(state: MenuState): MenuContextValue
531
536
  */
532
537
  export declare const useMenuDivider: (props: MenuDividerProps, ref: React_2.Ref<HTMLElement>) => MenuDividerState;
533
538
 
534
- export declare const useMenuDividerStyles: (state: MenuDividerState) => ComponentState<MenuDividerSlots>;
539
+ export declare const useMenuDividerStyles: (state: MenuDividerState) => MenuDividerState;
535
540
 
536
541
  /**
537
542
  * Given user props, returns state and render function for a MenuGroup.
@@ -547,7 +552,7 @@ export declare function useMenuGroupContextValues(state: MenuGroupState): MenuGr
547
552
  */
548
553
  export declare function useMenuGroupHeader(props: MenuGroupHeaderProps, ref: React_2.Ref<HTMLElement>): MenuGroupHeaderState;
549
554
 
550
- export declare const useMenuGroupHeaderStyles: (state: MenuGroupHeaderState) => ComponentState<MenuGroupHeaderSlots>;
555
+ export declare const useMenuGroupHeaderStyles: (state: MenuGroupHeaderState) => MenuGroupHeaderState;
551
556
 
552
557
  export declare const useMenuGroupStyles: (state: MenuGroupState) => MenuGroupState;
553
558
 
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { usePopperMouseTarget, usePopper, resolvePositioningShorthand } from '@fluentui/react-positioning';
3
3
  import { useControllableState, useId, useOnClickOutside, useEventCallback } from '@fluentui/react-utilities';
4
- import { useFluent } from '@fluentui/react-provider';
4
+ import { useFluent } from '@fluentui/react-shared-contexts';
5
5
  import { elementContains } from '@fluentui/react-portal';
6
6
  import { useFocusFinders } from '@fluentui/react-tabster';
7
7
  import { MenuTrigger } from '../MenuTrigger/index';
@@ -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,0BAA1B;AACA,SAAS,eAAT,QAAgC,wBAAhC;AACA,SAAS,eAAT,QAAgC,yBAAhC;AACA,SAAS,WAAT,QAA4B,sBAA5B;AACA,SAAS,cAAT,QAA+B,4BAA/B;AACA,SAAS,gBAAT,EAA2B,mBAA3B,QAAsD,mBAAtD;AACA,SAAS,YAAT,QAA6B,0BAA7B;AAGA;;;;;;;AAOG;;AACH,OAAO,MAAM,OAAO,GAAI,KAAD,IAAgC;AACrD,QAAM,SAAS,GAAG,KAAK,CAAC,MAAD,CAAvB;AACA,QAAM,SAAS,GAAG,YAAY,EAA9B;AACA,QAAM,CAAC,aAAD,EAAgB,gBAAhB,IAAoC,oBAAoB,EAA9D;AAEA,QAAM,WAAW,GAAG;AAClB,IAAA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ED,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":""}