@fluentui/react-menu 0.0.0-nightlybc5ff01fb020211104.1 → 0.0.0-nightlyc9ccb6f37d20211122.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +117 -30
- package/CHANGELOG.md +36 -16
- package/dist/react-menu.d.ts +10 -6
- package/lib/components/Menu/useMenu.js +1 -1
- package/lib/components/Menu/useMenu.js.map +1 -1
- package/lib/components/MenuList/MenuList.types.d.ts +8 -6
- package/lib/components/MenuPopover/useMenuPopoverStyles.js +2 -2
- package/lib-commonjs/components/Menu/useMenu.js +2 -2
- package/lib-commonjs/components/Menu/useMenu.js.map +1 -1
- package/lib-commonjs/components/MenuList/MenuList.types.d.ts +8 -6
- package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.js +2 -2
- package/package.json +12 -13
package/CHANGELOG.json
CHANGED
|
@@ -2,17 +2,104 @@
|
|
|
2
2
|
"name": "@fluentui/react-menu",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
6
|
-
"tag": "@fluentui/react-menu_v0.0.0-
|
|
7
|
-
"version": "0.0.0-
|
|
5
|
+
"date": "Mon, 22 Nov 2021 04:15:08 GMT",
|
|
6
|
+
"tag": "@fluentui/react-menu_v0.0.0-nightlyc9ccb6f37d20211122.1",
|
|
7
|
+
"version": "0.0.0-nightlyc9ccb6f37d20211122.1",
|
|
8
8
|
"comments": {
|
|
9
9
|
"prerelease": [
|
|
10
10
|
{
|
|
11
11
|
"author": "email not defined",
|
|
12
12
|
"package": "@fluentui/react-menu",
|
|
13
|
-
"commit": "
|
|
13
|
+
"commit": "485cdebc9d90401363f72f87d647689444cdaba4",
|
|
14
14
|
"comment": "Release nightly v9"
|
|
15
15
|
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "@fluentui/react-menu",
|
|
19
|
+
"comment": "Bump @fluentui/keyboard-keys to v0.0.0-nightlyc9ccb6f37d20211122.1",
|
|
20
|
+
"commit": "485cdebc9d90401363f72f87d647689444cdaba4"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "beachball",
|
|
24
|
+
"package": "@fluentui/react-menu",
|
|
25
|
+
"comment": "Bump @fluentui/react-context-selector to v0.0.0-nightlyc9ccb6f37d20211122.1",
|
|
26
|
+
"commit": "485cdebc9d90401363f72f87d647689444cdaba4"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"author": "beachball",
|
|
30
|
+
"package": "@fluentui/react-menu",
|
|
31
|
+
"comment": "Bump @fluentui/react-make-styles to v0.0.0-nightlyc9ccb6f37d20211122.1",
|
|
32
|
+
"commit": "485cdebc9d90401363f72f87d647689444cdaba4"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"author": "beachball",
|
|
36
|
+
"package": "@fluentui/react-menu",
|
|
37
|
+
"comment": "Bump @fluentui/react-portal to v0.0.0-nightlyc9ccb6f37d20211122.1",
|
|
38
|
+
"commit": "485cdebc9d90401363f72f87d647689444cdaba4"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"author": "beachball",
|
|
42
|
+
"package": "@fluentui/react-menu",
|
|
43
|
+
"comment": "Bump @fluentui/react-positioning to v0.0.0-nightlyc9ccb6f37d20211122.1",
|
|
44
|
+
"commit": "485cdebc9d90401363f72f87d647689444cdaba4"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"author": "beachball",
|
|
48
|
+
"package": "@fluentui/react-menu",
|
|
49
|
+
"comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightlyc9ccb6f37d20211122.1",
|
|
50
|
+
"commit": "485cdebc9d90401363f72f87d647689444cdaba4"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"author": "beachball",
|
|
54
|
+
"package": "@fluentui/react-menu",
|
|
55
|
+
"comment": "Bump @fluentui/react-tabster to v0.0.0-nightlyc9ccb6f37d20211122.1",
|
|
56
|
+
"commit": "485cdebc9d90401363f72f87d647689444cdaba4"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"author": "beachball",
|
|
60
|
+
"package": "@fluentui/react-menu",
|
|
61
|
+
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightlyc9ccb6f37d20211122.1",
|
|
62
|
+
"commit": "485cdebc9d90401363f72f87d647689444cdaba4"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"author": "beachball",
|
|
66
|
+
"package": "@fluentui/react-menu",
|
|
67
|
+
"comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightlyc9ccb6f37d20211122.1",
|
|
68
|
+
"commit": "485cdebc9d90401363f72f87d647689444cdaba4"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"author": "beachball",
|
|
72
|
+
"package": "@fluentui/react-menu",
|
|
73
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlyc9ccb6f37d20211122.1",
|
|
74
|
+
"commit": "485cdebc9d90401363f72f87d647689444cdaba4"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"author": "beachball",
|
|
78
|
+
"package": "@fluentui/react-menu",
|
|
79
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlyc9ccb6f37d20211122.1",
|
|
80
|
+
"commit": "485cdebc9d90401363f72f87d647689444cdaba4"
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"date": "Fri, 12 Nov 2021 13:25:27 GMT",
|
|
87
|
+
"tag": "@fluentui/react-menu_v9.0.0-beta.4",
|
|
88
|
+
"version": "9.0.0-beta.4",
|
|
89
|
+
"comments": {
|
|
90
|
+
"prerelease": [
|
|
91
|
+
{
|
|
92
|
+
"author": "bsunderhus@microsoft.com",
|
|
93
|
+
"package": "@fluentui/react-menu",
|
|
94
|
+
"commit": "390056fd15a4413af93083ad0f5a0b15c4709ed1",
|
|
95
|
+
"comment": "Adds typings for `onCheckedValueChange` method"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"author": "olfedias@microsoft.com",
|
|
99
|
+
"package": "@fluentui/react-menu",
|
|
100
|
+
"commit": "28b87b619b5be37c8e4a3a75ba10071a93f2b10b",
|
|
101
|
+
"comment": "use react-shared-contexts instead of react-provider"
|
|
102
|
+
},
|
|
16
103
|
{
|
|
17
104
|
"author": "olfedias@microsoft.com",
|
|
18
105
|
"package": "@fluentui/react-menu",
|
|
@@ -28,71 +115,71 @@
|
|
|
28
115
|
{
|
|
29
116
|
"author": "beachball",
|
|
30
117
|
"package": "@fluentui/react-menu",
|
|
31
|
-
"comment": "Bump @fluentui/
|
|
32
|
-
"commit": "
|
|
118
|
+
"comment": "Bump @fluentui/react-context-selector to v9.0.0-beta.3",
|
|
119
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
|
33
120
|
},
|
|
34
121
|
{
|
|
35
122
|
"author": "beachball",
|
|
36
123
|
"package": "@fluentui/react-menu",
|
|
37
|
-
"comment": "Bump @fluentui/react-
|
|
38
|
-
"commit": "
|
|
124
|
+
"comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.3",
|
|
125
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
|
39
126
|
},
|
|
40
127
|
{
|
|
41
128
|
"author": "beachball",
|
|
42
129
|
"package": "@fluentui/react-menu",
|
|
43
|
-
"comment": "Bump @fluentui/react-
|
|
44
|
-
"commit": "
|
|
130
|
+
"comment": "Bump @fluentui/react-portal to v9.0.0-beta.4",
|
|
131
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
|
45
132
|
},
|
|
46
133
|
{
|
|
47
134
|
"author": "beachball",
|
|
48
135
|
"package": "@fluentui/react-menu",
|
|
49
|
-
"comment": "Bump @fluentui/react-
|
|
50
|
-
"commit": "
|
|
136
|
+
"comment": "Bump @fluentui/react-positioning to v9.0.0-beta.3",
|
|
137
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
|
51
138
|
},
|
|
52
139
|
{
|
|
53
140
|
"author": "beachball",
|
|
54
141
|
"package": "@fluentui/react-menu",
|
|
55
|
-
"comment": "Bump @fluentui/react-
|
|
56
|
-
"commit": "
|
|
142
|
+
"comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.3",
|
|
143
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
|
57
144
|
},
|
|
58
145
|
{
|
|
59
146
|
"author": "beachball",
|
|
60
147
|
"package": "@fluentui/react-menu",
|
|
61
|
-
"comment": "Bump @fluentui/react-
|
|
62
|
-
"commit": "
|
|
148
|
+
"comment": "Bump @fluentui/react-tabster to v9.0.0-beta.4",
|
|
149
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
|
63
150
|
},
|
|
64
151
|
{
|
|
65
152
|
"author": "beachball",
|
|
66
153
|
"package": "@fluentui/react-menu",
|
|
67
|
-
"comment": "Bump @fluentui/react-
|
|
68
|
-
"commit": "
|
|
154
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-beta.3",
|
|
155
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
|
69
156
|
},
|
|
70
157
|
{
|
|
71
158
|
"author": "beachball",
|
|
72
159
|
"package": "@fluentui/react-menu",
|
|
73
|
-
"comment": "Bump @fluentui/
|
|
74
|
-
"commit": "
|
|
160
|
+
"comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.3",
|
|
161
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
|
75
162
|
},
|
|
76
163
|
{
|
|
77
164
|
"author": "beachball",
|
|
78
165
|
"package": "@fluentui/react-menu",
|
|
79
|
-
"comment": "Bump @fluentui/
|
|
80
|
-
"commit": "
|
|
166
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3",
|
|
167
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
|
81
168
|
},
|
|
82
169
|
{
|
|
83
170
|
"author": "beachball",
|
|
84
171
|
"package": "@fluentui/react-menu",
|
|
85
|
-
"comment": "Bump @fluentui/
|
|
86
|
-
"commit": "
|
|
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"
|
|
172
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3",
|
|
173
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
|
93
174
|
}
|
|
94
175
|
],
|
|
95
176
|
"none": [
|
|
177
|
+
{
|
|
178
|
+
"author": "lingfangao@hotmail.com",
|
|
179
|
+
"package": "@fluentui/react-menu",
|
|
180
|
+
"commit": "00f70581480b536e723fb69edf0ae617beac4807",
|
|
181
|
+
"comment": "Remove beta release tag"
|
|
182
|
+
},
|
|
96
183
|
{
|
|
97
184
|
"author": "mgodbolt@microsoft.com",
|
|
98
185
|
"package": "@fluentui/react-menu",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,30 +1,50 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-menu
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Mon, 22 Nov 2021 04:15:08 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
-
## [0.0.0-
|
|
7
|
+
## [0.0.0-nightlyc9ccb6f37d20211122.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v0.0.0-nightlyc9ccb6f37d20211122.1)
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.
|
|
9
|
+
Mon, 22 Nov 2021 04:15:08 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.4..@fluentui/react-menu_v0.0.0-nightlyc9ccb6f37d20211122.1)
|
|
11
11
|
|
|
12
12
|
### Changes
|
|
13
13
|
|
|
14
|
-
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/
|
|
14
|
+
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/485cdebc9d90401363f72f87d647689444cdaba4) by email not defined)
|
|
15
|
+
- Bump @fluentui/keyboard-keys to v0.0.0-nightlyc9ccb6f37d20211122.1 ([commit](https://github.com/microsoft/fluentui/commit/485cdebc9d90401363f72f87d647689444cdaba4) by beachball)
|
|
16
|
+
- Bump @fluentui/react-context-selector to v0.0.0-nightlyc9ccb6f37d20211122.1 ([commit](https://github.com/microsoft/fluentui/commit/485cdebc9d90401363f72f87d647689444cdaba4) by beachball)
|
|
17
|
+
- Bump @fluentui/react-make-styles to v0.0.0-nightlyc9ccb6f37d20211122.1 ([commit](https://github.com/microsoft/fluentui/commit/485cdebc9d90401363f72f87d647689444cdaba4) by beachball)
|
|
18
|
+
- Bump @fluentui/react-portal to v0.0.0-nightlyc9ccb6f37d20211122.1 ([commit](https://github.com/microsoft/fluentui/commit/485cdebc9d90401363f72f87d647689444cdaba4) by beachball)
|
|
19
|
+
- Bump @fluentui/react-positioning to v0.0.0-nightlyc9ccb6f37d20211122.1 ([commit](https://github.com/microsoft/fluentui/commit/485cdebc9d90401363f72f87d647689444cdaba4) by beachball)
|
|
20
|
+
- Bump @fluentui/react-shared-contexts to v0.0.0-nightlyc9ccb6f37d20211122.1 ([commit](https://github.com/microsoft/fluentui/commit/485cdebc9d90401363f72f87d647689444cdaba4) by beachball)
|
|
21
|
+
- Bump @fluentui/react-tabster to v0.0.0-nightlyc9ccb6f37d20211122.1 ([commit](https://github.com/microsoft/fluentui/commit/485cdebc9d90401363f72f87d647689444cdaba4) by beachball)
|
|
22
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightlyc9ccb6f37d20211122.1 ([commit](https://github.com/microsoft/fluentui/commit/485cdebc9d90401363f72f87d647689444cdaba4) by beachball)
|
|
23
|
+
- Bump @fluentui/babel-make-styles to v0.0.0-nightlyc9ccb6f37d20211122.1 ([commit](https://github.com/microsoft/fluentui/commit/485cdebc9d90401363f72f87d647689444cdaba4) by beachball)
|
|
24
|
+
- Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlyc9ccb6f37d20211122.1 ([commit](https://github.com/microsoft/fluentui/commit/485cdebc9d90401363f72f87d647689444cdaba4) by beachball)
|
|
25
|
+
- Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlyc9ccb6f37d20211122.1 ([commit](https://github.com/microsoft/fluentui/commit/485cdebc9d90401363f72f87d647689444cdaba4) by beachball)
|
|
26
|
+
|
|
27
|
+
## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-beta.4)
|
|
28
|
+
|
|
29
|
+
Fri, 12 Nov 2021 13:25:27 GMT
|
|
30
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.3..@fluentui/react-menu_v9.0.0-beta.4)
|
|
31
|
+
|
|
32
|
+
### Changes
|
|
33
|
+
|
|
34
|
+
- Adds typings for `onCheckedValueChange` method ([PR #20493](https://github.com/microsoft/fluentui/pull/20493) by bsunderhus@microsoft.com)
|
|
35
|
+
- use react-shared-contexts instead of react-provider ([PR #20578](https://github.com/microsoft/fluentui/pull/20578) by olfedias@microsoft.com)
|
|
15
36
|
- export static classes for components ([PR #20450](https://github.com/microsoft/fluentui/pull/20450) by olfedias@microsoft.com)
|
|
16
37
|
- Updated beta and RC components to ES2019 ([PR #20405](https://github.com/microsoft/fluentui/pull/20405) by gcox@microsoft.com)
|
|
17
|
-
- Bump @fluentui/
|
|
18
|
-
- Bump @fluentui/react-
|
|
19
|
-
- Bump @fluentui/react-
|
|
20
|
-
- Bump @fluentui/react-
|
|
21
|
-
- Bump @fluentui/react-
|
|
22
|
-
- Bump @fluentui/react-
|
|
23
|
-
- Bump @fluentui/react-
|
|
24
|
-
- Bump @fluentui/
|
|
25
|
-
- Bump @fluentui/
|
|
26
|
-
- Bump @fluentui/
|
|
27
|
-
- Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlybc5ff01fb020211104.1 ([commit](https://github.com/microsoft/fluentui/commit/112d5b8815c25532184ed7c1407ba9a777e2f48d) by beachball)
|
|
38
|
+
- Bump @fluentui/react-context-selector to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
|
39
|
+
- Bump @fluentui/react-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
|
40
|
+
- Bump @fluentui/react-portal to v9.0.0-beta.4 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
|
41
|
+
- Bump @fluentui/react-positioning to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
|
42
|
+
- Bump @fluentui/react-shared-contexts to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
|
43
|
+
- Bump @fluentui/react-tabster to v9.0.0-beta.4 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
|
44
|
+
- Bump @fluentui/react-utilities to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
|
45
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
|
46
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
|
47
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
|
28
48
|
|
|
29
49
|
## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-beta.3)
|
|
30
50
|
|
package/dist/react-menu.d.ts
CHANGED
|
@@ -13,6 +13,15 @@ import { usePopperMouseTarget } from '@fluentui/react-positioning';
|
|
|
13
13
|
*/
|
|
14
14
|
export declare const Menu: React_2.FC<MenuProps>;
|
|
15
15
|
|
|
16
|
+
export declare type MenuCheckedValueChangeData = {
|
|
17
|
+
/** The name of the value */
|
|
18
|
+
name: string;
|
|
19
|
+
/** The items for this value that are checked */
|
|
20
|
+
checkedItems: string[];
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export declare type MenuCheckedValueChangeEvent = React_2.MouseEvent | React_2.KeyboardEvent;
|
|
24
|
+
|
|
16
25
|
declare type MenuCommons = MenuListCommons & {
|
|
17
26
|
/**
|
|
18
27
|
* Whether the popup is open
|
|
@@ -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:
|
|
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-
|
|
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,
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Menu/useMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,oBAAT,EAA+B,SAA/B,EAA0C,2BAA1C,QAA6E,6BAA7E;AACA,SAAS,oBAAT,EAA+B,KAA/B,EAAsC,iBAAtC,EAAyD,gBAAzD,QAAiF,2BAAjF;AACA,SAAS,SAAT,QAA0B,iCAA1B;AACA,SAAS,eAAT,QAAgC,wBAAhC;AACA,SAAS,eAAT,QAAgC,yBAAhC;AACA,SAAS,WAAT,QAA4B,sBAA5B;AACA,SAAS,cAAT,QAA+B,4BAA/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,KAAK,EAAE,SAAS,GAAI,KAAJ,GAAuB,OAFrB;AAGlB,IAAA,MAAM,EAAE,KAAK,CAAC,aAAN,GAAsB,aA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AAxB;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":""}
|
|
@@ -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:
|
|
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
|
*/
|
|
@@ -8,7 +8,7 @@ const useStyles = /*#__PURE__*/__styles({
|
|
|
8
8
|
"Bf4jedk": "fkqu4gx",
|
|
9
9
|
"B2u0y6b": "f1kaai3v",
|
|
10
10
|
"a9b677": "f1ahpp82",
|
|
11
|
-
"E5pizo":
|
|
11
|
+
"E5pizo": "f1hg901r",
|
|
12
12
|
"z8tnut": "f10ra9hq",
|
|
13
13
|
"z189sj": ["f8wuabp", "fycuoez"],
|
|
14
14
|
"Byoj8tv": "f1y2xyjm",
|
|
@@ -27,7 +27,7 @@ const useStyles = /*#__PURE__*/__styles({
|
|
|
27
27
|
"zhjwy3": ["fjscplz", "f1gn591s"]
|
|
28
28
|
}
|
|
29
29
|
}, {
|
|
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);}", ".
|
|
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);}", ".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
31
|
});
|
|
32
32
|
/**
|
|
33
33
|
* Apply styling to the Menu slots based on the state
|
|
@@ -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
|
|
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
|
-
} =
|
|
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,
|
|
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,CA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AP,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":""}
|
|
@@ -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:
|
|
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
|
*/
|
|
@@ -16,7 +16,7 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
|
16
16
|
"Bf4jedk": "fkqu4gx",
|
|
17
17
|
"B2u0y6b": "f1kaai3v",
|
|
18
18
|
"a9b677": "f1ahpp82",
|
|
19
|
-
"E5pizo":
|
|
19
|
+
"E5pizo": "f1hg901r",
|
|
20
20
|
"z8tnut": "f10ra9hq",
|
|
21
21
|
"z189sj": ["f8wuabp", "fycuoez"],
|
|
22
22
|
"Byoj8tv": "f1y2xyjm",
|
|
@@ -35,7 +35,7 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
|
35
35
|
"zhjwy3": ["fjscplz", "f1gn591s"]
|
|
36
36
|
}
|
|
37
37
|
}, {
|
|
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);}", ".
|
|
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);}", ".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
39
|
});
|
|
40
40
|
/**
|
|
41
41
|
* Apply styling to the Menu slots based on the state
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-menu",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-nightlyc9ccb6f37d20211122.1",
|
|
4
4
|
"description": "Fluent UI menu component",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
"test": "jest"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@fluentui/babel-make-styles": "0.0.0-
|
|
29
|
+
"@fluentui/babel-make-styles": "0.0.0-nightlyc9ccb6f37d20211122.1",
|
|
30
30
|
"@fluentui/eslint-plugin": "*",
|
|
31
|
-
"@fluentui/jest-serializer-make-styles": "0.0.0-
|
|
31
|
+
"@fluentui/jest-serializer-make-styles": "0.0.0-nightlyc9ccb6f37d20211122.1",
|
|
32
32
|
"@fluentui/react-conformance": "*",
|
|
33
|
-
"@fluentui/react-conformance-make-styles": "0.0.0-
|
|
33
|
+
"@fluentui/react-conformance-make-styles": "0.0.0-nightlyc9ccb6f37d20211122.1",
|
|
34
34
|
"@fluentui/scripts": "^1.0.0",
|
|
35
35
|
"@types/enzyme": "3.10.3",
|
|
36
36
|
"@types/enzyme-adapter-react-16": "1.0.3",
|
|
@@ -44,15 +44,15 @@
|
|
|
44
44
|
"react-test-renderer": "^16.3.0"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@fluentui/keyboard-keys": "0.0.0-
|
|
48
|
-
"@fluentui/react-context-selector": "0.0.0-
|
|
47
|
+
"@fluentui/keyboard-keys": "0.0.0-nightlyc9ccb6f37d20211122.1",
|
|
48
|
+
"@fluentui/react-context-selector": "0.0.0-nightlyc9ccb6f37d20211122.1",
|
|
49
49
|
"@fluentui/react-icons": "^1.1.140",
|
|
50
|
-
"@fluentui/react-make-styles": "0.0.0-
|
|
51
|
-
"@fluentui/react-portal": "0.0.0-
|
|
52
|
-
"@fluentui/react-positioning": "0.0.0-
|
|
53
|
-
"@fluentui/react-
|
|
54
|
-
"@fluentui/react-tabster": "0.0.0-
|
|
55
|
-
"@fluentui/react-utilities": "0.0.0-
|
|
50
|
+
"@fluentui/react-make-styles": "0.0.0-nightlyc9ccb6f37d20211122.1",
|
|
51
|
+
"@fluentui/react-portal": "0.0.0-nightlyc9ccb6f37d20211122.1",
|
|
52
|
+
"@fluentui/react-positioning": "0.0.0-nightlyc9ccb6f37d20211122.1",
|
|
53
|
+
"@fluentui/react-shared-contexts": "0.0.0-nightlyc9ccb6f37d20211122.1",
|
|
54
|
+
"@fluentui/react-tabster": "0.0.0-nightlyc9ccb6f37d20211122.1",
|
|
55
|
+
"@fluentui/react-utilities": "0.0.0-nightlyc9ccb6f37d20211122.1",
|
|
56
56
|
"tslib": "^2.1.0"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
@@ -62,7 +62,6 @@
|
|
|
62
62
|
"react-dom": ">=16.8.0 <18.0.0"
|
|
63
63
|
},
|
|
64
64
|
"beachball": {
|
|
65
|
-
"tag": "beta",
|
|
66
65
|
"disallowedChangeTypes": [
|
|
67
66
|
"major",
|
|
68
67
|
"minor",
|