@fluentui/react-button 0.0.0-nightlybc5ff01fb020211104.1 → 0.0.0-nightlybd3e92b51920211126.1

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.json CHANGED
@@ -2,17 +2,119 @@
2
2
  "name": "@fluentui/react-button",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 04 Nov 2021 04:20:32 GMT",
6
- "tag": "@fluentui/react-button_v0.0.0-nightlybc5ff01fb020211104.1",
7
- "version": "0.0.0-nightlybc5ff01fb020211104.1",
5
+ "date": "Fri, 26 Nov 2021 04:15:39 GMT",
6
+ "tag": "@fluentui/react-button_v0.0.0-nightlybd3e92b51920211126.1",
7
+ "version": "0.0.0-nightlybd3e92b51920211126.1",
8
8
  "comments": {
9
9
  "prerelease": [
10
10
  {
11
- "author": "email not defined",
11
+ "author": "beachball",
12
+ "package": "@fluentui/react-button",
13
+ "comment": "Bump @fluentui/react-aria to v0.0.0-nightlybd3e92b51920211126.1",
14
+ "commit": "88b4f0133881c8a1f21d12c544960e291be12a3d"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@fluentui/react-button",
19
+ "comment": "Bump @fluentui/react-make-styles to v0.0.0-nightlybd3e92b51920211126.1",
20
+ "commit": "88b4f0133881c8a1f21d12c544960e291be12a3d"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@fluentui/react-button",
25
+ "comment": "Bump @fluentui/react-tabster to v0.0.0-nightlybd3e92b51920211126.1",
26
+ "commit": "88b4f0133881c8a1f21d12c544960e291be12a3d"
27
+ },
28
+ {
29
+ "author": "beachball",
30
+ "package": "@fluentui/react-button",
31
+ "comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightlybd3e92b51920211126.1",
32
+ "commit": "88b4f0133881c8a1f21d12c544960e291be12a3d"
33
+ },
34
+ {
35
+ "author": "beachball",
36
+ "package": "@fluentui/react-button",
37
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlybd3e92b51920211126.1",
38
+ "commit": "88b4f0133881c8a1f21d12c544960e291be12a3d"
39
+ },
40
+ {
41
+ "author": "beachball",
42
+ "package": "@fluentui/react-button",
43
+ "comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlybd3e92b51920211126.1",
44
+ "commit": "88b4f0133881c8a1f21d12c544960e291be12a3d"
45
+ }
46
+ ]
47
+ }
48
+ },
49
+ {
50
+ "date": "Thu, 25 Nov 2021 08:34:12 GMT",
51
+ "tag": "@fluentui/react-button_v9.0.0-beta.5",
52
+ "version": "9.0.0-beta.5",
53
+ "comments": {
54
+ "prerelease": [
55
+ {
56
+ "author": "Humberto.Morimoto@microsoft.com",
57
+ "package": "@fluentui/react-button",
58
+ "commit": "8825574c42f414c26f9d49238be02ca7dcb44cfe",
59
+ "comment": "MenuButton: Removing tight coupling with Menu by replicating type locally."
60
+ },
61
+ {
62
+ "author": "ololubek@microsoft.com",
63
+ "package": "@fluentui/react-button",
64
+ "commit": "ecab13cfd6ac22657020db8f86eb89f952b0f953",
65
+ "comment": "update react-icons dependency"
66
+ },
67
+ {
68
+ "author": "beachball",
69
+ "package": "@fluentui/react-button",
70
+ "comment": "Bump @fluentui/react-aria to v9.0.0-beta.4",
71
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
72
+ },
73
+ {
74
+ "author": "beachball",
12
75
  "package": "@fluentui/react-button",
13
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d",
14
- "comment": "Release nightly v9"
76
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.4",
77
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
15
78
  },
79
+ {
80
+ "author": "beachball",
81
+ "package": "@fluentui/react-button",
82
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-beta.5",
83
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
84
+ },
85
+ {
86
+ "author": "beachball",
87
+ "package": "@fluentui/react-button",
88
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.4",
89
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
90
+ },
91
+ {
92
+ "author": "beachball",
93
+ "package": "@fluentui/react-button",
94
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.4",
95
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
96
+ },
97
+ {
98
+ "author": "beachball",
99
+ "package": "@fluentui/react-button",
100
+ "comment": "Bump @fluentui/jest-serializer-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-conformance-make-styles to v9.0.0-beta.4",
107
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
108
+ }
109
+ ]
110
+ }
111
+ },
112
+ {
113
+ "date": "Fri, 12 Nov 2021 13:25:16 GMT",
114
+ "tag": "@fluentui/react-button_v9.0.0-beta.4",
115
+ "version": "9.0.0-beta.4",
116
+ "comments": {
117
+ "prerelease": [
16
118
  {
17
119
  "author": "olfedias@microsoft.com",
18
120
  "package": "@fluentui/react-button",
@@ -40,64 +142,76 @@
40
142
  {
41
143
  "author": "beachball",
42
144
  "package": "@fluentui/react-button",
43
- "comment": "Bump @fluentui/keyboard-keys to v0.0.0-nightlybc5ff01fb020211104.1",
44
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
145
+ "comment": "Bump @fluentui/react-aria to v9.0.0-beta.3",
146
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
45
147
  },
46
148
  {
47
149
  "author": "beachball",
48
150
  "package": "@fluentui/react-button",
49
- "comment": "Bump @fluentui/react-aria to v0.0.0-nightlybc5ff01fb020211104.1",
50
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
151
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.3",
152
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
51
153
  },
52
154
  {
53
155
  "author": "beachball",
54
156
  "package": "@fluentui/react-button",
55
- "comment": "Bump @fluentui/react-make-styles to v0.0.0-nightlybc5ff01fb020211104.1",
56
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
157
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-beta.4",
158
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
57
159
  },
58
160
  {
59
161
  "author": "beachball",
60
162
  "package": "@fluentui/react-button",
61
- "comment": "Bump @fluentui/react-tabster to v0.0.0-nightlybc5ff01fb020211104.1",
62
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
163
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.3",
164
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
63
165
  },
64
166
  {
65
167
  "author": "beachball",
66
168
  "package": "@fluentui/react-button",
67
- "comment": "Bump @fluentui/react-utilities to v0.0.0-nightlybc5ff01fb020211104.1",
68
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
169
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.3",
170
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
69
171
  },
70
172
  {
71
173
  "author": "beachball",
72
174
  "package": "@fluentui/react-button",
73
- "comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightlybc5ff01fb020211104.1",
74
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
175
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3",
176
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
75
177
  },
76
178
  {
77
179
  "author": "beachball",
78
180
  "package": "@fluentui/react-button",
79
- "comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlybc5ff01fb020211104.1",
80
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
181
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3",
182
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
81
183
  },
82
184
  {
83
185
  "author": "beachball",
84
186
  "package": "@fluentui/react-button",
85
- "comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlybc5ff01fb020211104.1",
86
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
87
- },
88
- {
89
- "author": "beachball",
90
- "package": "@fluentui/react-button",
91
- "comment": "Bump @fluentui/react-menu to v0.0.0-nightlybc5ff01fb020211104.1",
92
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
187
+ "comment": "Bump @fluentui/react-menu to v9.0.0-beta.4",
188
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
93
189
  }
94
190
  ],
95
191
  "none": [
192
+ {
193
+ "author": "mgodbolt@microsoft.com",
194
+ "package": "@fluentui/react-button",
195
+ "commit": "d28932cc68561cf46a56a4300b6e18d7de8af14b",
196
+ "comment": "adding toggle and split button docs"
197
+ },
96
198
  {
97
199
  "author": "mgodbolt@microsoft.com",
98
200
  "package": "@fluentui/react-button",
99
201
  "commit": "7fafe76eb2c09f9d17a03c11ba73729d91ef411e",
100
202
  "comment": "update docs descriptions"
203
+ },
204
+ {
205
+ "author": "mgodbolt@microsoft.com",
206
+ "package": "@fluentui/react-button",
207
+ "commit": "73857e89e8c403370ba723415121f2ce1e530fff",
208
+ "comment": "add docs for menu and compound button"
209
+ },
210
+ {
211
+ "author": "lingfangao@hotmail.com",
212
+ "package": "@fluentui/react-button",
213
+ "commit": "00f70581480b536e723fb69edf0ae617beac4807",
214
+ "comment": "Remove beta release tag"
101
215
  }
102
216
  ]
103
217
  }
package/CHANGELOG.md CHANGED
@@ -1,30 +1,59 @@
1
1
  # Change Log - @fluentui/react-button
2
2
 
3
- This log was last generated on Thu, 04 Nov 2021 04:20:32 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 26 Nov 2021 04:15:39 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-button_v0.0.0-nightlybc5ff01fb020211104.1)
7
+ ## [0.0.0-nightlybd3e92b51920211126.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-button_v0.0.0-nightlybd3e92b51920211126.1)
8
8
 
9
- Thu, 04 Nov 2021 04:20:32 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-button_v9.0.0-beta.3..@fluentui/react-button_v0.0.0-nightlybc5ff01fb020211104.1)
9
+ Fri, 26 Nov 2021 04:15:39 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-button_v9.0.0-beta.5..@fluentui/react-button_v0.0.0-nightlybd3e92b51920211126.1)
11
+
12
+ ### Changes
13
+
14
+ - Bump @fluentui/react-aria to v0.0.0-nightlybd3e92b51920211126.1 ([commit](https://github.com/microsoft/fluentui/commit/88b4f0133881c8a1f21d12c544960e291be12a3d) by beachball)
15
+ - Bump @fluentui/react-make-styles to v0.0.0-nightlybd3e92b51920211126.1 ([commit](https://github.com/microsoft/fluentui/commit/88b4f0133881c8a1f21d12c544960e291be12a3d) by beachball)
16
+ - Bump @fluentui/react-tabster to v0.0.0-nightlybd3e92b51920211126.1 ([commit](https://github.com/microsoft/fluentui/commit/88b4f0133881c8a1f21d12c544960e291be12a3d) by beachball)
17
+ - Bump @fluentui/babel-make-styles to v0.0.0-nightlybd3e92b51920211126.1 ([commit](https://github.com/microsoft/fluentui/commit/88b4f0133881c8a1f21d12c544960e291be12a3d) by beachball)
18
+ - Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlybd3e92b51920211126.1 ([commit](https://github.com/microsoft/fluentui/commit/88b4f0133881c8a1f21d12c544960e291be12a3d) by beachball)
19
+ - Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlybd3e92b51920211126.1 ([commit](https://github.com/microsoft/fluentui/commit/88b4f0133881c8a1f21d12c544960e291be12a3d) by beachball)
20
+
21
+ ## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-button_v9.0.0-beta.5)
22
+
23
+ Thu, 25 Nov 2021 08:34:12 GMT
24
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-button_v9.0.0-beta.4..@fluentui/react-button_v9.0.0-beta.5)
25
+
26
+ ### Changes
27
+
28
+ - MenuButton: Removing tight coupling with Menu by replicating type locally. ([PR #20635](https://github.com/microsoft/fluentui/pull/20635) by Humberto.Morimoto@microsoft.com)
29
+ - update react-icons dependency ([PR #20563](https://github.com/microsoft/fluentui/pull/20563) by ololubek@microsoft.com)
30
+ - Bump @fluentui/react-aria to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
31
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
32
+ - Bump @fluentui/react-tabster to v9.0.0-beta.5 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
33
+ - Bump @fluentui/react-utilities to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
34
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
35
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
36
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
37
+
38
+ ## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-button_v9.0.0-beta.4)
39
+
40
+ Fri, 12 Nov 2021 13:25:16 GMT
41
+ [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
42
 
12
43
  ### Changes
13
44
 
14
- - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/112d5b8815c25532184ed7c1407ba9a777e2f48d) by email not defined)
15
45
  - export static classes for components ([PR #20454](https://github.com/microsoft/fluentui/pull/20454) by olfedias@microsoft.com)
16
46
  - Updated beta and RC components to ES2019 ([PR #20405](https://github.com/microsoft/fluentui/pull/20405) by gcox@microsoft.com)
17
47
  - 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
48
  - Fixing incomplete comment. ([PR #20273](https://github.com/microsoft/fluentui/pull/20273) by Humberto.Morimoto@microsoft.com)
19
- - Bump @fluentui/keyboard-keys to v0.0.0-nightlybc5ff01fb020211104.1 ([commit](https://github.com/microsoft/fluentui/commit/112d5b8815c25532184ed7c1407ba9a777e2f48d) by beachball)
20
- - Bump @fluentui/react-aria to v0.0.0-nightlybc5ff01fb020211104.1 ([commit](https://github.com/microsoft/fluentui/commit/112d5b8815c25532184ed7c1407ba9a777e2f48d) by beachball)
21
- - Bump @fluentui/react-make-styles to v0.0.0-nightlybc5ff01fb020211104.1 ([commit](https://github.com/microsoft/fluentui/commit/112d5b8815c25532184ed7c1407ba9a777e2f48d) by beachball)
22
- - Bump @fluentui/react-tabster to v0.0.0-nightlybc5ff01fb020211104.1 ([commit](https://github.com/microsoft/fluentui/commit/112d5b8815c25532184ed7c1407ba9a777e2f48d) by beachball)
23
- - Bump @fluentui/react-utilities to v0.0.0-nightlybc5ff01fb020211104.1 ([commit](https://github.com/microsoft/fluentui/commit/112d5b8815c25532184ed7c1407ba9a777e2f48d) by beachball)
24
- - Bump @fluentui/babel-make-styles to v0.0.0-nightlybc5ff01fb020211104.1 ([commit](https://github.com/microsoft/fluentui/commit/112d5b8815c25532184ed7c1407ba9a777e2f48d) by beachball)
25
- - Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlybc5ff01fb020211104.1 ([commit](https://github.com/microsoft/fluentui/commit/112d5b8815c25532184ed7c1407ba9a777e2f48d) by beachball)
26
- - Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlybc5ff01fb020211104.1 ([commit](https://github.com/microsoft/fluentui/commit/112d5b8815c25532184ed7c1407ba9a777e2f48d) by beachball)
27
- - Bump @fluentui/react-menu to v0.0.0-nightlybc5ff01fb020211104.1 ([commit](https://github.com/microsoft/fluentui/commit/112d5b8815c25532184ed7c1407ba9a777e2f48d) by beachball)
49
+ - Bump @fluentui/react-aria to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
50
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
51
+ - Bump @fluentui/react-tabster to v9.0.0-beta.4 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
52
+ - Bump @fluentui/react-utilities to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
53
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
54
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
55
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
56
+ - Bump @fluentui/react-menu to v9.0.0-beta.4 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
28
57
 
29
58
  ## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-button_v9.0.0-beta.3)
30
59
 
@@ -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
  */
@@ -271,7 +271,7 @@ const useRootFocusStyles = /*#__PURE__*/__styles({
271
271
  "B32s92o": "f4mghqd",
272
272
  "B5hngm5": "fhcq1yo",
273
273
  "Bh48x57": "f19j8a82",
274
- "D4py6b": ["f9ycirn", "fj27422"],
274
+ "D4py6b": "f9ycirn",
275
275
  "Bgwpjed": "fpt6wn7"
276
276
  },
277
277
  "circular": {
@@ -285,7 +285,7 @@ const useRootFocusStyles = /*#__PURE__*/__styles({
285
285
  "Jopkrh": ["fhoxsto", "f19qf7vm"],
286
286
  "hhrs2v": "f1tl0rof",
287
287
  "B7jbng7": ["f19qf7vm", "fhoxsto"],
288
- "D4py6b": ["f15m8qn2", "f5p9mqa"]
288
+ "D4py6b": "f15m8qn2"
289
289
  },
290
290
  "square": {
291
291
  "B486eqv": "f2hkw1w",
@@ -305,7 +305,7 @@ const useRootFocusStyles = /*#__PURE__*/__styles({
305
305
  }
306
306
  }, {
307
307
  "i": [".f2hkw1w:focus-visible{outline-style:none;}"],
308
- "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] .f4mghqd:focus{outline-width:2px;}", "[data-keyboard-nav] .fhcq1yo:focus{outline-style:solid;}", "[data-keyboard-nav] .f19j8a82:focus{outline-color:transparent;}", "[data-keyboard-nav] .f9ycirn:focus{box-shadow:var(--shadow4),0 0 0 2px var(--colorStrokeFocus2);}", "[data-keyboard-nav] .fj27422:focus{box-shadow:var(--shadow-4),0 0 0 2px var(--colorStrokeFocus2);}", "[data-keyboard-nav] .fpt6wn7:focus{z-index:1;}", "[data-keyboard-nav] .f6dohij:focus{border-radius:var(--borderRadiusCircular);}", "[data-keyboard-nav] .fbugrqt:focus{border-top-color:var(--colorNeutralForegroundOnBrand);}", "[data-keyboard-nav] .fhoxsto:focus{border-right-color:var(--colorNeutralForegroundOnBrand);}", "[data-keyboard-nav] .f19qf7vm:focus{border-left-color:var(--colorNeutralForegroundOnBrand);}", "[data-keyboard-nav] .f1tl0rof:focus{border-bottom-color:var(--colorNeutralForegroundOnBrand);}", "[data-keyboard-nav] .f15m8qn2:focus{box-shadow:var(--shadow2),0 0 0 2px var(--colorStrokeFocus2);}", "[data-keyboard-nav] .f5p9mqa:focus{box-shadow:var(--shadow-2),0 0 0 2px var(--colorStrokeFocus2);}", "[data-keyboard-nav] .f1x6jsgk:focus{border-radius:var(--borderRadiusNone);}", "[data-keyboard-nav] .f1cqgkc0:focus{border-radius:var(--borderRadiusSmall);}", "[data-keyboard-nav] .fhf9ij9:focus{border-radius:var(--borderRadiusMedium);}", "[data-keyboard-nav] .fnsjjqm:focus{border-radius:var(--borderRadiusLarge);}"]
308
+ "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] .f4mghqd:focus{outline-width:2px;}", "[data-keyboard-nav] .fhcq1yo:focus{outline-style:solid;}", "[data-keyboard-nav] .f19j8a82:focus{outline-color:transparent;}", "[data-keyboard-nav] .f9ycirn:focus{box-shadow:var(--shadow4),0 0 0 2px var(--colorStrokeFocus2);}", "[data-keyboard-nav] .fpt6wn7:focus{z-index:1;}", "[data-keyboard-nav] .f6dohij:focus{border-radius:var(--borderRadiusCircular);}", "[data-keyboard-nav] .fbugrqt:focus{border-top-color:var(--colorNeutralForegroundOnBrand);}", "[data-keyboard-nav] .fhoxsto:focus{border-right-color:var(--colorNeutralForegroundOnBrand);}", "[data-keyboard-nav] .f19qf7vm:focus{border-left-color:var(--colorNeutralForegroundOnBrand);}", "[data-keyboard-nav] .f1tl0rof:focus{border-bottom-color:var(--colorNeutralForegroundOnBrand);}", "[data-keyboard-nav] .f15m8qn2:focus{box-shadow:var(--shadow2),0 0 0 2px var(--colorStrokeFocus2);}", "[data-keyboard-nav] .f1x6jsgk:focus{border-radius:var(--borderRadiusNone);}", "[data-keyboard-nav] .f1cqgkc0:focus{border-radius:var(--borderRadiusSmall);}", "[data-keyboard-nav] .fhf9ij9:focus{border-radius:var(--borderRadiusMedium);}", "[data-keyboard-nav] .fnsjjqm:focus{border-radius:var(--borderRadiusLarge);}"]
309
309
  });
310
310
 
311
311
  const useRootIconOnlyStyles = /*#__PURE__*/__styles({
@@ -1,6 +1,9 @@
1
- import type { MenuTriggerChildProps } from '@fluentui/react-menu';
1
+ import * as React from 'react';
2
2
  import type { ComponentProps, ComponentState, IntrinsicShorthandProps } from '@fluentui/react-utilities';
3
3
  import type { ButtonCommons, ButtonSlots, ButtonState } from '../Button/Button.types';
4
+ declare type MenuTriggerChildProps = Pick<React.HTMLAttributes<HTMLElement>, 'onClick' | 'onMouseEnter' | 'onMouseLeave' | 'onContextMenu' | 'onKeyDown' | 'aria-haspopup' | 'aria-expanded' | 'id'> & {
5
+ ref?: React.Ref<never>;
6
+ };
4
7
  export declare type MenuButtonSlots = ButtonSlots & {
5
8
  /**
6
9
  * Menu icon that indicates that this button has a menu that can be expanded.
@@ -9,3 +12,4 @@ export declare type MenuButtonSlots = ButtonSlots & {
9
12
  };
10
13
  export declare type MenuButtonProps = ComponentProps<MenuButtonSlots> & Partial<Omit<ButtonCommons, 'iconPosition'>> & Partial<MenuTriggerChildProps>;
11
14
  export declare type MenuButtonState = ComponentState<MenuButtonSlots> & Omit<ButtonState, keyof ButtonSlots | 'components' | 'iconPosition'>;
15
+ export {};
@@ -280,7 +280,7 @@ const useRootFocusStyles = /*#__PURE__*/react_make_styles_1.__styles({
280
280
  "B32s92o": "f4mghqd",
281
281
  "B5hngm5": "fhcq1yo",
282
282
  "Bh48x57": "f19j8a82",
283
- "D4py6b": ["f9ycirn", "fj27422"],
283
+ "D4py6b": "f9ycirn",
284
284
  "Bgwpjed": "fpt6wn7"
285
285
  },
286
286
  "circular": {
@@ -294,7 +294,7 @@ const useRootFocusStyles = /*#__PURE__*/react_make_styles_1.__styles({
294
294
  "Jopkrh": ["fhoxsto", "f19qf7vm"],
295
295
  "hhrs2v": "f1tl0rof",
296
296
  "B7jbng7": ["f19qf7vm", "fhoxsto"],
297
- "D4py6b": ["f15m8qn2", "f5p9mqa"]
297
+ "D4py6b": "f15m8qn2"
298
298
  },
299
299
  "square": {
300
300
  "B486eqv": "f2hkw1w",
@@ -314,7 +314,7 @@ const useRootFocusStyles = /*#__PURE__*/react_make_styles_1.__styles({
314
314
  }
315
315
  }, {
316
316
  "i": [".f2hkw1w:focus-visible{outline-style:none;}"],
317
- "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] .f4mghqd:focus{outline-width:2px;}", "[data-keyboard-nav] .fhcq1yo:focus{outline-style:solid;}", "[data-keyboard-nav] .f19j8a82:focus{outline-color:transparent;}", "[data-keyboard-nav] .f9ycirn:focus{box-shadow:var(--shadow4),0 0 0 2px var(--colorStrokeFocus2);}", "[data-keyboard-nav] .fj27422:focus{box-shadow:var(--shadow-4),0 0 0 2px var(--colorStrokeFocus2);}", "[data-keyboard-nav] .fpt6wn7:focus{z-index:1;}", "[data-keyboard-nav] .f6dohij:focus{border-radius:var(--borderRadiusCircular);}", "[data-keyboard-nav] .fbugrqt:focus{border-top-color:var(--colorNeutralForegroundOnBrand);}", "[data-keyboard-nav] .fhoxsto:focus{border-right-color:var(--colorNeutralForegroundOnBrand);}", "[data-keyboard-nav] .f19qf7vm:focus{border-left-color:var(--colorNeutralForegroundOnBrand);}", "[data-keyboard-nav] .f1tl0rof:focus{border-bottom-color:var(--colorNeutralForegroundOnBrand);}", "[data-keyboard-nav] .f15m8qn2:focus{box-shadow:var(--shadow2),0 0 0 2px var(--colorStrokeFocus2);}", "[data-keyboard-nav] .f5p9mqa:focus{box-shadow:var(--shadow-2),0 0 0 2px var(--colorStrokeFocus2);}", "[data-keyboard-nav] .f1x6jsgk:focus{border-radius:var(--borderRadiusNone);}", "[data-keyboard-nav] .f1cqgkc0:focus{border-radius:var(--borderRadiusSmall);}", "[data-keyboard-nav] .fhf9ij9:focus{border-radius:var(--borderRadiusMedium);}", "[data-keyboard-nav] .fnsjjqm:focus{border-radius:var(--borderRadiusLarge);}"]
317
+ "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] .f4mghqd:focus{outline-width:2px;}", "[data-keyboard-nav] .fhcq1yo:focus{outline-style:solid;}", "[data-keyboard-nav] .f19j8a82:focus{outline-color:transparent;}", "[data-keyboard-nav] .f9ycirn:focus{box-shadow:var(--shadow4),0 0 0 2px var(--colorStrokeFocus2);}", "[data-keyboard-nav] .fpt6wn7:focus{z-index:1;}", "[data-keyboard-nav] .f6dohij:focus{border-radius:var(--borderRadiusCircular);}", "[data-keyboard-nav] .fbugrqt:focus{border-top-color:var(--colorNeutralForegroundOnBrand);}", "[data-keyboard-nav] .fhoxsto:focus{border-right-color:var(--colorNeutralForegroundOnBrand);}", "[data-keyboard-nav] .f19qf7vm:focus{border-left-color:var(--colorNeutralForegroundOnBrand);}", "[data-keyboard-nav] .f1tl0rof:focus{border-bottom-color:var(--colorNeutralForegroundOnBrand);}", "[data-keyboard-nav] .f15m8qn2:focus{box-shadow:var(--shadow2),0 0 0 2px var(--colorStrokeFocus2);}", "[data-keyboard-nav] .f1x6jsgk:focus{border-radius:var(--borderRadiusNone);}", "[data-keyboard-nav] .f1cqgkc0:focus{border-radius:var(--borderRadiusSmall);}", "[data-keyboard-nav] .fhf9ij9:focus{border-radius:var(--borderRadiusMedium);}", "[data-keyboard-nav] .fnsjjqm:focus{border-radius:var(--borderRadiusLarge);}"]
318
318
  });
319
319
 
320
320
  const useRootIconOnlyStyles = /*#__PURE__*/react_make_styles_1.__styles({
@@ -1,6 +1,9 @@
1
- import type { MenuTriggerChildProps } from '@fluentui/react-menu';
1
+ import * as React from 'react';
2
2
  import type { ComponentProps, ComponentState, IntrinsicShorthandProps } from '@fluentui/react-utilities';
3
3
  import type { ButtonCommons, ButtonSlots, ButtonState } from '../Button/Button.types';
4
+ declare type MenuTriggerChildProps = Pick<React.HTMLAttributes<HTMLElement>, 'onClick' | 'onMouseEnter' | 'onMouseLeave' | 'onContextMenu' | 'onKeyDown' | 'aria-haspopup' | 'aria-expanded' | 'id'> & {
5
+ ref?: React.Ref<never>;
6
+ };
4
7
  export declare type MenuButtonSlots = ButtonSlots & {
5
8
  /**
6
9
  * Menu icon that indicates that this button has a menu that can be expanded.
@@ -9,3 +12,4 @@ export declare type MenuButtonSlots = ButtonSlots & {
9
12
  };
10
13
  export declare type MenuButtonProps = ComponentProps<MenuButtonSlots> & Partial<Omit<ButtonCommons, 'iconPosition'>> & Partial<MenuTriggerChildProps>;
11
14
  export declare type MenuButtonState = ComponentState<MenuButtonSlots> & Omit<ButtonState, keyof ButtonSlots | 'components' | 'iconPosition'>;
15
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-button",
3
- "version": "0.0.0-nightlybc5ff01fb020211104.1",
3
+ "version": "0.0.0-nightlybd3e92b51920211126.1",
4
4
  "description": "Fluent UI React Button component.",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -26,12 +26,11 @@
26
26
  },
27
27
  "devDependencies": {
28
28
  "@fluentui/a11y-testing": "^0.1.0",
29
- "@fluentui/babel-make-styles": "0.0.0-nightlybc5ff01fb020211104.1",
29
+ "@fluentui/babel-make-styles": "0.0.0-nightlybd3e92b51920211126.1",
30
30
  "@fluentui/eslint-plugin": "*",
31
- "@fluentui/jest-serializer-make-styles": "0.0.0-nightlybc5ff01fb020211104.1",
31
+ "@fluentui/jest-serializer-make-styles": "0.0.0-nightlybd3e92b51920211126.1",
32
32
  "@fluentui/react-conformance": "*",
33
- "@fluentui/react-conformance-make-styles": "0.0.0-nightlybc5ff01fb020211104.1",
34
- "@fluentui/react-menu": "0.0.0-nightlybc5ff01fb020211104.1",
33
+ "@fluentui/react-conformance-make-styles": "0.0.0-nightlybd3e92b51920211126.1",
35
34
  "@fluentui/scripts": "^1.0.0",
36
35
  "@types/enzyme": "3.10.3",
37
36
  "@types/enzyme-adapter-react-16": "1.0.3",
@@ -45,12 +44,12 @@
45
44
  "react-test-renderer": "^16.3.0"
46
45
  },
47
46
  "dependencies": {
48
- "@fluentui/keyboard-keys": "0.0.0-nightlybc5ff01fb020211104.1",
49
- "@fluentui/react-aria": "0.0.0-nightlybc5ff01fb020211104.1",
50
- "@fluentui/react-icons": "^1.1.140",
51
- "@fluentui/react-make-styles": "0.0.0-nightlybc5ff01fb020211104.1",
52
- "@fluentui/react-tabster": "0.0.0-nightlybc5ff01fb020211104.1",
53
- "@fluentui/react-utilities": "0.0.0-nightlybc5ff01fb020211104.1",
47
+ "@fluentui/keyboard-keys": "0.0.0-nightlybd3e92b51920211126.0",
48
+ "@fluentui/react-aria": "0.0.0-nightlybd3e92b51920211126.1",
49
+ "@fluentui/react-icons": "^2.0.152-beta.3",
50
+ "@fluentui/react-make-styles": "0.0.0-nightlybd3e92b51920211126.1",
51
+ "@fluentui/react-tabster": "0.0.0-nightlybd3e92b51920211126.1",
52
+ "@fluentui/react-utilities": "0.0.0-nightlybd3e92b51920211126.0",
54
53
  "tslib": "^2.1.0"
55
54
  },
56
55
  "peerDependencies": {
@@ -60,7 +59,6 @@
60
59
  "react-dom": ">=16.8.0 <18.0.0"
61
60
  },
62
61
  "beachball": {
63
- "tag": "beta",
64
62
  "disallowedChangeTypes": [
65
63
  "major",
66
64
  "minor",