Skip to content

Commit 0571f1c

Browse files
dannifydevongovett
andauthored
Nov 2021 release notes (#2597)
* Nov release notes * Apply suggestions from code review Co-authored-by: Devon Govett <[email protected]> Co-authored-by: Devon Govett <[email protected]>
1 parent a964766 commit 0571f1c

File tree

1 file changed

+160
-0
lines changed

1 file changed

+160
-0
lines changed
Lines changed: 160 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,160 @@
1+
<!-- Copyright 2020 Adobe. All rights reserved.
2+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
3+
you may not use this file except in compliance with the License. You may obtain a copy
4+
of the License at http://www.apache.org/licenses/LICENSE-2.0
5+
Unless required by applicable law or agreed to in writing, software distributed under
6+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
7+
OF ANY KIND, either express or implied. See the License for the specific language
8+
governing permissions and limitations under the License. -->
9+
10+
import {BlogPostLayout, Hero} from '@react-spectrum/docs';
11+
export default BlogPostLayout;
12+
13+
---
14+
description: As we head into the holiday season, our latest release focuses on kick-starting some of our pre-release components as well a whole list of fixes, and to top it all off, a new selection mode!
15+
date: 2021-11-24
16+
---
17+
18+
# November 24, 2021 Release
19+
20+
As we head into the holiday season, our latest release focuses on kick-starting some of our pre-release components as well a whole list of fixes, and to top it all off, a new selection mode!
21+
22+
Our `@react-aria/interactions` package now includes a new `useLongPress` hook for handling long press interactions across both mouse and touch devices. This hook automatically supports preventing text selection and context menus, allowing customizable time thresholds, and an accessibility description to help discoverability with assistive technology users. Take a look at the documentation in our [React Aria docs](https://react-spectrum.adobe.com/react-aria/useLongPress.html).
23+
24+
Highlight selection is an alternative selection behavior that works similarly to native platforms such as macOS and Windows, which can be used when checkboxes on each item are undesired. The `onAction` prop enables actions on each item, such as navigating to a detail view, to be triggered via double click or the Enter key. It also takes advantage of the new `useLongPress` hook to provide a multi-selection mode on touch devices. For examples on use and implementation, visit our [TableView](https://react-spectrum.adobe.com/react-spectrum/TableView.html#highlight-selection) and [useTable](https://react-spectrum.adobe.com/react-aria/useTable.html#selection-behavior) docs.
25+
26+
Thank you to all our contributors for their help with this release.
27+
28+
## New features
29+
- Add additional loading message to Combobox - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/2358)
30+
- Add support for highlight selection and `onAction` to React Aria selection hooks, and `TableView` component in React Spectrum - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/2363)
31+
- Add new `useLongPress` hook to `@react-aria/interactions` - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/2363)
32+
33+
## Fixed
34+
- Restrict resize updates to `TextArea` only - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/2344)
35+
- Add focus hook to `useLink` to fix Tooltips on `Link` - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/2276)
36+
- Update `CheckboxGroup`, `RadioGroup`, `useToggle` to use `aria-required` - [@paulkenney](https://github.com/paulkenney) - [PR](https://github.com/adobe/react-spectrum/pull/2377)
37+
- Update generic types for `useTextField` - [@solimant](https://github.com/solimant) - [PR](https://github.com/adobe/react-spectrum/pull/2369)
38+
- Remove browser added UI for invalid form validation - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/2401)
39+
- Add `noValidate` prop to `Form` to hide native validation - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/2402)
40+
- Fix help text alignment - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/2367)
41+
- Add `shouldFocusWrap` to `useComboBox` - [@alexichristakis](https://github.com/alexichristakis) - [PR](https://github.com/adobe/react-spectrum/pull/2348)
42+
- Fix `ComboBox` id association with help text - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/2410)
43+
- Update `useHover` to always return `currentTarget` - [@cedeber](https://github.com/cedeber) - [PR](https://github.com/adobe/react-spectrum/pull/2428)
44+
- Remove additional `stopPropagation` in `useMenuTrigger` - [@Anuragtech02](https://github.com/Anuragtech02) - [PR](https://github.com/adobe/react-spectrum/pull/2354)
45+
- Add missing `AsyncListOptions` type for `useAsyncList` - [@mattywong](https://github.com/mattywong) - [PR](https://github.com/adobe/react-spectrum/pull/2417)
46+
- Restrict disabled text selection in `usePress` to iOS - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/2440)
47+
- Fix id association when switching between help text props - [@majornista](https://github.com/majornista) - [PR](https://github.com/adobe/react-spectrum/pull/2332)
48+
- Fix sort icon overflow in `TableView` - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/devongovetthttps://github.com/adobe/react-spectrum/pull/2318)
49+
- Restore focus when error in help text is loaded - [@majornista](https://github.com/majornista) - [PR](https://github.com/snowystingerhttps://github.com/adobe/react-spectrum/pull/2422)
50+
- Enable `Enter` keypress on `ActionMenu` with `Tooltip` - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/2366)
51+
- Update NumberField to take allowed DOM props - [@hayes](https://github.com/hayes) - [PR](https://github.com/adobe/react-spectrum/pull/2453)
52+
- Only update when breakpoints change in `BreakpointProvider` - [@solimant](https://github.com/solimant) - [PR](https://github.com/adobe/react-spectrum/pull/2412)
53+
- Remove unsupported aria props from `Radio` - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/2427)
54+
- Update `useObjectRef` to use `useLayoutEffect` - [@solimant](https://github.com/solimant) - [PR](https://github.com/adobe/react-spectrum/pull/2458)
55+
- Add useFormProps to ComboBox - [@ktabors](https://github.com/ktabors) - [PR](https://github.com/adobe/react-spectrum/pull/2351)
56+
- Remove additional `onChangeEnd` event in `useColorWheel` - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/2448)
57+
- Update `ActionGroup` to honor `disabledKeys` when collapsed - [@solimant](https://github.com/solimant) - [PR](https://github.com/adobe/react-spectrum/pull/2463)
58+
- Improve content visibility in Dialogs when zoomed - [@ktabors](https://github.com/ktabors) - [PR](https://github.com/adobe/react-spectrum/pull/2490)
59+
- Add checks in `useCloseOnScroll` when target is `window` - [@alirezamirian](https://github.com/alirezamirian) - [PR](https://github.com/adobe/react-spectrum/pull/2341)
60+
- Add `autocomplete` aria prop to HiddenSelect for autofill functionality - [@majornista](https://github.com/majornista) - [PR](https://github.com/adobe/react-spectrum/pull/2477)
61+
- Clean removed selections when `items` are updated in `TableView` - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/2441)
62+
- Update `Menu` and `ComboBox` to stop interactions when disabled - [@Onyinye91-ctrl](https://github.com/Onyinye91-ctrl) - [PR](https://github.com/adobe/react-spectrum/pull/2479)
63+
- Add additional null check on `key` in `Virtualizer` - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/2560)
64+
- Fix generate function overload types in Parcel patch - [@kherock](https://github.com/kherock) - [PR](https://github.com/adobe/react-spectrum/pull/2565)
65+
66+
## Documentation
67+
- Fix prop table layout in docs template - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/2470)
68+
69+
## Under construction
70+
71+
Pre-release versions of the following components have been released. Please feel free to try them out, and report any issues you encounter.
72+
73+
- ColorSlider beta
74+
- [React Spectrum](https://react-spectrum.adobe.com/react-spectrum/ColorSlider.html)
75+
- [React Aria](https://react-spectrum.adobe.com/react-aria/useColorSlider.html)
76+
- ColorWheel beta
77+
- [React Spectrum](https://react-spectrum.adobe.com/react-spectrum/ColorWheel.html)
78+
- [React Aria](https://react-spectrum.adobe.com/react-aria/useColorWheel.html)
79+
- ColorField beta
80+
- [React Spectrum](https://react-spectrum.adobe.com/react-spectrum/ColorField.html)
81+
- [React Aria](https://react-spectrum.adobe.com/react-aria/useColorField.html)
82+
- SearchWithin alpha
83+
- Calendar alpha
84+
- DatePicker alpha
85+
- ListView alpha
86+
- CardView alpha
87+
- Card alpha
88+
89+
## Released packages
90+
91+
```
92+
93+
- @internationalized/[email protected]
94+
- @react-aria/[email protected]
95+
- @react-aria/[email protected]
96+
- @react-aria/[email protected]
97+
- @react-aria/[email protected]
98+
- @react-aria/[email protected]
99+
- @react-aria/[email protected]
100+
- @react-aria/[email protected]
101+
- @react-aria/[email protected]
102+
- @react-aria/[email protected]
103+
- @react-aria/[email protected]
104+
- @react-aria/[email protected]
105+
- @react-aria/[email protected]
106+
- @react-aria/[email protected]
107+
- @react-aria/[email protected]
108+
- @react-aria/[email protected]
109+
- @react-aria/[email protected]
110+
- @react-aria/[email protected]
111+
- @react-aria/[email protected]
112+
- @react-aria/[email protected]
113+
- @react-aria/[email protected]
114+
- @react-aria/[email protected]
115+
- @react-aria/[email protected]
116+
- @react-aria/[email protected]
117+
- @react-aria/[email protected]
118+
- @react-spectrum/[email protected]
119+
- @react-spectrum/[email protected]
120+
- @react-spectrum/[email protected]
121+
- @react-spectrum/[email protected]
122+
- @react-spectrum/[email protected]
123+
- @react-spectrum/[email protected]
124+
- @react-spectrum/[email protected]
125+
- @react-spectrum/[email protected]
126+
- @react-spectrum/[email protected]
127+
- @react-spectrum/[email protected]
128+
- @react-spectrum/[email protected]
129+
- @react-spectrum/[email protected]
130+
- @react-spectrum/[email protected]
131+
- @react-spectrum/[email protected]
132+
- @react-spectrum/[email protected]
133+
- @react-spectrum/[email protected]
134+
- @react-spectrum/[email protected]
135+
- @react-spectrum/[email protected]
136+
- @react-spectrum/[email protected]
137+
- @react-spectrum/[email protected]
138+
- @react-spectrum/[email protected]
139+
- @react-spectrum/[email protected]
140+
- @react-stately/[email protected]
141+
- @react-stately/[email protected]
142+
- @react-stately/[email protected]
143+
- @react-stately/[email protected]
144+
- @react-stately/[email protected]
145+
- @react-stately/[email protected]
146+
- @react-stately/[email protected]
147+
- @react-stately/[email protected]
148+
- @react-stately/[email protected]
149+
- @react-stately/[email protected]
150+
- @react-types/[email protected]
151+
- @react-types/[email protected]
152+
- @react-types/[email protected]
153+
- @react-types/[email protected]
154+
- @react-types/[email protected]
155+
- @react-types/[email protected]
156+
- @react-types/[email protected]
157+
- @react-types/[email protected]
158+
159+
160+
```

0 commit comments

Comments
 (0)