@fluentui/react-aria 9.0.0-nightly.d730088d7f.0 → 9.0.0-rc.10

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.md CHANGED
@@ -1,26 +1,145 @@
1
1
  # Change Log - @fluentui/react-aria
2
2
 
3
- This log was last generated on Wed, 20 Oct 2021 09:19:30 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 31 May 2022 21:26:44 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [9.0.0-nightly.d730088d7f.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-nightly.d730088d7f.0)
7
+ ## [9.0.0-rc.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-rc.10)
8
8
 
9
- Wed, 20 Oct 2021 09:19:30 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-beta.1..@fluentui/react-aria_v9.0.0-nightly.d730088d7f.0)
9
+ Tue, 31 May 2022 21:26:44 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-rc.9..@fluentui/react-aria_v9.0.0-rc.10)
11
11
 
12
12
  ### Changes
13
13
 
14
- - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/ec40cc4bf5af48d100161d7fc692fa8624507dee) by email not defined)
15
- - added styling of documentation ([commit](https://github.com/microsoft/fluentui/commit/ec40cc4bf5af48d100161d7fc692fa8624507dee) by peter@draxler.ml)
16
- - Bump @fluentui/keyboard-keys to v9.0.0-nightly.d730088d7f.0 ([commit](https://github.com/microsoft/fluentui/commit/ec40cc4bf5af48d100161d7fc692fa8624507dee) by beachball)
17
- - Bump @fluentui/react-make-styles to v9.0.0-nightly.d730088d7f.0 ([commit](https://github.com/microsoft/fluentui/commit/ec40cc4bf5af48d100161d7fc692fa8624507dee) by beachball)
18
- - Bump @fluentui/react-utilities to v9.0.0-nightly.d730088d7f.0 ([commit](https://github.com/microsoft/fluentui/commit/ec40cc4bf5af48d100161d7fc692fa8624507dee) by beachball)
19
- - Bump @fluentui/jest-serializer-make-styles to v9.0.0-nightly.d730088d7f.0 ([commit](https://github.com/microsoft/fluentui/commit/ec40cc4bf5af48d100161d7fc692fa8624507dee) by beachball)
14
+ - Bump @fluentui/react-utilities to v9.0.0-rc.10 ([PR #23325](https://github.com/microsoft/fluentui/pull/23325) by beachball)
15
+
16
+ ## [9.0.0-rc.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-rc.9)
17
+
18
+ Mon, 23 May 2022 12:14:24 GMT
19
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-rc.8..@fluentui/react-aria_v9.0.0-rc.9)
20
+
21
+ ### Changes
22
+
23
+ - Bump @fluentui/react-utilities to v9.0.0-rc.9 ([PR #23030](https://github.com/microsoft/fluentui/pull/23030) by beachball)
24
+
25
+ ## [9.0.0-rc.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-rc.8)
26
+
27
+ Thu, 05 May 2022 18:26:28 GMT
28
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-rc.7..@fluentui/react-aria_v9.0.0-rc.8)
29
+
30
+ ### Changes
31
+
32
+ - Removing star exports. ([PR #22798](https://github.com/microsoft/fluentui/pull/22798) by humberto_makoto@hotmail.com)
33
+ - feat: ship rolluped only dts ([PR #22823](https://github.com/microsoft/fluentui/pull/22823) by martinhochel@microsoft.com)
34
+ - Bump @fluentui/keyboard-keys to v9.0.0-rc.6 ([PR #22857](https://github.com/microsoft/fluentui/pull/22857) by beachball)
35
+ - Bump @fluentui/react-utilities to v9.0.0-rc.8 ([PR #22857](https://github.com/microsoft/fluentui/pull/22857) by beachball)
36
+
37
+ ## [9.0.0-rc.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-rc.7)
38
+
39
+ Wed, 04 May 2022 13:26:37 GMT
40
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-rc.6..@fluentui/react-aria_v9.0.0-rc.7)
41
+
42
+ ### Changes
43
+
44
+ - Bump @fluentui/keyboard-keys to v9.0.0-rc.5 ([PR #22786](https://github.com/microsoft/fluentui/pull/22786) by beachball)
45
+ - Bump @fluentui/react-utilities to v9.0.0-rc.7 ([PR #22786](https://github.com/microsoft/fluentui/pull/22786) by beachball)
46
+
47
+ ## [9.0.0-rc.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-rc.6)
48
+
49
+ Tue, 19 Apr 2022 19:17:07 GMT
50
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-rc.5..@fluentui/react-aria_v9.0.0-rc.6)
51
+
52
+ ### Changes
53
+
54
+ - Bump @fluentui/react-utilities to v9.0.0-rc.6 ([PR #21995](https://github.com/microsoft/fluentui/pull/21995) by beachball)
55
+
56
+ ## [9.0.0-rc.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-rc.5)
57
+
58
+ Fri, 04 Mar 2022 05:17:33 GMT
59
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-rc.4..@fluentui/react-aria_v9.0.0-rc.5)
60
+
61
+ ### Changes
62
+
63
+ - Adding explicit export maps on all consumer packages for FUIR 8 and 9. ([PR #21508](https://github.com/microsoft/fluentui/pull/21508) by dzearing@microsoft.com)
64
+ - Bump @fluentui/keyboard-keys to v9.0.0-rc.4 ([PR #21947](https://github.com/microsoft/fluentui/pull/21947) by beachball)
65
+ - Bump @fluentui/react-utilities to v9.0.0-rc.5 ([PR #21947](https://github.com/microsoft/fluentui/pull/21947) by beachball)
66
+
67
+ ## [9.0.0-rc.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-rc.4)
68
+
69
+ Tue, 01 Mar 2022 02:17:40 GMT
70
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-rc.3..@fluentui/react-aria_v9.0.0-rc.4)
71
+
72
+ ### Changes
73
+
74
+ - Bump @fluentui/react-utilities to v9.0.0-rc.4 ([PR #21884](https://github.com/microsoft/fluentui/pull/21884) by beachball)
75
+
76
+ ## [9.0.0-rc.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-rc.3)
77
+
78
+ Fri, 18 Feb 2022 13:35:38 GMT
79
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-rc.1..@fluentui/react-aria_v9.0.0-rc.3)
80
+
81
+ ### Changes
82
+
83
+ - fix: Source maps contain original source code ([PR #21690](https://github.com/microsoft/fluentui/pull/21690) by lingfangao@hotmail.com)
84
+ - Fixing issue in useAriaButton where passing disabledFocusable=false caused aria-disabled to be set to false and appear in DOM instead of just be undefined for that element. ([PR #21703](https://github.com/microsoft/fluentui/pull/21703) by Humberto.Morimoto@microsoft.com)
85
+ - Bump @fluentui/keyboard-keys to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
86
+ - Bump @fluentui/react-utilities to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
87
+
88
+ ## [9.0.0-rc.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-rc.1)
89
+
90
+ Thu, 10 Feb 2022 08:52:17 GMT
91
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-beta.4..@fluentui/react-aria_v9.0.0-rc.1)
92
+
93
+ ### Changes
94
+
95
+ - remove Griffel packages ([PR #21440](https://github.com/microsoft/fluentui/pull/21440) by olfedias@microsoft.com)
96
+ - Bump Fluent UI packages to 9.0.0-rc ([PR #21623](https://github.com/microsoft/fluentui/pull/21623) by lingfangao@hotmail.com)
97
+ - Updating based on changes to composition types. ([PR #20891](https://github.com/microsoft/fluentui/pull/20891) by Humberto.Morimoto@microsoft.com)
98
+ - Refactor component Slot typings ([PR #21518](https://github.com/microsoft/fluentui/pull/21518) by behowell@microsoft.com)
99
+ - Remove component's shorthandProps array ([PR #21134](https://github.com/microsoft/fluentui/pull/21134) by behowell@microsoft.com)
100
+ - Bump @fluentui/keyboard-keys to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
101
+ - Bump @fluentui/react-utilities to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
102
+
103
+ ## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-beta.4)
104
+
105
+ Thu, 25 Nov 2021 08:34:10 GMT
106
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-beta.3..@fluentui/react-aria_v9.0.0-beta.4)
107
+
108
+ ### Changes
109
+
110
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
111
+ - Bump @fluentui/react-utilities to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
112
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
113
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
114
+
115
+ ## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-beta.3)
116
+
117
+ Fri, 12 Nov 2021 13:25:13 GMT
118
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-beta.2..@fluentui/react-aria_v9.0.0-beta.3)
119
+
120
+ ### Changes
121
+
122
+ - Fixing events being fired when button is disabledFocusable ([PR #20342](https://github.com/microsoft/fluentui/pull/20342) by Humberto.Morimoto@microsoft.com)
123
+ - Updated beta and RC components to ES2019 ([PR #20405](https://github.com/microsoft/fluentui/pull/20405) by gcox@microsoft.com)
124
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
125
+ - Bump @fluentui/react-utilities to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
126
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
127
+
128
+ ## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-beta.2)
129
+
130
+ Wed, 27 Oct 2021 12:14:13 GMT
131
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-beta.1..@fluentui/react-aria_v9.0.0-beta.2)
132
+
133
+ ### Changes
134
+
135
+ - added styling of documentation ([PR #20193](https://github.com/microsoft/fluentui/pull/20193) by peter@draxler.ml)
136
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
137
+ - Bump @fluentui/react-utilities to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
138
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
20
139
 
21
140
  ## [9.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-beta.1)
22
141
 
23
- Wed, 06 Oct 2021 10:37:22 GMT
142
+ Wed, 06 Oct 2021 10:37:22 GMT
24
143
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.45..@fluentui/react-aria_v9.0.0-beta.1)
25
144
 
26
145
  ### Changes
@@ -33,7 +152,7 @@ Wed, 06 Oct 2021 10:37:22 GMT
33
152
 
34
153
  ## [9.0.0-alpha.45](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.45)
35
154
 
36
- Tue, 05 Oct 2021 12:47:58 GMT
155
+ Tue, 05 Oct 2021 12:47:58 GMT
37
156
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.44..@fluentui/react-aria_v9.0.0-alpha.45)
38
157
 
39
158
  ### Changes
@@ -43,7 +162,7 @@ Tue, 05 Oct 2021 12:47:58 GMT
43
162
 
44
163
  ## [9.0.0-alpha.44](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.44)
45
164
 
46
- Tue, 05 Oct 2021 09:28:07 GMT
165
+ Tue, 05 Oct 2021 09:28:07 GMT
47
166
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.43..@fluentui/react-aria_v9.0.0-alpha.44)
48
167
 
49
168
  ### Changes
@@ -54,7 +173,7 @@ Tue, 05 Oct 2021 09:28:07 GMT
54
173
 
55
174
  ## [9.0.0-alpha.43](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.43)
56
175
 
57
- Fri, 01 Oct 2021 14:13:08 GMT
176
+ Fri, 01 Oct 2021 14:13:08 GMT
58
177
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.41..@fluentui/react-aria_v9.0.0-alpha.43)
59
178
 
60
179
  ### Changes
@@ -67,7 +186,7 @@ Fri, 01 Oct 2021 14:13:08 GMT
67
186
 
68
187
  ## [9.0.0-alpha.41](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.41)
69
188
 
70
- Fri, 01 Oct 2021 12:30:46 GMT
189
+ Fri, 01 Oct 2021 12:30:46 GMT
71
190
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.40..@fluentui/react-aria_v9.0.0-alpha.41)
72
191
 
73
192
  ### Changes
@@ -76,7 +195,7 @@ Fri, 01 Oct 2021 12:30:46 GMT
76
195
 
77
196
  ## [9.0.0-alpha.40](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.40)
78
197
 
79
- Wed, 29 Sep 2021 08:06:11 GMT
198
+ Wed, 29 Sep 2021 08:06:11 GMT
80
199
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.39..@fluentui/react-aria_v9.0.0-alpha.40)
81
200
 
82
201
  ### Changes
@@ -86,7 +205,7 @@ Wed, 29 Sep 2021 08:06:11 GMT
86
205
 
87
206
  ## [9.0.0-alpha.39](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.39)
88
207
 
89
- Mon, 27 Sep 2021 08:06:00 GMT
208
+ Mon, 27 Sep 2021 08:06:00 GMT
90
209
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.38..@fluentui/react-aria_v9.0.0-alpha.39)
91
210
 
92
211
  ### Changes
@@ -97,7 +216,7 @@ Mon, 27 Sep 2021 08:06:00 GMT
97
216
 
98
217
  ## [9.0.0-alpha.38](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.38)
99
218
 
100
- Fri, 24 Sep 2021 09:17:17 GMT
219
+ Fri, 24 Sep 2021 09:17:17 GMT
101
220
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.37..@fluentui/react-aria_v9.0.0-alpha.38)
102
221
 
103
222
  ### Changes
@@ -108,7 +227,7 @@ Fri, 24 Sep 2021 09:17:17 GMT
108
227
 
109
228
  ## [9.0.0-alpha.37](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.37)
110
229
 
111
- Thu, 23 Sep 2021 08:21:34 GMT
230
+ Thu, 23 Sep 2021 08:21:34 GMT
112
231
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.36..@fluentui/react-aria_v9.0.0-alpha.37)
113
232
 
114
233
  ### Changes
@@ -119,7 +238,7 @@ Thu, 23 Sep 2021 08:21:34 GMT
119
238
 
120
239
  ## [9.0.0-alpha.36](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.36)
121
240
 
122
- Wed, 22 Sep 2021 10:10:07 GMT
241
+ Wed, 22 Sep 2021 10:10:07 GMT
123
242
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.35..@fluentui/react-aria_v9.0.0-alpha.36)
124
243
 
125
244
  ### Changes
@@ -130,7 +249,7 @@ Wed, 22 Sep 2021 10:10:07 GMT
130
249
 
131
250
  ## [9.0.0-alpha.35](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.35)
132
251
 
133
- Tue, 21 Sep 2021 07:42:34 GMT
252
+ Tue, 21 Sep 2021 07:42:34 GMT
134
253
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.34..@fluentui/react-aria_v9.0.0-alpha.35)
135
254
 
136
255
  ### Changes
@@ -140,7 +259,7 @@ Tue, 21 Sep 2021 07:42:34 GMT
140
259
 
141
260
  ## [9.0.0-alpha.34](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.34)
142
261
 
143
- Mon, 20 Sep 2021 07:36:26 GMT
262
+ Mon, 20 Sep 2021 07:36:26 GMT
144
263
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.33..@fluentui/react-aria_v9.0.0-alpha.34)
145
264
 
146
265
  ### Changes
@@ -149,7 +268,7 @@ Mon, 20 Sep 2021 07:36:26 GMT
149
268
 
150
269
  ## [9.0.0-alpha.33](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.33)
151
270
 
152
- Fri, 17 Sep 2021 07:35:26 GMT
271
+ Fri, 17 Sep 2021 07:35:26 GMT
153
272
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.32..@fluentui/react-aria_v9.0.0-alpha.33)
154
273
 
155
274
  ### Changes
@@ -158,7 +277,7 @@ Fri, 17 Sep 2021 07:35:26 GMT
158
277
 
159
278
  ## [9.0.0-alpha.32](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.32)
160
279
 
161
- Thu, 16 Sep 2021 07:38:39 GMT
280
+ Thu, 16 Sep 2021 07:38:39 GMT
162
281
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.31..@fluentui/react-aria_v9.0.0-alpha.32)
163
282
 
164
283
  ### Changes
@@ -167,7 +286,7 @@ Thu, 16 Sep 2021 07:38:39 GMT
167
286
 
168
287
  ## [9.0.0-alpha.31](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.31)
169
288
 
170
- Tue, 14 Sep 2021 20:09:02 GMT
289
+ Tue, 14 Sep 2021 20:09:02 GMT
171
290
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.30..@fluentui/react-aria_v9.0.0-alpha.31)
172
291
 
173
292
  ### Changes
@@ -176,7 +295,7 @@ Tue, 14 Sep 2021 20:09:02 GMT
176
295
 
177
296
  ## [9.0.0-alpha.30](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.30)
178
297
 
179
- Tue, 14 Sep 2021 07:38:18 GMT
298
+ Tue, 14 Sep 2021 07:38:18 GMT
180
299
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.29..@fluentui/react-aria_v9.0.0-alpha.30)
181
300
 
182
301
  ### Changes
@@ -185,7 +304,7 @@ Tue, 14 Sep 2021 07:38:18 GMT
185
304
 
186
305
  ## [9.0.0-alpha.29](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.29)
187
306
 
188
- Fri, 10 Sep 2021 16:31:53 GMT
307
+ Fri, 10 Sep 2021 16:31:53 GMT
189
308
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.28..@fluentui/react-aria_v9.0.0-alpha.29)
190
309
 
191
310
  ### Changes
@@ -195,7 +314,7 @@ Fri, 10 Sep 2021 16:31:53 GMT
195
314
 
196
315
  ## [9.0.0-alpha.28](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.28)
197
316
 
198
- Fri, 10 Sep 2021 07:39:51 GMT
317
+ Fri, 10 Sep 2021 07:39:51 GMT
199
318
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.27..@fluentui/react-aria_v9.0.0-alpha.28)
200
319
 
201
320
  ### Changes
@@ -204,7 +323,7 @@ Fri, 10 Sep 2021 07:39:51 GMT
204
323
 
205
324
  ## [9.0.0-alpha.27](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.27)
206
325
 
207
- Mon, 06 Sep 2021 07:34:53 GMT
326
+ Mon, 06 Sep 2021 07:34:53 GMT
208
327
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.26..@fluentui/react-aria_v9.0.0-alpha.27)
209
328
 
210
329
  ### Changes
@@ -213,7 +332,7 @@ Mon, 06 Sep 2021 07:34:53 GMT
213
332
 
214
333
  ## [9.0.0-alpha.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.26)
215
334
 
216
- Thu, 02 Sep 2021 07:36:46 GMT
335
+ Thu, 02 Sep 2021 07:36:46 GMT
217
336
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.25..@fluentui/react-aria_v9.0.0-alpha.26)
218
337
 
219
338
  ### Patches
@@ -222,7 +341,7 @@ Thu, 02 Sep 2021 07:36:46 GMT
222
341
 
223
342
  ## [9.0.0-alpha.25](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.25)
224
343
 
225
- Wed, 01 Sep 2021 07:39:56 GMT
344
+ Wed, 01 Sep 2021 07:39:56 GMT
226
345
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.24..@fluentui/react-aria_v9.0.0-alpha.25)
227
346
 
228
347
  ### Changes
@@ -231,7 +350,7 @@ Wed, 01 Sep 2021 07:39:56 GMT
231
350
 
232
351
  ## [9.0.0-alpha.24](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.24)
233
352
 
234
- Tue, 31 Aug 2021 07:37:47 GMT
353
+ Tue, 31 Aug 2021 07:37:47 GMT
235
354
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.23..@fluentui/react-aria_v9.0.0-alpha.24)
236
355
 
237
356
  ### Changes
@@ -240,7 +359,7 @@ Tue, 31 Aug 2021 07:37:47 GMT
240
359
 
241
360
  ## [9.0.0-alpha.23](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.23)
242
361
 
243
- Mon, 30 Aug 2021 07:35:05 GMT
362
+ Mon, 30 Aug 2021 07:35:05 GMT
244
363
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.22..@fluentui/react-aria_v9.0.0-alpha.23)
245
364
 
246
365
  ### Changes
@@ -249,7 +368,7 @@ Mon, 30 Aug 2021 07:35:05 GMT
249
368
 
250
369
  ## [9.0.0-alpha.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.22)
251
370
 
252
- Fri, 20 Aug 2021 07:37:28 GMT
371
+ Fri, 20 Aug 2021 07:37:28 GMT
253
372
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.21..@fluentui/react-aria_v9.0.0-alpha.22)
254
373
 
255
374
  ### Changes
@@ -258,7 +377,7 @@ Fri, 20 Aug 2021 07:37:28 GMT
258
377
 
259
378
  ## [9.0.0-alpha.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.21)
260
379
 
261
- Thu, 19 Aug 2021 07:41:35 GMT
380
+ Thu, 19 Aug 2021 07:41:35 GMT
262
381
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.20..@fluentui/react-aria_v9.0.0-alpha.21)
263
382
 
264
383
  ### Changes
@@ -267,7 +386,7 @@ Thu, 19 Aug 2021 07:41:35 GMT
267
386
 
268
387
  ## [9.0.0-alpha.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.20)
269
388
 
270
- Fri, 13 Aug 2021 07:36:34 GMT
389
+ Fri, 13 Aug 2021 07:36:34 GMT
271
390
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.19..@fluentui/react-aria_v9.0.0-alpha.20)
272
391
 
273
392
  ### Changes
@@ -276,7 +395,7 @@ Fri, 13 Aug 2021 07:36:34 GMT
276
395
 
277
396
  ## [9.0.0-alpha.19](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.19)
278
397
 
279
- Fri, 06 Aug 2021 07:35:14 GMT
398
+ Fri, 06 Aug 2021 07:35:14 GMT
280
399
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.18..@fluentui/react-aria_v9.0.0-alpha.19)
281
400
 
282
401
  ### Changes
@@ -285,7 +404,7 @@ Fri, 06 Aug 2021 07:35:14 GMT
285
404
 
286
405
  ## [9.0.0-alpha.18](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.18)
287
406
 
288
- Tue, 03 Aug 2021 07:39:30 GMT
407
+ Tue, 03 Aug 2021 07:39:30 GMT
289
408
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.17..@fluentui/react-aria_v9.0.0-alpha.18)
290
409
 
291
410
  ### Patches
@@ -300,7 +419,7 @@ Tue, 03 Aug 2021 07:39:30 GMT
300
419
 
301
420
  ## [9.0.0-alpha.17](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.17)
302
421
 
303
- Mon, 02 Aug 2021 07:36:20 GMT
422
+ Mon, 02 Aug 2021 07:36:20 GMT
304
423
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.16..@fluentui/react-aria_v9.0.0-alpha.17)
305
424
 
306
425
  ### Changes
@@ -309,7 +428,7 @@ Mon, 02 Aug 2021 07:36:20 GMT
309
428
 
310
429
  ## [9.0.0-alpha.16](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.16)
311
430
 
312
- Mon, 26 Jul 2021 07:37:30 GMT
431
+ Mon, 26 Jul 2021 07:37:30 GMT
313
432
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.15..@fluentui/react-aria_v9.0.0-alpha.16)
314
433
 
315
434
  ### Changes
@@ -318,7 +437,7 @@ Mon, 26 Jul 2021 07:37:30 GMT
318
437
 
319
438
  ## [9.0.0-alpha.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.15)
320
439
 
321
- Fri, 23 Jul 2021 07:38:19 GMT
440
+ Fri, 23 Jul 2021 07:38:19 GMT
322
441
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.14..@fluentui/react-aria_v9.0.0-alpha.15)
323
442
 
324
443
  ### Changes
@@ -327,7 +446,7 @@ Fri, 23 Jul 2021 07:38:19 GMT
327
446
 
328
447
  ## [9.0.0-alpha.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.14)
329
448
 
330
- Thu, 22 Jul 2021 07:36:55 GMT
449
+ Thu, 22 Jul 2021 07:36:55 GMT
331
450
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.13..@fluentui/react-aria_v9.0.0-alpha.14)
332
451
 
333
452
  ### Changes
@@ -336,7 +455,7 @@ Thu, 22 Jul 2021 07:36:55 GMT
336
455
 
337
456
  ## [9.0.0-alpha.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.13)
338
457
 
339
- Tue, 20 Jul 2021 22:23:17 GMT
458
+ Tue, 20 Jul 2021 22:23:17 GMT
340
459
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.12..@fluentui/react-aria_v9.0.0-alpha.13)
341
460
 
342
461
  ### Changes
@@ -345,7 +464,7 @@ Tue, 20 Jul 2021 22:23:17 GMT
345
464
 
346
465
  ## [9.0.0-alpha.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.12)
347
466
 
348
- Thu, 15 Jul 2021 07:36:18 GMT
467
+ Thu, 15 Jul 2021 07:36:18 GMT
349
468
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.11..@fluentui/react-aria_v9.0.0-alpha.12)
350
469
 
351
470
  ### Changes
@@ -354,7 +473,7 @@ Thu, 15 Jul 2021 07:36:18 GMT
354
473
 
355
474
  ## [9.0.0-alpha.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.11)
356
475
 
357
- Tue, 13 Jul 2021 22:32:58 GMT
476
+ Tue, 13 Jul 2021 22:32:58 GMT
358
477
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.10..@fluentui/react-aria_v9.0.0-alpha.11)
359
478
 
360
479
  ### Patches
@@ -363,7 +482,7 @@ Tue, 13 Jul 2021 22:32:58 GMT
363
482
 
364
483
  ## [9.0.0-alpha.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.10)
365
484
 
366
- Tue, 13 Jul 2021 07:35:36 GMT
485
+ Tue, 13 Jul 2021 07:35:36 GMT
367
486
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.9..@fluentui/react-aria_v9.0.0-alpha.10)
368
487
 
369
488
  ### Changes
@@ -372,7 +491,7 @@ Tue, 13 Jul 2021 07:35:36 GMT
372
491
 
373
492
  ## [9.0.0-alpha.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.9)
374
493
 
375
- Mon, 12 Jul 2021 07:33:23 GMT
494
+ Mon, 12 Jul 2021 07:33:23 GMT
376
495
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.8..@fluentui/react-aria_v9.0.0-alpha.9)
377
496
 
378
497
  ### Changes
@@ -382,7 +501,7 @@ Mon, 12 Jul 2021 07:33:23 GMT
382
501
 
383
502
  ## [9.0.0-alpha.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.8)
384
503
 
385
- Fri, 09 Jul 2021 07:39:31 GMT
504
+ Fri, 09 Jul 2021 07:39:31 GMT
386
505
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.7..@fluentui/react-aria_v9.0.0-alpha.8)
387
506
 
388
507
  ### Patches
@@ -398,7 +517,7 @@ Fri, 09 Jul 2021 07:39:31 GMT
398
517
 
399
518
  ## [9.0.0-alpha.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.7)
400
519
 
401
- Fri, 02 Jul 2021 23:15:55 GMT
520
+ Fri, 02 Jul 2021 23:15:55 GMT
402
521
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.6..@fluentui/react-aria_v9.0.0-alpha.7)
403
522
 
404
523
  ### Changes
@@ -407,7 +526,7 @@ Fri, 02 Jul 2021 23:15:55 GMT
407
526
 
408
527
  ## [9.0.0-alpha.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.6)
409
528
 
410
- Fri, 02 Jul 2021 07:37:06 GMT
529
+ Fri, 02 Jul 2021 07:37:06 GMT
411
530
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.5..@fluentui/react-aria_v9.0.0-alpha.6)
412
531
 
413
532
  ### Changes
@@ -416,7 +535,7 @@ Fri, 02 Jul 2021 07:37:06 GMT
416
535
 
417
536
  ## [9.0.0-alpha.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.5)
418
537
 
419
- Thu, 01 Jul 2021 07:35:05 GMT
538
+ Thu, 01 Jul 2021 07:35:05 GMT
420
539
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.4..@fluentui/react-aria_v9.0.0-alpha.5)
421
540
 
422
541
  ### Changes
@@ -425,7 +544,7 @@ Thu, 01 Jul 2021 07:35:05 GMT
425
544
 
426
545
  ## [9.0.0-alpha.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.4)
427
546
 
428
- Wed, 30 Jun 2021 07:38:35 GMT
547
+ Wed, 30 Jun 2021 07:38:35 GMT
429
548
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.3..@fluentui/react-aria_v9.0.0-alpha.4)
430
549
 
431
550
  ### Changes
@@ -434,7 +553,7 @@ Wed, 30 Jun 2021 07:38:35 GMT
434
553
 
435
554
  ## [9.0.0-alpha.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.3)
436
555
 
437
- Tue, 29 Jun 2021 07:33:32 GMT
556
+ Tue, 29 Jun 2021 07:33:32 GMT
438
557
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.2..@fluentui/react-aria_v9.0.0-alpha.3)
439
558
 
440
559
  ### Changes
@@ -443,7 +562,7 @@ Tue, 29 Jun 2021 07:33:32 GMT
443
562
 
444
563
  ## [9.0.0-alpha.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.2)
445
564
 
446
- Mon, 21 Jun 2021 07:34:33 GMT
565
+ Mon, 21 Jun 2021 07:34:33 GMT
447
566
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.1..@fluentui/react-aria_v9.0.0-alpha.2)
448
567
 
449
568
  ### Changes
@@ -0,0 +1,25 @@
1
+ import type { ExtractSlotProps } from '@fluentui/react-utilities';
2
+ import type { ResolveShorthandFunction } from '@fluentui/react-utilities';
3
+ import type { Slot } from '@fluentui/react-utilities';
4
+
5
+ export declare type ARIAButtonSlotProps = ExtractSlotProps<Slot<'button', 'a'>> & {
6
+ disabled?: boolean;
7
+ disabledFocusable?: boolean;
8
+ };
9
+
10
+ /**
11
+ * Merges disabled declaration with `aria-disabled`
12
+ */
13
+ export declare function mergeARIADisabled(shorthand: {
14
+ 'aria-disabled'?: string | boolean;
15
+ disabled?: boolean;
16
+ }): boolean;
17
+
18
+ /**
19
+ * Button keyboard handling, role, disabled and tabIndex implementation that ensures ARIA spec
20
+ * for multiple scenarios of shorthand properties. Ensuring 1st rule of ARIA for cases
21
+ * where no attribute addition is required.
22
+ */
23
+ export declare const useARIAButton: ResolveShorthandFunction<ARIAButtonSlotProps>;
24
+
25
+ export { }
File without changes
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC","sourcesContent":["export * from './useARIAButton';\n"]}
@@ -6,20 +6,19 @@ import { resolveShorthand, useEventCallback } from '@fluentui/react-utilities';
6
6
  * where no attribute addition is required.
7
7
  */
8
8
 
9
- export function useARIAButton(shorthand, options) {
9
+ export const useARIAButton = (shorthand, options) => {
10
10
  var _a;
11
11
 
12
- var shorthandProps = resolveShorthand(shorthand, options);
13
-
14
- var _b = shorthandProps || {},
15
- disabled = _b.disabled,
16
- disabledFocusable = _b.disabledFocusable,
17
- onClick = _b.onClick,
18
- onKeyDown = _b.onKeyDown,
19
- onKeyUp = _b.onKeyUp,
20
- tabIndex = _b.tabIndex;
21
-
22
- var onClickHandler = useEventCallback(function (ev) {
12
+ const shorthandProps = resolveShorthand(shorthand, options);
13
+ const {
14
+ disabled,
15
+ disabledFocusable,
16
+ onClick,
17
+ onKeyDown,
18
+ onKeyUp,
19
+ tabIndex
20
+ } = shorthandProps || {};
21
+ const onClickHandler = useEventCallback(ev => {
23
22
  if (disabled || disabledFocusable) {
24
23
  ev.preventDefault();
25
24
  ev.stopPropagation();
@@ -27,14 +26,14 @@ export function useARIAButton(shorthand, options) {
27
26
  onClick === null || onClick === void 0 ? void 0 : onClick(ev);
28
27
  }
29
28
  });
30
- var onKeyDownHandler = useEventCallback(function (ev) {
29
+ const onKeyDownHandler = useEventCallback(ev => {
31
30
  onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(ev);
32
31
 
33
32
  if (ev.isDefaultPrevented()) {
34
33
  return;
35
34
  }
36
35
 
37
- var key = ev.key;
36
+ const key = ev.key;
38
37
 
39
38
  if ((disabled || disabledFocusable) && (key === Enter || key === Space)) {
40
39
  ev.preventDefault();
@@ -51,14 +50,14 @@ export function useARIAButton(shorthand, options) {
51
50
  ev.currentTarget.click();
52
51
  }
53
52
  });
54
- var onKeyupHandler = useEventCallback(function (ev) {
53
+ const onKeyupHandler = useEventCallback(ev => {
55
54
  onKeyUp === null || onKeyUp === void 0 ? void 0 : onKeyUp(ev);
56
55
 
57
56
  if (ev.isDefaultPrevented()) {
58
57
  return;
59
58
  }
60
59
 
61
- var key = ev.key;
60
+ const key = ev.key;
62
61
 
63
62
  if ((disabled || disabledFocusable) && (key === Enter || key === Space)) {
64
63
  ev.preventDefault();
@@ -76,12 +75,18 @@ export function useARIAButton(shorthand, options) {
76
75
  // If a <button> tag is to be rendered we just need to set disabled and aria-disabled correctly
77
76
  if (shorthandProps.as === 'button' || shorthandProps.as === undefined) {
78
77
  shorthandProps.disabled = disabled && !disabledFocusable;
79
- shorthandProps['aria-disabled'] = disabledFocusable;
80
- } // If an <a> tag is to be rendered we have to remove disabled and set aria-disabled, role and tabIndex as well as
81
- // some event handlers.
78
+ shorthandProps['aria-disabled'] = disabledFocusable ? true : undefined; // Undefine events if disabledFocusable is passed in
79
+
80
+ if (disabledFocusable) {
81
+ shorthandProps.onClick = undefined;
82
+ shorthandProps.onKeyDown = undefined;
83
+ shorthandProps.onKeyUp = undefined;
84
+ }
85
+ } // If an <a> tag is to be rendered we have to remove disabled and type, and set aria-disabled, role and tabIndex.
82
86
  else {
83
87
  delete shorthandProps.disabled;
84
88
  shorthandProps['aria-disabled'] = disabled || disabledFocusable;
89
+ shorthandProps.href = disabled ? undefined : shorthandProps.href;
85
90
  shorthandProps.onClick = onClickHandler;
86
91
  shorthandProps.onKeyDown = onKeyDownHandler;
87
92
  shorthandProps.onKeyUp = onKeyupHandler;
@@ -94,5 +99,5 @@ export function useARIAButton(shorthand, options) {
94
99
  }
95
100
 
96
101
  return shorthandProps;
97
- }
102
+ };
98
103
  //# sourceMappingURL=useARIAButton.js.map