@fluentui/react-aria 0.0.0-nightly-20220302-0405.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.
Files changed (38) hide show
  1. package/CHANGELOG.json +1307 -0
  2. package/CHANGELOG.md +530 -0
  3. package/LICENSE +15 -0
  4. package/README.md +5 -0
  5. package/Spec.md +63 -0
  6. package/dist/react-aria.d.ts +25 -0
  7. package/lib/hooks/index.d.ts +1 -0
  8. package/lib/hooks/index.js +2 -0
  9. package/lib/hooks/index.js.map +1 -0
  10. package/lib/hooks/useARIAButton.d.ts +11 -0
  11. package/lib/hooks/useARIAButton.js +103 -0
  12. package/lib/hooks/useARIAButton.js.map +1 -0
  13. package/lib/index.d.ts +2 -0
  14. package/lib/index.js +3 -0
  15. package/lib/index.js.map +1 -0
  16. package/lib/tsdoc-metadata.json +11 -0
  17. package/lib/utils/index.d.ts +1 -0
  18. package/lib/utils/index.js +2 -0
  19. package/lib/utils/index.js.map +1 -0
  20. package/lib/utils/mergeARIADisabled.d.ts +7 -0
  21. package/lib/utils/mergeARIADisabled.js +15 -0
  22. package/lib/utils/mergeARIADisabled.js.map +1 -0
  23. package/lib-commonjs/hooks/index.d.ts +1 -0
  24. package/lib-commonjs/hooks/index.js +10 -0
  25. package/lib-commonjs/hooks/index.js.map +1 -0
  26. package/lib-commonjs/hooks/useARIAButton.d.ts +11 -0
  27. package/lib-commonjs/hooks/useARIAButton.js +114 -0
  28. package/lib-commonjs/hooks/useARIAButton.js.map +1 -0
  29. package/lib-commonjs/index.d.ts +2 -0
  30. package/lib-commonjs/index.js +12 -0
  31. package/lib-commonjs/index.js.map +1 -0
  32. package/lib-commonjs/utils/index.d.ts +1 -0
  33. package/lib-commonjs/utils/index.js +10 -0
  34. package/lib-commonjs/utils/index.js.map +1 -0
  35. package/lib-commonjs/utils/mergeARIADisabled.d.ts +7 -0
  36. package/lib-commonjs/utils/mergeARIADisabled.js +24 -0
  37. package/lib-commonjs/utils/mergeARIADisabled.js.map +1 -0
  38. package/package.json +60 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,530 @@
1
+ # Change Log - @fluentui/react-aria
2
+
3
+ This log was last generated on Wed, 02 Mar 2022 04:14:51 GMT and should not be manually modified.
4
+
5
+ <!-- Start content -->
6
+
7
+ ## [0.0.0-nightly-20220302-0405.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v0.0.0-nightly-20220302-0405.1)
8
+
9
+ Wed, 02 Mar 2022 04:14:51 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-rc.4..@fluentui/react-aria_v0.0.0-nightly-20220302-0405.1)
11
+
12
+ ### Changes
13
+
14
+ - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/53b1c4f7ec45eabb24152a601ce3341b825b3aec) by email not defined)
15
+ - Bump @fluentui/keyboard-keys to v0.0.0-nightly-20220302-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/53b1c4f7ec45eabb24152a601ce3341b825b3aec) by beachball)
16
+ - Bump @fluentui/react-utilities to v0.0.0-nightly-20220302-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/53b1c4f7ec45eabb24152a601ce3341b825b3aec) by beachball)
17
+
18
+ ## [9.0.0-rc.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-rc.4)
19
+
20
+ Tue, 01 Mar 2022 02:17:40 GMT
21
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-rc.3..@fluentui/react-aria_v9.0.0-rc.4)
22
+
23
+ ### Changes
24
+
25
+ - Bump @fluentui/react-utilities to v9.0.0-rc.4 ([PR #21884](https://github.com/microsoft/fluentui/pull/21884) by beachball)
26
+
27
+ ## [9.0.0-rc.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-rc.3)
28
+
29
+ Fri, 18 Feb 2022 13:35:38 GMT
30
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-rc.1..@fluentui/react-aria_v9.0.0-rc.3)
31
+
32
+ ### Changes
33
+
34
+ - fix: Source maps contain original source code ([PR #21690](https://github.com/microsoft/fluentui/pull/21690) by lingfangao@hotmail.com)
35
+ - 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)
36
+ - Bump @fluentui/keyboard-keys to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
37
+ - Bump @fluentui/react-utilities to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
38
+
39
+ ## [9.0.0-rc.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-rc.1)
40
+
41
+ Thu, 10 Feb 2022 08:52:17 GMT
42
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-beta.4..@fluentui/react-aria_v9.0.0-rc.1)
43
+
44
+ ### Changes
45
+
46
+ - remove Griffel packages ([PR #21440](https://github.com/microsoft/fluentui/pull/21440) by olfedias@microsoft.com)
47
+ - Bump Fluent UI packages to 9.0.0-rc ([PR #21623](https://github.com/microsoft/fluentui/pull/21623) by lingfangao@hotmail.com)
48
+ - Updating based on changes to composition types. ([PR #20891](https://github.com/microsoft/fluentui/pull/20891) by Humberto.Morimoto@microsoft.com)
49
+ - Refactor component Slot typings ([PR #21518](https://github.com/microsoft/fluentui/pull/21518) by behowell@microsoft.com)
50
+ - Remove component's shorthandProps array ([PR #21134](https://github.com/microsoft/fluentui/pull/21134) by behowell@microsoft.com)
51
+ - Bump @fluentui/keyboard-keys to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
52
+ - Bump @fluentui/react-utilities to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
53
+
54
+ ## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-beta.4)
55
+
56
+ Thu, 25 Nov 2021 08:34:10 GMT
57
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-beta.3..@fluentui/react-aria_v9.0.0-beta.4)
58
+
59
+ ### Changes
60
+
61
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
62
+ - Bump @fluentui/react-utilities to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
63
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
64
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
65
+
66
+ ## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-beta.3)
67
+
68
+ Fri, 12 Nov 2021 13:25:13 GMT
69
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-beta.2..@fluentui/react-aria_v9.0.0-beta.3)
70
+
71
+ ### Changes
72
+
73
+ - Fixing events being fired when button is disabledFocusable ([PR #20342](https://github.com/microsoft/fluentui/pull/20342) by Humberto.Morimoto@microsoft.com)
74
+ - Updated beta and RC components to ES2019 ([PR #20405](https://github.com/microsoft/fluentui/pull/20405) by gcox@microsoft.com)
75
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
76
+ - Bump @fluentui/react-utilities to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
77
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
78
+
79
+ ## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-beta.2)
80
+
81
+ Wed, 27 Oct 2021 12:14:13 GMT
82
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-beta.1..@fluentui/react-aria_v9.0.0-beta.2)
83
+
84
+ ### Changes
85
+
86
+ - added styling of documentation ([PR #20193](https://github.com/microsoft/fluentui/pull/20193) by peter@draxler.ml)
87
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
88
+ - Bump @fluentui/react-utilities to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
89
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
90
+
91
+ ## [9.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-beta.1)
92
+
93
+ Wed, 06 Oct 2021 10:37:22 GMT
94
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.45..@fluentui/react-aria_v9.0.0-beta.1)
95
+
96
+ ### Changes
97
+
98
+ - Bump all v9 components to beta prerelease tag ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by lingfangao@hotmail.com)
99
+ - Bump @fluentui/keyboard-keys to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
100
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
101
+ - Bump @fluentui/react-utilities to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
102
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
103
+
104
+ ## [9.0.0-alpha.45](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.45)
105
+
106
+ Tue, 05 Oct 2021 12:47:58 GMT
107
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.44..@fluentui/react-aria_v9.0.0-alpha.45)
108
+
109
+ ### Changes
110
+
111
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.78 ([PR #20108](https://github.com/microsoft/fluentui/pull/20108) by beachball)
112
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.53 ([PR #20108](https://github.com/microsoft/fluentui/pull/20108) by beachball)
113
+
114
+ ## [9.0.0-alpha.44](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.44)
115
+
116
+ Tue, 05 Oct 2021 09:28:07 GMT
117
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.43..@fluentui/react-aria_v9.0.0-alpha.44)
118
+
119
+ ### Changes
120
+
121
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.77 ([PR #20081](https://github.com/microsoft/fluentui/pull/20081) by beachball)
122
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.56 ([PR #20081](https://github.com/microsoft/fluentui/pull/20081) by beachball)
123
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.52 ([PR #20081](https://github.com/microsoft/fluentui/pull/20081) by beachball)
124
+
125
+ ## [9.0.0-alpha.43](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.43)
126
+
127
+ Fri, 01 Oct 2021 14:13:08 GMT
128
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.41..@fluentui/react-aria_v9.0.0-alpha.43)
129
+
130
+ ### Changes
131
+
132
+ - Bump v9 prerelease versions to rerelease ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by lingfangao@hotmail.com)
133
+ - Bump @fluentui/keyboard-keys to v9.0.0-alpha.5 ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by beachball)
134
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.76 ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by beachball)
135
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.55 ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by beachball)
136
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.51 ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by beachball)
137
+
138
+ ## [9.0.0-alpha.41](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.41)
139
+
140
+ Fri, 01 Oct 2021 12:30:46 GMT
141
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.40..@fluentui/react-aria_v9.0.0-alpha.41)
142
+
143
+ ### Changes
144
+
145
+ - Removes disabled attribute when not required ([PR #18814](https://github.com/microsoft/fluentui/pull/18814) by bsunderhus@microsoft.com)
146
+
147
+ ## [9.0.0-alpha.40](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.40)
148
+
149
+ Wed, 29 Sep 2021 08:06:11 GMT
150
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.39..@fluentui/react-aria_v9.0.0-alpha.40)
151
+
152
+ ### Changes
153
+
154
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.74 ([PR #19660](https://github.com/microsoft/fluentui/pull/19660) by beachball)
155
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.49 ([PR #19660](https://github.com/microsoft/fluentui/pull/19660) by beachball)
156
+
157
+ ## [9.0.0-alpha.39](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.39)
158
+
159
+ Mon, 27 Sep 2021 08:06:00 GMT
160
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.38..@fluentui/react-aria_v9.0.0-alpha.39)
161
+
162
+ ### Changes
163
+
164
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.73 ([PR #19981](https://github.com/microsoft/fluentui/pull/19981) by beachball)
165
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.53 ([PR #19981](https://github.com/microsoft/fluentui/pull/19981) by beachball)
166
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.48 ([PR #19981](https://github.com/microsoft/fluentui/pull/19981) by beachball)
167
+
168
+ ## [9.0.0-alpha.38](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.38)
169
+
170
+ Fri, 24 Sep 2021 09:17:17 GMT
171
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.37..@fluentui/react-aria_v9.0.0-alpha.38)
172
+
173
+ ### Changes
174
+
175
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.72 ([PR #19950](https://github.com/microsoft/fluentui/pull/19950) by beachball)
176
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.52 ([PR #19950](https://github.com/microsoft/fluentui/pull/19950) by beachball)
177
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.47 ([PR #19950](https://github.com/microsoft/fluentui/pull/19950) by beachball)
178
+
179
+ ## [9.0.0-alpha.37](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.37)
180
+
181
+ Thu, 23 Sep 2021 08:21:34 GMT
182
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.36..@fluentui/react-aria_v9.0.0-alpha.37)
183
+
184
+ ### Changes
185
+
186
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.71 ([commit](https://github.com/microsoft/fluentui/commit/95682da34c48813f7658032ae490d21d2f363b90) by beachball)
187
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.51 ([commit](https://github.com/microsoft/fluentui/commit/95682da34c48813f7658032ae490d21d2f363b90) by beachball)
188
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.46 ([commit](https://github.com/microsoft/fluentui/commit/95682da34c48813f7658032ae490d21d2f363b90) by beachball)
189
+
190
+ ## [9.0.0-alpha.36](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.36)
191
+
192
+ Wed, 22 Sep 2021 10:10:07 GMT
193
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.35..@fluentui/react-aria_v9.0.0-alpha.36)
194
+
195
+ ### Changes
196
+
197
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.70 ([commit](https://github.com/microsoft/fluentui/commit/bc3f1ec72fc7784a558b0dd6598ee0662f4649c1) by beachball)
198
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.50 ([commit](https://github.com/microsoft/fluentui/commit/bc3f1ec72fc7784a558b0dd6598ee0662f4649c1) by beachball)
199
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.45 ([commit](https://github.com/microsoft/fluentui/commit/bc3f1ec72fc7784a558b0dd6598ee0662f4649c1) by beachball)
200
+
201
+ ## [9.0.0-alpha.35](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.35)
202
+
203
+ Tue, 21 Sep 2021 07:42:34 GMT
204
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.34..@fluentui/react-aria_v9.0.0-alpha.35)
205
+
206
+ ### Changes
207
+
208
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.69 ([PR #19865](https://github.com/microsoft/fluentui/pull/19865) by beachball)
209
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.44 ([PR #19865](https://github.com/microsoft/fluentui/pull/19865) by beachball)
210
+
211
+ ## [9.0.0-alpha.34](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.34)
212
+
213
+ Mon, 20 Sep 2021 07:36:26 GMT
214
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.33..@fluentui/react-aria_v9.0.0-alpha.34)
215
+
216
+ ### Changes
217
+
218
+ - Bump @fluentui/react-aria to v9.0.0-alpha.34 ([PR #19844](https://github.com/microsoft/fluentui/pull/19844) by lingfangao@hotmail.com)
219
+
220
+ ## [9.0.0-alpha.33](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.33)
221
+
222
+ Fri, 17 Sep 2021 07:35:26 GMT
223
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.32..@fluentui/react-aria_v9.0.0-alpha.33)
224
+
225
+ ### Changes
226
+
227
+ - Bump @fluentui/react-aria to v9.0.0-alpha.33 ([PR #19840](https://github.com/microsoft/fluentui/pull/19840) by Humberto.Morimoto@microsoft.com)
228
+
229
+ ## [9.0.0-alpha.32](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.32)
230
+
231
+ Thu, 16 Sep 2021 07:38:39 GMT
232
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.31..@fluentui/react-aria_v9.0.0-alpha.32)
233
+
234
+ ### Changes
235
+
236
+ - Bump @fluentui/react-aria to v9.0.0-alpha.32 ([PR #19815](https://github.com/microsoft/fluentui/pull/19815) by behowell@microsoft.com)
237
+
238
+ ## [9.0.0-alpha.31](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.31)
239
+
240
+ Tue, 14 Sep 2021 20:09:02 GMT
241
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.30..@fluentui/react-aria_v9.0.0-alpha.31)
242
+
243
+ ### Changes
244
+
245
+ - Bump @fluentui/react-aria to v9.0.0-alpha.31 ([PR #19155](https://github.com/microsoft/fluentui/pull/19155) by bsunderhus@microsoft.com)
246
+
247
+ ## [9.0.0-alpha.30](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.30)
248
+
249
+ Tue, 14 Sep 2021 07:38:18 GMT
250
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.29..@fluentui/react-aria_v9.0.0-alpha.30)
251
+
252
+ ### Changes
253
+
254
+ - Generalize mergeARIADisabled ([PR #19605](https://github.com/microsoft/fluentui/pull/19605) by bsunderhus@microsoft.com)
255
+
256
+ ## [9.0.0-alpha.29](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.29)
257
+
258
+ Fri, 10 Sep 2021 16:31:53 GMT
259
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.28..@fluentui/react-aria_v9.0.0-alpha.29)
260
+
261
+ ### Changes
262
+
263
+ - chore(v9): Move all internal v9 dependencies from caret to fixed version ([PR #19748](https://github.com/microsoft/fluentui/pull/19748) by lingfangao@hotmail.com)
264
+ - Bump @fluentui/react-aria to v9.0.0-alpha.29 ([PR #19748](https://github.com/microsoft/fluentui/pull/19748) by lingfangao@hotmail.com)
265
+
266
+ ## [9.0.0-alpha.28](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.28)
267
+
268
+ Fri, 10 Sep 2021 07:39:51 GMT
269
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.27..@fluentui/react-aria_v9.0.0-alpha.28)
270
+
271
+ ### Changes
272
+
273
+ - Refactor ObjectShorthandProps into IntrinsicShorthandProps ([PR #19642](https://github.com/microsoft/fluentui/pull/19642) by behowell@microsoft.com)
274
+
275
+ ## [9.0.0-alpha.27](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.27)
276
+
277
+ Mon, 06 Sep 2021 07:34:53 GMT
278
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.26..@fluentui/react-aria_v9.0.0-alpha.27)
279
+
280
+ ### Changes
281
+
282
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.44 ([PR #19640](https://github.com/microsoft/fluentui/pull/19640) by lingfangao@hotmail.com)
283
+
284
+ ## [9.0.0-alpha.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.26)
285
+
286
+ Thu, 02 Sep 2021 07:36:46 GMT
287
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.25..@fluentui/react-aria_v9.0.0-alpha.26)
288
+
289
+ ### Patches
290
+
291
+ - Bump @fluentui/react-conformance to v0.4.5 ([PR #19590](https://github.com/microsoft/fluentui/pull/19590) by olfedias@microsoft.com)
292
+
293
+ ## [9.0.0-alpha.25](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.25)
294
+
295
+ Wed, 01 Sep 2021 07:39:56 GMT
296
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.24..@fluentui/react-aria_v9.0.0-alpha.25)
297
+
298
+ ### Changes
299
+
300
+ - Updates react-aria to use root as slot ([PR #19483](https://github.com/microsoft/fluentui/pull/19483) by bsunderhus@microsoft.com)
301
+
302
+ ## [9.0.0-alpha.24](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.24)
303
+
304
+ Tue, 31 Aug 2021 07:37:47 GMT
305
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.23..@fluentui/react-aria_v9.0.0-alpha.24)
306
+
307
+ ### Changes
308
+
309
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.42 ([PR #19556](https://github.com/microsoft/fluentui/pull/19556) by lingfan.gao@microsoft.com)
310
+
311
+ ## [9.0.0-alpha.23](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.23)
312
+
313
+ Mon, 30 Aug 2021 07:35:05 GMT
314
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.22..@fluentui/react-aria_v9.0.0-alpha.23)
315
+
316
+ ### Changes
317
+
318
+ - Updating TypeScript type-only imports/exports to use import/export type syntax. ([PR #19485](https://github.com/microsoft/fluentui/pull/19485) by dzearing@hotmail.com)
319
+
320
+ ## [9.0.0-alpha.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.22)
321
+
322
+ Fri, 20 Aug 2021 07:37:28 GMT
323
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.21..@fluentui/react-aria_v9.0.0-alpha.22)
324
+
325
+ ### Changes
326
+
327
+ - Update .npmignore ([PR #19441](https://github.com/microsoft/fluentui/pull/19441) by elcraig@microsoft.com)
328
+
329
+ ## [9.0.0-alpha.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.21)
330
+
331
+ Thu, 19 Aug 2021 07:41:35 GMT
332
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.20..@fluentui/react-aria_v9.0.0-alpha.21)
333
+
334
+ ### Changes
335
+
336
+ - Updates react-aria on slot null rendering ([PR #19273](https://github.com/microsoft/fluentui/pull/19273) by bsunderhus@microsoft.com)
337
+
338
+ ## [9.0.0-alpha.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.20)
339
+
340
+ Fri, 13 Aug 2021 07:36:34 GMT
341
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.19..@fluentui/react-aria_v9.0.0-alpha.20)
342
+
343
+ ### Changes
344
+
345
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.32 ([PR #19341](https://github.com/microsoft/fluentui/pull/19341) by olfedias@microsoft.com)
346
+
347
+ ## [9.0.0-alpha.19](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.19)
348
+
349
+ Fri, 06 Aug 2021 07:35:14 GMT
350
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.18..@fluentui/react-aria_v9.0.0-alpha.19)
351
+
352
+ ### Changes
353
+
354
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.31 ([PR #19281](https://github.com/microsoft/fluentui/pull/19281) by jspurlin@microsoft.com)
355
+
356
+ ## [9.0.0-alpha.18](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.18)
357
+
358
+ Tue, 03 Aug 2021 07:39:30 GMT
359
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.17..@fluentui/react-aria_v9.0.0-alpha.18)
360
+
361
+ ### Patches
362
+
363
+ - Bump @fluentui/eslint-plugin to v1.3.3 ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com)
364
+ - Bump @fluentui/react-conformance to v0.4.4 ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com)
365
+ - Bump @fluentui/scripts to v1.0.0 ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com)
366
+
367
+ ### Changes
368
+
369
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.30 ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com)
370
+
371
+ ## [9.0.0-alpha.17](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.17)
372
+
373
+ Mon, 02 Aug 2021 07:36:20 GMT
374
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.16..@fluentui/react-aria_v9.0.0-alpha.17)
375
+
376
+ ### Changes
377
+
378
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.36 ([PR #19204](https://github.com/microsoft/fluentui/pull/19204) by lingfan.gao@microsoft.com)
379
+
380
+ ## [9.0.0-alpha.16](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.16)
381
+
382
+ Mon, 26 Jul 2021 07:37:30 GMT
383
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.15..@fluentui/react-aria_v9.0.0-alpha.16)
384
+
385
+ ### Changes
386
+
387
+ - add Babel plugins to build pipeline ([PR #18968](https://github.com/microsoft/fluentui/pull/18968) by olfedias@microsoft.com)
388
+
389
+ ## [9.0.0-alpha.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.15)
390
+
391
+ Fri, 23 Jul 2021 07:38:19 GMT
392
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.14..@fluentui/react-aria_v9.0.0-alpha.15)
393
+
394
+ ### Changes
395
+
396
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.27 ([PR #19041](https://github.com/microsoft/fluentui/pull/19041) by miroslav.stastny@microsoft.com)
397
+
398
+ ## [9.0.0-alpha.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.14)
399
+
400
+ Thu, 22 Jul 2021 07:36:55 GMT
401
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.13..@fluentui/react-aria_v9.0.0-alpha.14)
402
+
403
+ ### Changes
404
+
405
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.34 ([PR #19023](https://github.com/microsoft/fluentui/pull/19023) by behowell@microsoft.com)
406
+
407
+ ## [9.0.0-alpha.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.13)
408
+
409
+ Tue, 20 Jul 2021 22:23:17 GMT
410
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.12..@fluentui/react-aria_v9.0.0-alpha.13)
411
+
412
+ ### Changes
413
+
414
+ - chore(react-aria): Replace keyboard-key with keyboard-keys ([PR #19016](https://github.com/microsoft/fluentui/pull/19016) by lingfan.gao@microsoft.com)
415
+
416
+ ## [9.0.0-alpha.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.12)
417
+
418
+ Thu, 15 Jul 2021 07:36:18 GMT
419
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.11..@fluentui/react-aria_v9.0.0-alpha.12)
420
+
421
+ ### Changes
422
+
423
+ - Fix react-aria due to changes on slots typings ([PR #18861](https://github.com/microsoft/fluentui/pull/18861) by bsunderhus@microsoft.com)
424
+
425
+ ## [9.0.0-alpha.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.11)
426
+
427
+ Tue, 13 Jul 2021 22:32:58 GMT
428
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.10..@fluentui/react-aria_v9.0.0-alpha.11)
429
+
430
+ ### Patches
431
+
432
+ - Bump @fluentui/react-conformance to v0.4.3 ([PR #18925](https://github.com/microsoft/fluentui/pull/18925) by elcraig@microsoft.com)
433
+
434
+ ## [9.0.0-alpha.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.10)
435
+
436
+ Tue, 13 Jul 2021 07:35:36 GMT
437
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.9..@fluentui/react-aria_v9.0.0-alpha.10)
438
+
439
+ ### Changes
440
+
441
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.24 ([PR #18560](https://github.com/microsoft/fluentui/pull/18560) by behowell@microsoft.com)
442
+
443
+ ## [9.0.0-alpha.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.9)
444
+
445
+ Mon, 12 Jul 2021 07:33:23 GMT
446
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.8..@fluentui/react-aria_v9.0.0-alpha.9)
447
+
448
+ ### Changes
449
+
450
+ - Update prop merging mechanism ([PR #18813](https://github.com/microsoft/fluentui/pull/18813) by bsunderhus@microsoft.com)
451
+ - Removes forcing children on useARIAButton ([PR #18879](https://github.com/microsoft/fluentui/pull/18879) by bsunderhus@microsoft.com)
452
+
453
+ ## [9.0.0-alpha.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.8)
454
+
455
+ Fri, 09 Jul 2021 07:39:31 GMT
456
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.7..@fluentui/react-aria_v9.0.0-alpha.8)
457
+
458
+ ### Patches
459
+
460
+ - Bump @fluentui/eslint-plugin to v1.3.2 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com)
461
+ - Bump @fluentui/keyboard-key to v0.3.3 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com)
462
+ - Bump @fluentui/react-conformance to v0.4.2 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com)
463
+ - Bump @fluentui/scripts to v1.0.0 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com)
464
+
465
+ ### Changes
466
+
467
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.23 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com)
468
+
469
+ ## [9.0.0-alpha.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.7)
470
+
471
+ Fri, 02 Jul 2021 23:15:55 GMT
472
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.6..@fluentui/react-aria_v9.0.0-alpha.7)
473
+
474
+ ### Changes
475
+
476
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.31 ([PR #18721](https://github.com/microsoft/fluentui/pull/18721) by bsunderhus@microsoft.com)
477
+
478
+ ## [9.0.0-alpha.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.6)
479
+
480
+ Fri, 02 Jul 2021 07:37:06 GMT
481
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.5..@fluentui/react-aria_v9.0.0-alpha.6)
482
+
483
+ ### Changes
484
+
485
+ - Rename typings and getSlots to have the Compat Suffix ([PR #18796](https://github.com/microsoft/fluentui/pull/18796) by bsunderhus@microsoft.com)
486
+
487
+ ## [9.0.0-alpha.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.5)
488
+
489
+ Thu, 01 Jul 2021 07:35:05 GMT
490
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.4..@fluentui/react-aria_v9.0.0-alpha.5)
491
+
492
+ ### Changes
493
+
494
+ - Fixing bug in start script of converged packages. ([PR #18768](https://github.com/microsoft/fluentui/pull/18768) by Humberto.Morimoto@microsoft.com)
495
+
496
+ ## [9.0.0-alpha.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.4)
497
+
498
+ Wed, 30 Jun 2021 07:38:35 GMT
499
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.3..@fluentui/react-aria_v9.0.0-alpha.4)
500
+
501
+ ### Changes
502
+
503
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.20 ([PR #18695](https://github.com/microsoft/fluentui/pull/18695) by tristan.watanabe@gmail.com)
504
+
505
+ ## [9.0.0-alpha.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.3)
506
+
507
+ Tue, 29 Jun 2021 07:33:32 GMT
508
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.2..@fluentui/react-aria_v9.0.0-alpha.3)
509
+
510
+ ### Changes
511
+
512
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.19 ([PR #18169](https://github.com/microsoft/fluentui/pull/18169) by olfedias@microsoft.com)
513
+
514
+ ## [9.0.0-alpha.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.2)
515
+
516
+ Mon, 21 Jun 2021 07:34:33 GMT
517
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.1..@fluentui/react-aria_v9.0.0-alpha.2)
518
+
519
+ ### Changes
520
+
521
+ - Fix useARIAButton children problem ([PR #18597](https://github.com/microsoft/fluentui/pull/18597) by bsunderhus@microsoft.com)
522
+
523
+ ## [9.0.0-alpha.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.1)
524
+
525
+ Thu, 17 Jun 2021 07:34:11 GMT
526
+
527
+ ### Changes
528
+
529
+ - Adds @fluentui/keyboard-key due to legacy ([PR #18585](https://github.com/microsoft/fluentui/pull/18585) by bsunderhus@microsoft.com)
530
+ - Creates react-aria package ([PR #18550](https://github.com/microsoft/fluentui/pull/18550) by bsunderhus@microsoft.com)
package/LICENSE ADDED
@@ -0,0 +1,15 @@
1
+ @fluentui/react-aria
2
+
3
+ Copyright (c) Microsoft Corporation
4
+
5
+ All rights reserved.
6
+
7
+ MIT License
8
+
9
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ""Software""), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
14
+
15
+ Note: Usage of the fonts and icons referenced in Fluent UI React is subject to the terms listed at https://aka.ms/fluentui-assets-license
package/README.md ADDED
@@ -0,0 +1,5 @@
1
+ # @fluentui/react-aria
2
+
3
+ **React Aria components for [Fluent UI React](https://developer.microsoft.com/en-us/fluentui)**
4
+
5
+ These are not production-ready components and **should never be used in product**. This space is useful for testing new components whose APIs might change before final release.
package/Spec.md ADDED
@@ -0,0 +1,63 @@
1
+ # @fluentui/react-aria Spec
2
+
3
+ ## Background
4
+
5
+ _Description and use cases of this component_
6
+
7
+ ## Prior Art
8
+
9
+ _Include background research done for this component_
10
+
11
+ - _Link to Open UI research_
12
+ - _Link to comparison of v7 and v0_
13
+ - _Link to GitHub epic issue for the converged component_
14
+
15
+ ## Sample Code
16
+
17
+ _Provide some representative example code that uses the proposed API for the component_
18
+
19
+ ## Variants
20
+
21
+ _Describe visual or functional variants of this control, if applicable. For example, a slider could have a 2D variant._
22
+
23
+ ## API
24
+
25
+ _List the **Props** and **Slots** proposed for the component. Ideally this would just be a link to the component's `.types.ts` file_
26
+
27
+ ## Structure
28
+
29
+ - _**Public**_
30
+ - _**Internal**_
31
+ - _**DOM** - how the component will be rendered as HTML elements_
32
+
33
+ ## Migration
34
+
35
+ _Describe what will need to be done to upgrade from the existing implementations:_
36
+
37
+ - _Migration from v8_
38
+ - _Migration from v0_
39
+
40
+ ## Behaviors
41
+
42
+ _Explain how the component will behave in use, including:_
43
+
44
+ - _Component States_
45
+ - _Interaction_
46
+ - _Keyboard_
47
+ - _Cursor_
48
+ - _Touch_
49
+ - _Screen readers_
50
+
51
+ ## Accessibility
52
+
53
+ Base accessibility information is included in the design document. After the spec is filled and review, outcomes from it need to be communicated to design and incorporated in the design document.
54
+
55
+ - Decide whether to use **native element** or folow **ARIA** and provide reasons
56
+ - Identify the **[ARIA](https://www.w3.org/TR/wai-aria-practices-1.2/) pattern** and, if the component is listed there, follow its specification as possible.
57
+ - Identify accessibility **variants**, the `role` ([ARIA roles](https://www.w3.org/TR/wai-aria-1.1/#role_definitions)) of the component, its `slots` and `aria-*` props.
58
+ - Describe the **keyboard navigation**: Tab Oder and Arrow Key Navigation. Describe any other keyboard **shortcuts** used
59
+ - Specify texts for **state change announcements** - [ARIA live regions
60
+ ](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Live_Regions) (number of available items in dropdown, error messages, confirmations, ...)
61
+ - Identify UI parts that appear on **hover or focus** and specify keyboard and screen reader interaction with them
62
+ - List cases when **focus** needs to be **trapped** in sections of the UI (for dialogs and popups or for hierarchical navigation)
63
+ - List cases when **focus** needs to be **moved programatically** (if parts of the UI are appearing/disappearing or other cases)
@@ -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 { }
@@ -0,0 +1 @@
1
+ export * from './useARIAButton';
@@ -0,0 +1,2 @@
1
+ export * from './useARIAButton';
2
+ //# sourceMappingURL=index.js.map