@fluentui/react-button 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.
- package/CHANGELOG.json +164 -26
- package/CHANGELOG.md +47 -14
- package/dist/react-button.d.ts +4 -1
- package/lib/components/Button/useButtonStyles.js +94 -60
- package/lib/components/Button/useButtonStyles.js.map +1 -1
- package/lib/components/CompoundButton/useCompoundButtonStyles.js +4 -3
- package/lib/components/CompoundButton/useCompoundButtonStyles.js.map +1 -1
- package/lib/components/MenuButton/MenuButton.types.d.ts +5 -1
- package/lib/components/ToggleButton/useToggleButtonStyles.js +31 -31
- package/lib/components/ToggleButton/useToggleButtonStyles.js.map +1 -1
- package/lib-commonjs/components/Button/useButtonStyles.js +93 -59
- package/lib-commonjs/components/Button/useButtonStyles.js.map +1 -1
- package/lib-commonjs/components/CompoundButton/useCompoundButtonStyles.js +3 -2
- package/lib-commonjs/components/CompoundButton/useCompoundButtonStyles.js.map +1 -1
- package/lib-commonjs/components/MenuButton/MenuButton.types.d.ts +5 -1
- package/lib-commonjs/components/ToggleButton/useToggleButtonStyles.js +30 -30
- package/package.json +10 -12
package/CHANGELOG.json
CHANGED
@@ -2,17 +2,143 @@
|
|
2
2
|
"name": "@fluentui/react-button",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "
|
6
|
-
"tag": "@fluentui/react-button_v0.0.0-
|
7
|
-
"version": "0.0.0-
|
5
|
+
"date": "Wed, 01 Dec 2021 04:25:36 GMT",
|
6
|
+
"tag": "@fluentui/react-button_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-button",
|
13
|
-
"commit": "
|
13
|
+
"commit": "40bec5fdab524f928e775fb2ed002822255eb2a7",
|
14
14
|
"comment": "Release nightly v9"
|
15
15
|
},
|
16
|
+
{
|
17
|
+
"author": "olfedias@microsoft.com",
|
18
|
+
"package": "@fluentui/react-button",
|
19
|
+
"commit": "54118b29fde686ef15fe95a3a97f3fd7edca34a3",
|
20
|
+
"comment": "update styles to not use CSS shorthands"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"author": "beachball",
|
24
|
+
"package": "@fluentui/react-button",
|
25
|
+
"comment": "Bump @fluentui/keyboard-keys to v0.0.0-nightlyd3bf09bf8120211201.1",
|
26
|
+
"commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"author": "beachball",
|
30
|
+
"package": "@fluentui/react-button",
|
31
|
+
"comment": "Bump @fluentui/react-aria to v0.0.0-nightlyd3bf09bf8120211201.1",
|
32
|
+
"commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"author": "beachball",
|
36
|
+
"package": "@fluentui/react-button",
|
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-button",
|
43
|
+
"comment": "Bump @fluentui/react-tabster to v0.0.0-nightlyd3bf09bf8120211201.1",
|
44
|
+
"commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"author": "beachball",
|
48
|
+
"package": "@fluentui/react-button",
|
49
|
+
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightlyd3bf09bf8120211201.1",
|
50
|
+
"commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"author": "beachball",
|
54
|
+
"package": "@fluentui/react-button",
|
55
|
+
"comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1",
|
56
|
+
"commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"author": "beachball",
|
60
|
+
"package": "@fluentui/react-button",
|
61
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1",
|
62
|
+
"commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"author": "beachball",
|
66
|
+
"package": "@fluentui/react-button",
|
67
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1",
|
68
|
+
"commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
|
69
|
+
}
|
70
|
+
]
|
71
|
+
}
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"date": "Thu, 25 Nov 2021 08:34:12 GMT",
|
75
|
+
"tag": "@fluentui/react-button_v9.0.0-beta.5",
|
76
|
+
"version": "9.0.0-beta.5",
|
77
|
+
"comments": {
|
78
|
+
"prerelease": [
|
79
|
+
{
|
80
|
+
"author": "Humberto.Morimoto@microsoft.com",
|
81
|
+
"package": "@fluentui/react-button",
|
82
|
+
"commit": "8825574c42f414c26f9d49238be02ca7dcb44cfe",
|
83
|
+
"comment": "MenuButton: Removing tight coupling with Menu by replicating type locally."
|
84
|
+
},
|
85
|
+
{
|
86
|
+
"author": "ololubek@microsoft.com",
|
87
|
+
"package": "@fluentui/react-button",
|
88
|
+
"commit": "ecab13cfd6ac22657020db8f86eb89f952b0f953",
|
89
|
+
"comment": "update react-icons dependency"
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"author": "beachball",
|
93
|
+
"package": "@fluentui/react-button",
|
94
|
+
"comment": "Bump @fluentui/react-aria to v9.0.0-beta.4",
|
95
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
96
|
+
},
|
97
|
+
{
|
98
|
+
"author": "beachball",
|
99
|
+
"package": "@fluentui/react-button",
|
100
|
+
"comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.4",
|
101
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"author": "beachball",
|
105
|
+
"package": "@fluentui/react-button",
|
106
|
+
"comment": "Bump @fluentui/react-tabster to v9.0.0-beta.5",
|
107
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"author": "beachball",
|
111
|
+
"package": "@fluentui/react-button",
|
112
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-beta.4",
|
113
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
114
|
+
},
|
115
|
+
{
|
116
|
+
"author": "beachball",
|
117
|
+
"package": "@fluentui/react-button",
|
118
|
+
"comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.4",
|
119
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"author": "beachball",
|
123
|
+
"package": "@fluentui/react-button",
|
124
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4",
|
125
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"author": "beachball",
|
129
|
+
"package": "@fluentui/react-button",
|
130
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4",
|
131
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
132
|
+
}
|
133
|
+
]
|
134
|
+
}
|
135
|
+
},
|
136
|
+
{
|
137
|
+
"date": "Fri, 12 Nov 2021 13:25:16 GMT",
|
138
|
+
"tag": "@fluentui/react-button_v9.0.0-beta.4",
|
139
|
+
"version": "9.0.0-beta.4",
|
140
|
+
"comments": {
|
141
|
+
"prerelease": [
|
16
142
|
{
|
17
143
|
"author": "olfedias@microsoft.com",
|
18
144
|
"package": "@fluentui/react-button",
|
@@ -40,64 +166,76 @@
|
|
40
166
|
{
|
41
167
|
"author": "beachball",
|
42
168
|
"package": "@fluentui/react-button",
|
43
|
-
"comment": "Bump @fluentui/
|
44
|
-
"commit": "
|
45
|
-
},
|
46
|
-
{
|
47
|
-
"author": "beachball",
|
48
|
-
"package": "@fluentui/react-button",
|
49
|
-
"comment": "Bump @fluentui/react-aria to v0.0.0-nightlybc5ff01fb020211104.1",
|
50
|
-
"commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
|
169
|
+
"comment": "Bump @fluentui/react-aria to v9.0.0-beta.3",
|
170
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
51
171
|
},
|
52
172
|
{
|
53
173
|
"author": "beachball",
|
54
174
|
"package": "@fluentui/react-button",
|
55
|
-
"comment": "Bump @fluentui/react-make-styles to
|
56
|
-
"commit": "
|
175
|
+
"comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.3",
|
176
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
57
177
|
},
|
58
178
|
{
|
59
179
|
"author": "beachball",
|
60
180
|
"package": "@fluentui/react-button",
|
61
|
-
"comment": "Bump @fluentui/react-tabster to
|
62
|
-
"commit": "
|
181
|
+
"comment": "Bump @fluentui/react-tabster to v9.0.0-beta.4",
|
182
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
63
183
|
},
|
64
184
|
{
|
65
185
|
"author": "beachball",
|
66
186
|
"package": "@fluentui/react-button",
|
67
|
-
"comment": "Bump @fluentui/react-utilities to
|
68
|
-
"commit": "
|
187
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-beta.3",
|
188
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
69
189
|
},
|
70
190
|
{
|
71
191
|
"author": "beachball",
|
72
192
|
"package": "@fluentui/react-button",
|
73
|
-
"comment": "Bump @fluentui/babel-make-styles to
|
74
|
-
"commit": "
|
193
|
+
"comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.3",
|
194
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
75
195
|
},
|
76
196
|
{
|
77
197
|
"author": "beachball",
|
78
198
|
"package": "@fluentui/react-button",
|
79
|
-
"comment": "Bump @fluentui/jest-serializer-make-styles to
|
80
|
-
"commit": "
|
199
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3",
|
200
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
81
201
|
},
|
82
202
|
{
|
83
203
|
"author": "beachball",
|
84
204
|
"package": "@fluentui/react-button",
|
85
|
-
"comment": "Bump @fluentui/react-conformance-make-styles to
|
86
|
-
"commit": "
|
205
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3",
|
206
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
87
207
|
},
|
88
208
|
{
|
89
209
|
"author": "beachball",
|
90
210
|
"package": "@fluentui/react-button",
|
91
|
-
"comment": "Bump @fluentui/react-menu to
|
92
|
-
"commit": "
|
211
|
+
"comment": "Bump @fluentui/react-menu to v9.0.0-beta.4",
|
212
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
93
213
|
}
|
94
214
|
],
|
95
215
|
"none": [
|
216
|
+
{
|
217
|
+
"author": "mgodbolt@microsoft.com",
|
218
|
+
"package": "@fluentui/react-button",
|
219
|
+
"commit": "d28932cc68561cf46a56a4300b6e18d7de8af14b",
|
220
|
+
"comment": "adding toggle and split button docs"
|
221
|
+
},
|
96
222
|
{
|
97
223
|
"author": "mgodbolt@microsoft.com",
|
98
224
|
"package": "@fluentui/react-button",
|
99
225
|
"commit": "7fafe76eb2c09f9d17a03c11ba73729d91ef411e",
|
100
226
|
"comment": "update docs descriptions"
|
227
|
+
},
|
228
|
+
{
|
229
|
+
"author": "mgodbolt@microsoft.com",
|
230
|
+
"package": "@fluentui/react-button",
|
231
|
+
"commit": "73857e89e8c403370ba723415121f2ce1e530fff",
|
232
|
+
"comment": "add docs for menu and compound button"
|
233
|
+
},
|
234
|
+
{
|
235
|
+
"author": "lingfangao@hotmail.com",
|
236
|
+
"package": "@fluentui/react-button",
|
237
|
+
"commit": "00f70581480b536e723fb69edf0ae617beac4807",
|
238
|
+
"comment": "Remove beta release tag"
|
101
239
|
}
|
102
240
|
]
|
103
241
|
}
|
package/CHANGELOG.md
CHANGED
@@ -1,30 +1,63 @@
|
|
1
1
|
# Change Log - @fluentui/react-button
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Wed, 01 Dec 2021 04:25:36 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
-
## [0.0.0-
|
7
|
+
## [0.0.0-nightlyd3bf09bf8120211201.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-button_v0.0.0-nightlyd3bf09bf8120211201.1)
|
8
8
|
|
9
|
-
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-button_v9.0.0-beta.
|
9
|
+
Wed, 01 Dec 2021 04:25:36 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-button_v9.0.0-beta.5..@fluentui/react-button_v0.0.0-nightlyd3bf09bf8120211201.1)
|
11
|
+
|
12
|
+
### Changes
|
13
|
+
|
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 #20815](https://github.com/microsoft/fluentui/pull/20815) 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-aria 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-tabster to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
|
20
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
|
21
|
+
- Bump @fluentui/babel-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
|
22
|
+
- Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
|
23
|
+
- Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
|
24
|
+
|
25
|
+
## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-button_v9.0.0-beta.5)
|
26
|
+
|
27
|
+
Thu, 25 Nov 2021 08:34:12 GMT
|
28
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-button_v9.0.0-beta.4..@fluentui/react-button_v9.0.0-beta.5)
|
29
|
+
|
30
|
+
### Changes
|
31
|
+
|
32
|
+
- MenuButton: Removing tight coupling with Menu by replicating type locally. ([PR #20635](https://github.com/microsoft/fluentui/pull/20635) by Humberto.Morimoto@microsoft.com)
|
33
|
+
- update react-icons dependency ([PR #20563](https://github.com/microsoft/fluentui/pull/20563) by ololubek@microsoft.com)
|
34
|
+
- Bump @fluentui/react-aria to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
35
|
+
- Bump @fluentui/react-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
36
|
+
- Bump @fluentui/react-tabster to v9.0.0-beta.5 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
37
|
+
- Bump @fluentui/react-utilities to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
38
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
39
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
40
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
41
|
+
|
42
|
+
## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-button_v9.0.0-beta.4)
|
43
|
+
|
44
|
+
Fri, 12 Nov 2021 13:25:16 GMT
|
45
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-button_v9.0.0-beta.3..@fluentui/react-button_v9.0.0-beta.4)
|
11
46
|
|
12
47
|
### Changes
|
13
48
|
|
14
|
-
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/112d5b8815c25532184ed7c1407ba9a777e2f48d) by email not defined)
|
15
49
|
- export static classes for components ([PR #20454](https://github.com/microsoft/fluentui/pull/20454) by olfedias@microsoft.com)
|
16
50
|
- Updated beta and RC components to ES2019 ([PR #20405](https://github.com/microsoft/fluentui/pull/20405) by gcox@microsoft.com)
|
17
51
|
- react-button: Removing use of enzyme in the converged package. ([PR #20342](https://github.com/microsoft/fluentui/pull/20342) by Humberto.Morimoto@microsoft.com)
|
18
52
|
- Fixing incomplete comment. ([PR #20273](https://github.com/microsoft/fluentui/pull/20273) by Humberto.Morimoto@microsoft.com)
|
19
|
-
- Bump @fluentui/
|
20
|
-
- Bump @fluentui/react-
|
21
|
-
- Bump @fluentui/react-
|
22
|
-
- Bump @fluentui/react-
|
23
|
-
- Bump @fluentui/
|
24
|
-
- Bump @fluentui/
|
25
|
-
- Bump @fluentui/
|
26
|
-
- Bump @fluentui/react-
|
27
|
-
- Bump @fluentui/react-menu to v0.0.0-nightlybc5ff01fb020211104.1 ([commit](https://github.com/microsoft/fluentui/commit/112d5b8815c25532184ed7c1407ba9a777e2f48d) by beachball)
|
53
|
+
- Bump @fluentui/react-aria to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
54
|
+
- Bump @fluentui/react-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
55
|
+
- Bump @fluentui/react-tabster to v9.0.0-beta.4 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
56
|
+
- Bump @fluentui/react-utilities to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
57
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
58
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
59
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
60
|
+
- Bump @fluentui/react-menu to v9.0.0-beta.4 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
28
61
|
|
29
62
|
## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-button_v9.0.0-beta.3)
|
30
63
|
|
package/dist/react-button.d.ts
CHANGED
@@ -3,7 +3,6 @@ import type { ComponentProps } from '@fluentui/react-utilities';
|
|
3
3
|
import type { ComponentState } from '@fluentui/react-utilities';
|
4
4
|
import { ForwardRefComponent } from '@fluentui/react-utilities';
|
5
5
|
import type { IntrinsicShorthandProps } from '@fluentui/react-utilities';
|
6
|
-
import type { MenuTriggerChildProps } from '@fluentui/react-menu';
|
7
6
|
import type { ObjectShorthandProps } from '@fluentui/react-utilities';
|
8
7
|
import * as React_2 from 'react';
|
9
8
|
|
@@ -118,6 +117,10 @@ export declare type MenuButtonSlots = ButtonSlots & {
|
|
118
117
|
|
119
118
|
export declare type MenuButtonState = ComponentState<MenuButtonSlots> & Omit<ButtonState, keyof ButtonSlots | 'components' | 'iconPosition'>;
|
120
119
|
|
120
|
+
declare type MenuTriggerChildProps = Pick<React_2.HTMLAttributes<HTMLElement>, 'onClick' | 'onMouseEnter' | 'onMouseLeave' | 'onContextMenu' | 'onKeyDown' | 'aria-haspopup' | 'aria-expanded' | 'id'> & {
|
121
|
+
ref?: React_2.Ref<never>;
|
122
|
+
};
|
123
|
+
|
121
124
|
/**
|
122
125
|
* Renders a Button component by passing the state defined props to the appropriate slots.
|
123
126
|
*/
|