@fluentui/react-aria 9.11.3 → 9.12.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.md CHANGED
@@ -1,12 +1,38 @@
1
1
  # Change Log - @fluentui/react-aria
2
2
 
3
- This log was last generated on Mon, 20 May 2024 12:36:45 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 06 Jun 2024 15:22:11 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.12.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.12.0)
8
+
9
+ Thu, 06 Jun 2024 15:22:11 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.11.4..@fluentui/react-aria_v9.12.0)
11
+
12
+ ### Minor changes
13
+
14
+ - add optional `window` argument to `scrollIntoView`. ([PR #30967](https://github.com/microsoft/fluentui/pull/30967) by seanmonahan@microsoft.com)
15
+ - Bump @fluentui/react-jsx-runtime to v9.0.39 ([PR #31586](https://github.com/microsoft/fluentui/pull/31586) by beachball)
16
+ - Bump @fluentui/react-tabster to v9.21.5 ([PR #31586](https://github.com/microsoft/fluentui/pull/31586) by beachball)
17
+ - Bump @fluentui/react-utilities to v9.18.10 ([PR #31586](https://github.com/microsoft/fluentui/pull/31586) by beachball)
18
+
19
+ ### Patches
20
+
21
+ - chore: remove optional "win" argument ([PR #31470](https://github.com/microsoft/fluentui/pull/31470) by seanmonahan@microsoft.com)
22
+
23
+ ## [9.11.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.11.4)
24
+
25
+ Thu, 23 May 2024 08:02:39 GMT
26
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.11.3..@fluentui/react-aria_v9.11.4)
27
+
28
+ ### Patches
29
+
30
+ - fix: add cleanup for timeout in announce ([PR #31264](https://github.com/microsoft/fluentui/pull/31264) by sarah.higley@microsoft.com)
31
+ - Bump @fluentui/react-tabster to v9.21.4 ([commit](https://github.com/microsoft/fluentui/commit/03599d609e8310b08c57d1f871cffbf717d79207) by beachball)
32
+
7
33
  ## [9.11.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.11.3)
8
34
 
9
- Mon, 20 May 2024 12:36:45 GMT
35
+ Mon, 20 May 2024 12:45:09 GMT
10
36
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.11.2..@fluentui/react-aria_v9.11.3)
11
37
 
12
38
  ### Patches
@@ -18,7 +44,7 @@ Mon, 20 May 2024 12:36:45 GMT
18
44
 
19
45
  ## [9.11.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.11.2)
20
46
 
21
- Thu, 09 May 2024 19:35:12 GMT
47
+ Thu, 09 May 2024 19:35:12 GMT
22
48
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.11.1..@fluentui/react-aria_v9.11.2)
23
49
 
24
50
  ### Patches
@@ -27,7 +53,7 @@ Thu, 09 May 2024 19:35:12 GMT
27
53
 
28
54
  ## [9.11.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.11.1)
29
55
 
30
- Mon, 06 May 2024 12:55:00 GMT
56
+ Mon, 06 May 2024 12:55:00 GMT
31
57
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.11.0..@fluentui/react-aria_v9.11.1)
32
58
 
33
59
  ### Patches
@@ -40,7 +66,7 @@ Mon, 06 May 2024 12:55:00 GMT
40
66
 
41
67
  ## [9.11.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.11.0)
42
68
 
43
- Thu, 02 May 2024 11:36:29 GMT
69
+ Thu, 02 May 2024 11:36:29 GMT
44
70
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.10.5..@fluentui/react-aria_v9.11.0)
45
71
 
46
72
  ### Minor changes
@@ -55,7 +81,7 @@ Thu, 02 May 2024 11:36:29 GMT
55
81
 
56
82
  ## [9.10.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.10.5)
57
83
 
58
- Tue, 23 Apr 2024 08:17:49 GMT
84
+ Tue, 23 Apr 2024 08:17:49 GMT
59
85
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.10.4..@fluentui/react-aria_v9.10.5)
60
86
 
61
87
  ### Patches
@@ -67,17 +93,17 @@ Tue, 23 Apr 2024 08:17:49 GMT
67
93
 
68
94
  ## [9.10.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.10.4)
69
95
 
70
- Wed, 17 Apr 2024 21:53:47 GMT
96
+ Wed, 17 Apr 2024 21:53:47 GMT
71
97
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.10.3..@fluentui/react-aria_v9.10.4)
72
98
 
73
99
  ### Patches
74
100
 
75
- - fix: End key should move activeOption ([PR #30864](https://github.com/microsoft/fluentui/pull/30864) by sarah.higley@microsoft.com)
101
+ - fix: End key should move activeOption ([PR #30864](https://github.com/microsoft/fluentui/pull/30864) by sarah.higley@microsoft.com)
76
102
  - Bump @fluentui/react-tabster to v9.20.0 ([PR #31100](https://github.com/microsoft/fluentui/pull/31100) by beachball)
77
103
 
78
104
  ## [9.10.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.10.3)
79
105
 
80
- Tue, 02 Apr 2024 09:48:01 GMT
106
+ Tue, 02 Apr 2024 09:48:01 GMT
81
107
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.10.2..@fluentui/react-aria_v9.10.3)
82
108
 
83
109
  ### Patches
@@ -89,7 +115,7 @@ Tue, 02 Apr 2024 09:48:01 GMT
89
115
 
90
116
  ## [9.10.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.10.2)
91
117
 
92
- Mon, 18 Mar 2024 19:50:46 GMT
118
+ Mon, 18 Mar 2024 19:50:46 GMT
93
119
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.10.1..@fluentui/react-aria_v9.10.2)
94
120
 
95
121
  ### Patches
@@ -101,7 +127,7 @@ Mon, 18 Mar 2024 19:50:46 GMT
101
127
 
102
128
  ## [9.10.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.10.1)
103
129
 
104
- Fri, 15 Mar 2024 21:43:49 GMT
130
+ Fri, 15 Mar 2024 21:43:49 GMT
105
131
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.10.0..@fluentui/react-aria_v9.10.1)
106
132
 
107
133
  ### Patches
@@ -113,7 +139,7 @@ Fri, 15 Mar 2024 21:43:49 GMT
113
139
 
114
140
  ## [9.10.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.10.0)
115
141
 
116
- Thu, 07 Mar 2024 19:33:21 GMT
142
+ Thu, 07 Mar 2024 19:33:21 GMT
117
143
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.9.1..@fluentui/react-aria_v9.10.0)
118
144
 
119
145
  ### Minor changes
@@ -126,7 +152,7 @@ Thu, 07 Mar 2024 19:33:21 GMT
126
152
 
127
153
  ## [9.9.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.9.1)
128
154
 
129
- Wed, 28 Feb 2024 02:34:19 GMT
155
+ Wed, 28 Feb 2024 02:34:19 GMT
130
156
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.9.0..@fluentui/react-aria_v9.9.1)
131
157
 
132
158
  ### Patches
@@ -138,7 +164,7 @@ Wed, 28 Feb 2024 02:34:19 GMT
138
164
 
139
165
  ## [9.9.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.9.0)
140
166
 
141
- Tue, 20 Feb 2024 14:22:17 GMT
167
+ Tue, 20 Feb 2024 14:22:17 GMT
142
168
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.8.2..@fluentui/react-aria_v9.9.0)
143
169
 
144
170
  ### Minor changes
@@ -150,7 +176,7 @@ Tue, 20 Feb 2024 14:22:17 GMT
150
176
 
151
177
  ## [9.8.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.8.2)
152
178
 
153
- Tue, 06 Feb 2024 17:55:18 GMT
179
+ Tue, 06 Feb 2024 17:55:18 GMT
154
180
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.8.1..@fluentui/react-aria_v9.8.2)
155
181
 
156
182
  ### Patches
@@ -160,7 +186,7 @@ Tue, 06 Feb 2024 17:55:18 GMT
160
186
 
161
187
  ## [9.8.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.8.1)
162
188
 
163
- Tue, 30 Jan 2024 23:16:54 GMT
189
+ Tue, 30 Jan 2024 23:16:54 GMT
164
190
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.8.0..@fluentui/react-aria_v9.8.1)
165
191
 
166
192
  ### Patches
@@ -170,7 +196,7 @@ Tue, 30 Jan 2024 23:16:54 GMT
170
196
 
171
197
  ## [9.8.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.8.0)
172
198
 
173
- Tue, 23 Jan 2024 15:10:57 GMT
199
+ Tue, 23 Jan 2024 15:10:57 GMT
174
200
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.7.3..@fluentui/react-aria_v9.8.0)
175
201
 
176
202
  ### Minor changes
@@ -185,7 +211,7 @@ Tue, 23 Jan 2024 15:10:57 GMT
185
211
 
186
212
  ## [9.7.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.7.3)
187
213
 
188
- Thu, 18 Jan 2024 14:25:03 GMT
214
+ Thu, 18 Jan 2024 14:25:03 GMT
189
215
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.7.2..@fluentui/react-aria_v9.7.3)
190
216
 
191
217
  ### Patches
@@ -196,7 +222,7 @@ Thu, 18 Jan 2024 14:25:03 GMT
196
222
 
197
223
  ## [9.7.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.7.2)
198
224
 
199
- Wed, 17 Jan 2024 16:18:50 GMT
225
+ Wed, 17 Jan 2024 16:18:50 GMT
200
226
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.7.1..@fluentui/react-aria_v9.7.2)
201
227
 
202
228
  ### Patches
@@ -206,7 +232,7 @@ Wed, 17 Jan 2024 16:18:50 GMT
206
232
 
207
233
  ## [9.7.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.7.1)
208
234
 
209
- Tue, 16 Jan 2024 13:14:14 GMT
235
+ Tue, 16 Jan 2024 13:14:14 GMT
210
236
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.7.0..@fluentui/react-aria_v9.7.1)
211
237
 
212
238
  ### Patches
@@ -216,7 +242,7 @@ Tue, 16 Jan 2024 13:14:14 GMT
216
242
 
217
243
  ## [9.7.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.7.0)
218
244
 
219
- Thu, 11 Jan 2024 09:04:28 GMT
245
+ Thu, 11 Jan 2024 09:04:28 GMT
220
246
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.6.2..@fluentui/react-aria_v9.7.0)
221
247
 
222
248
  ### Minor changes
@@ -225,7 +251,7 @@ Thu, 11 Jan 2024 09:04:28 GMT
225
251
 
226
252
  ## [9.6.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.6.2)
227
253
 
228
- Mon, 08 Jan 2024 16:24:28 GMT
254
+ Mon, 08 Jan 2024 16:24:28 GMT
229
255
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.6.1..@fluentui/react-aria_v9.6.2)
230
256
 
231
257
  ### Patches
@@ -234,7 +260,7 @@ Mon, 08 Jan 2024 16:24:28 GMT
234
260
 
235
261
  ## [9.6.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.6.1)
236
262
 
237
- Wed, 03 Jan 2024 09:26:42 GMT
263
+ Wed, 03 Jan 2024 09:26:42 GMT
238
264
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.6.0..@fluentui/react-aria_v9.6.1)
239
265
 
240
266
  ### Patches
@@ -244,7 +270,7 @@ Wed, 03 Jan 2024 09:26:42 GMT
244
270
 
245
271
  ## [9.6.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.6.0)
246
272
 
247
- Mon, 18 Dec 2023 14:40:44 GMT
273
+ Mon, 18 Dec 2023 14:40:44 GMT
248
274
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.5.0..@fluentui/react-aria_v9.6.0)
249
275
 
250
276
  ### Minor changes
@@ -255,7 +281,7 @@ Mon, 18 Dec 2023 14:40:44 GMT
255
281
 
256
282
  ## [9.5.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.5.0)
257
283
 
258
- Thu, 14 Dec 2023 09:58:42 GMT
284
+ Thu, 14 Dec 2023 09:58:42 GMT
259
285
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.4.0..@fluentui/react-aria_v9.5.0)
260
286
 
261
287
  ### Minor changes
@@ -266,7 +292,7 @@ Thu, 14 Dec 2023 09:58:42 GMT
266
292
 
267
293
  ## [9.4.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.4.0)
268
294
 
269
- Thu, 30 Nov 2023 13:42:05 GMT
295
+ Thu, 30 Nov 2023 13:42:05 GMT
270
296
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.44..@fluentui/react-aria_v9.4.0)
271
297
 
272
298
  ### Minor changes
@@ -275,7 +301,7 @@ Thu, 30 Nov 2023 13:42:05 GMT
275
301
 
276
302
  ## [9.3.44](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.44)
277
303
 
278
- Thu, 09 Nov 2023 17:29:50 GMT
304
+ Thu, 09 Nov 2023 17:29:50 GMT
279
305
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.43..@fluentui/react-aria_v9.3.44)
280
306
 
281
307
  ### Patches
@@ -286,7 +312,7 @@ Thu, 09 Nov 2023 17:29:50 GMT
286
312
 
287
313
  ## [9.3.43](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.43)
288
314
 
289
- Wed, 18 Oct 2023 17:54:08 GMT
315
+ Wed, 18 Oct 2023 17:54:08 GMT
290
316
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.42..@fluentui/react-aria_v9.3.43)
291
317
 
292
318
  ### Patches
@@ -295,7 +321,7 @@ Wed, 18 Oct 2023 17:54:08 GMT
295
321
 
296
322
  ## [9.3.42](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.42)
297
323
 
298
- Wed, 11 Oct 2023 13:54:26 GMT
324
+ Wed, 11 Oct 2023 13:54:26 GMT
299
325
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.41..@fluentui/react-aria_v9.3.42)
300
326
 
301
327
  ### Patches
@@ -304,7 +330,7 @@ Wed, 11 Oct 2023 13:54:26 GMT
304
330
 
305
331
  ## [9.3.41](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.41)
306
332
 
307
- Mon, 09 Oct 2023 20:45:44 GMT
333
+ Mon, 09 Oct 2023 20:45:44 GMT
308
334
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.40..@fluentui/react-aria_v9.3.41)
309
335
 
310
336
  ### Patches
@@ -313,7 +339,7 @@ Mon, 09 Oct 2023 20:45:44 GMT
313
339
 
314
340
  ## [9.3.40](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.40)
315
341
 
316
- Thu, 05 Oct 2023 15:25:35 GMT
342
+ Thu, 05 Oct 2023 15:25:35 GMT
317
343
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.39..@fluentui/react-aria_v9.3.40)
318
344
 
319
345
  ### Patches
@@ -322,7 +348,7 @@ Thu, 05 Oct 2023 15:25:35 GMT
322
348
 
323
349
  ## [9.3.39](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.39)
324
350
 
325
- Wed, 04 Oct 2023 08:45:47 GMT
351
+ Wed, 04 Oct 2023 08:45:47 GMT
326
352
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.38..@fluentui/react-aria_v9.3.39)
327
353
 
328
354
  ### Patches
@@ -331,7 +357,7 @@ Wed, 04 Oct 2023 08:45:47 GMT
331
357
 
332
358
  ## [9.3.38](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.38)
333
359
 
334
- Tue, 26 Sep 2023 17:49:02 GMT
360
+ Tue, 26 Sep 2023 17:49:02 GMT
335
361
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.37..@fluentui/react-aria_v9.3.38)
336
362
 
337
363
  ### Patches
@@ -342,7 +368,7 @@ Tue, 26 Sep 2023 17:49:02 GMT
342
368
 
343
369
  ## [9.3.37](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.37)
344
370
 
345
- Tue, 26 Sep 2023 15:32:05 GMT
371
+ Tue, 26 Sep 2023 15:32:05 GMT
346
372
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.36..@fluentui/react-aria_v9.3.37)
347
373
 
348
374
  ### Patches
@@ -353,7 +379,7 @@ Tue, 26 Sep 2023 15:32:05 GMT
353
379
 
354
380
  ## [9.3.36](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.36)
355
381
 
356
- Wed, 06 Sep 2023 13:31:31 GMT
382
+ Wed, 06 Sep 2023 13:31:31 GMT
357
383
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.35..@fluentui/react-aria_v9.3.36)
358
384
 
359
385
  ### Patches
@@ -362,7 +388,7 @@ Wed, 06 Sep 2023 13:31:31 GMT
362
388
 
363
389
  ## [9.3.35](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.35)
364
390
 
365
- Tue, 05 Sep 2023 15:39:04 GMT
391
+ Tue, 05 Sep 2023 15:39:04 GMT
366
392
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.34..@fluentui/react-aria_v9.3.35)
367
393
 
368
394
  ### Patches
@@ -371,7 +397,7 @@ Tue, 05 Sep 2023 15:39:04 GMT
371
397
 
372
398
  ## [9.3.34](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.34)
373
399
 
374
- Tue, 05 Sep 2023 13:29:15 GMT
400
+ Tue, 05 Sep 2023 13:29:15 GMT
375
401
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.33..@fluentui/react-aria_v9.3.34)
376
402
 
377
403
  ### Patches
@@ -383,7 +409,7 @@ Tue, 05 Sep 2023 13:29:15 GMT
383
409
 
384
410
  ## [9.3.33](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.33)
385
411
 
386
- Tue, 29 Aug 2023 12:57:36 GMT
412
+ Tue, 29 Aug 2023 12:57:36 GMT
387
413
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.32..@fluentui/react-aria_v9.3.33)
388
414
 
389
415
  ### Patches
@@ -392,7 +418,7 @@ Tue, 29 Aug 2023 12:57:36 GMT
392
418
 
393
419
  ## [9.3.32](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.32)
394
420
 
395
- Thu, 24 Aug 2023 10:26:35 GMT
421
+ Thu, 24 Aug 2023 10:26:35 GMT
396
422
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.31..@fluentui/react-aria_v9.3.32)
397
423
 
398
424
  ### Patches
@@ -401,7 +427,7 @@ Thu, 24 Aug 2023 10:26:35 GMT
401
427
 
402
428
  ## [9.3.31](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.31)
403
429
 
404
- Wed, 23 Aug 2023 12:01:49 GMT
430
+ Wed, 23 Aug 2023 12:01:49 GMT
405
431
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.30..@fluentui/react-aria_v9.3.31)
406
432
 
407
433
  ### Patches
@@ -410,7 +436,7 @@ Wed, 23 Aug 2023 12:01:49 GMT
410
436
 
411
437
  ## [9.3.30](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.30)
412
438
 
413
- Fri, 11 Aug 2023 12:14:26 GMT
439
+ Fri, 11 Aug 2023 12:14:26 GMT
414
440
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.29..@fluentui/react-aria_v9.3.30)
415
441
 
416
442
  ### Patches
@@ -419,7 +445,7 @@ Fri, 11 Aug 2023 12:14:26 GMT
419
445
 
420
446
  ## [9.3.29](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.29)
421
447
 
422
- Wed, 09 Aug 2023 13:16:49 GMT
448
+ Wed, 09 Aug 2023 13:16:49 GMT
423
449
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.28..@fluentui/react-aria_v9.3.29)
424
450
 
425
451
  ### Patches
@@ -428,7 +454,7 @@ Wed, 09 Aug 2023 13:16:49 GMT
428
454
 
429
455
  ## [9.3.28](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.28)
430
456
 
431
- Fri, 04 Aug 2023 08:52:58 GMT
457
+ Fri, 04 Aug 2023 08:52:58 GMT
432
458
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.26..@fluentui/react-aria_v9.3.28)
433
459
 
434
460
  ### Patches
@@ -437,7 +463,7 @@ Fri, 04 Aug 2023 08:52:58 GMT
437
463
 
438
464
  ## [9.3.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.26)
439
465
 
440
- Mon, 03 Jul 2023 11:57:14 GMT
466
+ Mon, 03 Jul 2023 11:57:14 GMT
441
467
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.25..@fluentui/react-aria_v9.3.26)
442
468
 
443
469
  ### Patches
@@ -446,7 +472,7 @@ Mon, 03 Jul 2023 11:57:14 GMT
446
472
 
447
473
  ## [9.3.25](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.25)
448
474
 
449
- Wed, 28 Jun 2023 11:12:22 GMT
475
+ Wed, 28 Jun 2023 11:12:22 GMT
450
476
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.24..@fluentui/react-aria_v9.3.25)
451
477
 
452
478
  ### Patches
@@ -455,7 +481,7 @@ Wed, 28 Jun 2023 11:12:22 GMT
455
481
 
456
482
  ## [9.3.24](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.24)
457
483
 
458
- Mon, 26 Jun 2023 09:53:55 GMT
484
+ Mon, 26 Jun 2023 09:53:55 GMT
459
485
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.23..@fluentui/react-aria_v9.3.24)
460
486
 
461
487
  ### Patches
@@ -464,7 +490,7 @@ Mon, 26 Jun 2023 09:53:55 GMT
464
490
 
465
491
  ## [9.3.23](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.23)
466
492
 
467
- Tue, 20 Jun 2023 12:39:07 GMT
493
+ Tue, 20 Jun 2023 12:39:07 GMT
468
494
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.22..@fluentui/react-aria_v9.3.23)
469
495
 
470
496
  ### Patches
@@ -473,7 +499,7 @@ Tue, 20 Jun 2023 12:39:07 GMT
473
499
 
474
500
  ## [9.3.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.22)
475
501
 
476
- Wed, 31 May 2023 06:46:23 GMT
502
+ Wed, 31 May 2023 06:46:23 GMT
477
503
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.21..@fluentui/react-aria_v9.3.22)
478
504
 
479
505
  ### Patches
@@ -482,7 +508,7 @@ Wed, 31 May 2023 06:46:23 GMT
482
508
 
483
509
  ## [9.3.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.21)
484
510
 
485
- Thu, 25 May 2023 10:00:48 GMT
511
+ Thu, 25 May 2023 10:00:48 GMT
486
512
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.20..@fluentui/react-aria_v9.3.21)
487
513
 
488
514
  ### Patches
@@ -491,7 +517,7 @@ Thu, 25 May 2023 10:00:48 GMT
491
517
 
492
518
  ## [9.3.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.20)
493
519
 
494
- Thu, 18 May 2023 00:39:02 GMT
520
+ Thu, 18 May 2023 00:39:02 GMT
495
521
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.19..@fluentui/react-aria_v9.3.20)
496
522
 
497
523
  ### Patches
@@ -500,7 +526,7 @@ Thu, 18 May 2023 00:39:02 GMT
500
526
 
501
527
  ## [9.3.19](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.19)
502
528
 
503
- Fri, 12 May 2023 20:28:12 GMT
529
+ Fri, 12 May 2023 20:28:12 GMT
504
530
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.18..@fluentui/react-aria_v9.3.19)
505
531
 
506
532
  ### Patches
@@ -511,7 +537,7 @@ Fri, 12 May 2023 20:28:12 GMT
511
537
 
512
538
  ## [9.3.18](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.18)
513
539
 
514
- Mon, 17 Apr 2023 17:54:02 GMT
540
+ Mon, 17 Apr 2023 17:54:02 GMT
515
541
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.17..@fluentui/react-aria_v9.3.18)
516
542
 
517
543
  ### Patches
@@ -520,7 +546,7 @@ Mon, 17 Apr 2023 17:54:02 GMT
520
546
 
521
547
  ## [9.3.17](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.17)
522
548
 
523
- Wed, 12 Apr 2023 09:31:45 GMT
549
+ Wed, 12 Apr 2023 09:31:45 GMT
524
550
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.16..@fluentui/react-aria_v9.3.17)
525
551
 
526
552
  ### Patches
@@ -529,7 +555,7 @@ Wed, 12 Apr 2023 09:31:45 GMT
529
555
 
530
556
  ## [9.3.16](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.16)
531
557
 
532
- Tue, 04 Apr 2023 18:44:50 GMT
558
+ Tue, 04 Apr 2023 18:44:50 GMT
533
559
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.15..@fluentui/react-aria_v9.3.16)
534
560
 
535
561
  ### Patches
@@ -538,7 +564,7 @@ Tue, 04 Apr 2023 18:44:50 GMT
538
564
 
539
565
  ## [9.3.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.15)
540
566
 
541
- Tue, 21 Mar 2023 21:23:22 GMT
567
+ Tue, 21 Mar 2023 21:23:22 GMT
542
568
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.14..@fluentui/react-aria_v9.3.15)
543
569
 
544
570
  ### Patches
@@ -550,7 +576,7 @@ Tue, 21 Mar 2023 21:23:22 GMT
550
576
 
551
577
  ## [9.3.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.14)
552
578
 
553
- Thu, 16 Mar 2023 14:36:59 GMT
579
+ Thu, 16 Mar 2023 14:36:59 GMT
554
580
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.13..@fluentui/react-aria_v9.3.14)
555
581
 
556
582
  ### Patches
@@ -559,7 +585,7 @@ Thu, 16 Mar 2023 14:36:59 GMT
559
585
 
560
586
  ## [9.3.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.13)
561
587
 
562
- Mon, 13 Mar 2023 08:58:26 GMT
588
+ Mon, 13 Mar 2023 08:58:26 GMT
563
589
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.12..@fluentui/react-aria_v9.3.13)
564
590
 
565
591
  ### Patches
@@ -568,7 +594,7 @@ Mon, 13 Mar 2023 08:58:26 GMT
568
594
 
569
595
  ## [9.3.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.12)
570
596
 
571
- Fri, 10 Mar 2023 07:14:01 GMT
597
+ Fri, 10 Mar 2023 07:14:01 GMT
572
598
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.11..@fluentui/react-aria_v9.3.12)
573
599
 
574
600
  ### Patches
@@ -577,7 +603,7 @@ Fri, 10 Mar 2023 07:14:01 GMT
577
603
 
578
604
  ## [9.3.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.11)
579
605
 
580
- Wed, 08 Mar 2023 17:42:25 GMT
606
+ Wed, 08 Mar 2023 17:42:25 GMT
581
607
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.10..@fluentui/react-aria_v9.3.11)
582
608
 
583
609
  ### Patches
@@ -586,7 +612,7 @@ Wed, 08 Mar 2023 17:42:25 GMT
586
612
 
587
613
  ## [9.3.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.10)
588
614
 
589
- Wed, 15 Feb 2023 11:44:52 GMT
615
+ Wed, 15 Feb 2023 11:44:52 GMT
590
616
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.9..@fluentui/react-aria_v9.3.10)
591
617
 
592
618
  ### Patches
@@ -595,7 +621,7 @@ Wed, 15 Feb 2023 11:44:52 GMT
595
621
 
596
622
  ## [9.3.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.9)
597
623
 
598
- Mon, 13 Feb 2023 23:43:14 GMT
624
+ Mon, 13 Feb 2023 23:43:14 GMT
599
625
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.8..@fluentui/react-aria_v9.3.9)
600
626
 
601
627
  ### Patches
@@ -604,7 +630,7 @@ Mon, 13 Feb 2023 23:43:14 GMT
604
630
 
605
631
  ## [9.3.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.8)
606
632
 
607
- Fri, 10 Feb 2023 08:50:02 GMT
633
+ Fri, 10 Feb 2023 08:50:02 GMT
608
634
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.7..@fluentui/react-aria_v9.3.8)
609
635
 
610
636
  ### Patches
@@ -613,7 +639,7 @@ Fri, 10 Feb 2023 08:50:02 GMT
613
639
 
614
640
  ## [9.3.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.7)
615
641
 
616
- Tue, 31 Jan 2023 19:53:58 GMT
642
+ Tue, 31 Jan 2023 19:53:58 GMT
617
643
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.6..@fluentui/react-aria_v9.3.7)
618
644
 
619
645
  ### Patches
@@ -622,7 +648,7 @@ Tue, 31 Jan 2023 19:53:58 GMT
622
648
 
623
649
  ## [9.3.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.6)
624
650
 
625
- Thu, 26 Jan 2023 13:31:03 GMT
651
+ Thu, 26 Jan 2023 13:31:03 GMT
626
652
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.5..@fluentui/react-aria_v9.3.6)
627
653
 
628
654
  ### Patches
@@ -631,7 +657,7 @@ Thu, 26 Jan 2023 13:31:03 GMT
631
657
 
632
658
  ## [9.3.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.5)
633
659
 
634
- Mon, 09 Jan 2023 14:35:02 GMT
660
+ Mon, 09 Jan 2023 14:35:02 GMT
635
661
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.4..@fluentui/react-aria_v9.3.5)
636
662
 
637
663
  ### Patches
@@ -640,7 +666,7 @@ Mon, 09 Jan 2023 14:35:02 GMT
640
666
 
641
667
  ## [9.3.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.4)
642
668
 
643
- Wed, 04 Jan 2023 01:40:50 GMT
669
+ Wed, 04 Jan 2023 01:40:50 GMT
644
670
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.3..@fluentui/react-aria_v9.3.4)
645
671
 
646
672
  ### Patches
@@ -649,7 +675,7 @@ Wed, 04 Jan 2023 01:40:50 GMT
649
675
 
650
676
  ## [9.3.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.3)
651
677
 
652
- Tue, 20 Dec 2022 14:59:34 GMT
678
+ Tue, 20 Dec 2022 14:59:34 GMT
653
679
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.2..@fluentui/react-aria_v9.3.3)
654
680
 
655
681
  ### Patches
@@ -658,7 +684,7 @@ Tue, 20 Dec 2022 14:59:34 GMT
658
684
 
659
685
  ## [9.3.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.2)
660
686
 
661
- Thu, 17 Nov 2022 23:05:33 GMT
687
+ Thu, 17 Nov 2022 23:05:33 GMT
662
688
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.1..@fluentui/react-aria_v9.3.2)
663
689
 
664
690
  ### Patches
@@ -667,7 +693,7 @@ Thu, 17 Nov 2022 23:05:33 GMT
667
693
 
668
694
  ## [9.3.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.1)
669
695
 
670
- Fri, 11 Nov 2022 14:57:51 GMT
696
+ Fri, 11 Nov 2022 14:57:51 GMT
671
697
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.0..@fluentui/react-aria_v9.3.1)
672
698
 
673
699
  ### Patches
@@ -678,7 +704,7 @@ Fri, 11 Nov 2022 14:57:51 GMT
678
704
 
679
705
  ## [9.3.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.0)
680
706
 
681
- Wed, 02 Nov 2022 11:57:47 GMT
707
+ Wed, 02 Nov 2022 11:57:47 GMT
682
708
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.2.3..@fluentui/react-aria_v9.3.0)
683
709
 
684
710
  ### Minor changes
@@ -688,7 +714,7 @@ Wed, 02 Nov 2022 11:57:47 GMT
688
714
 
689
715
  ## [9.2.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.2.3)
690
716
 
691
- Thu, 20 Oct 2022 08:39:58 GMT
717
+ Thu, 20 Oct 2022 08:39:58 GMT
692
718
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.2.2..@fluentui/react-aria_v9.2.3)
693
719
 
694
720
  ### Patches
@@ -698,7 +724,7 @@ Thu, 20 Oct 2022 08:39:58 GMT
698
724
 
699
725
  ## [9.2.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.2.2)
700
726
 
701
- Thu, 13 Oct 2022 11:03:06 GMT
727
+ Thu, 13 Oct 2022 11:03:06 GMT
702
728
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.2.1..@fluentui/react-aria_v9.2.2)
703
729
 
704
730
  ### Patches
@@ -707,7 +733,7 @@ Thu, 13 Oct 2022 11:03:06 GMT
707
733
 
708
734
  ## [9.2.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.2.1)
709
735
 
710
- Mon, 03 Oct 2022 22:24:33 GMT
736
+ Mon, 03 Oct 2022 22:24:33 GMT
711
737
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.2.0..@fluentui/react-aria_v9.2.1)
712
738
 
713
739
  ### Patches
@@ -716,7 +742,7 @@ Mon, 03 Oct 2022 22:24:33 GMT
716
742
 
717
743
  ## [9.2.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.2.0)
718
744
 
719
- Thu, 15 Sep 2022 09:49:48 GMT
745
+ Thu, 15 Sep 2022 09:49:48 GMT
720
746
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.1.0..@fluentui/react-aria_v9.2.0)
721
747
 
722
748
  ### Minor changes
@@ -732,7 +758,7 @@ Thu, 15 Sep 2022 09:49:48 GMT
732
758
 
733
759
  ## [9.1.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.1.0)
734
760
 
735
- Wed, 03 Aug 2022 16:03:37 GMT
761
+ Wed, 03 Aug 2022 16:03:37 GMT
736
762
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.2..@fluentui/react-aria_v9.1.0)
737
763
 
738
764
  ### Minor changes
@@ -745,7 +771,7 @@ Wed, 03 Aug 2022 16:03:37 GMT
745
771
 
746
772
  ## [9.0.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.2)
747
773
 
748
- Thu, 14 Jul 2022 21:21:08 GMT
774
+ Thu, 14 Jul 2022 21:21:08 GMT
749
775
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.1..@fluentui/react-aria_v9.0.2)
750
776
 
751
777
  ### Patches
@@ -755,7 +781,7 @@ Thu, 14 Jul 2022 21:21:08 GMT
755
781
 
756
782
  ## [9.0.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.1)
757
783
 
758
- Thu, 14 Jul 2022 17:06:26 GMT
784
+ Thu, 14 Jul 2022 17:06:26 GMT
759
785
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0..@fluentui/react-aria_v9.0.1)
760
786
 
761
787
  ### Patches
@@ -764,7 +790,7 @@ Thu, 14 Jul 2022 17:06:26 GMT
764
790
 
765
791
  ## [9.0.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0)
766
792
 
767
- Tue, 28 Jun 2022 15:14:13 GMT
793
+ Tue, 28 Jun 2022 15:14:13 GMT
768
794
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-rc.10..@fluentui/react-aria_v9.0.0)
769
795
 
770
796
  ### Patches
@@ -780,7 +806,7 @@ Tue, 28 Jun 2022 15:14:13 GMT
780
806
 
781
807
  ## [9.0.0-rc.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-rc.10)
782
808
 
783
- Tue, 31 May 2022 21:28:50 GMT
809
+ Tue, 31 May 2022 21:28:50 GMT
784
810
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-rc.9..@fluentui/react-aria_v9.0.0-rc.10)
785
811
 
786
812
  ### Changes
@@ -789,7 +815,7 @@ Tue, 31 May 2022 21:28:50 GMT
789
815
 
790
816
  ## [9.0.0-rc.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-rc.9)
791
817
 
792
- Mon, 23 May 2022 12:14:24 GMT
818
+ Mon, 23 May 2022 12:14:24 GMT
793
819
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-rc.8..@fluentui/react-aria_v9.0.0-rc.9)
794
820
 
795
821
  ### Changes
@@ -798,7 +824,7 @@ Mon, 23 May 2022 12:14:24 GMT
798
824
 
799
825
  ## [9.0.0-rc.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-rc.8)
800
826
 
801
- Thu, 05 May 2022 18:26:28 GMT
827
+ Thu, 05 May 2022 18:26:28 GMT
802
828
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-rc.7..@fluentui/react-aria_v9.0.0-rc.8)
803
829
 
804
830
  ### Changes
@@ -810,7 +836,7 @@ Thu, 05 May 2022 18:26:28 GMT
810
836
 
811
837
  ## [9.0.0-rc.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-rc.7)
812
838
 
813
- Wed, 04 May 2022 13:26:37 GMT
839
+ Wed, 04 May 2022 13:26:37 GMT
814
840
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-rc.6..@fluentui/react-aria_v9.0.0-rc.7)
815
841
 
816
842
  ### Changes
@@ -113,8 +113,11 @@ const VISUALLY_HIDDEN_STYLES = {
113
113
  return ()=>{
114
114
  element.remove();
115
115
  elementRef.current = null;
116
+ clearAnnounceTimeout();
117
+ timeoutRef.current = undefined;
116
118
  };
117
119
  }, [
120
+ clearAnnounceTimeout,
118
121
  targetDocument
119
122
  ]);
120
123
  return announce;
@@ -1 +1 @@
1
- {"version":3,"sources":["useDomAnnounce.ts"],"sourcesContent":["import { useFluent_unstable as useFluent } from '@fluentui/react-shared-contexts';\nimport type { AnnounceOptions } from '@fluentui/react-shared-contexts';\nimport { createPriorityQueue, useTimeout } from '@fluentui/react-utilities';\nimport * as React from 'react';\n\nimport type { AriaLiveAnnounceFn, AriaLiveMessage } from './AriaLiveAnnouncer.types';\n\n/** The duration the message needs to be in present in DOM for screen readers to register a change and announce */\nconst MESSAGE_DURATION = 500;\n\nconst VISUALLY_HIDDEN_STYLES = {\n clip: 'rect(0px, 0px, 0px, 0px)',\n height: '1px',\n margin: '-1px',\n width: '1px',\n position: 'absolute',\n overflow: 'hidden',\n textWrap: 'nowrap',\n};\n\n/* INTERNAL: implementation of the announcer using a live region element */\nexport const useDomAnnounce_unstable = (): AriaLiveAnnounceFn => {\n const { targetDocument } = useFluent();\n\n const timeoutRef = React.useRef<number | undefined>(undefined);\n const [setAnnounceTimeout, clearAnnounceTimeout] = useTimeout();\n\n const elementRef = React.useRef<HTMLDivElement | null>(null);\n\n const order = React.useRef(0);\n\n // investigate alert implementation later\n // const [alertList, setAlertList] = React.useState<string[]>([]);\n\n const batchMessages = React.useRef<{ batchId: string; message: AriaLiveMessage }[]>([]);\n\n const [messageQueue] = React.useState(() =>\n createPriorityQueue<AriaLiveMessage>((a, b) => {\n if (a.priority !== b.priority) {\n return b.priority - a.priority;\n }\n\n return a.createdAt - b.createdAt;\n }),\n );\n\n const queueMessage = React.useCallback(() => {\n if (timeoutRef.current || !elementRef.current) {\n return;\n }\n\n const runCycle = () => {\n if (!elementRef.current) {\n return;\n }\n\n if (targetDocument && messageQueue.peek()) {\n // need a wrapping element for Narrator/Edge, which currently does not pick up text-only live region changes\n // consistently\n // if this is fixed, we can set textContent to the string directly\n\n const wrappingEl = targetDocument.createElement('span');\n\n wrappingEl.innerText = messageQueue\n .all()\n .filter(msg => msg.message.trim().length > 0)\n .reduce((prevText, currMsg) => prevText + currMsg.message + '. ', '');\n\n elementRef.current.innerText = '';\n elementRef.current.appendChild(wrappingEl);\n\n messageQueue.clear();\n batchMessages.current = [];\n\n // begin new cycle to clear (or update) messages\n timeoutRef.current = setAnnounceTimeout(() => {\n runCycle();\n }, MESSAGE_DURATION);\n } else {\n elementRef.current.textContent = '';\n clearAnnounceTimeout();\n\n timeoutRef.current = undefined;\n }\n };\n\n runCycle();\n }, [clearAnnounceTimeout, messageQueue, setAnnounceTimeout, targetDocument]);\n\n const announce: AriaLiveAnnounceFn = React.useCallback(\n (message: string, options: AnnounceOptions = {}) => {\n const { alert = false, priority = 0, batchId } = options;\n\n // check if message is an alert\n if (alert) {\n // TODO: alert implementation\n // setAlertList([...alertList, message]);\n }\n\n const liveMessage: AriaLiveMessage = {\n message,\n createdAt: order.current++,\n priority,\n batchId,\n };\n\n // check if batchId exists\n if (batchId) {\n // update associated msg if it does\n const batchMessage = batchMessages.current.find(msg => msg.batchId === batchId);\n\n if (batchMessage) {\n // replace existing message in queue\n messageQueue.remove(batchMessage.message);\n\n // update list of existing batchIds w/ most recent message\n batchMessage.message = liveMessage;\n } else {\n // update list of existing batchIds, add new if doesn't already exist\n batchMessages.current = [...batchMessages.current, { batchId, message: liveMessage }];\n }\n }\n\n // add new message\n messageQueue.enqueue(liveMessage);\n queueMessage();\n },\n [messageQueue, queueMessage],\n );\n\n React.useEffect(() => {\n if (!targetDocument) {\n return;\n }\n\n const element = targetDocument.createElement('div');\n element.setAttribute('aria-live', 'assertive');\n\n Object.assign(element.style, VISUALLY_HIDDEN_STYLES);\n targetDocument.body.append(element);\n\n elementRef.current = element;\n\n return () => {\n element.remove();\n elementRef.current = null;\n };\n }, [targetDocument]);\n\n return announce;\n};\n"],"names":["useFluent_unstable","useFluent","createPriorityQueue","useTimeout","React","MESSAGE_DURATION","VISUALLY_HIDDEN_STYLES","clip","height","margin","width","position","overflow","textWrap","useDomAnnounce_unstable","targetDocument","timeoutRef","useRef","undefined","setAnnounceTimeout","clearAnnounceTimeout","elementRef","order","batchMessages","messageQueue","useState","a","b","priority","createdAt","queueMessage","useCallback","current","runCycle","peek","wrappingEl","createElement","innerText","all","filter","msg","message","trim","length","reduce","prevText","currMsg","appendChild","clear","textContent","announce","options","alert","batchId","liveMessage","batchMessage","find","remove","enqueue","useEffect","element","setAttribute","Object","assign","style","body","append"],"mappings":"AAAA,SAASA,sBAAsBC,SAAS,QAAQ,kCAAkC;AAElF,SAASC,mBAAmB,EAAEC,UAAU,QAAQ,4BAA4B;AAC5E,YAAYC,WAAW,QAAQ;AAI/B,gHAAgH,GAChH,MAAMC,mBAAmB;AAEzB,MAAMC,yBAAyB;IAC7BC,MAAM;IACNC,QAAQ;IACRC,QAAQ;IACRC,OAAO;IACPC,UAAU;IACVC,UAAU;IACVC,UAAU;AACZ;AAEA,yEAAyE,GACzE,OAAO,MAAMC,0BAA0B;IACrC,MAAM,EAAEC,cAAc,EAAE,GAAGd;IAE3B,MAAMe,aAAaZ,MAAMa,MAAM,CAAqBC;IACpD,MAAM,CAACC,oBAAoBC,qBAAqB,GAAGjB;IAEnD,MAAMkB,aAAajB,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DomAnnounce.ts"],"sourcesContent":["import { useFluent_unstable as useFluent } from '@fluentui/react-shared-contexts';\nimport type { AnnounceOptions } from '@fluentui/react-shared-contexts';\nimport { createPriorityQueue, useTimeout } from '@fluentui/react-utilities';\nimport * as React from 'react';\n\nimport type { AriaLiveAnnounceFn, AriaLiveMessage } from './AriaLiveAnnouncer.types';\n\n/** The duration the message needs to be in present in DOM for screen readers to register a change and announce */\nconst MESSAGE_DURATION = 500;\n\nconst VISUALLY_HIDDEN_STYLES = {\n clip: 'rect(0px, 0px, 0px, 0px)',\n height: '1px',\n margin: '-1px',\n width: '1px',\n position: 'absolute',\n overflow: 'hidden',\n textWrap: 'nowrap',\n};\n\n/* INTERNAL: implementation of the announcer using a live region element */\nexport const useDomAnnounce_unstable = (): AriaLiveAnnounceFn => {\n const { targetDocument } = useFluent();\n\n const timeoutRef = React.useRef<number | undefined>(undefined);\n const [setAnnounceTimeout, clearAnnounceTimeout] = useTimeout();\n\n const elementRef = React.useRef<HTMLDivElement | null>(null);\n\n const order = React.useRef(0);\n\n // investigate alert implementation later\n // const [alertList, setAlertList] = React.useState<string[]>([]);\n\n const batchMessages = React.useRef<{ batchId: string; message: AriaLiveMessage }[]>([]);\n\n const [messageQueue] = React.useState(() =>\n createPriorityQueue<AriaLiveMessage>((a, b) => {\n if (a.priority !== b.priority) {\n return b.priority - a.priority;\n }\n\n return a.createdAt - b.createdAt;\n }),\n );\n\n const queueMessage = React.useCallback(() => {\n if (timeoutRef.current || !elementRef.current) {\n return;\n }\n\n const runCycle = () => {\n if (!elementRef.current) {\n return;\n }\n\n if (targetDocument && messageQueue.peek()) {\n // need a wrapping element for Narrator/Edge, which currently does not pick up text-only live region changes\n // consistently\n // if this is fixed, we can set textContent to the string directly\n\n const wrappingEl = targetDocument.createElement('span');\n\n wrappingEl.innerText = messageQueue\n .all()\n .filter(msg => msg.message.trim().length > 0)\n .reduce((prevText, currMsg) => prevText + currMsg.message + '. ', '');\n\n elementRef.current.innerText = '';\n elementRef.current.appendChild(wrappingEl);\n\n messageQueue.clear();\n batchMessages.current = [];\n\n // begin new cycle to clear (or update) messages\n timeoutRef.current = setAnnounceTimeout(() => {\n runCycle();\n }, MESSAGE_DURATION);\n } else {\n elementRef.current.textContent = '';\n clearAnnounceTimeout();\n\n timeoutRef.current = undefined;\n }\n };\n\n runCycle();\n }, [clearAnnounceTimeout, messageQueue, setAnnounceTimeout, targetDocument]);\n\n const announce: AriaLiveAnnounceFn = React.useCallback(\n (message: string, options: AnnounceOptions = {}) => {\n const { alert = false, priority = 0, batchId } = options;\n\n // check if message is an alert\n if (alert) {\n // TODO: alert implementation\n // setAlertList([...alertList, message]);\n }\n\n const liveMessage: AriaLiveMessage = {\n message,\n createdAt: order.current++,\n priority,\n batchId,\n };\n\n // check if batchId exists\n if (batchId) {\n // update associated msg if it does\n const batchMessage = batchMessages.current.find(msg => msg.batchId === batchId);\n\n if (batchMessage) {\n // replace existing message in queue\n messageQueue.remove(batchMessage.message);\n\n // update list of existing batchIds w/ most recent message\n batchMessage.message = liveMessage;\n } else {\n // update list of existing batchIds, add new if doesn't already exist\n batchMessages.current = [...batchMessages.current, { batchId, message: liveMessage }];\n }\n }\n\n // add new message\n messageQueue.enqueue(liveMessage);\n queueMessage();\n },\n [messageQueue, queueMessage],\n );\n\n React.useEffect(() => {\n if (!targetDocument) {\n return;\n }\n\n const element = targetDocument.createElement('div');\n element.setAttribute('aria-live', 'assertive');\n\n Object.assign(element.style, VISUALLY_HIDDEN_STYLES);\n targetDocument.body.append(element);\n\n elementRef.current = element;\n\n return () => {\n element.remove();\n elementRef.current = null;\n clearAnnounceTimeout();\n timeoutRef.current = undefined;\n };\n }, [clearAnnounceTimeout, targetDocument]);\n\n return announce;\n};\n"],"names":["useFluent_unstable","useFluent","createPriorityQueue","useTimeout","React","MESSAGE_DURATION","VISUALLY_HIDDEN_STYLES","clip","height","margin","width","position","overflow","textWrap","useDomAnnounce_unstable","targetDocument","timeoutRef","useRef","undefined","setAnnounceTimeout","clearAnnounceTimeout","elementRef","order","batchMessages","messageQueue","useState","a","b","priority","createdAt","queueMessage","useCallback","current","runCycle","peek","wrappingEl","createElement","innerText","all","filter","msg","message","trim","length","reduce","prevText","currMsg","appendChild","clear","textContent","announce","options","alert","batchId","liveMessage","batchMessage","find","remove","enqueue","useEffect","element","setAttribute","Object","assign","style","body","append"],"mappings":"AAAA,SAASA,sBAAsBC,SAAS,QAAQ,kCAAkC;AAElF,SAASC,mBAAmB,EAAEC,UAAU,QAAQ,4BAA4B;AAC5E,YAAYC,WAAW,QAAQ;AAI/B,gHAAgH,GAChH,MAAMC,mBAAmB;AAEzB,MAAMC,yBAAyB;IAC7BC,MAAM;IACNC,QAAQ;IACRC,QAAQ;IACRC,OAAO;IACPC,UAAU;IACVC,UAAU;IACVC,UAAU;AACZ;AAEA,yEAAyE,GACzE,OAAO,MAAMC,0BAA0B;IACrC,MAAM,EAAEC,cAAc,EAAE,GAAGd;IAE3B,MAAMe,aAAaZ,MAAMa,MAAM,CAAqBC;IACpD,MAAM,CAACC,oBAAoBC,qBAAqB,GAAGjB;IAEnD,MAAMkB,aAAajB,MAAMa,MAAM,CAAwB;IAEvD,MAAMK,QAAQlB,MAAMa,MAAM,CAAC;IAE3B,yCAAyC;IACzC,kEAAkE;IAElE,MAAMM,gBAAgBnB,MAAMa,MAAM,CAAkD,EAAE;IAEtF,MAAM,CAACO,aAAa,GAAGpB,MAAMqB,QAAQ,CAAC,IACpCvB,oBAAqC,CAACwB,GAAGC;YACvC,IAAID,EAAEE,QAAQ,KAAKD,EAAEC,QAAQ,EAAE;gBAC7B,OAAOD,EAAEC,QAAQ,GAAGF,EAAEE,QAAQ;YAChC;YAEA,OAAOF,EAAEG,SAAS,GAAGF,EAAEE,SAAS;QAClC;IAGF,MAAMC,eAAe1B,MAAM2B,WAAW,CAAC;QACrC,IAAIf,WAAWgB,OAAO,IAAI,CAACX,WAAWW,OAAO,EAAE;YAC7C;QACF;QAEA,MAAMC,WAAW;YACf,IAAI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,aAAaiC,MAAM,CAACF,aAAad,OAAO;gBAExC,0DAA0D;gBAC1Dc,aAAad,OAAO,GAAGa;YACzB,OAAO;gBACL,qEAAqE;gBACrE/B,cAAcS,OAAO,GAAG;uBAAIT,cAAcS,OAAO;oBAAE;wBAAEqB;wBAASZ,SAASa;oBAAY;iBAAE;YACvF;QACF;QAEA,kBAAkB;QAClB9B,aAAakC,OAAO,CAACJ;QACrBxB;IACF,GACA;QAACN;QAAcM;KAAa;IAG9B1B,MAAMuD,SAAS,CAAC;QACd,IAAI,CAAC5C,gBAAgB;YACnB;QACF;QAEA,MAAM6C,UAAU7C,eAAeqB,aAAa,CAAC;QAC7CwB,QAAQC,YAAY,CAAC,aAAa;QAElCC,OAAOC,MAAM,CAACH,QAAQI,KAAK,EAAE1D;QAC7BS,eAAekD,IAAI,CAACC,MAAM,CAACN;QAE3BvC,WAAWW,OAAO,GAAG4B;QAErB,OAAO;YACLA,QAAQH,MAAM;YACdpC,WAAWW,OAAO,GAAG;YACrBZ;YACAJ,WAAWgB,OAAO,GAAGd;QACvB;IACF,GAAG;QAACE;QAAsBL;KAAe;IAEzC,OAAOmC;AACT,EAAE"}
@@ -39,7 +39,15 @@ const getTotalOffsetTop = (element, scrollParent)=>{
39
39
  return element.offsetTop + getTotalOffsetTop(element.offsetParent, scrollParent);
40
40
  };
41
41
  const getScrollMargins = (element)=>{
42
- const computedStyles = getComputedStyle(element);
42
+ var _element_ownerDocument;
43
+ const win = (_element_ownerDocument = element.ownerDocument) === null || _element_ownerDocument === void 0 ? void 0 : _element_ownerDocument.defaultView;
44
+ if (!win) {
45
+ return {
46
+ scrollMarginTop: 0,
47
+ scrollMarginBottom: 0
48
+ };
49
+ }
50
+ const computedStyles = win.getComputedStyle(element);
43
51
  var _getIntValueOfComputedStyle;
44
52
  const scrollMarginTop = (_getIntValueOfComputedStyle = getIntValueOfComputedStyle(computedStyles.scrollMarginTop)) !== null && _getIntValueOfComputedStyle !== void 0 ? _getIntValueOfComputedStyle : getIntValueOfComputedStyle(computedStyles.scrollMarginBlockStart);
45
53
  var _getIntValueOfComputedStyle1;
@@ -1 +1 @@
1
- {"version":3,"sources":["scrollIntoView.ts"],"sourcesContent":["export const scrollIntoView = (target: HTMLElement | null | undefined) => {\n if (!target) {\n return;\n }\n\n const scrollParent = findScrollableParent(target.parentElement as HTMLElement);\n if (!scrollParent) {\n return;\n }\n\n const { offsetHeight } = target;\n const offsetTop = getTotalOffsetTop(target, scrollParent);\n\n const { scrollMarginTop, scrollMarginBottom } = getScrollMargins(target);\n\n const { offsetHeight: parentOffsetHeight, scrollTop } = scrollParent;\n\n const isAbove = offsetTop - scrollMarginTop < scrollTop;\n const isBelow = offsetTop + offsetHeight + scrollMarginBottom > scrollTop + parentOffsetHeight;\n\n const buffer = 2;\n\n if (isAbove) {\n scrollParent.scrollTo(0, offsetTop - scrollMarginTop - buffer);\n } else if (isBelow) {\n scrollParent.scrollTo(0, offsetTop + offsetHeight + scrollMarginBottom - parentOffsetHeight + buffer);\n }\n};\n\nconst findScrollableParent = (element: HTMLElement | null): HTMLElement | null => {\n if (!element) {\n return null;\n }\n\n if (element.scrollHeight > element.offsetHeight) {\n return element;\n }\n\n return findScrollableParent(element.parentElement);\n};\n\nconst getTotalOffsetTop = (element: HTMLElement, scrollParent: HTMLElement): number => {\n if (!element || element === scrollParent) {\n return 0;\n }\n\n if (element.contains(scrollParent)) {\n // subtract the scroll parent's offset top from the running total if the offsetParent is above it\n return scrollParent.offsetTop * -1;\n }\n\n return element.offsetTop + getTotalOffsetTop(element.offsetParent as HTMLElement, scrollParent);\n};\n\nconst getScrollMargins = (element: HTMLElement) => {\n const computedStyles = getComputedStyle(element);\n const scrollMarginTop =\n getIntValueOfComputedStyle(computedStyles.scrollMarginTop) ??\n getIntValueOfComputedStyle(computedStyles.scrollMarginBlockStart);\n const scrollMarginBottom =\n getIntValueOfComputedStyle(computedStyles.scrollMarginBottom) ??\n getIntValueOfComputedStyle(computedStyles.scrollMarginBlockEnd);\n return {\n scrollMarginTop,\n scrollMarginBottom,\n };\n};\n\nconst getIntValueOfComputedStyle = (computedStyle: string) => {\n return computedStyle ? parseInt(computedStyle, 10) : 0;\n};\n"],"names":["scrollIntoView","target","scrollParent","findScrollableParent","parentElement","offsetHeight","offsetTop","getTotalOffsetTop","scrollMarginTop","scrollMarginBottom","getScrollMargins","parentOffsetHeight","scrollTop","isAbove","isBelow","buffer","scrollTo","element","scrollHeight","contains","offsetParent","computedStyles","getComputedStyle","getIntValueOfComputedStyle","scrollMarginBlockStart","scrollMarginBlockEnd","computedStyle","parseInt"],"mappings":"AAAA,OAAO,MAAMA,iBAAiB,CAACC;IAC7B,IAAI,CAACA,QAAQ;QACX;IACF;IAEA,MAAMC,eAAeC,qBAAqBF,OAAOG,aAAa;IAC9D,IAAI,CAACF,cAAc;QACjB;IACF;IAEA,MAAM,EAAEG,YAAY,EAAE,GAAGJ;IACzB,MAAMK,YAAYC,kBAAkBN,QAAQC;IAE5C,MAAM,EAAEM,eAAe,EAAEC,kBAAkB,EAAE,GAAGC,iBAAiBT;IAEjE,MAAM,EAAEI,cAAcM,kBAAkB,EAAEC,SAAS,EAAE,GAAGV;IAExD,MAAMW,UAAUP,YAAYE,kBAAkBI;IAC9C,MAAME,UAAUR,YAAYD,eAAeI,qBAAqBG,YAAYD;IAE5E,MAAMI,SAAS;IAEf,IAAIF,SAAS;QACXX,aAAac,QAAQ,CAAC,GAAGV,YAAYE,kBAAkBO;IACzD,OAAO,IAAID,SAAS;QAClBZ,aAAac,QAAQ,CAAC,GAAGV,YAAYD,eAAeI,qBAAqBE,qBAAqBI;IAChG;AACF,EAAE;AAEF,MAAMZ,uBAAuB,CAACc;IAC5B,IAAI,CAACA,SAAS;QACZ,OAAO;IACT;IAEA,IAAIA,QAAQC,YAAY,GAAGD,QAAQZ,YAAY,EAAE;QAC/C,OAAOY;IACT;IAEA,OAAOd,qBAAqBc,QAAQb,aAAa;AACnD;AAEA,MAAMG,oBAAoB,CAACU,SAAsBf;IAC/C,IAAI,CAACe,WAAWA,YAAYf,cAAc;QACxC,OAAO;IACT;IAEA,IAAIe,QAAQE,QAAQ,CAACjB,eAAe;QAClC,iGAAiG;QACjG,OAAOA,aAAaI,SAAS,GAAG,CAAC;IACnC;IAEA,OAAOW,QAAQX,SAAS,GAAGC,kBAAkBU,QAAQG,YAAY,EAAiBlB;AACpF;AAEA,MAAMQ,mBAAmB,CAACO;IACxB,MAAMI,iBAAiBC,iBAAiBL;QAEtCM;IADF,MAAMf,kBACJe,CAAAA,8BAAAA,2BAA2BF,eAAeb,eAAe,eAAzDe,yCAAAA,8BACAA,2BAA2BF,eAAeG,sBAAsB;QAEhED;IADF,MAAMd,qBACJc,CAAAA,+BAAAA,2BAA2BF,eAAeZ,kBAAkB,eAA5Dc,0CAAAA,+BACAA,2BAA2BF,eAAeI,oBAAoB;IAChE,OAAO;QACLjB;QACAC;IACF;AACF;AAEA,MAAMc,6BAA6B,CAACG;IAClC,OAAOA,gBAAgBC,SAASD,eAAe,MAAM;AACvD"}
1
+ {"version":3,"sources":["scrollIntoView.ts"],"sourcesContent":["export const scrollIntoView = (target: HTMLElement | null | undefined) => {\n if (!target) {\n return;\n }\n\n const scrollParent = findScrollableParent(target.parentElement as HTMLElement);\n if (!scrollParent) {\n return;\n }\n\n const { offsetHeight } = target;\n const offsetTop = getTotalOffsetTop(target, scrollParent);\n\n const { scrollMarginTop, scrollMarginBottom } = getScrollMargins(target);\n\n const { offsetHeight: parentOffsetHeight, scrollTop } = scrollParent;\n\n const isAbove = offsetTop - scrollMarginTop < scrollTop;\n const isBelow = offsetTop + offsetHeight + scrollMarginBottom > scrollTop + parentOffsetHeight;\n\n const buffer = 2;\n\n if (isAbove) {\n scrollParent.scrollTo(0, offsetTop - scrollMarginTop - buffer);\n } else if (isBelow) {\n scrollParent.scrollTo(0, offsetTop + offsetHeight + scrollMarginBottom - parentOffsetHeight + buffer);\n }\n};\n\nconst findScrollableParent = (element: HTMLElement | null): HTMLElement | null => {\n if (!element) {\n return null;\n }\n\n if (element.scrollHeight > element.offsetHeight) {\n return element;\n }\n\n return findScrollableParent(element.parentElement);\n};\n\nconst getTotalOffsetTop = (element: HTMLElement, scrollParent: HTMLElement): number => {\n if (!element || element === scrollParent) {\n return 0;\n }\n\n if (element.contains(scrollParent)) {\n // subtract the scroll parent's offset top from the running total if the offsetParent is above it\n return scrollParent.offsetTop * -1;\n }\n\n return element.offsetTop + getTotalOffsetTop(element.offsetParent as HTMLElement, scrollParent);\n};\n\nconst getScrollMargins = (element: HTMLElement) => {\n const win = element.ownerDocument?.defaultView;\n if (!win) {\n return {\n scrollMarginTop: 0,\n scrollMarginBottom: 0,\n };\n }\n\n const computedStyles = win.getComputedStyle(element);\n const scrollMarginTop =\n getIntValueOfComputedStyle(computedStyles.scrollMarginTop) ??\n getIntValueOfComputedStyle(computedStyles.scrollMarginBlockStart);\n const scrollMarginBottom =\n getIntValueOfComputedStyle(computedStyles.scrollMarginBottom) ??\n getIntValueOfComputedStyle(computedStyles.scrollMarginBlockEnd);\n return {\n scrollMarginTop,\n scrollMarginBottom,\n };\n};\n\nconst getIntValueOfComputedStyle = (computedStyle: string) => {\n return computedStyle ? parseInt(computedStyle, 10) : 0;\n};\n"],"names":["scrollIntoView","target","scrollParent","findScrollableParent","parentElement","offsetHeight","offsetTop","getTotalOffsetTop","scrollMarginTop","scrollMarginBottom","getScrollMargins","parentOffsetHeight","scrollTop","isAbove","isBelow","buffer","scrollTo","element","scrollHeight","contains","offsetParent","win","ownerDocument","defaultView","computedStyles","getComputedStyle","getIntValueOfComputedStyle","scrollMarginBlockStart","scrollMarginBlockEnd","computedStyle","parseInt"],"mappings":"AAAA,OAAO,MAAMA,iBAAiB,CAACC;IAC7B,IAAI,CAACA,QAAQ;QACX;IACF;IAEA,MAAMC,eAAeC,qBAAqBF,OAAOG,aAAa;IAC9D,IAAI,CAACF,cAAc;QACjB;IACF;IAEA,MAAM,EAAEG,YAAY,EAAE,GAAGJ;IACzB,MAAMK,YAA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AsB;QAEhED;IADF,MAAMjB,qBACJiB,CAAAA,+BAAAA,2BAA2BF,eAAef,kBAAkB,eAA5DiB,0CAAAA,+BACAA,2BAA2BF,eAAeI,oBAAoB;IAChE,OAAO;QACLpB;QACAC;IACF;AACF;AAEA,MAAMiB,6BAA6B,CAACG;IAClC,OAAOA,gBAAgBC,SAASD,eAAe,MAAM;AACvD"}
@@ -124,8 +124,11 @@ const useDomAnnounce_unstable = ()=>{
124
124
  return ()=>{
125
125
  element.remove();
126
126
  elementRef.current = null;
127
+ clearAnnounceTimeout();
128
+ timeoutRef.current = undefined;
127
129
  };
128
130
  }, [
131
+ clearAnnounceTimeout,
129
132
  targetDocument
130
133
  ]);
131
134
  return announce;
@@ -1 +1 @@
1
- {"version":3,"sources":["useDomAnnounce.js"],"sourcesContent":["import { useFluent_unstable as useFluent } from '@fluentui/react-shared-contexts';\nimport { createPriorityQueue, useTimeout } from '@fluentui/react-utilities';\nimport * as React from 'react';\n/** The duration the message needs to be in present in DOM for screen readers to register a change and announce */ const MESSAGE_DURATION = 500;\nconst VISUALLY_HIDDEN_STYLES = {\n clip: 'rect(0px, 0px, 0px, 0px)',\n height: '1px',\n margin: '-1px',\n width: '1px',\n position: 'absolute',\n overflow: 'hidden',\n textWrap: 'nowrap'\n};\n/* INTERNAL: implementation of the announcer using a live region element */ export const useDomAnnounce_unstable = ()=>{\n const { targetDocument } = useFluent();\n const timeoutRef = React.useRef(undefined);\n const [setAnnounceTimeout, clearAnnounceTimeout] = useTimeout();\n const elementRef = React.useRef(null);\n const order = React.useRef(0);\n // investigate alert implementation later\n // const [alertList, setAlertList] = React.useState<string[]>([]);\n const batchMessages = React.useRef([]);\n const [messageQueue] = React.useState(()=>createPriorityQueue((a, b)=>{\n if (a.priority !== b.priority) {\n return b.priority - a.priority;\n }\n return a.createdAt - b.createdAt;\n }));\n const queueMessage = React.useCallback(()=>{\n if (timeoutRef.current || !elementRef.current) {\n return;\n }\n const runCycle = ()=>{\n if (!elementRef.current) {\n return;\n }\n if (targetDocument && messageQueue.peek()) {\n // need a wrapping element for Narrator/Edge, which currently does not pick up text-only live region changes\n // consistently\n // if this is fixed, we can set textContent to the string directly\n const wrappingEl = targetDocument.createElement('span');\n wrappingEl.innerText = messageQueue.all().filter((msg)=>msg.message.trim().length > 0).reduce((prevText, currMsg)=>prevText + currMsg.message + '. ', '');\n elementRef.current.innerText = '';\n elementRef.current.appendChild(wrappingEl);\n messageQueue.clear();\n batchMessages.current = [];\n // begin new cycle to clear (or update) messages\n timeoutRef.current = setAnnounceTimeout(()=>{\n runCycle();\n }, MESSAGE_DURATION);\n } else {\n elementRef.current.textContent = '';\n clearAnnounceTimeout();\n timeoutRef.current = undefined;\n }\n };\n runCycle();\n }, [\n clearAnnounceTimeout,\n messageQueue,\n setAnnounceTimeout,\n targetDocument\n ]);\n const announce = React.useCallback((message, options = {})=>{\n const { alert = false, priority = 0, batchId } = options;\n // check if message is an alert\n if (alert) {\n // TODO: alert implementation\n // setAlertList([...alertList, message]);\n }\n const liveMessage = {\n message,\n createdAt: order.current++,\n priority,\n batchId\n };\n // check if batchId exists\n if (batchId) {\n // update associated msg if it does\n const batchMessage = batchMessages.current.find((msg)=>msg.batchId === batchId);\n if (batchMessage) {\n // replace existing message in queue\n messageQueue.remove(batchMessage.message);\n // update list of existing batchIds w/ most recent message\n batchMessage.message = liveMessage;\n } else {\n // update list of existing batchIds, add new if doesn't already exist\n batchMessages.current = [\n ...batchMessages.current,\n {\n batchId,\n message: liveMessage\n }\n ];\n }\n }\n // add new message\n messageQueue.enqueue(liveMessage);\n queueMessage();\n }, [\n messageQueue,\n queueMessage\n ]);\n React.useEffect(()=>{\n if (!targetDocument) {\n return;\n }\n const element = targetDocument.createElement('div');\n element.setAttribute('aria-live', 'assertive');\n Object.assign(element.style, VISUALLY_HIDDEN_STYLES);\n targetDocument.body.append(element);\n elementRef.current = element;\n return ()=>{\n element.remove();\n elementRef.current = null;\n };\n }, [\n targetDocument\n ]);\n return announce;\n};\n"],"names":["useDomAnnounce_unstable","MESSAGE_DURATION","VISUALLY_HIDDEN_STYLES","clip","height","margin","width","position","overflow","textWrap","targetDocument","useFluent","timeoutRef","React","useRef","undefined","setAnnounceTimeout","clearAnnounceTimeout","useTimeout","elementRef","order","batchMessages","messageQueue","useState","createPriorityQueue","a","b","priority","createdAt","queueMessage","useCallback","current","runCycle","peek","wrappingEl","createElement","innerText","all","filter","msg","message","trim","length","reduce","prevText","currMsg","appendChild","clear","textContent","announce","options","alert","batchId","liveMessage","batchMessage","find","remove","enqueue","useEffect","element","setAttribute","Object","assign","style","body","append"],"mappings":";;;;+BAayFA;;;eAAAA;;;;qCAbzC;gCACA;iEACzB;AACvB,gHAAgH,GAAG,MAAMC,mBAAmB;AAC5I,MAAMC,yBAAyB;IAC3BC,MAAM;IACNC,QAAQ;IACRC,QAAQ;IACRC,OAAO;IACPC,UAAU;IACVC,UAAU;IACVC,UAAU;AACd;AACmF,MAAMT,0BAA0B;IAC/G,MAAM,EAAEU,cAAc,EAAE,GAAGC,IAAAA,uCAAS;IACpC,MAAMC,aAAaC,OAAMC,MAAM,CAACC;IAChC,MAAM,CAACC,oBAAoBC,qBAAqB,GAAGC,IAAAA,0BAAU;IAC7D,MAAMC,aAAaN,OAAMC,MAAM,CAAC;IAChC,MAAMM,QAAQP,OAAMC,MAAM,CAAC;IAC3B,yCAAyC;IACzC,kEAAkE;IAClE,MAAMO,gBAAgBR,OAAMC,MAAM,CAAC,EAAE;IACrC,MAAM,CAACQ,aAAa,GAAGT,OAAMU,QAAQ,CAAC,IAAIC,IAAAA,mCAAmB,EAAC,CAACC,GAAGC;YAC1D,IAAID,EAAEE,QAAQ,KAAKD,EAAEC,QAAQ,EAAE;gBAC3B,OAAOD,EAAEC,QAAQ,GAAGF,EAAEE,QAAQ;YAClC;YACA,OAAOF,EAAEG,SAAS,GAAGF,EAAEE,SAAS;QACpC;IACJ,MAAMC,eAAehB,OAAMiB,WAAW,CAAC;QACnC,IAAIlB,WAAWmB,O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AO,KAAKA;YACvE,IAAIE,cAAc;gBACd,oCAAoC;gBACpChC,aAAakC,MAAM,CAACF,aAAad,OAAO;gBACxC,0DAA0D;gBAC1Dc,aAAad,OAAO,GAAGa;YAC3B,OAAO;gBACH,qEAAqE;gBACrEhC,cAAcU,OAAO,GAAG;uBACjBV,cAAcU,OAAO;oBACxB;wBACIqB;wBACAZ,SAASa;oBACb;iBACH;YACL;QACJ;QACA,kBAAkB;QAClB/B,aAAamC,OAAO,CAACJ;QACrBxB;IACJ,GAAG;QACCP;QACAO;KACH;IACDhB,OAAM6C,SAAS,CAAC;QACZ,IAAI,CAAChD,gBAAgB;YACjB;QACJ;QACA,MAAMiD,UAAUjD,eAAeyB,aAAa,CAAC;QAC7CwB,QAAQC,YAAY,CAAC,aAAa;QAClCC,OAAOC,MAAM,CAACH,QAAQI,KAAK,EAAE7D;QAC7BQ,eAAesD,IAAI,CAACC,MAAM,CAACN;QAC3BxC,WAAWY,OAAO,GAAG4B;QACrB,OAAO;YACHA,QAAQH,MAAM;YACdrC,WAAWY,OAAO,GAAG;QACzB;IACJ,GAAG;QACCrB;KACH;IACD,OAAOuC;AACX"}
1
+ {"version":3,"sources":["useDomAnnounce.js"],"sourcesContent":["import { useFluent_unstable as useFluent } from '@fluentui/react-shared-contexts';\nimport { createPriorityQueue, useTimeout } from '@fluentui/react-utilities';\nimport * as React from 'react';\n/** The duration the message needs to be in present in DOM for screen readers to register a change and announce */ const MESSAGE_DURATION = 500;\nconst VISUALLY_HIDDEN_STYLES = {\n clip: 'rect(0px, 0px, 0px, 0px)',\n height: '1px',\n margin: '-1px',\n width: '1px',\n position: 'absolute',\n overflow: 'hidden',\n textWrap: 'nowrap'\n};\n/* INTERNAL: implementation of the announcer using a live region element */ export const useDomAnnounce_unstable = ()=>{\n const { targetDocument } = useFluent();\n const timeoutRef = React.useRef(undefined);\n const [setAnnounceTimeout, clearAnnounceTimeout] = useTimeout();\n const elementRef = React.useRef(null);\n const order = React.useRef(0);\n // investigate alert implementation later\n // const [alertList, setAlertList] = React.useState<string[]>([]);\n const batchMessages = React.useRef([]);\n const [messageQueue] = React.useState(()=>createPriorityQueue((a, b)=>{\n if (a.priority !== b.priority) {\n return b.priority - a.priority;\n }\n return a.createdAt - b.createdAt;\n }));\n const queueMessage = React.useCallback(()=>{\n if (timeoutRef.current || !elementRef.current) {\n return;\n }\n const runCycle = ()=>{\n if (!elementRef.current) {\n return;\n }\n if (targetDocument && messageQueue.peek()) {\n // need a wrapping element for Narrator/Edge, which currently does not pick up text-only live region changes\n // consistently\n // if this is fixed, we can set textContent to the string directly\n const wrappingEl = targetDocument.createElement('span');\n wrappingEl.innerText = messageQueue.all().filter((msg)=>msg.message.trim().length > 0).reduce((prevText, currMsg)=>prevText + currMsg.message + '. ', '');\n elementRef.current.innerText = '';\n elementRef.current.appendChild(wrappingEl);\n messageQueue.clear();\n batchMessages.current = [];\n // begin new cycle to clear (or update) messages\n timeoutRef.current = setAnnounceTimeout(()=>{\n runCycle();\n }, MESSAGE_DURATION);\n } else {\n elementRef.current.textContent = '';\n clearAnnounceTimeout();\n timeoutRef.current = undefined;\n }\n };\n runCycle();\n }, [\n clearAnnounceTimeout,\n messageQueue,\n setAnnounceTimeout,\n targetDocument\n ]);\n const announce = React.useCallback((message, options = {})=>{\n const { alert = false, priority = 0, batchId } = options;\n // check if message is an alert\n if (alert) {\n // TODO: alert implementation\n // setAlertList([...alertList, message]);\n }\n const liveMessage = {\n message,\n createdAt: order.current++,\n priority,\n batchId\n };\n // check if batchId exists\n if (batchId) {\n // update associated msg if it does\n const batchMessage = batchMessages.current.find((msg)=>msg.batchId === batchId);\n if (batchMessage) {\n // replace existing message in queue\n messageQueue.remove(batchMessage.message);\n // update list of existing batchIds w/ most recent message\n batchMessage.message = liveMessage;\n } else {\n // update list of existing batchIds, add new if doesn't already exist\n batchMessages.current = [\n ...batchMessages.current,\n {\n batchId,\n message: liveMessage\n }\n ];\n }\n }\n // add new message\n messageQueue.enqueue(liveMessage);\n queueMessage();\n }, [\n messageQueue,\n queueMessage\n ]);\n React.useEffect(()=>{\n if (!targetDocument) {\n return;\n }\n const element = targetDocument.createElement('div');\n element.setAttribute('aria-live', 'assertive');\n Object.assign(element.style, VISUALLY_HIDDEN_STYLES);\n targetDocument.body.append(element);\n elementRef.current = element;\n return ()=>{\n element.remove();\n elementRef.current = null;\n clearAnnounceTimeout();\n timeoutRef.current = undefined;\n };\n }, [\n clearAnnounceTimeout,\n targetDocument\n ]);\n return announce;\n};\n"],"names":["useDomAnnounce_unstable","MESSAGE_DURATION","VISUALLY_HIDDEN_STYLES","clip","height","margin","width","position","overflow","textWrap","targetDocument","useFluent","timeoutRef","React","useRef","undefined","setAnnounceTimeout","clearAnnounceTimeout","useTimeout","elementRef","order","batchMessages","messageQueue","useState","createPriorityQueue","a","b","priority","createdAt","queueMessage","useCallback","current","runCycle","peek","wrappingEl","createElement","innerText","all","filter","msg","message","trim","length","reduce","prevText","currMsg","appendChild","clear","textContent","announce","options","alert","batchId","liveMessage","batchMessage","find","remove","enqueue","useEffect","element","setAttribute","Object","assign","style","body","append"],"mappings":";;;;+BAayFA;;;eAAAA;;;;qCAbzC;gCACA;iEACzB;AACvB,gHAAgH,GAAG,MAAMC,mBAAmB;AAC5I,MAAMC,yBAAyB;IAC3BC,MAAM;IACNC,QAAQ;IACRC,QAAQ;IACRC,OAAO;IACPC,UAAU;IACVC,UAAU;IACVC,UAAU;AACd;AACmF,MAAMT,0BAA0B;IAC/G,MAAM,EAAEU,cAAc,EAAE,GAAGC,IAAAA,uCAAS;IACpC,MAAMC,aAAaC,OAAMC,MAAM,CAACC;IAChC,MAAM,CAACC,oBAAoBC,qBAAqB,GAAGC,IAAAA,0BAAU;IAC7D,MAAMC,aAAaN,OAAMC,MAAM,CAAC;IAChC,MAAMM,QAAQP,OAAMC,MAAM,CAAC;IAC3B,yCAAyC;IACzC,kEAAkE;IAClE,MAAMO,gBAAgBR,OAAMC,MAAM,CAAC,EAAE;IACrC,MAAM,CAACQ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B,WAAW,CAAC,EAAEyB,OAAO,EAAE,GAAGF;QACjD,+BAA+B;QAC/B,IAAIC,OAAO;QACX,6BAA6B;QAC7B,yCAAyC;QACzC;QACA,MAAME,cAAc;YAChBb;YACAZ,WAAWR,MAAMW,OAAO;YACxBJ;YACAyB;QACJ;QACA,0BAA0B;QAC1B,IAAIA,SAAS;YACT,mCAAmC;YACnC,MAAME,eAAejC,cAAcU,OAAO,CAACwB,IAAI,CAAC,CAAChB,MAAMA,IAAIa,OAAO,KAAKA;YACvE,IAAIE,cAAc;gBACd,oCAAoC;gBACpChC,aAAakC,MAAM,CAACF,aAAad,OAAO;gBACxC,0DAA0D;gBAC1Dc,aAAad,OAAO,GAAGa;YAC3B,OAAO;gBACH,qEAAqE;gBACrEhC,cAAcU,OAAO,GAAG;uBACjBV,cAAcU,OAAO;oBACxB;wBACIqB;wBACAZ,SAASa;oBACb;iBACH;YACL;QACJ;QACA,kBAAkB;QAClB/B,aAAamC,OAAO,CAACJ;QACrBxB;IACJ,GAAG;QACCP;QACAO;KACH;IACDhB,OAAM6C,SAAS,CAAC;QACZ,IAAI,CAAChD,gBAAgB;YACjB;QACJ;QACA,MAAMiD,UAAUjD,eAAeyB,aAAa,CAAC;QAC7CwB,QAAQC,YAAY,CAAC,aAAa;QAClCC,OAAOC,MAAM,CAACH,QAAQI,KAAK,EAAE7D;QAC7BQ,eAAesD,IAAI,CAACC,MAAM,CAACN;QAC3BxC,WAAWY,OAAO,GAAG4B;QACrB,OAAO;YACHA,QAAQH,MAAM;YACdrC,WAAWY,OAAO,GAAG;YACrBd;YACAL,WAAWmB,OAAO,GAAGhB;QACzB;IACJ,GAAG;QACCE;QACAP;KACH;IACD,OAAOuC;AACX"}
@@ -49,7 +49,15 @@ const getTotalOffsetTop = (element, scrollParent)=>{
49
49
  return element.offsetTop + getTotalOffsetTop(element.offsetParent, scrollParent);
50
50
  };
51
51
  const getScrollMargins = (element)=>{
52
- const computedStyles = getComputedStyle(element);
52
+ var _element_ownerDocument;
53
+ const win = (_element_ownerDocument = element.ownerDocument) === null || _element_ownerDocument === void 0 ? void 0 : _element_ownerDocument.defaultView;
54
+ if (!win) {
55
+ return {
56
+ scrollMarginTop: 0,
57
+ scrollMarginBottom: 0
58
+ };
59
+ }
60
+ const computedStyles = win.getComputedStyle(element);
53
61
  var _getIntValueOfComputedStyle;
54
62
  const scrollMarginTop = (_getIntValueOfComputedStyle = getIntValueOfComputedStyle(computedStyles.scrollMarginTop)) !== null && _getIntValueOfComputedStyle !== void 0 ? _getIntValueOfComputedStyle : getIntValueOfComputedStyle(computedStyles.scrollMarginBlockStart);
55
63
  var _getIntValueOfComputedStyle1;
@@ -1 +1 @@
1
- {"version":3,"sources":["scrollIntoView.js"],"sourcesContent":["export const scrollIntoView = (target)=>{\n if (!target) {\n return;\n }\n const scrollParent = findScrollableParent(target.parentElement);\n if (!scrollParent) {\n return;\n }\n const { offsetHeight } = target;\n const offsetTop = getTotalOffsetTop(target, scrollParent);\n const { scrollMarginTop, scrollMarginBottom } = getScrollMargins(target);\n const { offsetHeight: parentOffsetHeight, scrollTop } = scrollParent;\n const isAbove = offsetTop - scrollMarginTop < scrollTop;\n const isBelow = offsetTop + offsetHeight + scrollMarginBottom > scrollTop + parentOffsetHeight;\n const buffer = 2;\n if (isAbove) {\n scrollParent.scrollTo(0, offsetTop - scrollMarginTop - buffer);\n } else if (isBelow) {\n scrollParent.scrollTo(0, offsetTop + offsetHeight + scrollMarginBottom - parentOffsetHeight + buffer);\n }\n};\nconst findScrollableParent = (element)=>{\n if (!element) {\n return null;\n }\n if (element.scrollHeight > element.offsetHeight) {\n return element;\n }\n return findScrollableParent(element.parentElement);\n};\nconst getTotalOffsetTop = (element, scrollParent)=>{\n if (!element || element === scrollParent) {\n return 0;\n }\n if (element.contains(scrollParent)) {\n // subtract the scroll parent's offset top from the running total if the offsetParent is above it\n return scrollParent.offsetTop * -1;\n }\n return element.offsetTop + getTotalOffsetTop(element.offsetParent, scrollParent);\n};\nconst getScrollMargins = (element)=>{\n const computedStyles = getComputedStyle(element);\n var _getIntValueOfComputedStyle;\n const scrollMarginTop = (_getIntValueOfComputedStyle = getIntValueOfComputedStyle(computedStyles.scrollMarginTop)) !== null && _getIntValueOfComputedStyle !== void 0 ? _getIntValueOfComputedStyle : getIntValueOfComputedStyle(computedStyles.scrollMarginBlockStart);\n var _getIntValueOfComputedStyle1;\n const scrollMarginBottom = (_getIntValueOfComputedStyle1 = getIntValueOfComputedStyle(computedStyles.scrollMarginBottom)) !== null && _getIntValueOfComputedStyle1 !== void 0 ? _getIntValueOfComputedStyle1 : getIntValueOfComputedStyle(computedStyles.scrollMarginBlockEnd);\n return {\n scrollMarginTop,\n scrollMarginBottom\n };\n};\nconst getIntValueOfComputedStyle = (computedStyle)=>{\n return computedStyle ? parseInt(computedStyle, 10) : 0;\n};\n"],"names":["scrollIntoView","target","scrollParent","findScrollableParent","parentElement","offsetHeight","offsetTop","getTotalOffsetTop","scrollMarginTop","scrollMarginBottom","getScrollMargins","parentOffsetHeight","scrollTop","isAbove","isBelow","buffer","scrollTo","element","scrollHeight","contains","offsetParent","computedStyles","getComputedStyle","_getIntValueOfComputedStyle","getIntValueOfComputedStyle","scrollMarginBlockStart","_getIntValueOfComputedStyle1","scrollMarginBlockEnd","computedStyle","parseInt"],"mappings":";;;;+BAAaA;;;eAAAA;;;AAAN,MAAMA,iBAAiB,CAACC;IAC3B,IAAI,CAACA,QAAQ;QACT;IACJ;IACA,MAAMC,eAAeC,qBAAqBF,OAAOG,aAAa;IAC9D,IAAI,CAACF,cAAc;QACf;IACJ;IACA,MAAM,EAAEG,YAAY,EAAE,GAAGJ;IACzB,MAAMK,YAAYC,kBAAkBN,QAAQC;IAC5C,MAAM,EAAEM,eAAe,EAAEC,kBAAkB,EAAE,GAAGC,iBAAiBT;IACjE,MAAM,EAAEI,cAAcM,kBAAkB,EAAEC,SAAS,EAAE,GAAGV;IACxD,MAAMW,UAAUP,YAAYE,kBAAkBI;IAC9C,MAAME,UA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) {\n return;\n }\n const scrollParent = findScrollableParent(target.parentElement);\n if (!scrollParent) {\n return;\n }\n const { offsetHeight } = target;\n const offsetTop = getTotalOffsetTop(target, scrollParent);\n const { scrollMarginTop, scrollMarginBottom } = getScrollMargins(target);\n const { offsetHeight: parentOffsetHeight, scrollTop } = scrollParent;\n const isAbove = offsetTop - scrollMarginTop < scrollTop;\n const isBelow = offsetTop + offsetHeight + scrollMarginBottom > scrollTop + parentOffsetHeight;\n const buffer = 2;\n if (isAbove) {\n scrollParent.scrollTo(0, offsetTop - scrollMarginTop - buffer);\n } else if (isBelow) {\n scrollParent.scrollTo(0, offsetTop + offsetHeight + scrollMarginBottom - parentOffsetHeight + buffer);\n }\n};\nconst findScrollableParent = (element)=>{\n if (!element) {\n return null;\n }\n if (element.scrollHeight > element.offsetHeight) {\n return element;\n }\n return findScrollableParent(element.parentElement);\n};\nconst getTotalOffsetTop = (element, scrollParent)=>{\n if (!element || element === scrollParent) {\n return 0;\n }\n if (element.contains(scrollParent)) {\n // subtract the scroll parent's offset top from the running total if the offsetParent is above it\n return scrollParent.offsetTop * -1;\n }\n return element.offsetTop + getTotalOffsetTop(element.offsetParent, scrollParent);\n};\nconst getScrollMargins = (element)=>{\n var _element_ownerDocument;\n const win = (_element_ownerDocument = element.ownerDocument) === null || _element_ownerDocument === void 0 ? void 0 : _element_ownerDocument.defaultView;\n if (!win) {\n return {\n scrollMarginTop: 0,\n scrollMarginBottom: 0\n };\n }\n const computedStyles = win.getComputedStyle(element);\n var _getIntValueOfComputedStyle;\n const scrollMarginTop = (_getIntValueOfComputedStyle = getIntValueOfComputedStyle(computedStyles.scrollMarginTop)) !== null && _getIntValueOfComputedStyle !== void 0 ? _getIntValueOfComputedStyle : getIntValueOfComputedStyle(computedStyles.scrollMarginBlockStart);\n var _getIntValueOfComputedStyle1;\n const scrollMarginBottom = (_getIntValueOfComputedStyle1 = getIntValueOfComputedStyle(computedStyles.scrollMarginBottom)) !== null && _getIntValueOfComputedStyle1 !== void 0 ? _getIntValueOfComputedStyle1 : getIntValueOfComputedStyle(computedStyles.scrollMarginBlockEnd);\n return {\n scrollMarginTop,\n scrollMarginBottom\n };\n};\nconst getIntValueOfComputedStyle = (computedStyle)=>{\n return computedStyle ? parseInt(computedStyle, 10) : 0;\n};\n"],"names":["scrollIntoView","target","scrollParent","findScrollableParent","parentElement","offsetHeight","offsetTop","getTotalOffsetTop","scrollMarginTop","scrollMarginBottom","getScrollMargins","parentOffsetHeight","scrollTop","isAbove","isBelow","buffer","scrollTo","element","scrollHeight","contains","offsetParent","_element_ownerDocument","win","ownerDocument","defaultView","computedStyles","getComputedStyle","_getIntValueOfComputedStyle","getIntValueOfComputedStyle","scrollMarginBlockStart","_getIntValueOfComputedStyle1","scrollMarginBlockEnd","computedStyle","parseInt"],"mappings":";;;;+BAAaA;;;eAAAA;;;AAAN,MAAMA,iBAAiB,CAACC;IAC3B,IAAI,CAACA,QAAQ;QACT;IACJ;IACA,MAAMC,eAAeC,qBAAqBF,OAAOG,aAAa;IAC9D,IAAI,CAACF,cAAc;QACf;IACJ;IACA,MAAM,EAAEG,YAAY,EAAE,GAAGJ;IACzB,MAAMK,YAAYC,kBAAkBN,QAAQC;IAC5C,MAAM,EAAEM,eAAe,EAAEC,kBAAkB,EAAE,GAAGC,iBAAiBT;IACjE,MAAM,EAAEI,cAAcM,kBAAkB,EAAEC,SAAS,EAAE,GAAGV;IACxD,MAAMW,UAAUP,YAAYE,kBAAkBI;IAC9C,MAAME,UAAUR,YAAYD,eAAeI,qBAAqBG,YAAYD;IAC5E,MAAMI,SAAS;IACf,IAAIF,SAAS;QACTX,aAAac,QAAQ,CAAC,GAAGV,YAAYE,kBAAkBO;IAC3D,OAAO,IAAID,SAAS;QAChBZ,aAAac,QAAQ,CAAC,GAAGV,YAAYD,eAAeI,qBAAqBE,qBAAqBI;IAClG;AACJ;AACA,MAAMZ,uBAAuB,CAACc;IAC1B,IAAI,CAACA,SAAS;QACV,OAAO;IACX;IACA,IAAIA,QAAQC,YAAY,GAAGD,QAAQZ,YAAY,EAAE;QAC7C,OAAOY;IACX;IACA,OAAOd,qBAAqBc,QAAQb,aAAa;AACrD;AACA,MAAMG,oBAAoB,CAACU,SAASf;IAChC,IAAI,CAACe,WAAWA,YAAYf,cAAc;QACtC,OAAO;IACX;IACA,IAAIe,QAAQE,QAAQ,CAACjB,eAAe;QAChC,iGAAiG;QACjG,OAAOA,aAAaI,SAAS,GAAG,CAAC;IACrC;IACA,OAAOW,QAAQX,SAAS,GAAGC,kBAAkBU,QAAQG,YAAY,EAAElB;AACvE;AACA,MAAMQ,mBAAmB,CAACO;IACtB,IAAII;IACJ,MAAMC,MAAM,AAACD,CAAAA,yBAAyBJ,QAAQM,aAAa,AAAD,MAAO,QAAQF,2BAA2B,KAAK,IAAI,KAAK,IAAIA,uBAAuBG,WAAW;IACxJ,IAAI,CAACF,KAAK;QACN,OAAO;YACHd,iBAAiB;YACjBC,oBAAoB;QACxB;IACJ;IACA,MAAMgB,iBAAiBH,IAAII,gBAAgB,CAACT;IAC5C,IAAIU;IACJ,MAAMnB,kBAAkB,AAACmB,CAAAA,8BAA8BC,2BAA2BH,eAAejB,eAAe,CAAA,MAAO,QAAQmB,gCAAgC,KAAK,IAAIA,8BAA8BC,2BAA2BH,eAAeI,sBAAsB;IACtQ,IAAIC;IACJ,MAAMrB,qBAAqB,AAACqB,CAAAA,+BAA+BF,2BAA2BH,eAAehB,kBAAkB,CAAA,MAAO,QAAQqB,iCAAiC,KAAK,IAAIA,+BAA+BF,2BAA2BH,eAAeM,oBAAoB;IAC7Q,OAAO;QACHvB;QACAC;IACJ;AACJ;AACA,MAAMmB,6BAA6B,CAACI;IAChC,OAAOA,gBAAgBC,SAASD,eAAe,MAAM;AACzD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-aria",
3
- "version": "9.11.3",
3
+ "version": "9.12.0",
4
4
  "description": "React helper to ensure ARIA",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -21,10 +21,9 @@
21
21
  "lint": "just-scripts lint",
22
22
  "start": "yarn storybook",
23
23
  "test": "jest --passWithNoTests",
24
- "storybook": "start-storybook",
25
- "type-check": "tsc -b tsconfig.json",
26
- "generate-api": "just-scripts generate-api",
27
- "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\""
24
+ "storybook": "yarn --cwd ../stories storybook",
25
+ "type-check": "just-scripts type-check",
26
+ "generate-api": "just-scripts generate-api"
28
27
  },
29
28
  "devDependencies": {
30
29
  "@fluentui/eslint-plugin": "*",
@@ -35,9 +34,9 @@
35
34
  "dependencies": {
36
35
  "@fluentui/keyboard-keys": "^9.0.7",
37
36
  "@fluentui/react-shared-contexts": "^9.19.0",
38
- "@fluentui/react-jsx-runtime": "^9.0.38",
39
- "@fluentui/react-tabster": "^9.21.3",
40
- "@fluentui/react-utilities": "^9.18.9",
37
+ "@fluentui/react-jsx-runtime": "^9.0.39",
38
+ "@fluentui/react-tabster": "^9.21.5",
39
+ "@fluentui/react-utilities": "^9.18.10",
41
40
  "@swc/helpers": "^0.5.1"
42
41
  },
43
42
  "peerDependencies": {