@fluentui/react-aria 0.0.0-nightlyff78d1e27a20220217.1 → 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +222 -10
- package/CHANGELOG.md +140 -55
- package/dist/{react-aria.d.ts → index.d.ts} +1 -0
- package/{lib → dist}/tsdoc-metadata.json +0 -0
- package/lib/hooks/useARIAButton.js.map +1 -1
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/lib/utils/mergeARIADisabled.js +1 -0
- package/lib/utils/mergeARIADisabled.js.map +1 -1
- package/lib-commonjs/hooks/useARIAButton.js.map +1 -1
- package/lib-commonjs/index.js +16 -3
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/utils/mergeARIADisabled.js +1 -0
- package/lib-commonjs/utils/mergeARIADisabled.js.map +1 -1
- package/package.json +15 -20
- package/lib/hooks/index.d.ts +0 -1
- package/lib/hooks/useARIAButton.d.ts +0 -11
- package/lib/index.d.ts +0 -2
- package/lib/utils/index.d.ts +0 -1
- package/lib/utils/mergeARIADisabled.d.ts +0 -7
- package/lib-commonjs/hooks/index.d.ts +0 -1
- package/lib-commonjs/hooks/useARIAButton.d.ts +0 -11
- package/lib-commonjs/index.d.ts +0 -2
- package/lib-commonjs/utils/index.d.ts +0 -1
- package/lib-commonjs/utils/mergeARIADisabled.d.ts +0 -7
package/CHANGELOG.json
CHANGED
|
@@ -2,16 +2,228 @@
|
|
|
2
2
|
"name": "@fluentui/react-aria",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
6
|
-
"tag": "@fluentui/react-aria_v0.0.0
|
|
7
|
-
"version": "0.0.0
|
|
5
|
+
"date": "Tue, 28 Jun 2022 04:31:28 GMT",
|
|
6
|
+
"tag": "@fluentui/react-aria_v0.0.0",
|
|
7
|
+
"version": "0.0.0",
|
|
8
8
|
"comments": {
|
|
9
9
|
"prerelease": [
|
|
10
10
|
{
|
|
11
|
-
"author": "
|
|
11
|
+
"author": "lingfangao@hotmail.com",
|
|
12
|
+
"package": "@fluentui/react-aria",
|
|
13
|
+
"commit": "e0aabd850b15adf9c151ebd4e332f7c50ad6cfdf",
|
|
14
|
+
"comment": "Update 9.0.0-rc dependencies to use caret range"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "lingfangao@hotmail.com",
|
|
18
|
+
"package": "@fluentui/react-aria",
|
|
19
|
+
"commit": "2da4428ae7d6e464c538b7ed10e425ce0e531144",
|
|
20
|
+
"comment": "chore: Mark internal APIs with @internal"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"none": [
|
|
24
|
+
{
|
|
25
|
+
"author": "tristan.watanabe@gmail.com",
|
|
26
|
+
"package": "@fluentui/react-aria",
|
|
27
|
+
"commit": "319c07f0ef9ffdda6106b60d9f5f75018445fcf8",
|
|
28
|
+
"comment": "chore: Update Aria storybook config to index.stories.tsx entrypoint."
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"patch": [
|
|
32
|
+
{
|
|
33
|
+
"author": "lingfangao@hotmail.com",
|
|
34
|
+
"package": "@fluentui/react-aria",
|
|
35
|
+
"commit": "c7b1348bdad7aa883c29bfbc96ef2a32e6ebc7dd",
|
|
36
|
+
"comment": "feat: Initial 9.0.0 release"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"author": "beachball",
|
|
40
|
+
"package": "@fluentui/react-aria",
|
|
41
|
+
"comment": "Bump @fluentui/keyboard-keys to v0.0.0",
|
|
42
|
+
"commit": "3dd54b72d321c3345a21b4175ffe89e7c457c094"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"author": "beachball",
|
|
46
|
+
"package": "@fluentui/react-aria",
|
|
47
|
+
"comment": "Bump @fluentui/react-utilities to v0.0.0",
|
|
48
|
+
"commit": "3dd54b72d321c3345a21b4175ffe89e7c457c094"
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"date": "Tue, 31 May 2022 21:28:50 GMT",
|
|
55
|
+
"tag": "@fluentui/react-aria_v9.0.0-rc.10",
|
|
56
|
+
"version": "9.0.0-rc.10",
|
|
57
|
+
"comments": {
|
|
58
|
+
"prerelease": [
|
|
59
|
+
{
|
|
60
|
+
"author": "beachball",
|
|
61
|
+
"package": "@fluentui/react-aria",
|
|
62
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.10",
|
|
63
|
+
"commit": "335ebfcfd47005003901b5e319782bfe9ccd89fd"
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"date": "Mon, 23 May 2022 12:14:24 GMT",
|
|
70
|
+
"tag": "@fluentui/react-aria_v9.0.0-rc.9",
|
|
71
|
+
"version": "9.0.0-rc.9",
|
|
72
|
+
"comments": {
|
|
73
|
+
"prerelease": [
|
|
74
|
+
{
|
|
75
|
+
"author": "beachball",
|
|
76
|
+
"package": "@fluentui/react-aria",
|
|
77
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.9",
|
|
78
|
+
"commit": "8d58f08997acf595e3eb7f628123e7fa7830c394"
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"date": "Thu, 05 May 2022 18:26:28 GMT",
|
|
85
|
+
"tag": "@fluentui/react-aria_v9.0.0-rc.8",
|
|
86
|
+
"version": "9.0.0-rc.8",
|
|
87
|
+
"comments": {
|
|
88
|
+
"prerelease": [
|
|
89
|
+
{
|
|
90
|
+
"author": "humberto_makoto@hotmail.com",
|
|
91
|
+
"package": "@fluentui/react-aria",
|
|
92
|
+
"commit": "44e0945655df57a0986376ac8732e605f0378f22",
|
|
93
|
+
"comment": "Removing star exports."
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"author": "martinhochel@microsoft.com",
|
|
97
|
+
"package": "@fluentui/react-aria",
|
|
98
|
+
"commit": "e465622ca241f3dd0534da50823a51e7311fd9ef",
|
|
99
|
+
"comment": "feat: ship rolluped only dts"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"author": "beachball",
|
|
103
|
+
"package": "@fluentui/react-aria",
|
|
104
|
+
"comment": "Bump @fluentui/keyboard-keys to v9.0.0-rc.6",
|
|
105
|
+
"commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"author": "beachball",
|
|
109
|
+
"package": "@fluentui/react-aria",
|
|
110
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.8",
|
|
111
|
+
"commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
|
|
112
|
+
}
|
|
113
|
+
]
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"date": "Wed, 04 May 2022 13:26:37 GMT",
|
|
118
|
+
"tag": "@fluentui/react-aria_v9.0.0-rc.7",
|
|
119
|
+
"version": "9.0.0-rc.7",
|
|
120
|
+
"comments": {
|
|
121
|
+
"none": [
|
|
122
|
+
{
|
|
123
|
+
"author": "tristan.watanabe@gmail.com",
|
|
124
|
+
"package": "@fluentui/react-aria",
|
|
125
|
+
"commit": "35dc16cc0ebb2ce181bd802b4b9002b12ea2d86f",
|
|
126
|
+
"comment": "react-aria: Move to new common folder."
|
|
127
|
+
}
|
|
128
|
+
],
|
|
129
|
+
"prerelease": [
|
|
130
|
+
{
|
|
131
|
+
"author": "beachball",
|
|
132
|
+
"package": "@fluentui/react-aria",
|
|
133
|
+
"comment": "Bump @fluentui/keyboard-keys to v9.0.0-rc.5",
|
|
134
|
+
"commit": "65f94192ed3b2cde7e52b9c7e12d6f38b81965dd"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"author": "beachball",
|
|
138
|
+
"package": "@fluentui/react-aria",
|
|
139
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.7",
|
|
140
|
+
"commit": "65f94192ed3b2cde7e52b9c7e12d6f38b81965dd"
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"date": "Tue, 19 Apr 2022 19:17:07 GMT",
|
|
147
|
+
"tag": "@fluentui/react-aria_v9.0.0-rc.6",
|
|
148
|
+
"version": "9.0.0-rc.6",
|
|
149
|
+
"comments": {
|
|
150
|
+
"none": [
|
|
151
|
+
{
|
|
152
|
+
"author": "elcraig@microsoft.com",
|
|
153
|
+
"package": "@fluentui/react-aria",
|
|
154
|
+
"commit": "b7f17e976f9e058f39c9fce4f0f9bb6eb4dfa577",
|
|
155
|
+
"comment": "Update React dev deps and hoist them to the repo root"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"author": "mgodbolt@microsoft.com",
|
|
159
|
+
"package": "@fluentui/react-aria",
|
|
160
|
+
"commit": "905e46db07ada986fd7885531f72a71b7bbaabdc",
|
|
161
|
+
"comment": "create v9 api extractor config and set all v9 packags to use it, suppress forgotten export"
|
|
162
|
+
}
|
|
163
|
+
],
|
|
164
|
+
"prerelease": [
|
|
165
|
+
{
|
|
166
|
+
"author": "beachball",
|
|
167
|
+
"package": "@fluentui/react-aria",
|
|
168
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.6",
|
|
169
|
+
"commit": "f94b48c825ca8c8b2e3b6755bdd29fe15c7d435d"
|
|
170
|
+
}
|
|
171
|
+
]
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"date": "Fri, 04 Mar 2022 05:17:33 GMT",
|
|
176
|
+
"tag": "@fluentui/react-aria_v9.0.0-rc.5",
|
|
177
|
+
"version": "9.0.0-rc.5",
|
|
178
|
+
"comments": {
|
|
179
|
+
"prerelease": [
|
|
180
|
+
{
|
|
181
|
+
"author": "dzearing@microsoft.com",
|
|
182
|
+
"package": "@fluentui/react-aria",
|
|
183
|
+
"commit": "f2f1c0ea948cc3517eeb442c05433eb0918def29",
|
|
184
|
+
"comment": "Adding explicit export maps on all consumer packages for FUIR 8 and 9."
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"author": "beachball",
|
|
188
|
+
"package": "@fluentui/react-aria",
|
|
189
|
+
"comment": "Bump @fluentui/keyboard-keys to v9.0.0-rc.4",
|
|
190
|
+
"commit": "1494f0b620f6d5aae7f0aef33fc9e8f6eb7f8749"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"author": "beachball",
|
|
194
|
+
"package": "@fluentui/react-aria",
|
|
195
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.5",
|
|
196
|
+
"commit": "1494f0b620f6d5aae7f0aef33fc9e8f6eb7f8749"
|
|
197
|
+
}
|
|
198
|
+
]
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"date": "Tue, 01 Mar 2022 02:17:40 GMT",
|
|
203
|
+
"tag": "@fluentui/react-aria_v9.0.0-rc.4",
|
|
204
|
+
"version": "9.0.0-rc.4",
|
|
205
|
+
"comments": {
|
|
206
|
+
"prerelease": [
|
|
207
|
+
{
|
|
208
|
+
"author": "beachball",
|
|
209
|
+
"package": "@fluentui/react-aria",
|
|
210
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.4",
|
|
211
|
+
"commit": "0bc1e755543ed69443d5d03e1976c630583242f7"
|
|
212
|
+
}
|
|
213
|
+
]
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"date": "Fri, 18 Feb 2022 13:35:38 GMT",
|
|
218
|
+
"tag": "@fluentui/react-aria_v9.0.0-rc.3",
|
|
219
|
+
"version": "9.0.0-rc.3",
|
|
220
|
+
"comments": {
|
|
221
|
+
"prerelease": [
|
|
222
|
+
{
|
|
223
|
+
"author": "lingfangao@hotmail.com",
|
|
12
224
|
"package": "@fluentui/react-aria",
|
|
13
|
-
"commit": "
|
|
14
|
-
"comment": "
|
|
225
|
+
"commit": "1aa9e691fcccd9a64168cea7941c0f1e71fa1d14",
|
|
226
|
+
"comment": "fix: Source maps contain original source code"
|
|
15
227
|
},
|
|
16
228
|
{
|
|
17
229
|
"author": "Humberto.Morimoto@microsoft.com",
|
|
@@ -22,14 +234,14 @@
|
|
|
22
234
|
{
|
|
23
235
|
"author": "beachball",
|
|
24
236
|
"package": "@fluentui/react-aria",
|
|
25
|
-
"comment": "Bump @fluentui/keyboard-keys to
|
|
26
|
-
"commit": "
|
|
237
|
+
"comment": "Bump @fluentui/keyboard-keys to v9.0.0-rc.3",
|
|
238
|
+
"commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
|
|
27
239
|
},
|
|
28
240
|
{
|
|
29
241
|
"author": "beachball",
|
|
30
242
|
"package": "@fluentui/react-aria",
|
|
31
|
-
"comment": "Bump @fluentui/react-utilities to
|
|
32
|
-
"commit": "
|
|
243
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.3",
|
|
244
|
+
"commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
|
|
33
245
|
}
|
|
34
246
|
]
|
|
35
247
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,24 +1,109 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-aria
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Tue, 28 Jun 2022 04:31:28 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
-
## [0.0.0
|
|
7
|
+
## [0.0.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v0.0.0)
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-rc.
|
|
9
|
+
Tue, 28 Jun 2022 04:31:28 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-rc.10..@fluentui/react-aria_v0.0.0)
|
|
11
|
+
|
|
12
|
+
### Patches
|
|
13
|
+
|
|
14
|
+
- feat: Initial 9.0.0 release ([PR #23733](https://github.com/microsoft/fluentui/pull/23733) by lingfangao@hotmail.com)
|
|
15
|
+
- Bump @fluentui/keyboard-keys to v0.0.0 ([commit](https://github.com/microsoft/fluentui/commit/3dd54b72d321c3345a21b4175ffe89e7c457c094) by beachball)
|
|
16
|
+
- Bump @fluentui/react-utilities to v0.0.0 ([commit](https://github.com/microsoft/fluentui/commit/3dd54b72d321c3345a21b4175ffe89e7c457c094) by beachball)
|
|
17
|
+
|
|
18
|
+
### Changes
|
|
19
|
+
|
|
20
|
+
- Update 9.0.0-rc dependencies to use caret range ([PR #23732](https://github.com/microsoft/fluentui/pull/23732) by lingfangao@hotmail.com)
|
|
21
|
+
- chore: Mark internal APIs with @internal ([PR #23689](https://github.com/microsoft/fluentui/pull/23689) by lingfangao@hotmail.com)
|
|
22
|
+
|
|
23
|
+
## [9.0.0-rc.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-rc.10)
|
|
24
|
+
|
|
25
|
+
Tue, 31 May 2022 21:28:50 GMT
|
|
26
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-rc.9..@fluentui/react-aria_v9.0.0-rc.10)
|
|
27
|
+
|
|
28
|
+
### Changes
|
|
29
|
+
|
|
30
|
+
- Bump @fluentui/react-utilities to v9.0.0-rc.10 ([PR #23325](https://github.com/microsoft/fluentui/pull/23325) by beachball)
|
|
31
|
+
|
|
32
|
+
## [9.0.0-rc.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-rc.9)
|
|
33
|
+
|
|
34
|
+
Mon, 23 May 2022 12:14:24 GMT
|
|
35
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-rc.8..@fluentui/react-aria_v9.0.0-rc.9)
|
|
36
|
+
|
|
37
|
+
### Changes
|
|
38
|
+
|
|
39
|
+
- Bump @fluentui/react-utilities to v9.0.0-rc.9 ([PR #23030](https://github.com/microsoft/fluentui/pull/23030) by beachball)
|
|
40
|
+
|
|
41
|
+
## [9.0.0-rc.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-rc.8)
|
|
42
|
+
|
|
43
|
+
Thu, 05 May 2022 18:26:28 GMT
|
|
44
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-rc.7..@fluentui/react-aria_v9.0.0-rc.8)
|
|
45
|
+
|
|
46
|
+
### Changes
|
|
47
|
+
|
|
48
|
+
- Removing star exports. ([PR #22798](https://github.com/microsoft/fluentui/pull/22798) by humberto_makoto@hotmail.com)
|
|
49
|
+
- feat: ship rolluped only dts ([PR #22823](https://github.com/microsoft/fluentui/pull/22823) by martinhochel@microsoft.com)
|
|
50
|
+
- Bump @fluentui/keyboard-keys to v9.0.0-rc.6 ([PR #22857](https://github.com/microsoft/fluentui/pull/22857) by beachball)
|
|
51
|
+
- Bump @fluentui/react-utilities to v9.0.0-rc.8 ([PR #22857](https://github.com/microsoft/fluentui/pull/22857) by beachball)
|
|
52
|
+
|
|
53
|
+
## [9.0.0-rc.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-rc.7)
|
|
54
|
+
|
|
55
|
+
Wed, 04 May 2022 13:26:37 GMT
|
|
56
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-rc.6..@fluentui/react-aria_v9.0.0-rc.7)
|
|
57
|
+
|
|
58
|
+
### Changes
|
|
59
|
+
|
|
60
|
+
- Bump @fluentui/keyboard-keys to v9.0.0-rc.5 ([PR #22786](https://github.com/microsoft/fluentui/pull/22786) by beachball)
|
|
61
|
+
- Bump @fluentui/react-utilities to v9.0.0-rc.7 ([PR #22786](https://github.com/microsoft/fluentui/pull/22786) by beachball)
|
|
62
|
+
|
|
63
|
+
## [9.0.0-rc.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-rc.6)
|
|
64
|
+
|
|
65
|
+
Tue, 19 Apr 2022 19:17:07 GMT
|
|
66
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-rc.5..@fluentui/react-aria_v9.0.0-rc.6)
|
|
67
|
+
|
|
68
|
+
### Changes
|
|
69
|
+
|
|
70
|
+
- Bump @fluentui/react-utilities to v9.0.0-rc.6 ([PR #21995](https://github.com/microsoft/fluentui/pull/21995) by beachball)
|
|
71
|
+
|
|
72
|
+
## [9.0.0-rc.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-rc.5)
|
|
73
|
+
|
|
74
|
+
Fri, 04 Mar 2022 05:17:33 GMT
|
|
75
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-rc.4..@fluentui/react-aria_v9.0.0-rc.5)
|
|
76
|
+
|
|
77
|
+
### Changes
|
|
78
|
+
|
|
79
|
+
- 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)
|
|
80
|
+
- Bump @fluentui/keyboard-keys to v9.0.0-rc.4 ([PR #21947](https://github.com/microsoft/fluentui/pull/21947) by beachball)
|
|
81
|
+
- Bump @fluentui/react-utilities to v9.0.0-rc.5 ([PR #21947](https://github.com/microsoft/fluentui/pull/21947) by beachball)
|
|
82
|
+
|
|
83
|
+
## [9.0.0-rc.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-rc.4)
|
|
84
|
+
|
|
85
|
+
Tue, 01 Mar 2022 02:17:40 GMT
|
|
86
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-rc.3..@fluentui/react-aria_v9.0.0-rc.4)
|
|
87
|
+
|
|
88
|
+
### Changes
|
|
89
|
+
|
|
90
|
+
- Bump @fluentui/react-utilities to v9.0.0-rc.4 ([PR #21884](https://github.com/microsoft/fluentui/pull/21884) by beachball)
|
|
91
|
+
|
|
92
|
+
## [9.0.0-rc.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-rc.3)
|
|
93
|
+
|
|
94
|
+
Fri, 18 Feb 2022 13:35:38 GMT
|
|
95
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-rc.1..@fluentui/react-aria_v9.0.0-rc.3)
|
|
11
96
|
|
|
12
97
|
### Changes
|
|
13
98
|
|
|
14
|
-
-
|
|
99
|
+
- fix: Source maps contain original source code ([PR #21690](https://github.com/microsoft/fluentui/pull/21690) by lingfangao@hotmail.com)
|
|
15
100
|
- 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)
|
|
16
|
-
- Bump @fluentui/keyboard-keys to
|
|
17
|
-
- Bump @fluentui/react-utilities to
|
|
101
|
+
- Bump @fluentui/keyboard-keys to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
|
|
102
|
+
- Bump @fluentui/react-utilities to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
|
|
18
103
|
|
|
19
104
|
## [9.0.0-rc.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-rc.1)
|
|
20
105
|
|
|
21
|
-
Thu, 10 Feb 2022 08:52:17 GMT
|
|
106
|
+
Thu, 10 Feb 2022 08:52:17 GMT
|
|
22
107
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-beta.4..@fluentui/react-aria_v9.0.0-rc.1)
|
|
23
108
|
|
|
24
109
|
### Changes
|
|
@@ -33,7 +118,7 @@ Thu, 10 Feb 2022 08:52:17 GMT
|
|
|
33
118
|
|
|
34
119
|
## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-beta.4)
|
|
35
120
|
|
|
36
|
-
Thu, 25 Nov 2021 08:34:10 GMT
|
|
121
|
+
Thu, 25 Nov 2021 08:34:10 GMT
|
|
37
122
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-beta.3..@fluentui/react-aria_v9.0.0-beta.4)
|
|
38
123
|
|
|
39
124
|
### Changes
|
|
@@ -45,7 +130,7 @@ Thu, 25 Nov 2021 08:34:10 GMT
|
|
|
45
130
|
|
|
46
131
|
## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-beta.3)
|
|
47
132
|
|
|
48
|
-
Fri, 12 Nov 2021 13:25:13 GMT
|
|
133
|
+
Fri, 12 Nov 2021 13:25:13 GMT
|
|
49
134
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-beta.2..@fluentui/react-aria_v9.0.0-beta.3)
|
|
50
135
|
|
|
51
136
|
### Changes
|
|
@@ -58,7 +143,7 @@ Fri, 12 Nov 2021 13:25:13 GMT
|
|
|
58
143
|
|
|
59
144
|
## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-beta.2)
|
|
60
145
|
|
|
61
|
-
Wed, 27 Oct 2021 12:14:13 GMT
|
|
146
|
+
Wed, 27 Oct 2021 12:14:13 GMT
|
|
62
147
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-beta.1..@fluentui/react-aria_v9.0.0-beta.2)
|
|
63
148
|
|
|
64
149
|
### Changes
|
|
@@ -70,7 +155,7 @@ Wed, 27 Oct 2021 12:14:13 GMT
|
|
|
70
155
|
|
|
71
156
|
## [9.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-beta.1)
|
|
72
157
|
|
|
73
|
-
Wed, 06 Oct 2021 10:37:22 GMT
|
|
158
|
+
Wed, 06 Oct 2021 10:37:22 GMT
|
|
74
159
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.45..@fluentui/react-aria_v9.0.0-beta.1)
|
|
75
160
|
|
|
76
161
|
### Changes
|
|
@@ -83,7 +168,7 @@ Wed, 06 Oct 2021 10:37:22 GMT
|
|
|
83
168
|
|
|
84
169
|
## [9.0.0-alpha.45](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.45)
|
|
85
170
|
|
|
86
|
-
Tue, 05 Oct 2021 12:47:58 GMT
|
|
171
|
+
Tue, 05 Oct 2021 12:47:58 GMT
|
|
87
172
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.44..@fluentui/react-aria_v9.0.0-alpha.45)
|
|
88
173
|
|
|
89
174
|
### Changes
|
|
@@ -93,7 +178,7 @@ Tue, 05 Oct 2021 12:47:58 GMT
|
|
|
93
178
|
|
|
94
179
|
## [9.0.0-alpha.44](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.44)
|
|
95
180
|
|
|
96
|
-
Tue, 05 Oct 2021 09:28:07 GMT
|
|
181
|
+
Tue, 05 Oct 2021 09:28:07 GMT
|
|
97
182
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.43..@fluentui/react-aria_v9.0.0-alpha.44)
|
|
98
183
|
|
|
99
184
|
### Changes
|
|
@@ -104,7 +189,7 @@ Tue, 05 Oct 2021 09:28:07 GMT
|
|
|
104
189
|
|
|
105
190
|
## [9.0.0-alpha.43](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.43)
|
|
106
191
|
|
|
107
|
-
Fri, 01 Oct 2021 14:13:08 GMT
|
|
192
|
+
Fri, 01 Oct 2021 14:13:08 GMT
|
|
108
193
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.41..@fluentui/react-aria_v9.0.0-alpha.43)
|
|
109
194
|
|
|
110
195
|
### Changes
|
|
@@ -117,7 +202,7 @@ Fri, 01 Oct 2021 14:13:08 GMT
|
|
|
117
202
|
|
|
118
203
|
## [9.0.0-alpha.41](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.41)
|
|
119
204
|
|
|
120
|
-
Fri, 01 Oct 2021 12:30:46 GMT
|
|
205
|
+
Fri, 01 Oct 2021 12:30:46 GMT
|
|
121
206
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.40..@fluentui/react-aria_v9.0.0-alpha.41)
|
|
122
207
|
|
|
123
208
|
### Changes
|
|
@@ -126,7 +211,7 @@ Fri, 01 Oct 2021 12:30:46 GMT
|
|
|
126
211
|
|
|
127
212
|
## [9.0.0-alpha.40](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.40)
|
|
128
213
|
|
|
129
|
-
Wed, 29 Sep 2021 08:06:11 GMT
|
|
214
|
+
Wed, 29 Sep 2021 08:06:11 GMT
|
|
130
215
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.39..@fluentui/react-aria_v9.0.0-alpha.40)
|
|
131
216
|
|
|
132
217
|
### Changes
|
|
@@ -136,7 +221,7 @@ Wed, 29 Sep 2021 08:06:11 GMT
|
|
|
136
221
|
|
|
137
222
|
## [9.0.0-alpha.39](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.39)
|
|
138
223
|
|
|
139
|
-
Mon, 27 Sep 2021 08:06:00 GMT
|
|
224
|
+
Mon, 27 Sep 2021 08:06:00 GMT
|
|
140
225
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.38..@fluentui/react-aria_v9.0.0-alpha.39)
|
|
141
226
|
|
|
142
227
|
### Changes
|
|
@@ -147,7 +232,7 @@ Mon, 27 Sep 2021 08:06:00 GMT
|
|
|
147
232
|
|
|
148
233
|
## [9.0.0-alpha.38](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.38)
|
|
149
234
|
|
|
150
|
-
Fri, 24 Sep 2021 09:17:17 GMT
|
|
235
|
+
Fri, 24 Sep 2021 09:17:17 GMT
|
|
151
236
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.37..@fluentui/react-aria_v9.0.0-alpha.38)
|
|
152
237
|
|
|
153
238
|
### Changes
|
|
@@ -158,7 +243,7 @@ Fri, 24 Sep 2021 09:17:17 GMT
|
|
|
158
243
|
|
|
159
244
|
## [9.0.0-alpha.37](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.37)
|
|
160
245
|
|
|
161
|
-
Thu, 23 Sep 2021 08:21:34 GMT
|
|
246
|
+
Thu, 23 Sep 2021 08:21:34 GMT
|
|
162
247
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.36..@fluentui/react-aria_v9.0.0-alpha.37)
|
|
163
248
|
|
|
164
249
|
### Changes
|
|
@@ -169,7 +254,7 @@ Thu, 23 Sep 2021 08:21:34 GMT
|
|
|
169
254
|
|
|
170
255
|
## [9.0.0-alpha.36](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.36)
|
|
171
256
|
|
|
172
|
-
Wed, 22 Sep 2021 10:10:07 GMT
|
|
257
|
+
Wed, 22 Sep 2021 10:10:07 GMT
|
|
173
258
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.35..@fluentui/react-aria_v9.0.0-alpha.36)
|
|
174
259
|
|
|
175
260
|
### Changes
|
|
@@ -180,7 +265,7 @@ Wed, 22 Sep 2021 10:10:07 GMT
|
|
|
180
265
|
|
|
181
266
|
## [9.0.0-alpha.35](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.35)
|
|
182
267
|
|
|
183
|
-
Tue, 21 Sep 2021 07:42:34 GMT
|
|
268
|
+
Tue, 21 Sep 2021 07:42:34 GMT
|
|
184
269
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.34..@fluentui/react-aria_v9.0.0-alpha.35)
|
|
185
270
|
|
|
186
271
|
### Changes
|
|
@@ -190,7 +275,7 @@ Tue, 21 Sep 2021 07:42:34 GMT
|
|
|
190
275
|
|
|
191
276
|
## [9.0.0-alpha.34](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.34)
|
|
192
277
|
|
|
193
|
-
Mon, 20 Sep 2021 07:36:26 GMT
|
|
278
|
+
Mon, 20 Sep 2021 07:36:26 GMT
|
|
194
279
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.33..@fluentui/react-aria_v9.0.0-alpha.34)
|
|
195
280
|
|
|
196
281
|
### Changes
|
|
@@ -199,7 +284,7 @@ Mon, 20 Sep 2021 07:36:26 GMT
|
|
|
199
284
|
|
|
200
285
|
## [9.0.0-alpha.33](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.33)
|
|
201
286
|
|
|
202
|
-
Fri, 17 Sep 2021 07:35:26 GMT
|
|
287
|
+
Fri, 17 Sep 2021 07:35:26 GMT
|
|
203
288
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.32..@fluentui/react-aria_v9.0.0-alpha.33)
|
|
204
289
|
|
|
205
290
|
### Changes
|
|
@@ -208,7 +293,7 @@ Fri, 17 Sep 2021 07:35:26 GMT
|
|
|
208
293
|
|
|
209
294
|
## [9.0.0-alpha.32](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.32)
|
|
210
295
|
|
|
211
|
-
Thu, 16 Sep 2021 07:38:39 GMT
|
|
296
|
+
Thu, 16 Sep 2021 07:38:39 GMT
|
|
212
297
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.31..@fluentui/react-aria_v9.0.0-alpha.32)
|
|
213
298
|
|
|
214
299
|
### Changes
|
|
@@ -217,7 +302,7 @@ Thu, 16 Sep 2021 07:38:39 GMT
|
|
|
217
302
|
|
|
218
303
|
## [9.0.0-alpha.31](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.31)
|
|
219
304
|
|
|
220
|
-
Tue, 14 Sep 2021 20:09:02 GMT
|
|
305
|
+
Tue, 14 Sep 2021 20:09:02 GMT
|
|
221
306
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.30..@fluentui/react-aria_v9.0.0-alpha.31)
|
|
222
307
|
|
|
223
308
|
### Changes
|
|
@@ -226,7 +311,7 @@ Tue, 14 Sep 2021 20:09:02 GMT
|
|
|
226
311
|
|
|
227
312
|
## [9.0.0-alpha.30](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.30)
|
|
228
313
|
|
|
229
|
-
Tue, 14 Sep 2021 07:38:18 GMT
|
|
314
|
+
Tue, 14 Sep 2021 07:38:18 GMT
|
|
230
315
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.29..@fluentui/react-aria_v9.0.0-alpha.30)
|
|
231
316
|
|
|
232
317
|
### Changes
|
|
@@ -235,7 +320,7 @@ Tue, 14 Sep 2021 07:38:18 GMT
|
|
|
235
320
|
|
|
236
321
|
## [9.0.0-alpha.29](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.29)
|
|
237
322
|
|
|
238
|
-
Fri, 10 Sep 2021 16:31:53 GMT
|
|
323
|
+
Fri, 10 Sep 2021 16:31:53 GMT
|
|
239
324
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.28..@fluentui/react-aria_v9.0.0-alpha.29)
|
|
240
325
|
|
|
241
326
|
### Changes
|
|
@@ -245,7 +330,7 @@ Fri, 10 Sep 2021 16:31:53 GMT
|
|
|
245
330
|
|
|
246
331
|
## [9.0.0-alpha.28](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.28)
|
|
247
332
|
|
|
248
|
-
Fri, 10 Sep 2021 07:39:51 GMT
|
|
333
|
+
Fri, 10 Sep 2021 07:39:51 GMT
|
|
249
334
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.27..@fluentui/react-aria_v9.0.0-alpha.28)
|
|
250
335
|
|
|
251
336
|
### Changes
|
|
@@ -254,7 +339,7 @@ Fri, 10 Sep 2021 07:39:51 GMT
|
|
|
254
339
|
|
|
255
340
|
## [9.0.0-alpha.27](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.27)
|
|
256
341
|
|
|
257
|
-
Mon, 06 Sep 2021 07:34:53 GMT
|
|
342
|
+
Mon, 06 Sep 2021 07:34:53 GMT
|
|
258
343
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.26..@fluentui/react-aria_v9.0.0-alpha.27)
|
|
259
344
|
|
|
260
345
|
### Changes
|
|
@@ -263,7 +348,7 @@ Mon, 06 Sep 2021 07:34:53 GMT
|
|
|
263
348
|
|
|
264
349
|
## [9.0.0-alpha.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.26)
|
|
265
350
|
|
|
266
|
-
Thu, 02 Sep 2021 07:36:46 GMT
|
|
351
|
+
Thu, 02 Sep 2021 07:36:46 GMT
|
|
267
352
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.25..@fluentui/react-aria_v9.0.0-alpha.26)
|
|
268
353
|
|
|
269
354
|
### Patches
|
|
@@ -272,7 +357,7 @@ Thu, 02 Sep 2021 07:36:46 GMT
|
|
|
272
357
|
|
|
273
358
|
## [9.0.0-alpha.25](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.25)
|
|
274
359
|
|
|
275
|
-
Wed, 01 Sep 2021 07:39:56 GMT
|
|
360
|
+
Wed, 01 Sep 2021 07:39:56 GMT
|
|
276
361
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.24..@fluentui/react-aria_v9.0.0-alpha.25)
|
|
277
362
|
|
|
278
363
|
### Changes
|
|
@@ -281,7 +366,7 @@ Wed, 01 Sep 2021 07:39:56 GMT
|
|
|
281
366
|
|
|
282
367
|
## [9.0.0-alpha.24](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.24)
|
|
283
368
|
|
|
284
|
-
Tue, 31 Aug 2021 07:37:47 GMT
|
|
369
|
+
Tue, 31 Aug 2021 07:37:47 GMT
|
|
285
370
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.23..@fluentui/react-aria_v9.0.0-alpha.24)
|
|
286
371
|
|
|
287
372
|
### Changes
|
|
@@ -290,7 +375,7 @@ Tue, 31 Aug 2021 07:37:47 GMT
|
|
|
290
375
|
|
|
291
376
|
## [9.0.0-alpha.23](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.23)
|
|
292
377
|
|
|
293
|
-
Mon, 30 Aug 2021 07:35:05 GMT
|
|
378
|
+
Mon, 30 Aug 2021 07:35:05 GMT
|
|
294
379
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.22..@fluentui/react-aria_v9.0.0-alpha.23)
|
|
295
380
|
|
|
296
381
|
### Changes
|
|
@@ -299,7 +384,7 @@ Mon, 30 Aug 2021 07:35:05 GMT
|
|
|
299
384
|
|
|
300
385
|
## [9.0.0-alpha.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.22)
|
|
301
386
|
|
|
302
|
-
Fri, 20 Aug 2021 07:37:28 GMT
|
|
387
|
+
Fri, 20 Aug 2021 07:37:28 GMT
|
|
303
388
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.21..@fluentui/react-aria_v9.0.0-alpha.22)
|
|
304
389
|
|
|
305
390
|
### Changes
|
|
@@ -308,7 +393,7 @@ Fri, 20 Aug 2021 07:37:28 GMT
|
|
|
308
393
|
|
|
309
394
|
## [9.0.0-alpha.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.21)
|
|
310
395
|
|
|
311
|
-
Thu, 19 Aug 2021 07:41:35 GMT
|
|
396
|
+
Thu, 19 Aug 2021 07:41:35 GMT
|
|
312
397
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.20..@fluentui/react-aria_v9.0.0-alpha.21)
|
|
313
398
|
|
|
314
399
|
### Changes
|
|
@@ -317,7 +402,7 @@ Thu, 19 Aug 2021 07:41:35 GMT
|
|
|
317
402
|
|
|
318
403
|
## [9.0.0-alpha.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.20)
|
|
319
404
|
|
|
320
|
-
Fri, 13 Aug 2021 07:36:34 GMT
|
|
405
|
+
Fri, 13 Aug 2021 07:36:34 GMT
|
|
321
406
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.19..@fluentui/react-aria_v9.0.0-alpha.20)
|
|
322
407
|
|
|
323
408
|
### Changes
|
|
@@ -326,7 +411,7 @@ Fri, 13 Aug 2021 07:36:34 GMT
|
|
|
326
411
|
|
|
327
412
|
## [9.0.0-alpha.19](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.19)
|
|
328
413
|
|
|
329
|
-
Fri, 06 Aug 2021 07:35:14 GMT
|
|
414
|
+
Fri, 06 Aug 2021 07:35:14 GMT
|
|
330
415
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.18..@fluentui/react-aria_v9.0.0-alpha.19)
|
|
331
416
|
|
|
332
417
|
### Changes
|
|
@@ -335,7 +420,7 @@ Fri, 06 Aug 2021 07:35:14 GMT
|
|
|
335
420
|
|
|
336
421
|
## [9.0.0-alpha.18](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.18)
|
|
337
422
|
|
|
338
|
-
Tue, 03 Aug 2021 07:39:30 GMT
|
|
423
|
+
Tue, 03 Aug 2021 07:39:30 GMT
|
|
339
424
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.17..@fluentui/react-aria_v9.0.0-alpha.18)
|
|
340
425
|
|
|
341
426
|
### Patches
|
|
@@ -350,7 +435,7 @@ Tue, 03 Aug 2021 07:39:30 GMT
|
|
|
350
435
|
|
|
351
436
|
## [9.0.0-alpha.17](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.17)
|
|
352
437
|
|
|
353
|
-
Mon, 02 Aug 2021 07:36:20 GMT
|
|
438
|
+
Mon, 02 Aug 2021 07:36:20 GMT
|
|
354
439
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.16..@fluentui/react-aria_v9.0.0-alpha.17)
|
|
355
440
|
|
|
356
441
|
### Changes
|
|
@@ -359,7 +444,7 @@ Mon, 02 Aug 2021 07:36:20 GMT
|
|
|
359
444
|
|
|
360
445
|
## [9.0.0-alpha.16](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.16)
|
|
361
446
|
|
|
362
|
-
Mon, 26 Jul 2021 07:37:30 GMT
|
|
447
|
+
Mon, 26 Jul 2021 07:37:30 GMT
|
|
363
448
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.15..@fluentui/react-aria_v9.0.0-alpha.16)
|
|
364
449
|
|
|
365
450
|
### Changes
|
|
@@ -368,7 +453,7 @@ Mon, 26 Jul 2021 07:37:30 GMT
|
|
|
368
453
|
|
|
369
454
|
## [9.0.0-alpha.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.15)
|
|
370
455
|
|
|
371
|
-
Fri, 23 Jul 2021 07:38:19 GMT
|
|
456
|
+
Fri, 23 Jul 2021 07:38:19 GMT
|
|
372
457
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.14..@fluentui/react-aria_v9.0.0-alpha.15)
|
|
373
458
|
|
|
374
459
|
### Changes
|
|
@@ -377,7 +462,7 @@ Fri, 23 Jul 2021 07:38:19 GMT
|
|
|
377
462
|
|
|
378
463
|
## [9.0.0-alpha.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.14)
|
|
379
464
|
|
|
380
|
-
Thu, 22 Jul 2021 07:36:55 GMT
|
|
465
|
+
Thu, 22 Jul 2021 07:36:55 GMT
|
|
381
466
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.13..@fluentui/react-aria_v9.0.0-alpha.14)
|
|
382
467
|
|
|
383
468
|
### Changes
|
|
@@ -386,7 +471,7 @@ Thu, 22 Jul 2021 07:36:55 GMT
|
|
|
386
471
|
|
|
387
472
|
## [9.0.0-alpha.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.13)
|
|
388
473
|
|
|
389
|
-
Tue, 20 Jul 2021 22:23:17 GMT
|
|
474
|
+
Tue, 20 Jul 2021 22:23:17 GMT
|
|
390
475
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.12..@fluentui/react-aria_v9.0.0-alpha.13)
|
|
391
476
|
|
|
392
477
|
### Changes
|
|
@@ -395,7 +480,7 @@ Tue, 20 Jul 2021 22:23:17 GMT
|
|
|
395
480
|
|
|
396
481
|
## [9.0.0-alpha.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.12)
|
|
397
482
|
|
|
398
|
-
Thu, 15 Jul 2021 07:36:18 GMT
|
|
483
|
+
Thu, 15 Jul 2021 07:36:18 GMT
|
|
399
484
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.11..@fluentui/react-aria_v9.0.0-alpha.12)
|
|
400
485
|
|
|
401
486
|
### Changes
|
|
@@ -404,7 +489,7 @@ Thu, 15 Jul 2021 07:36:18 GMT
|
|
|
404
489
|
|
|
405
490
|
## [9.0.0-alpha.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.11)
|
|
406
491
|
|
|
407
|
-
Tue, 13 Jul 2021 22:32:58 GMT
|
|
492
|
+
Tue, 13 Jul 2021 22:32:58 GMT
|
|
408
493
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.10..@fluentui/react-aria_v9.0.0-alpha.11)
|
|
409
494
|
|
|
410
495
|
### Patches
|
|
@@ -413,7 +498,7 @@ Tue, 13 Jul 2021 22:32:58 GMT
|
|
|
413
498
|
|
|
414
499
|
## [9.0.0-alpha.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.10)
|
|
415
500
|
|
|
416
|
-
Tue, 13 Jul 2021 07:35:36 GMT
|
|
501
|
+
Tue, 13 Jul 2021 07:35:36 GMT
|
|
417
502
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.9..@fluentui/react-aria_v9.0.0-alpha.10)
|
|
418
503
|
|
|
419
504
|
### Changes
|
|
@@ -422,7 +507,7 @@ Tue, 13 Jul 2021 07:35:36 GMT
|
|
|
422
507
|
|
|
423
508
|
## [9.0.0-alpha.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.9)
|
|
424
509
|
|
|
425
|
-
Mon, 12 Jul 2021 07:33:23 GMT
|
|
510
|
+
Mon, 12 Jul 2021 07:33:23 GMT
|
|
426
511
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.8..@fluentui/react-aria_v9.0.0-alpha.9)
|
|
427
512
|
|
|
428
513
|
### Changes
|
|
@@ -432,7 +517,7 @@ Mon, 12 Jul 2021 07:33:23 GMT
|
|
|
432
517
|
|
|
433
518
|
## [9.0.0-alpha.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.8)
|
|
434
519
|
|
|
435
|
-
Fri, 09 Jul 2021 07:39:31 GMT
|
|
520
|
+
Fri, 09 Jul 2021 07:39:31 GMT
|
|
436
521
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.7..@fluentui/react-aria_v9.0.0-alpha.8)
|
|
437
522
|
|
|
438
523
|
### Patches
|
|
@@ -448,7 +533,7 @@ Fri, 09 Jul 2021 07:39:31 GMT
|
|
|
448
533
|
|
|
449
534
|
## [9.0.0-alpha.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.7)
|
|
450
535
|
|
|
451
|
-
Fri, 02 Jul 2021 23:15:55 GMT
|
|
536
|
+
Fri, 02 Jul 2021 23:15:55 GMT
|
|
452
537
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.6..@fluentui/react-aria_v9.0.0-alpha.7)
|
|
453
538
|
|
|
454
539
|
### Changes
|
|
@@ -457,7 +542,7 @@ Fri, 02 Jul 2021 23:15:55 GMT
|
|
|
457
542
|
|
|
458
543
|
## [9.0.0-alpha.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.6)
|
|
459
544
|
|
|
460
|
-
Fri, 02 Jul 2021 07:37:06 GMT
|
|
545
|
+
Fri, 02 Jul 2021 07:37:06 GMT
|
|
461
546
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.5..@fluentui/react-aria_v9.0.0-alpha.6)
|
|
462
547
|
|
|
463
548
|
### Changes
|
|
@@ -466,7 +551,7 @@ Fri, 02 Jul 2021 07:37:06 GMT
|
|
|
466
551
|
|
|
467
552
|
## [9.0.0-alpha.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.5)
|
|
468
553
|
|
|
469
|
-
Thu, 01 Jul 2021 07:35:05 GMT
|
|
554
|
+
Thu, 01 Jul 2021 07:35:05 GMT
|
|
470
555
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.4..@fluentui/react-aria_v9.0.0-alpha.5)
|
|
471
556
|
|
|
472
557
|
### Changes
|
|
@@ -475,7 +560,7 @@ Thu, 01 Jul 2021 07:35:05 GMT
|
|
|
475
560
|
|
|
476
561
|
## [9.0.0-alpha.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.4)
|
|
477
562
|
|
|
478
|
-
Wed, 30 Jun 2021 07:38:35 GMT
|
|
563
|
+
Wed, 30 Jun 2021 07:38:35 GMT
|
|
479
564
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.3..@fluentui/react-aria_v9.0.0-alpha.4)
|
|
480
565
|
|
|
481
566
|
### Changes
|
|
@@ -484,7 +569,7 @@ Wed, 30 Jun 2021 07:38:35 GMT
|
|
|
484
569
|
|
|
485
570
|
## [9.0.0-alpha.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.3)
|
|
486
571
|
|
|
487
|
-
Tue, 29 Jun 2021 07:33:32 GMT
|
|
572
|
+
Tue, 29 Jun 2021 07:33:32 GMT
|
|
488
573
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.2..@fluentui/react-aria_v9.0.0-alpha.3)
|
|
489
574
|
|
|
490
575
|
### Changes
|
|
@@ -493,7 +578,7 @@ Tue, 29 Jun 2021 07:33:32 GMT
|
|
|
493
578
|
|
|
494
579
|
## [9.0.0-alpha.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.2)
|
|
495
580
|
|
|
496
|
-
Mon, 21 Jun 2021 07:34:33 GMT
|
|
581
|
+
Mon, 21 Jun 2021 07:34:33 GMT
|
|
497
582
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.1..@fluentui/react-aria_v9.0.0-alpha.2)
|
|
498
583
|
|
|
499
584
|
### Changes
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["hooks/useARIAButton.ts"],"names":[],"mappings":"AAAA,SAAS,KAAT,EAAgB,KAAhB,QAA6B,yBAA7B;AACA,SAAS,gBAAT,EAA2B,gBAA3B,QAAmD,2BAAnD;AAQA;;;;AAIG;;AACH,OAAO,MAAM,aAAa,GAAkD,CAAC,SAAD,EAAY,OAAZ,KAAuB;;;
|
|
1
|
+
{"version":3,"sources":["hooks/useARIAButton.ts"],"names":[],"mappings":"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","sourcesContent":["import { Enter, Space } from '@fluentui/keyboard-keys';\nimport { resolveShorthand, useEventCallback } from '@fluentui/react-utilities';\nimport type { ExtractSlotProps, ResolveShorthandFunction, Slot } from '@fluentui/react-utilities';\n\nexport type ARIAButtonSlotProps = ExtractSlotProps<Slot<'button', 'a'>> & {\n disabled?: boolean;\n disabledFocusable?: boolean;\n};\n\n/**\n * Button keyboard handling, role, disabled and tabIndex implementation that ensures ARIA spec\n * for multiple scenarios of shorthand properties. Ensuring 1st rule of ARIA for cases\n * where no attribute addition is required.\n */\nexport const useARIAButton: ResolveShorthandFunction<ARIAButtonSlotProps> = (shorthand, options) => {\n const shorthandProps = resolveShorthand(shorthand, options);\n\n const { disabled, disabledFocusable, onClick, onKeyDown, onKeyUp, tabIndex } = (shorthandProps ||\n {}) as ARIAButtonSlotProps;\n\n const onClickHandler: ARIAButtonSlotProps['onClick'] = useEventCallback(ev => {\n if (disabled || disabledFocusable) {\n ev.preventDefault();\n ev.stopPropagation();\n } else {\n onClick?.(ev);\n }\n });\n\n const onKeyDownHandler: ARIAButtonSlotProps['onKeyDown'] = useEventCallback(ev => {\n onKeyDown?.(ev);\n\n if (ev.isDefaultPrevented()) {\n return;\n }\n\n const key = ev.key;\n\n if ((disabled || disabledFocusable) && (key === Enter || key === Space)) {\n ev.preventDefault();\n ev.stopPropagation();\n return;\n }\n\n if (key === Space) {\n ev.preventDefault();\n return;\n }\n\n // If enter is pressed, activate the button\n else if (key === Enter) {\n ev.preventDefault();\n ev.currentTarget.click();\n }\n });\n\n const onKeyupHandler: ARIAButtonSlotProps['onKeyUp'] = useEventCallback(ev => {\n onKeyUp?.(ev);\n\n if (ev.isDefaultPrevented()) {\n return;\n }\n\n const key = ev.key;\n\n if ((disabled || disabledFocusable) && (key === Enter || key === Space)) {\n ev.preventDefault();\n ev.stopPropagation();\n return;\n }\n\n if (key === Space) {\n ev.preventDefault();\n ev.currentTarget.click();\n }\n });\n\n if (shorthandProps) {\n // If a <button> tag is to be rendered we just need to set disabled and aria-disabled correctly\n if (shorthandProps.as === 'button' || shorthandProps.as === undefined) {\n shorthandProps.disabled = disabled && !disabledFocusable;\n shorthandProps['aria-disabled'] = disabledFocusable ? true : undefined;\n\n // Undefine events if disabledFocusable is passed in\n if (disabledFocusable) {\n shorthandProps.onClick = undefined;\n shorthandProps.onKeyDown = undefined;\n shorthandProps.onKeyUp = undefined;\n }\n }\n\n // If an <a> tag is to be rendered we have to remove disabled and type, and set aria-disabled, role and tabIndex.\n else {\n delete shorthandProps.disabled;\n shorthandProps['aria-disabled'] = disabled || disabledFocusable;\n (shorthandProps as JSX.IntrinsicElements['a']).href = disabled\n ? undefined\n : (shorthandProps as JSX.IntrinsicElements['a']).href;\n shorthandProps.onClick = onClickHandler;\n shorthandProps.onKeyDown = onKeyDownHandler;\n shorthandProps.onKeyUp = onKeyupHandler;\n shorthandProps.role = shorthandProps.role ?? 'button';\n shorthandProps.tabIndex = disabled && !disabledFocusable ? undefined : tabIndex ?? 0;\n }\n\n // Remove non-DOM disabledFocusable prop\n delete shorthandProps.disabledFocusable;\n }\n\n return shorthandProps;\n};\n"],"sourceRoot":"../src/"}
|
package/lib/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export { useARIAButton } from './hooks/index';
|
|
2
|
+
export { mergeARIADisabled } from './utils/index';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC","sourcesContent":["export { useARIAButton } from './hooks/index';\nexport type { ARIAButtonSlotProps } from './hooks/index';\nexport { mergeARIADisabled } from './utils/index';\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["utils/mergeARIADisabled.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"sources":["utils/mergeARIADisabled.ts"],"names":[],"mappings":"AAAA;;;AAGG;AACH,OAAM,SAAU,iBAAV,CAA4B,SAA5B,EAAiG;;;EACrG,MAAM,QAAQ,GAAG,CAAA,EAAA,GAAA,SAAS,CAAC,QAAV,MAAkB,IAAlB,IAAkB,EAAA,KAAA,KAAA,CAAlB,GAAkB,EAAlB,GAAsB,SAAS,CAAC,eAAD,CAAhD;;EACA,IAAI,OAAO,QAAP,KAAoB,QAAxB,EAAkC;IAChC,OAAO,QAAQ,KAAK,OAAb,GAAuB,KAAvB,GAA+B,IAAtC;EACD;;EACD,OAAO,QAAQ,KAAA,IAAR,IAAA,QAAQ,KAAA,KAAA,CAAR,GAAA,QAAA,GAAY,KAAnB;AACD","sourcesContent":["/**\n * @internal\n * Merges disabled declaration with `aria-disabled`\n */\nexport function mergeARIADisabled(shorthand: { 'aria-disabled'?: string | boolean; disabled?: boolean }) {\n const disabled = shorthand.disabled ?? shorthand['aria-disabled'];\n if (typeof disabled === 'string') {\n return disabled === 'false' ? false : true;\n }\n return disabled ?? false;\n}\n"],"sourceRoot":"../src/"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["hooks/useARIAButton.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,eAAA,gBAAA,OAAA,CAAA,yBAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;AAQA;;;;AAIG;;;AACI,MAAM,aAAa,GAAkD,CAAC,SAAD,EAAY,OAAZ,KAAuB;;;
|
|
1
|
+
{"version":3,"sources":["hooks/useARIAButton.ts"],"names":[],"mappings":"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","sourcesContent":["import { Enter, Space } from '@fluentui/keyboard-keys';\nimport { resolveShorthand, useEventCallback } from '@fluentui/react-utilities';\nimport type { ExtractSlotProps, ResolveShorthandFunction, Slot } from '@fluentui/react-utilities';\n\nexport type ARIAButtonSlotProps = ExtractSlotProps<Slot<'button', 'a'>> & {\n disabled?: boolean;\n disabledFocusable?: boolean;\n};\n\n/**\n * Button keyboard handling, role, disabled and tabIndex implementation that ensures ARIA spec\n * for multiple scenarios of shorthand properties. Ensuring 1st rule of ARIA for cases\n * where no attribute addition is required.\n */\nexport const useARIAButton: ResolveShorthandFunction<ARIAButtonSlotProps> = (shorthand, options) => {\n const shorthandProps = resolveShorthand(shorthand, options);\n\n const { disabled, disabledFocusable, onClick, onKeyDown, onKeyUp, tabIndex } = (shorthandProps ||\n {}) as ARIAButtonSlotProps;\n\n const onClickHandler: ARIAButtonSlotProps['onClick'] = useEventCallback(ev => {\n if (disabled || disabledFocusable) {\n ev.preventDefault();\n ev.stopPropagation();\n } else {\n onClick?.(ev);\n }\n });\n\n const onKeyDownHandler: ARIAButtonSlotProps['onKeyDown'] = useEventCallback(ev => {\n onKeyDown?.(ev);\n\n if (ev.isDefaultPrevented()) {\n return;\n }\n\n const key = ev.key;\n\n if ((disabled || disabledFocusable) && (key === Enter || key === Space)) {\n ev.preventDefault();\n ev.stopPropagation();\n return;\n }\n\n if (key === Space) {\n ev.preventDefault();\n return;\n }\n\n // If enter is pressed, activate the button\n else if (key === Enter) {\n ev.preventDefault();\n ev.currentTarget.click();\n }\n });\n\n const onKeyupHandler: ARIAButtonSlotProps['onKeyUp'] = useEventCallback(ev => {\n onKeyUp?.(ev);\n\n if (ev.isDefaultPrevented()) {\n return;\n }\n\n const key = ev.key;\n\n if ((disabled || disabledFocusable) && (key === Enter || key === Space)) {\n ev.preventDefault();\n ev.stopPropagation();\n return;\n }\n\n if (key === Space) {\n ev.preventDefault();\n ev.currentTarget.click();\n }\n });\n\n if (shorthandProps) {\n // If a <button> tag is to be rendered we just need to set disabled and aria-disabled correctly\n if (shorthandProps.as === 'button' || shorthandProps.as === undefined) {\n shorthandProps.disabled = disabled && !disabledFocusable;\n shorthandProps['aria-disabled'] = disabledFocusable ? true : undefined;\n\n // Undefine events if disabledFocusable is passed in\n if (disabledFocusable) {\n shorthandProps.onClick = undefined;\n shorthandProps.onKeyDown = undefined;\n shorthandProps.onKeyUp = undefined;\n }\n }\n\n // If an <a> tag is to be rendered we have to remove disabled and type, and set aria-disabled, role and tabIndex.\n else {\n delete shorthandProps.disabled;\n shorthandProps['aria-disabled'] = disabled || disabledFocusable;\n (shorthandProps as JSX.IntrinsicElements['a']).href = disabled\n ? undefined\n : (shorthandProps as JSX.IntrinsicElements['a']).href;\n shorthandProps.onClick = onClickHandler;\n shorthandProps.onKeyDown = onKeyDownHandler;\n shorthandProps.onKeyUp = onKeyupHandler;\n shorthandProps.role = shorthandProps.role ?? 'button';\n shorthandProps.tabIndex = disabled && !disabledFocusable ? undefined : tabIndex ?? 0;\n }\n\n // Remove non-DOM disabledFocusable prop\n delete shorthandProps.disabledFocusable;\n }\n\n return shorthandProps;\n};\n"],"sourceRoot":"../src/"}
|
package/lib-commonjs/index.js
CHANGED
|
@@ -3,10 +3,23 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
+
exports.mergeARIADisabled = exports.useARIAButton = void 0;
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
var index_1 = /*#__PURE__*/require("./hooks/index");
|
|
8
9
|
|
|
9
|
-
|
|
10
|
+
Object.defineProperty(exports, "useARIAButton", {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return index_1.useARIAButton;
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
var index_2 = /*#__PURE__*/require("./utils/index");
|
|
10
18
|
|
|
11
|
-
|
|
19
|
+
Object.defineProperty(exports, "mergeARIADisabled", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () {
|
|
22
|
+
return index_2.mergeARIADisabled;
|
|
23
|
+
}
|
|
24
|
+
});
|
|
12
25
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["index.ts"],"names":[],"mappings":";;;;;;;AAAA,IAAA,OAAA,gBAAA,OAAA,CAAA,eAAA,CAAA;;AAAS,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,eAAA,EAAA;EAAA,UAAA,EAAA,IAAA;EAAA,GAAA,EAAA,YAAA;IAAA,OAAA,OAAA,CAAA,aAAA;EAAa;AAAb,CAAA;;AAET,IAAA,OAAA,gBAAA,OAAA,CAAA,eAAA,CAAA;;AAAS,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,mBAAA,EAAA;EAAA,UAAA,EAAA,IAAA;EAAA,GAAA,EAAA,YAAA;IAAA,OAAA,OAAA,CAAA,iBAAA;EAAiB;AAAjB,CAAA","sourcesContent":["export { useARIAButton } from './hooks/index';\nexport type { ARIAButtonSlotProps } from './hooks/index';\nexport { mergeARIADisabled } from './utils/index';\n"],"sourceRoot":"../src/"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["utils/mergeARIADisabled.ts"],"names":[],"mappings":";;;;;;AAAA;;
|
|
1
|
+
{"version":3,"sources":["utils/mergeARIADisabled.ts"],"names":[],"mappings":";;;;;;AAAA;;;AAGG;;AACH,SAAgB,iBAAhB,CAAkC,SAAlC,EAAuG;;;EACrG,MAAM,QAAQ,GAAG,CAAA,EAAA,GAAA,SAAS,CAAC,QAAV,MAAkB,IAAlB,IAAkB,EAAA,KAAA,KAAA,CAAlB,GAAkB,EAAlB,GAAsB,SAAS,CAAC,eAAD,CAAhD;;EACA,IAAI,OAAO,QAAP,KAAoB,QAAxB,EAAkC;IAChC,OAAO,QAAQ,KAAK,OAAb,GAAuB,KAAvB,GAA+B,IAAtC;EACD;;EACD,OAAO,QAAQ,KAAA,IAAR,IAAA,QAAQ,KAAA,KAAA,CAAR,GAAA,QAAA,GAAY,KAAnB;AACD;;AAND,OAAA,CAAA,iBAAA,GAAA,iBAAA","sourcesContent":["/**\n * @internal\n * Merges disabled declaration with `aria-disabled`\n */\nexport function mergeARIADisabled(shorthand: { 'aria-disabled'?: string | boolean; disabled?: boolean }) {\n const disabled = shorthand.disabled ?? shorthand['aria-disabled'];\n if (typeof disabled === 'string') {\n return disabled === 'false' ? false : true;\n }\n return disabled ?? false;\n}\n"],"sourceRoot":"../src/"}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-aria",
|
|
3
|
-
"version": "0.0.0
|
|
3
|
+
"version": "0.0.0",
|
|
4
4
|
"description": "React helper to ensure ARIA",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
7
|
-
"typings": "
|
|
7
|
+
"typings": "dist/index.d.ts",
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -20,28 +20,18 @@
|
|
|
20
20
|
"start": "yarn storybook",
|
|
21
21
|
"test": "jest --passWithNoTests",
|
|
22
22
|
"docs": "api-extractor run --config=config/api-extractor.local.json --local",
|
|
23
|
-
"build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node
|
|
24
|
-
"storybook": "node
|
|
23
|
+
"build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/packages/react-components/react-aria/src && yarn docs",
|
|
24
|
+
"storybook": "node ../../../scripts/storybook/runner",
|
|
25
25
|
"type-check": "tsc -b tsconfig.json"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@fluentui/eslint-plugin": "*",
|
|
29
29
|
"@fluentui/react-conformance": "*",
|
|
30
|
-
"@fluentui/scripts": "^1.0.0"
|
|
31
|
-
"@types/enzyme": "3.10.3",
|
|
32
|
-
"@types/enzyme-adapter-react-16": "1.0.3",
|
|
33
|
-
"@types/react": "16.9.42",
|
|
34
|
-
"@types/react-dom": "16.9.10",
|
|
35
|
-
"@types/react-test-renderer": "^16.0.0",
|
|
36
|
-
"enzyme": "~3.10.0",
|
|
37
|
-
"enzyme-adapter-react-16": "^1.15.0",
|
|
38
|
-
"react": "16.8.6",
|
|
39
|
-
"react-dom": "16.8.6",
|
|
40
|
-
"react-test-renderer": "^16.3.0"
|
|
30
|
+
"@fluentui/scripts": "^1.0.0"
|
|
41
31
|
},
|
|
42
32
|
"dependencies": {
|
|
43
|
-
"@fluentui/keyboard-keys": "0.0.0
|
|
44
|
-
"@fluentui/react-utilities": "0.0.0
|
|
33
|
+
"@fluentui/keyboard-keys": "^0.0.0",
|
|
34
|
+
"@fluentui/react-utilities": "^0.0.0",
|
|
45
35
|
"tslib": "^2.1.0"
|
|
46
36
|
},
|
|
47
37
|
"peerDependencies": {
|
|
@@ -52,9 +42,14 @@
|
|
|
52
42
|
},
|
|
53
43
|
"beachball": {
|
|
54
44
|
"disallowedChangeTypes": [
|
|
55
|
-
"major"
|
|
56
|
-
"minor",
|
|
57
|
-
"patch"
|
|
45
|
+
"major"
|
|
58
46
|
]
|
|
47
|
+
},
|
|
48
|
+
"exports": {
|
|
49
|
+
".": {
|
|
50
|
+
"types": "./lib/index.d.ts",
|
|
51
|
+
"import": "./lib/index.js",
|
|
52
|
+
"require": "./lib-commonjs/index.js"
|
|
53
|
+
}
|
|
59
54
|
}
|
|
60
55
|
}
|
package/lib/hooks/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useARIAButton';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ExtractSlotProps, ResolveShorthandFunction, Slot } from '@fluentui/react-utilities';
|
|
2
|
-
export declare type ARIAButtonSlotProps = ExtractSlotProps<Slot<'button', 'a'>> & {
|
|
3
|
-
disabled?: boolean;
|
|
4
|
-
disabledFocusable?: boolean;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* Button keyboard handling, role, disabled and tabIndex implementation that ensures ARIA spec
|
|
8
|
-
* for multiple scenarios of shorthand properties. Ensuring 1st rule of ARIA for cases
|
|
9
|
-
* where no attribute addition is required.
|
|
10
|
-
*/
|
|
11
|
-
export declare const useARIAButton: ResolveShorthandFunction<ARIAButtonSlotProps>;
|
package/lib/index.d.ts
DELETED
package/lib/utils/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './mergeARIADisabled';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useARIAButton';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ExtractSlotProps, ResolveShorthandFunction, Slot } from '@fluentui/react-utilities';
|
|
2
|
-
export declare type ARIAButtonSlotProps = ExtractSlotProps<Slot<'button', 'a'>> & {
|
|
3
|
-
disabled?: boolean;
|
|
4
|
-
disabledFocusable?: boolean;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* Button keyboard handling, role, disabled and tabIndex implementation that ensures ARIA spec
|
|
8
|
-
* for multiple scenarios of shorthand properties. Ensuring 1st rule of ARIA for cases
|
|
9
|
-
* where no attribute addition is required.
|
|
10
|
-
*/
|
|
11
|
-
export declare const useARIAButton: ResolveShorthandFunction<ARIAButtonSlotProps>;
|
package/lib-commonjs/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './mergeARIADisabled';
|