@fluentui/react-menu 0.0.0-nightlybc5ff01fb020211104.1 → 0.0.0-nightlyd3bf09bf8120211201.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. package/CHANGELOG.json +206 -30
  2. package/CHANGELOG.md +56 -16
  3. package/dist/react-menu.d.ts +10 -6
  4. package/lib/components/Menu/useMenu.js +1 -1
  5. package/lib/components/Menu/useMenu.js.map +1 -1
  6. package/lib/components/MenuDivider/useMenuDividerStyles.js +1 -1
  7. package/lib/components/MenuDivider/useMenuDividerStyles.js.map +1 -1
  8. package/lib/components/MenuItem/useMenuItemStyles.js +8 -4
  9. package/lib/components/MenuItem/useMenuItemStyles.js.map +1 -1
  10. package/lib/components/MenuList/MenuList.types.d.ts +8 -6
  11. package/lib/components/MenuList/useMenuListStyles.js +4 -3
  12. package/lib/components/MenuList/useMenuListStyles.js.map +1 -1
  13. package/lib/components/MenuPopover/useMenuPopoverStyles.js +7 -4
  14. package/lib/components/MenuPopover/useMenuPopoverStyles.js.map +1 -1
  15. package/lib-commonjs/components/Menu/useMenu.js +2 -2
  16. package/lib-commonjs/components/Menu/useMenu.js.map +1 -1
  17. package/lib-commonjs/components/MenuItem/useMenuItemStyles.js +7 -3
  18. package/lib-commonjs/components/MenuItem/useMenuItemStyles.js.map +1 -1
  19. package/lib-commonjs/components/MenuList/MenuList.types.d.ts +8 -6
  20. package/lib-commonjs/components/MenuList/useMenuListStyles.js +3 -2
  21. package/lib-commonjs/components/MenuList/useMenuListStyles.js.map +1 -1
  22. package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.js +6 -3
  23. package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.js.map +1 -1
  24. package/package.json +16 -16
  25. package/lib/common/isConformant.d.ts +0 -4
  26. package/lib/common/isConformant.js +0 -12
  27. package/lib/common/isConformant.js.map +0 -1
  28. package/lib/common/mockUseMenuContext.d.ts +0 -7
  29. package/lib/common/mockUseMenuContext.js +0 -29
  30. package/lib/common/mockUseMenuContext.js.map +0 -1
  31. package/lib-commonjs/common/isConformant.d.ts +0 -4
  32. package/lib-commonjs/common/isConformant.js +0 -23
  33. package/lib-commonjs/common/isConformant.js.map +0 -1
  34. package/lib-commonjs/common/mockUseMenuContext.d.ts +0 -7
  35. package/lib-commonjs/common/mockUseMenuContext.js +0 -39
  36. package/lib-commonjs/common/mockUseMenuContext.js.map +0 -1
package/CHANGELOG.json CHANGED
@@ -2,17 +2,193 @@
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": "Wed, 01 Dec 2021 04:25:38 GMT",
6
+ "tag": "@fluentui/react-menu_v0.0.0-nightlyd3bf09bf8120211201.1",
7
+ "version": "0.0.0-nightlyd3bf09bf8120211201.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": "40bec5fdab524f928e775fb2ed002822255eb2a7",
14
14
  "comment": "Release nightly v9"
15
15
  },
16
+ {
17
+ "author": "olfedias@microsoft.com",
18
+ "package": "@fluentui/react-menu",
19
+ "commit": "7e0933ed386742df28c416e6b3a6903a0c041f28",
20
+ "comment": "update styles to not use CSS shorthands"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@fluentui/react-menu",
25
+ "comment": "Bump @fluentui/keyboard-keys to v0.0.0-nightlyd3bf09bf8120211201.1",
26
+ "commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
27
+ },
28
+ {
29
+ "author": "beachball",
30
+ "package": "@fluentui/react-menu",
31
+ "comment": "Bump @fluentui/react-context-selector to v0.0.0-nightlyd3bf09bf8120211201.1",
32
+ "commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
33
+ },
34
+ {
35
+ "author": "beachball",
36
+ "package": "@fluentui/react-menu",
37
+ "comment": "Bump @fluentui/react-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1",
38
+ "commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
39
+ },
40
+ {
41
+ "author": "beachball",
42
+ "package": "@fluentui/react-menu",
43
+ "comment": "Bump @fluentui/react-portal to v0.0.0-nightlyd3bf09bf8120211201.1",
44
+ "commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
45
+ },
46
+ {
47
+ "author": "beachball",
48
+ "package": "@fluentui/react-menu",
49
+ "comment": "Bump @fluentui/react-positioning to v0.0.0-nightlyd3bf09bf8120211201.1",
50
+ "commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
51
+ },
52
+ {
53
+ "author": "beachball",
54
+ "package": "@fluentui/react-menu",
55
+ "comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightlyd3bf09bf8120211201.1",
56
+ "commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
57
+ },
58
+ {
59
+ "author": "beachball",
60
+ "package": "@fluentui/react-menu",
61
+ "comment": "Bump @fluentui/react-tabster to v0.0.0-nightlyd3bf09bf8120211201.1",
62
+ "commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
63
+ },
64
+ {
65
+ "author": "beachball",
66
+ "package": "@fluentui/react-menu",
67
+ "comment": "Bump @fluentui/react-utilities to v0.0.0-nightlyd3bf09bf8120211201.1",
68
+ "commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
69
+ },
70
+ {
71
+ "author": "beachball",
72
+ "package": "@fluentui/react-menu",
73
+ "comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1",
74
+ "commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
75
+ },
76
+ {
77
+ "author": "beachball",
78
+ "package": "@fluentui/react-menu",
79
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1",
80
+ "commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
81
+ },
82
+ {
83
+ "author": "beachball",
84
+ "package": "@fluentui/react-menu",
85
+ "comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1",
86
+ "commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
87
+ }
88
+ ]
89
+ }
90
+ },
91
+ {
92
+ "date": "Thu, 25 Nov 2021 08:34:14 GMT",
93
+ "tag": "@fluentui/react-menu_v9.0.0-beta.5",
94
+ "version": "9.0.0-beta.5",
95
+ "comments": {
96
+ "none": [
97
+ {
98
+ "author": "lingfangao@hotmail.com",
99
+ "package": "@fluentui/react-menu",
100
+ "commit": "8a141d14f3a14de2e1c4691dad908622f310a9d1",
101
+ "comment": "Migrate package to use solution tsconfigs"
102
+ }
103
+ ],
104
+ "prerelease": [
105
+ {
106
+ "author": "ololubek@microsoft.com",
107
+ "package": "@fluentui/react-menu",
108
+ "commit": "ecab13cfd6ac22657020db8f86eb89f952b0f953",
109
+ "comment": "update react-icons dependency"
110
+ },
111
+ {
112
+ "author": "beachball",
113
+ "package": "@fluentui/react-menu",
114
+ "comment": "Bump @fluentui/react-context-selector to v9.0.0-beta.4",
115
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
116
+ },
117
+ {
118
+ "author": "beachball",
119
+ "package": "@fluentui/react-menu",
120
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.4",
121
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
122
+ },
123
+ {
124
+ "author": "beachball",
125
+ "package": "@fluentui/react-menu",
126
+ "comment": "Bump @fluentui/react-portal to v9.0.0-beta.5",
127
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
128
+ },
129
+ {
130
+ "author": "beachball",
131
+ "package": "@fluentui/react-menu",
132
+ "comment": "Bump @fluentui/react-positioning to v9.0.0-beta.4",
133
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
134
+ },
135
+ {
136
+ "author": "beachball",
137
+ "package": "@fluentui/react-menu",
138
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.4",
139
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
140
+ },
141
+ {
142
+ "author": "beachball",
143
+ "package": "@fluentui/react-menu",
144
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-beta.5",
145
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
146
+ },
147
+ {
148
+ "author": "beachball",
149
+ "package": "@fluentui/react-menu",
150
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.4",
151
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
152
+ },
153
+ {
154
+ "author": "beachball",
155
+ "package": "@fluentui/react-menu",
156
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.4",
157
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
158
+ },
159
+ {
160
+ "author": "beachball",
161
+ "package": "@fluentui/react-menu",
162
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4",
163
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
164
+ },
165
+ {
166
+ "author": "beachball",
167
+ "package": "@fluentui/react-menu",
168
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4",
169
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
170
+ }
171
+ ]
172
+ }
173
+ },
174
+ {
175
+ "date": "Fri, 12 Nov 2021 13:25:27 GMT",
176
+ "tag": "@fluentui/react-menu_v9.0.0-beta.4",
177
+ "version": "9.0.0-beta.4",
178
+ "comments": {
179
+ "prerelease": [
180
+ {
181
+ "author": "bsunderhus@microsoft.com",
182
+ "package": "@fluentui/react-menu",
183
+ "commit": "390056fd15a4413af93083ad0f5a0b15c4709ed1",
184
+ "comment": "Adds typings for `onCheckedValueChange` method"
185
+ },
186
+ {
187
+ "author": "olfedias@microsoft.com",
188
+ "package": "@fluentui/react-menu",
189
+ "commit": "28b87b619b5be37c8e4a3a75ba10071a93f2b10b",
190
+ "comment": "use react-shared-contexts instead of react-provider"
191
+ },
16
192
  {
17
193
  "author": "olfedias@microsoft.com",
18
194
  "package": "@fluentui/react-menu",
@@ -28,71 +204,71 @@
28
204
  {
29
205
  "author": "beachball",
30
206
  "package": "@fluentui/react-menu",
31
- "comment": "Bump @fluentui/keyboard-keys to v0.0.0-nightlybc5ff01fb020211104.1",
32
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
207
+ "comment": "Bump @fluentui/react-context-selector to v9.0.0-beta.3",
208
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
33
209
  },
34
210
  {
35
211
  "author": "beachball",
36
212
  "package": "@fluentui/react-menu",
37
- "comment": "Bump @fluentui/react-context-selector to v0.0.0-nightlybc5ff01fb020211104.1",
38
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
213
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.3",
214
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
39
215
  },
40
216
  {
41
217
  "author": "beachball",
42
218
  "package": "@fluentui/react-menu",
43
- "comment": "Bump @fluentui/react-make-styles to v0.0.0-nightlybc5ff01fb020211104.1",
44
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
219
+ "comment": "Bump @fluentui/react-portal to v9.0.0-beta.4",
220
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
45
221
  },
46
222
  {
47
223
  "author": "beachball",
48
224
  "package": "@fluentui/react-menu",
49
- "comment": "Bump @fluentui/react-portal to v0.0.0-nightlybc5ff01fb020211104.1",
50
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
225
+ "comment": "Bump @fluentui/react-positioning to v9.0.0-beta.3",
226
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
51
227
  },
52
228
  {
53
229
  "author": "beachball",
54
230
  "package": "@fluentui/react-menu",
55
- "comment": "Bump @fluentui/react-positioning to v0.0.0-nightlybc5ff01fb020211104.1",
56
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
231
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.3",
232
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
57
233
  },
58
234
  {
59
235
  "author": "beachball",
60
236
  "package": "@fluentui/react-menu",
61
- "comment": "Bump @fluentui/react-provider to v0.0.0-nightlybc5ff01fb020211104.1",
62
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
237
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-beta.4",
238
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
63
239
  },
64
240
  {
65
241
  "author": "beachball",
66
242
  "package": "@fluentui/react-menu",
67
- "comment": "Bump @fluentui/react-tabster to v0.0.0-nightlybc5ff01fb020211104.1",
68
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
243
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.3",
244
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
69
245
  },
70
246
  {
71
247
  "author": "beachball",
72
248
  "package": "@fluentui/react-menu",
73
- "comment": "Bump @fluentui/react-utilities to v0.0.0-nightlybc5ff01fb020211104.1",
74
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
249
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.3",
250
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
75
251
  },
76
252
  {
77
253
  "author": "beachball",
78
254
  "package": "@fluentui/react-menu",
79
- "comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightlybc5ff01fb020211104.1",
80
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
255
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3",
256
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
81
257
  },
82
258
  {
83
259
  "author": "beachball",
84
260
  "package": "@fluentui/react-menu",
85
- "comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlybc5ff01fb020211104.1",
86
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
87
- },
88
- {
89
- "author": "beachball",
90
- "package": "@fluentui/react-menu",
91
- "comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlybc5ff01fb020211104.1",
92
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
261
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3",
262
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
93
263
  }
94
264
  ],
95
265
  "none": [
266
+ {
267
+ "author": "lingfangao@hotmail.com",
268
+ "package": "@fluentui/react-menu",
269
+ "commit": "00f70581480b536e723fb69edf0ae617beac4807",
270
+ "comment": "Remove beta release tag"
271
+ },
96
272
  {
97
273
  "author": "mgodbolt@microsoft.com",
98
274
  "package": "@fluentui/react-menu",
package/CHANGELOG.md CHANGED
@@ -1,30 +1,70 @@
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 Wed, 01 Dec 2021 04:25:38 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-nightlyd3bf09bf8120211201.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v0.0.0-nightlyd3bf09bf8120211201.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
+ Wed, 01 Dec 2021 04:25:38 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.5..@fluentui/react-menu_v0.0.0-nightlyd3bf09bf8120211201.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/40bec5fdab524f928e775fb2ed002822255eb2a7) by email not defined)
15
+ - update styles to not use CSS shorthands ([PR #20820](https://github.com/microsoft/fluentui/pull/20820) by olfedias@microsoft.com)
16
+ - Bump @fluentui/keyboard-keys to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
17
+ - Bump @fluentui/react-context-selector to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
18
+ - Bump @fluentui/react-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
19
+ - Bump @fluentui/react-portal to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
20
+ - Bump @fluentui/react-positioning to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
21
+ - Bump @fluentui/react-shared-contexts to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
22
+ - Bump @fluentui/react-tabster to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
23
+ - Bump @fluentui/react-utilities to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
24
+ - Bump @fluentui/babel-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
25
+ - Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
26
+ - Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
27
+
28
+ ## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-beta.5)
29
+
30
+ Thu, 25 Nov 2021 08:34:14 GMT
31
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.4..@fluentui/react-menu_v9.0.0-beta.5)
32
+
33
+ ### Changes
34
+
35
+ - update react-icons dependency ([PR #20563](https://github.com/microsoft/fluentui/pull/20563) by ololubek@microsoft.com)
36
+ - Bump @fluentui/react-context-selector to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
37
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
38
+ - Bump @fluentui/react-portal to v9.0.0-beta.5 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
39
+ - Bump @fluentui/react-positioning to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
40
+ - Bump @fluentui/react-shared-contexts to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
41
+ - Bump @fluentui/react-tabster to v9.0.0-beta.5 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
42
+ - Bump @fluentui/react-utilities to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
43
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
44
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
45
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
46
+
47
+ ## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-beta.4)
48
+
49
+ Fri, 12 Nov 2021 13:25:27 GMT
50
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.3..@fluentui/react-menu_v9.0.0-beta.4)
51
+
52
+ ### Changes
53
+
54
+ - Adds typings for `onCheckedValueChange` method ([PR #20493](https://github.com/microsoft/fluentui/pull/20493) by bsunderhus@microsoft.com)
55
+ - use react-shared-contexts instead of react-provider ([PR #20578](https://github.com/microsoft/fluentui/pull/20578) by olfedias@microsoft.com)
15
56
  - export static classes for components ([PR #20450](https://github.com/microsoft/fluentui/pull/20450) by olfedias@microsoft.com)
16
57
  - 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)
58
+ - Bump @fluentui/react-context-selector to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
59
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
60
+ - Bump @fluentui/react-portal to v9.0.0-beta.4 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
61
+ - Bump @fluentui/react-positioning to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
62
+ - Bump @fluentui/react-shared-contexts to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
63
+ - Bump @fluentui/react-tabster to v9.0.0-beta.4 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
64
+ - Bump @fluentui/react-utilities to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
65
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
66
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
67
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
28
68
 
29
69
  ## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-beta.3)
30
70
 
@@ -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
  */
@@ -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';
@@ -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,QAAQ,EAAE,SAAS,GAAI,OAAJ,GAAyB,OAD1B;AAElB,IAAA,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,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,GAlBD,EAkBG,CAAC,KAAK,CAAC,UAAP,EAAmB,KAAK,CAAC,SAAzB,EAAoC,IAApC,EAA0C,UAA1C,EAAsD,qBAAtD,EAA6E,sBAA7E,CAlBH;AAoBA,SAAO,CAAC,IAAI,KAAA,IAAJ,IAAA,IAAI,KAAA,KAAA,CAAJ,GAAA,IAAA,GAAQ,KAAT,EAAgB,OAAhB,CAAP;AACD,CAnID","sourceRoot":""}
@@ -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":""}
@@ -1,4 +1,4 @@
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
3
  export const menuItemClassName = 'fui-MenuItem';
4
4
 
@@ -33,7 +33,10 @@ const useStyles = /*#__PURE__*/__styles({
33
33
  "B1a67j7": ["f12y1wz2", "fvabyfg"]
34
34
  },
35
35
  "root": {
36
- "Dimara": "ft85np5",
36
+ "Bbmb7ep": ["f1aa9q02", "f16jpd5f"],
37
+ "Beyfa6y": ["f16jpd5f", "f1aa9q02"],
38
+ "B7oj6ja": ["f1jar5jt", "fyu767a"],
39
+ "Btl43ni": ["fyu767a", "f1jar5jt"],
37
40
  "qhf8xq": "f10pi13n",
38
41
  "sj55zd": "f19n0e5",
39
42
  "De3pzq": "fxugw4r",
@@ -44,7 +47,8 @@ const useStyles = /*#__PURE__*/__styles({
44
47
  "Bt984gj": "f122n59",
45
48
  "Be2twd7": "fkhj508",
46
49
  "Bceei9c": "f1k6fduh",
47
- "rmohyg": "f4xv25i",
50
+ "i8kkvl": "f1q8lukm",
51
+ "Belr9w4": "f1ma2n7n",
48
52
  "Jwef8y": "f1knas48",
49
53
  "Bi91k9c": "fnwyq0v",
50
54
  "famaaq": "f1xqy1su"
@@ -77,7 +81,7 @@ const useStyles = /*#__PURE__*/__styles({
77
81
  }
78
82
  }, {
79
83
  "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);}"],
84
+ "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
85
  "h": [".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}", ".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}", ".f1jp5ecu:hover{color:var(--colorNeutralForeground3Hover);}", ".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}"],
82
86
  "f": [".fc1cou1:focus{color:var(--colorNeutralForeground3Hover);}", ".ft33916:focus{color:var(--colorNeutralForegroundDisabled);}"]
83
87
  });
@@ -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;AA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AK,CAAC,gBAAN,CAAuB,SAAvB,GAAmC,YAAY,CAC7C,CAAC,KAAK,CAAC,QAAP,IAAmB,MAAM,CAAC,gBADmB,EAE7C,KAAK,CAAC,gBAAN,CAAuB,SAFsB,CAA/C;AAID;;AAED,MAAI,KAAK,CAAC,IAAV,EAAgB;AACd,IAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,YAAY,CAAC,MAAM,CAAC,IAAR,EAAc,KAAK,CAAC,IAAN,CAAW,SAAzB,CAAnC;AACD;;AAED,MAAI,KAAK,CAAC,gBAAV,EAA4B;AAC1B,IAAA,KAAK,CAAC,gBAAN,CAAuB,SAAvB,GAAmC,YAAY,CAAC,MAAM,CAAC,gBAAR,EAA0B,KAAK,CAAC,gBAAN,CAAuB,SAAjD,CAA/C;AACD;AACF,CAxBM","sourceRoot":""}
@@ -2,6 +2,13 @@ import * as React from 'react';
2
2
  import { ComponentProps, ComponentState, IntrinsicShorthandProps } from '@fluentui/react-utilities';
3
3
  import { MenuListContextValue } from '../../contexts/menuListContext';
4
4
  import { SelectableHandler } from '../../selectable/index';
5
+ export declare type MenuCheckedValueChangeEvent = React.MouseEvent | React.KeyboardEvent;
6
+ export declare type MenuCheckedValueChangeData = {
7
+ /** The name of the value */
8
+ name: string;
9
+ /** The items for this value that are checked */
10
+ checkedItems: string[];
11
+ };
5
12
  export declare type MenuListCommons = {
6
13
  /**
7
14
  * Callback when checked items change for value with a name
@@ -9,12 +16,7 @@ export declare type MenuListCommons = {
9
16
  * @param event - React's original SyntheticEvent
10
17
  * @param data - A data object with relevant information
11
18
  */
12
- onCheckedValueChange?: (e: React.MouseEvent | React.KeyboardEvent, data: {
13
- /** The name of the value */
14
- name: string;
15
- /** The items for this value that are checked */
16
- checkedItems: string[];
17
- }) => void;
19
+ onCheckedValueChange?: (e: MenuCheckedValueChangeEvent, data: MenuCheckedValueChangeData) => void;
18
20
  /**
19
21
  * Map of all checked values
20
22
  */
@@ -1,14 +1,15 @@
1
- import { mergeClasses, __styles } from '@fluentui/react-make-styles';
1
+ import { mergeClasses, __styles, shorthands } from '@fluentui/react-make-styles';
2
2
  export const menuListClassName = 'fui-MenuList';
3
3
 
4
4
  const useStyles = /*#__PURE__*/__styles({
5
5
  "root": {
6
6
  "mc9l5x": "f22iagw",
7
7
  "Beiy3e4": "f1vx9l62",
8
- "rmohyg": "f1t6b6ee"
8
+ "i8kkvl": "f16mnhsx",
9
+ "Belr9w4": "fbi42co"
9
10
  }
10
11
  }, {
11
- "d": [".f22iagw{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}", ".f1vx9l62{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}", ".f1t6b6ee{gap:2px;}"]
12
+ "d": [".f22iagw{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}", ".f1vx9l62{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}", ".f16mnhsx{-webkit-column-gap:2px;column-gap:2px;}", ".fbi42co{row-gap:2px;}"]
12
13
  });
13
14
  /**
14
15
  * Apply styling to the Menu slots based on the state
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuList/useMenuListStyles.ts"],"names":[],"mappings":"AAAA,SAAS,YAAT,kBAAyC,6BAAzC;AAGA,OAAO,MAAM,iBAAiB,GAAG,cAA1B;;AAEP,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAQA;;AAEG;;;AACH,OAAO,MAAM,iBAAiB,GAAI,KAAD,IAAwC;AACvE,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,YAAY,CAAC,iBAAD,EAAoB,MAAM,CAAC,IAA3B,EAAiC,KAAK,CAAC,IAAN,CAAW,SAA5C,CAAnC;AACA,SAAO,KAAP;AACD,CAJM","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuList/useMenuListStyles.ts"],"names":[],"mappings":"AAAA,SAAS,YAAT,YAAmC,UAAnC,QAAqD,6BAArD;AAGA,OAAO,MAAM,iBAAiB,GAAG,cAA1B;;AAEP,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAQA;;AAEG;;;AACH,OAAO,MAAM,iBAAiB,GAAI,KAAD,IAAwC;AACvE,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,YAAY,CAAC,iBAAD,EAAoB,MAAM,CAAC,IAA3B,EAAiC,KAAK,CAAC,IAAN,CAAW,SAA5C,CAAnC;AACA,SAAO,KAAP;AACD,CAJM","sourceRoot":""}
@@ -1,14 +1,17 @@
1
- import { mergeClasses, __styles } from '@fluentui/react-make-styles';
1
+ import { shorthands, mergeClasses, __styles } from '@fluentui/react-make-styles';
2
2
  export const menuPopoverClassName = 'fui-MenuPopover';
3
3
 
4
4
  const useStyles = /*#__PURE__*/__styles({
5
5
  "root": {
6
- "Dimara": "ft85np5",
6
+ "Bbmb7ep": ["f1aa9q02", "f16jpd5f"],
7
+ "Beyfa6y": ["f16jpd5f", "f1aa9q02"],
8
+ "B7oj6ja": ["f1jar5jt", "fyu767a"],
9
+ "Btl43ni": ["fyu767a", "f1jar5jt"],
7
10
  "De3pzq": "fxugw4r",
8
11
  "Bf4jedk": "fkqu4gx",
9
12
  "B2u0y6b": "f1kaai3v",
10
13
  "a9b677": "f1ahpp82",
11
- "E5pizo": ["f1hg901r", "f136t921"],
14
+ "E5pizo": "f1hg901r",
12
15
  "z8tnut": "f10ra9hq",
13
16
  "z189sj": ["f8wuabp", "fycuoez"],
14
17
  "Byoj8tv": "f1y2xyjm",
@@ -27,7 +30,7 @@ const useStyles = /*#__PURE__*/__styles({
27
30
  "zhjwy3": ["fjscplz", "f1gn591s"]
28
31
  }
29
32
  }, {
30
- "d": [".ft85np5{border-radius:var(--borderRadiusMedium);}", ".fxugw4r{background-color:var(--colorNeutralBackground1);}", ".fkqu4gx{min-width:128px;}", ".f1kaai3v{max-width:300px;}", ".f1ahpp82{width:-webkit-max-content;width:-moz-max-content;width:max-content;}", ".f1hg901r{box-shadow:var(--shadow16);}", ".f136t921{box-shadow:var(--shadow-16);}", ".f10ra9hq{padding-top:4px;}", ".f8wuabp{padding-right:4px;}", ".fycuoez{padding-left:4px;}", ".f1y2xyjm{padding-bottom:4px;}", ".f5ogflp{border-top-width:1px;}", ".f1hqa2wf{border-right-width:1px;}", ".finvdd3{border-left-width:1px;}", ".f1f09k3d{border-bottom-width:1px;}", ".fzkkow9{border-top-style:solid;}", ".fcdblym{border-right-style:solid;}", ".fjik90z{border-left-style:solid;}", ".fg706s2{border-bottom-style:solid;}", ".fghlq4f{border-top-color:var(--colorTransparentStroke);}", ".f1gn591s{border-right-color:var(--colorTransparentStroke);}", ".fjscplz{border-left-color:var(--colorTransparentStroke);}", ".fb073pr{border-bottom-color:var(--colorTransparentStroke);}"]
33
+ "d": [".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);}", ".fxugw4r{background-color:var(--colorNeutralBackground1);}", ".fkqu4gx{min-width:128px;}", ".f1kaai3v{max-width:300px;}", ".f1ahpp82{width:-webkit-max-content;width:-moz-max-content;width:max-content;}", ".f1hg901r{box-shadow:var(--shadow16);}", ".f10ra9hq{padding-top:4px;}", ".f8wuabp{padding-right:4px;}", ".fycuoez{padding-left:4px;}", ".f1y2xyjm{padding-bottom:4px;}", ".f5ogflp{border-top-width:1px;}", ".f1hqa2wf{border-right-width:1px;}", ".finvdd3{border-left-width:1px;}", ".f1f09k3d{border-bottom-width:1px;}", ".fzkkow9{border-top-style:solid;}", ".fcdblym{border-right-style:solid;}", ".fjik90z{border-left-style:solid;}", ".fg706s2{border-bottom-style:solid;}", ".fghlq4f{border-top-color:var(--colorTransparentStroke);}", ".f1gn591s{border-right-color:var(--colorTransparentStroke);}", ".fjscplz{border-left-color:var(--colorTransparentStroke);}", ".fb073pr{border-bottom-color:var(--colorTransparentStroke);}"]
31
34
  });
32
35
  /**
33
36
  * Apply styling to the Menu slots based on the state
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuPopover/useMenuPopoverStyles.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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAaA;;AAEG;;;AACH,OAAO,MAAM,oBAAoB,GAAI,KAAD,IAA8C;AAChF,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;AACA,SAAO,KAAP;AACD,CAJM","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuPopover/useMenuPopoverStyles.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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAaA;;AAEG;;;AACH,OAAO,MAAM,oBAAoB,GAAI,KAAD,IAA8C;AAChF,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;AACA,SAAO,KAAP;AACD,CAJM","sourceRoot":""}
@@ -11,7 +11,7 @@ const react_positioning_1 = /*#__PURE__*/require("@fluentui/react-positioning");
11
11
 
12
12
  const react_utilities_1 = /*#__PURE__*/require("@fluentui/react-utilities");
13
13
 
14
- const react_provider_1 = /*#__PURE__*/require("@fluentui/react-provider");
14
+ const react_shared_contexts_1 = /*#__PURE__*/require("@fluentui/react-shared-contexts");
15
15
 
16
16
  const react_portal_1 = /*#__PURE__*/require("@fluentui/react-portal");
17
17
 
@@ -131,7 +131,7 @@ const useMenuSelectableState = state => {
131
131
  const useMenuOpenState = state => {
132
132
  const {
133
133
  targetDocument
134
- } = react_provider_1.useFluent();
134
+ } = react_shared_contexts_1.useFluent();
135
135
  const parentSetOpen = menuContext_1.useMenuContext(context => context.setOpen);
136
136
  const onOpenChange = react_utilities_1.useEventCallback((e, data) => {
137
137
  var _a;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Menu/useMenu.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;;AACA,MAAA,gBAAA,gBAAA,OAAA,CAAA,0BAAA,CAAA;;AACA,MAAA,cAAA,gBAAA,OAAA,CAAA,wBAAA,CAAA;;AACA,MAAA,eAAA,gBAAA,OAAA,CAAA,yBAAA,CAAA;;AACA,MAAA,OAAA,gBAAA,OAAA,CAAA,sBAAA,CAAA;;AACA,MAAA,aAAA,gBAAA,OAAA,CAAA,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,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,GAlBD,EAkBG,CAAC,KAAK,CAAC,UAAP,EAAmB,KAAK,CAAC,SAAzB,EAAoC,IAApC,EAA0C,UAA1C,EAAsD,qBAAtD,EAA6E,sBAA7E,CAlBH;AAoBA,SAAO,CAAC,IAAI,KAAA,IAAJ,IAAA,IAAI,KAAA,KAAA,CAAJ,GAAA,IAAA,GAAQ,KAAT,EAAgB,OAAhB,CAAP;AACD,CAnID","sourceRoot":""}
@@ -42,7 +42,10 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
42
42
  "B1a67j7": ["f12y1wz2", "fvabyfg"]
43
43
  },
44
44
  "root": {
45
- "Dimara": "ft85np5",
45
+ "Bbmb7ep": ["f1aa9q02", "f16jpd5f"],
46
+ "Beyfa6y": ["f16jpd5f", "f1aa9q02"],
47
+ "B7oj6ja": ["f1jar5jt", "fyu767a"],
48
+ "Btl43ni": ["fyu767a", "f1jar5jt"],
46
49
  "qhf8xq": "f10pi13n",
47
50
  "sj55zd": "f19n0e5",
48
51
  "De3pzq": "fxugw4r",
@@ -53,7 +56,8 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
53
56
  "Bt984gj": "f122n59",
54
57
  "Be2twd7": "fkhj508",
55
58
  "Bceei9c": "f1k6fduh",
56
- "rmohyg": "f4xv25i",
59
+ "i8kkvl": "f1q8lukm",
60
+ "Belr9w4": "f1ma2n7n",
57
61
  "Jwef8y": "f1knas48",
58
62
  "Bi91k9c": "fnwyq0v",
59
63
  "famaaq": "f1xqy1su"
@@ -86,7 +90,7 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
86
90
  }
87
91
  }, {
88
92
  "i": [".f2hkw1w:focus-visible{outline-style:none;}"],
89
- "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);}"],
93
+ "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);}"],
90
94
  "h": [".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}", ".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}", ".f1jp5ecu:hover{color:var(--colorNeutralForeground3Hover);}", ".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}"],
91
95
  "f": [".fc1cou1:focus{color:var(--colorNeutralForeground3Hover);}", ".ft33916:focus{color:var(--colorNeutralForegroundDisabled);}"]
92
96
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuItem/useMenuItemStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AACA,MAAA,eAAA,gBAAA,OAAA,CAAA,yBAAA,CAAA;;AAGa,OAAA,CAAA,iBAAA,GAAoB,cAApB;;AAEb,MAAM,SAAS,gBAAG,mBAAA,SAAA;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;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AAmB,MAAM,CAAC,gBADO,EAEjC,KAAK,CAAC,gBAAN,CAAuB,SAFU,CAAnC;AAID;;AAED,MAAI,KAAK,CAAC,IAAV,EAAgB;AACd,IAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,mBAAA,CAAA,YAAA,CAAa,MAAM,CAAC,IAApB,EAA0B,KAAK,CAAC,IAAN,CAAW,SAArC,CAAvB;AACD;;AAED,MAAI,KAAK,CAAC,gBAAV,EAA4B;AAC1B,IAAA,KAAK,CAAC,gBAAN,CAAuB,SAAvB,GAAmC,mBAAA,CAAA,YAAA,CAAa,MAAM,CAAC,gBAApB,EAAsC,KAAK,CAAC,gBAAN,CAAuB,SAA7D,CAAnC;AACD;AACF,CAxBM;;AAAM,OAAA,CAAA,iBAAA,GAAiB,iBAAjB","sourceRoot":""}
@@ -2,6 +2,13 @@ import * as React from 'react';
2
2
  import { ComponentProps, ComponentState, IntrinsicShorthandProps } from '@fluentui/react-utilities';
3
3
  import { MenuListContextValue } from '../../contexts/menuListContext';
4
4
  import { SelectableHandler } from '../../selectable/index';
5
+ export declare type MenuCheckedValueChangeEvent = React.MouseEvent | React.KeyboardEvent;
6
+ export declare type MenuCheckedValueChangeData = {
7
+ /** The name of the value */
8
+ name: string;
9
+ /** The items for this value that are checked */
10
+ checkedItems: string[];
11
+ };
5
12
  export declare type MenuListCommons = {
6
13
  /**
7
14
  * Callback when checked items change for value with a name
@@ -9,12 +16,7 @@ export declare type MenuListCommons = {
9
16
  * @param event - React's original SyntheticEvent
10
17
  * @param data - A data object with relevant information
11
18
  */
12
- onCheckedValueChange?: (e: React.MouseEvent | React.KeyboardEvent, data: {
13
- /** The name of the value */
14
- name: string;
15
- /** The items for this value that are checked */
16
- checkedItems: string[];
17
- }) => void;
19
+ onCheckedValueChange?: (e: MenuCheckedValueChangeEvent, data: MenuCheckedValueChangeData) => void;
18
20
  /**
19
21
  * Map of all checked values
20
22
  */
@@ -13,10 +13,11 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
13
13
  "root": {
14
14
  "mc9l5x": "f22iagw",
15
15
  "Beiy3e4": "f1vx9l62",
16
- "rmohyg": "f1t6b6ee"
16
+ "i8kkvl": "f16mnhsx",
17
+ "Belr9w4": "fbi42co"
17
18
  }
18
19
  }, {
19
- "d": [".f22iagw{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}", ".f1vx9l62{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}", ".f1t6b6ee{gap:2px;}"]
20
+ "d": [".f22iagw{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}", ".f1vx9l62{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}", ".f16mnhsx{-webkit-column-gap:2px;column-gap:2px;}", ".fbi42co{row-gap:2px;}"]
20
21
  });
21
22
  /**
22
23
  * Apply styling to the Menu slots based on the state
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuList/useMenuListStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AAGa,OAAA,CAAA,iBAAA,GAAoB,cAApB;;AAEb,MAAM,SAAS,gBAAG,mBAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAQA;;AAEG;;;AACI,MAAM,iBAAiB,GAAI,KAAD,IAAwC;AACvE,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,mBAAA,CAAA,YAAA,CAAa,OAAA,CAAA,iBAAb,EAAgC,MAAM,CAAC,IAAvC,EAA6C,KAAK,CAAC,IAAN,CAAW,SAAxD,CAAvB;AACA,SAAO,KAAP;AACD,CAJM;;AAAM,OAAA,CAAA,iBAAA,GAAiB,iBAAjB","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuList/useMenuListStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AAGa,OAAA,CAAA,iBAAA,GAAoB,cAApB;;AAEb,MAAM,SAAS,gBAAG,mBAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAQA;;AAEG;;;AACI,MAAM,iBAAiB,GAAI,KAAD,IAAwC;AACvE,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,mBAAA,CAAA,YAAA,CAAa,OAAA,CAAA,iBAAb,EAAgC,MAAM,CAAC,IAAvC,EAA6C,KAAK,CAAC,IAAN,CAAW,SAAxD,CAAvB;AACA,SAAO,KAAP;AACD,CAJM;;AAAM,OAAA,CAAA,iBAAA,GAAiB,iBAAjB","sourceRoot":""}
@@ -11,12 +11,15 @@ exports.menuPopoverClassName = 'fui-MenuPopover';
11
11
 
12
12
  const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
13
13
  "root": {
14
- "Dimara": "ft85np5",
14
+ "Bbmb7ep": ["f1aa9q02", "f16jpd5f"],
15
+ "Beyfa6y": ["f16jpd5f", "f1aa9q02"],
16
+ "B7oj6ja": ["f1jar5jt", "fyu767a"],
17
+ "Btl43ni": ["fyu767a", "f1jar5jt"],
15
18
  "De3pzq": "fxugw4r",
16
19
  "Bf4jedk": "fkqu4gx",
17
20
  "B2u0y6b": "f1kaai3v",
18
21
  "a9b677": "f1ahpp82",
19
- "E5pizo": ["f1hg901r", "f136t921"],
22
+ "E5pizo": "f1hg901r",
20
23
  "z8tnut": "f10ra9hq",
21
24
  "z189sj": ["f8wuabp", "fycuoez"],
22
25
  "Byoj8tv": "f1y2xyjm",
@@ -35,7 +38,7 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
35
38
  "zhjwy3": ["fjscplz", "f1gn591s"]
36
39
  }
37
40
  }, {
38
- "d": [".ft85np5{border-radius:var(--borderRadiusMedium);}", ".fxugw4r{background-color:var(--colorNeutralBackground1);}", ".fkqu4gx{min-width:128px;}", ".f1kaai3v{max-width:300px;}", ".f1ahpp82{width:-webkit-max-content;width:-moz-max-content;width:max-content;}", ".f1hg901r{box-shadow:var(--shadow16);}", ".f136t921{box-shadow:var(--shadow-16);}", ".f10ra9hq{padding-top:4px;}", ".f8wuabp{padding-right:4px;}", ".fycuoez{padding-left:4px;}", ".f1y2xyjm{padding-bottom:4px;}", ".f5ogflp{border-top-width:1px;}", ".f1hqa2wf{border-right-width:1px;}", ".finvdd3{border-left-width:1px;}", ".f1f09k3d{border-bottom-width:1px;}", ".fzkkow9{border-top-style:solid;}", ".fcdblym{border-right-style:solid;}", ".fjik90z{border-left-style:solid;}", ".fg706s2{border-bottom-style:solid;}", ".fghlq4f{border-top-color:var(--colorTransparentStroke);}", ".f1gn591s{border-right-color:var(--colorTransparentStroke);}", ".fjscplz{border-left-color:var(--colorTransparentStroke);}", ".fb073pr{border-bottom-color:var(--colorTransparentStroke);}"]
41
+ "d": [".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);}", ".fxugw4r{background-color:var(--colorNeutralBackground1);}", ".fkqu4gx{min-width:128px;}", ".f1kaai3v{max-width:300px;}", ".f1ahpp82{width:-webkit-max-content;width:-moz-max-content;width:max-content;}", ".f1hg901r{box-shadow:var(--shadow16);}", ".f10ra9hq{padding-top:4px;}", ".f8wuabp{padding-right:4px;}", ".fycuoez{padding-left:4px;}", ".f1y2xyjm{padding-bottom:4px;}", ".f5ogflp{border-top-width:1px;}", ".f1hqa2wf{border-right-width:1px;}", ".finvdd3{border-left-width:1px;}", ".f1f09k3d{border-bottom-width:1px;}", ".fzkkow9{border-top-style:solid;}", ".fcdblym{border-right-style:solid;}", ".fjik90z{border-left-style:solid;}", ".fg706s2{border-bottom-style:solid;}", ".fghlq4f{border-top-color:var(--colorTransparentStroke);}", ".f1gn591s{border-right-color:var(--colorTransparentStroke);}", ".fjscplz{border-left-color:var(--colorTransparentStroke);}", ".fb073pr{border-bottom-color:var(--colorTransparentStroke);}"]
39
42
  });
40
43
  /**
41
44
  * Apply styling to the Menu slots based on the state
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/MenuPopover/useMenuPopoverStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AAGa,OAAA,CAAA,oBAAA,GAAuB,iBAAvB;;AAEb,MAAM,SAAS,gBAAG,mBAAA,SAAA;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;AAaA;;AAEG;;;AACI,MAAM,oBAAoB,GAAI,KAAD,IAA8C;AAChF,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,mBAAA,CAAA,YAAA,CAAa,OAAA,CAAA,oBAAb,EAAmC,MAAM,CAAC,IAA1C,EAAgD,KAAK,CAAC,IAAN,CAAW,SAA3D,CAAvB;AACA,SAAO,KAAP;AACD,CAJM;;AAAM,OAAA,CAAA,oBAAA,GAAoB,oBAApB","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/MenuPopover/useMenuPopoverStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AAGa,OAAA,CAAA,oBAAA,GAAuB,iBAAvB;;AAEb,MAAM,SAAS,gBAAG,mBAAA,SAAA;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;AAaA;;AAEG;;;AACI,MAAM,oBAAoB,GAAI,KAAD,IAA8C;AAChF,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,mBAAA,CAAA,YAAA,CAAa,OAAA,CAAA,oBAAb,EAAmC,MAAM,CAAC,IAA1C,EAAgD,KAAK,CAAC,IAAN,CAAW,SAA3D,CAAvB;AACA,SAAO,KAAP;AACD,CAJM;;AAAM,OAAA,CAAA,oBAAA,GAAoB,oBAApB","sourceRoot":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-menu",
3
- "version": "0.0.0-nightlybc5ff01fb020211104.1",
3
+ "version": "0.0.0-nightlyd3bf09bf8120211201.1",
4
4
  "description": "Fluent UI menu component",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -13,7 +13,7 @@
13
13
  "license": "MIT",
14
14
  "scripts": {
15
15
  "docs": "api-extractor run --config=config/api-extractor.local.json --local",
16
- "build:local": "tsc -p . --module esnext --emitDeclarationOnly && node ../../scripts/typescript/normalize-import --output dist/react-menu/src && yarn docs",
16
+ "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../scripts/typescript/normalize-import --output ./dist/packages/react-menu/src && yarn docs",
17
17
  "build": "just-scripts build",
18
18
  "bundle-size": "bundle-size measure",
19
19
  "clean": "just-scripts clean",
@@ -23,14 +23,15 @@
23
23
  "lint": "just-scripts lint",
24
24
  "start": "yarn storybook",
25
25
  "storybook": "start-storybook",
26
- "test": "jest"
26
+ "test": "jest",
27
+ "type-check": "tsc -b tsconfig.json"
27
28
  },
28
29
  "devDependencies": {
29
- "@fluentui/babel-make-styles": "0.0.0-nightlybc5ff01fb020211104.1",
30
+ "@fluentui/babel-make-styles": "0.0.0-nightlyd3bf09bf8120211201.1",
30
31
  "@fluentui/eslint-plugin": "*",
31
- "@fluentui/jest-serializer-make-styles": "0.0.0-nightlybc5ff01fb020211104.1",
32
+ "@fluentui/jest-serializer-make-styles": "0.0.0-nightlyd3bf09bf8120211201.1",
32
33
  "@fluentui/react-conformance": "*",
33
- "@fluentui/react-conformance-make-styles": "0.0.0-nightlybc5ff01fb020211104.1",
34
+ "@fluentui/react-conformance-make-styles": "0.0.0-nightlyd3bf09bf8120211201.1",
34
35
  "@fluentui/scripts": "^1.0.0",
35
36
  "@types/enzyme": "3.10.3",
36
37
  "@types/enzyme-adapter-react-16": "1.0.3",
@@ -44,15 +45,15 @@
44
45
  "react-test-renderer": "^16.3.0"
45
46
  },
46
47
  "dependencies": {
47
- "@fluentui/keyboard-keys": "0.0.0-nightlybc5ff01fb020211104.1",
48
- "@fluentui/react-context-selector": "0.0.0-nightlybc5ff01fb020211104.1",
49
- "@fluentui/react-icons": "^1.1.140",
50
- "@fluentui/react-make-styles": "0.0.0-nightlybc5ff01fb020211104.1",
51
- "@fluentui/react-portal": "0.0.0-nightlybc5ff01fb020211104.1",
52
- "@fluentui/react-positioning": "0.0.0-nightlybc5ff01fb020211104.1",
53
- "@fluentui/react-provider": "0.0.0-nightlybc5ff01fb020211104.1",
54
- "@fluentui/react-tabster": "0.0.0-nightlybc5ff01fb020211104.1",
55
- "@fluentui/react-utilities": "0.0.0-nightlybc5ff01fb020211104.1",
48
+ "@fluentui/keyboard-keys": "0.0.0-nightlyd3bf09bf8120211201.1",
49
+ "@fluentui/react-context-selector": "0.0.0-nightlyd3bf09bf8120211201.1",
50
+ "@fluentui/react-icons": "^2.0.152-beta.3",
51
+ "@fluentui/react-make-styles": "0.0.0-nightlyd3bf09bf8120211201.1",
52
+ "@fluentui/react-portal": "0.0.0-nightlyd3bf09bf8120211201.1",
53
+ "@fluentui/react-positioning": "0.0.0-nightlyd3bf09bf8120211201.1",
54
+ "@fluentui/react-shared-contexts": "0.0.0-nightlyd3bf09bf8120211201.1",
55
+ "@fluentui/react-tabster": "0.0.0-nightlyd3bf09bf8120211201.1",
56
+ "@fluentui/react-utilities": "0.0.0-nightlyd3bf09bf8120211201.1",
56
57
  "tslib": "^2.1.0"
57
58
  },
58
59
  "peerDependencies": {
@@ -62,7 +63,6 @@
62
63
  "react-dom": ">=16.8.0 <18.0.0"
63
64
  },
64
65
  "beachball": {
65
- "tag": "beta",
66
66
  "disallowedChangeTypes": [
67
67
  "major",
68
68
  "minor",
@@ -1,4 +0,0 @@
1
- import type { IsConformantOptions } from '@fluentui/react-conformance';
2
- export declare function isConformant<TProps = {}>(testInfo: Omit<IsConformantOptions<TProps>, 'componentPath'> & {
3
- componentPath?: string;
4
- }): void;
@@ -1,12 +0,0 @@
1
- import { isConformant as baseIsConformant } from '@fluentui/react-conformance';
2
- import makeStylesTests from '@fluentui/react-conformance-make-styles';
3
- export function isConformant(testInfo) {
4
- const defaultOptions = {
5
- asPropHandlesRef: true,
6
- componentPath: module.parent.filename.replace('.test', ''),
7
- skipAsPropTests: true,
8
- extraTests: makeStylesTests
9
- };
10
- baseIsConformant(defaultOptions, testInfo);
11
- }
12
- //# sourceMappingURL=isConformant.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/common/isConformant.ts"],"names":[],"mappings":"AAAA,SAAS,YAAY,IAAI,gBAAzB,QAAiD,6BAAjD;AAEA,OAAO,eAAP,MAA4B,yCAA5B;AAEA,OAAM,SAAU,YAAV,CACJ,QADI,EACqF;AAEzF,QAAM,cAAc,GAAyC;AAC3D,IAAA,gBAAgB,EAAE,IADyC;AAE3D,IAAA,aAAa,EAAE,MAAO,CAAC,MAAR,CAAgB,QAAhB,CAAyB,OAAzB,CAAiC,OAAjC,EAA0C,EAA1C,CAF4C;AAG3D,IAAA,eAAe,EAAE,IAH0C;AAI3D,IAAA,UAAU,EAAE;AAJ+C,GAA7D;AAOA,EAAA,gBAAgB,CAAC,cAAD,EAAiB,QAAjB,CAAhB;AACD","sourceRoot":""}
@@ -1,7 +0,0 @@
1
- import type { MenuContextValue } from '../contexts/menuContext';
2
- /**
3
- * A test utility to mock the useMenuContext hook that relies on context selector
4
- * Don't forget to call `jest.mock(**\/popupContext.ts)` while using this
5
- * @param options Menu context values to set for testing
6
- */
7
- export declare const mockUseMenuContext: (options?: Partial<MenuContextValue>) => void;
@@ -1,29 +0,0 @@
1
- import { useMenuContext } from '../contexts/menuContext';
2
- /**
3
- * A test utility to mock the useMenuContext hook that relies on context selector
4
- * Don't forget to call `jest.mock(**\/popupContext.ts)` while using this
5
- * @param options Menu context values to set for testing
6
- */
7
-
8
- export const mockUseMenuContext = (options = {}) => {
9
- const mockContext = {
10
- open: false,
11
- setOpen: () => null,
12
- triggerRef: {
13
- current: null
14
- },
15
- menuPopoverRef: {
16
- current: null
17
- },
18
- openOnContext: false,
19
- openOnHover: false,
20
- isSubmenu: false,
21
- triggerId: 'id',
22
- ...options
23
- }; // eslint-disable-next-line @typescript-eslint/no-explicit-any
24
-
25
- useMenuContext.mockImplementation(selector => {
26
- return selector(mockContext);
27
- });
28
- };
29
- //# sourceMappingURL=mockUseMenuContext.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/common/mockUseMenuContext.ts"],"names":[],"mappings":"AACA,SAAS,cAAT,QAA+B,yBAA/B;AAGA;;;;AAIG;;AACH,OAAO,MAAM,kBAAkB,GAAG,CAAC,OAAA,GAAqC,EAAtC,KAA4C;AAC5E,QAAM,WAAW,GAAqB;AACpC,IAAA,IAAI,EAAE,KAD8B;AAEpC,IAAA,OAAO,EAAE,MAAM,IAFqB;AAGpC,IAAA,UAAU,EAAG;AAAE,MAAA,OAAO,EAAE;AAAX,KAHuB;AAIpC,IAAA,cAAc,EAAG;AAAE,MAAA,OAAO,EAAE;AAAX,KAJmB;AAKpC,IAAA,aAAa,EAAE,KALqB;AAMpC,IAAA,WAAW,EAAE,KANuB;AAOpC,IAAA,SAAS,EAAE,KAPyB;AAQpC,IAAA,SAAS,EAAE,IARyB;AASpC,OAAG;AATiC,GAAtC,CAD4E,CAY5E;;AACC,EAAA,cAA4B,CAAC,kBAA7B,CAAiD,QAAD,IAAiD;AAChG,WAAO,QAAQ,CAAC,WAAD,CAAf;AACD,GAFA;AAGF,CAhBM","sourceRoot":""}
@@ -1,4 +0,0 @@
1
- import type { IsConformantOptions } from '@fluentui/react-conformance';
2
- export declare function isConformant<TProps = {}>(testInfo: Omit<IsConformantOptions<TProps>, 'componentPath'> & {
3
- componentPath?: string;
4
- }): void;
@@ -1,23 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.isConformant = void 0;
7
-
8
- const react_conformance_1 = /*#__PURE__*/require("@fluentui/react-conformance");
9
-
10
- const react_conformance_make_styles_1 = /*#__PURE__*/require("@fluentui/react-conformance-make-styles");
11
-
12
- function isConformant(testInfo) {
13
- const defaultOptions = {
14
- asPropHandlesRef: true,
15
- componentPath: module.parent.filename.replace('.test', ''),
16
- skipAsPropTests: true,
17
- extraTests: react_conformance_make_styles_1.default
18
- };
19
- react_conformance_1.isConformant(defaultOptions, testInfo);
20
- }
21
-
22
- exports.isConformant = isConformant;
23
- //# sourceMappingURL=isConformant.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/common/isConformant.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AAEA,MAAA,+BAAA,gBAAA,OAAA,CAAA,yCAAA,CAAA;;AAEA,SAAgB,YAAhB,CACE,QADF,EAC2F;AAEzF,QAAM,cAAc,GAAyC;AAC3D,IAAA,gBAAgB,EAAE,IADyC;AAE3D,IAAA,aAAa,EAAE,MAAO,CAAC,MAAR,CAAgB,QAAhB,CAAyB,OAAzB,CAAiC,OAAjC,EAA0C,EAA1C,CAF4C;AAG3D,IAAA,eAAe,EAAE,IAH0C;AAI3D,IAAA,UAAU,EAAE,+BAAA,CAAA;AAJ+C,GAA7D;AAOA,EAAA,mBAAA,CAAA,YAAA,CAAiB,cAAjB,EAAiC,QAAjC;AACD;;AAXD,OAAA,CAAA,YAAA,GAAA,YAAA","sourceRoot":""}
@@ -1,7 +0,0 @@
1
- import type { MenuContextValue } from '../contexts/menuContext';
2
- /**
3
- * A test utility to mock the useMenuContext hook that relies on context selector
4
- * Don't forget to call `jest.mock(**\/popupContext.ts)` while using this
5
- * @param options Menu context values to set for testing
6
- */
7
- export declare const mockUseMenuContext: (options?: Partial<MenuContextValue>) => void;
@@ -1,39 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.mockUseMenuContext = void 0;
7
-
8
- const menuContext_1 = /*#__PURE__*/require("../contexts/menuContext");
9
- /**
10
- * A test utility to mock the useMenuContext hook that relies on context selector
11
- * Don't forget to call `jest.mock(**\/popupContext.ts)` while using this
12
- * @param options Menu context values to set for testing
13
- */
14
-
15
-
16
- const mockUseMenuContext = (options = {}) => {
17
- const mockContext = {
18
- open: false,
19
- setOpen: () => null,
20
- triggerRef: {
21
- current: null
22
- },
23
- menuPopoverRef: {
24
- current: null
25
- },
26
- openOnContext: false,
27
- openOnHover: false,
28
- isSubmenu: false,
29
- triggerId: 'id',
30
- ...options
31
- }; // eslint-disable-next-line @typescript-eslint/no-explicit-any
32
-
33
- menuContext_1.useMenuContext.mockImplementation(selector => {
34
- return selector(mockContext);
35
- });
36
- };
37
-
38
- exports.mockUseMenuContext = mockUseMenuContext;
39
- //# sourceMappingURL=mockUseMenuContext.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/common/mockUseMenuContext.ts"],"names":[],"mappings":";;;;;;;AACA,MAAA,aAAA,gBAAA,OAAA,CAAA,yBAAA,CAAA;AAGA;;;;AAIG;;;AACI,MAAM,kBAAkB,GAAG,CAAC,OAAA,GAAqC,EAAtC,KAA4C;AAC5E,QAAM,WAAW,GAAqB;AACpC,IAAA,IAAI,EAAE,KAD8B;AAEpC,IAAA,OAAO,EAAE,MAAM,IAFqB;AAGpC,IAAA,UAAU,EAAG;AAAE,MAAA,OAAO,EAAE;AAAX,KAHuB;AAIpC,IAAA,cAAc,EAAG;AAAE,MAAA,OAAO,EAAE;AAAX,KAJmB;AAKpC,IAAA,aAAa,EAAE,KALqB;AAMpC,IAAA,WAAW,EAAE,KANuB;AAOpC,IAAA,SAAS,EAAE,KAPyB;AAQpC,IAAA,SAAS,EAAE,IARyB;AASpC,OAAG;AATiC,GAAtC,CAD4E,CAY5E;;AACC,EAAA,aAAA,CAAA,cAAA,CAA6B,kBAA7B,CAAiD,QAAD,IAAiD;AAChG,WAAO,QAAQ,CAAC,WAAD,CAAf;AACD,GAFA;AAGF,CAhBM;;AAAM,OAAA,CAAA,kBAAA,GAAkB,kBAAlB","sourceRoot":""}