Skip to content

Commit db48b61

Browse files
authored
Release notes (#5589)
* Release notes
1 parent 4ee20cc commit db48b61

File tree

1 file changed

+276
-0
lines changed

1 file changed

+276
-0
lines changed
Lines changed: 276 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,276 @@
1+
{/* Copyright 2023 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: In this release, we’re promoting React Aria Components from RC to GA 🎉, optimizing our included translation files, shipping a storybook based on all our React Aria Components with a starter theme, and fixing plenty of bugs.
15+
16+
date: 2023-12-20
17+
---
18+
19+
# December 20, 2023 Release
20+
21+
Welcome to the last release of the year! After a year of work, we are happy to announce the GA release of React Aria Components 🎉 This component library, built on top of our React Aria hooks, provides a simpler way to craft world-class accessible components with custom styles. See our new React Aria [landing page](https://react-spectrum.adobe.com/react-aria/index.html) for all of the details, including interactive examples. To help get you started even faster, we now also have a downloadable Storybook [starter kit](../react-aria/getting-started.html#starter-kit) including an example CSS theme.
22+
23+
Also in this release we are promoting React Spectrum's `DropZone` to RC, adding the ability to optimize translation files, and fixing plenty of bugs.
24+
As always, huge thanks to everyone in our community for their feedback and contributions to make this release and this year possible!
25+
26+
Happy coding and see you in the new year! ☃️
27+
28+
29+
### React Aria Components API updates
30+
31+
In this release, we made a few last API updates to React Aria Components as they move along to GA.
32+
33+
- Temporarily removed nested column support in `Tables` due to instability.
34+
- Hover and Focus are now distinct states in `ListBox`.
35+
- Hover state has been added to column headers in tables when sorting is allowed.
36+
- All refs given to a component now go to their outer most element. If you need a ref to the input, you can attach it directly.
37+
- Styles for `Popover`, `Tooltip`, and `OverlayArrow` are now merged in a different order to allow overriding our default styles.
38+
- Added a dependency array to help manage the item cache with columns in `Tables`.
39+
40+
41+
## Enhancements
42+
* Improve behavior of `usePreventScroll` on iOS - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5346)
43+
* Add data-trigger to `Popover` to style based on trigger component - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5429)
44+
* Add menuWidth & expose align props in `ComboBox` and `SearchAutocomplete` - [@sookmax](https://github.com/sookmax) - [PR](https://github.com/adobe/react-spectrum/pull/5446)
45+
* RAC `Menu` button and popover can have same width - [@ktabors](https://github.com/ktabors) - [PR](https://github.com/adobe/react-spectrum/pull/5465)
46+
* Generate a starter storybook from the docs - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5440)
47+
* Add directory support for `FileTrigger` - [@ryo-manba](https://github.com/ryo-manba) - [PR](https://github.com/adobe/react-spectrum/pull/5444)
48+
* Provide access to `portalContainer` of react-aria-components popover element - [@BenBeattieHood](https://github.com/BenBeattieHood) - [PR](https://github.com/adobe/react-spectrum/pull/5381)
49+
* Add capitalization settings support for `useTextField` - [@ryo-manba](https://github.com/ryo-manba) - [PR](https://github.com/adobe/react-spectrum/pull/5472)
50+
* Add build plugins to optimize translated strings for unsupported languages - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/4838)
51+
* Render children in `DropIndicators` - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5527)
52+
* Add support for `onScroll` event to RAC collection components - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5534)
53+
* Add hover state to `TableColumnHeader` when 'allowSorting' is true - [@sookmax](https://github.com/sookmax) - [PR](https://github.com/adobe/react-spectrum/pull/5471)
54+
* Use owner document in `FocusScope` - [@slye-stripe](https://github.com/slye-stripe) - [PR](https://github.com/adobe/react-spectrum/pull/5449)
55+
* Add 'use client' to components in build for Next.js app directory - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5498)
56+
* Support for `Avatar` in `ListBox`, `Picker`, `ComboBox`, and `SearchAutocomplete` - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/5431)
57+
58+
## Fixes
59+
* Additional TS StrictMode support - [@yihuiliao](https://github.com/yihuiliao) - [PR](https://github.com/adobe/react-spectrum/pull/5305)
60+
* TS Strict for react-aria `Checkbox` - [@ryo-manba](https://github.com/ryo-manba) - [PR](https://github.com/adobe/react-spectrum/pull/5467)
61+
* TS Strict internationalized - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/5544)
62+
* TS Strict Checkbox State - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/5555)
63+
* TS Strict for `DropZone` and `VisuallyHidden` - [@ktabors](https://github.com/ktabors) - [PR](https://github.com/adobe/react-spectrum/pull/5566)
64+
* Update `Toast` label definition to be a string - [@ktabors](https://github.com/ktabors) - [PR](https://github.com/adobe/react-spectrum/pull/5389)
65+
* Date components light theme placeholder color contrast - [@ktabors](https://github.com/ktabors) - [PR](https://github.com/adobe/react-spectrum/pull/5396)
66+
* Selected checkbox fill color when checkbox group is disabled - [@yihuiliao](https://github.com/yihuiliao) - [PR](https://github.com/adobe/react-spectrum/pull/5407)
67+
* Propagate `isDisabled` prop from RAC `DatePicker`/`DateRangePicker` to popover `Button` - [@ryo-manba](https://github.com/ryo-manba) - [PR](https://github.com/adobe/react-spectrum/pull/5411), [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/5413)
68+
* Labelable option to `Tab` props for aria-label support - [@ryo-manba](https://github.com/ryo-manba) - [PR](https://github.com/adobe/react-spectrum/pull/5408)
69+
* Announce change to pending for `Button` - [@iamwillpowell](https://github.com/iamwillpowell) - [PR](https://github.com/adobe/react-spectrum/pull/5245), [@majornista](https://github.com/majornista) - [PR](https://github.com/adobe/react-spectrum/pull/5520)
70+
* Make order of tailwind variants match default - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5478)
71+
* Upgrade clsx to v2.0.0 for ESM support - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/5487)
72+
* RAC support overriding default styles in overlay components - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/5506)
73+
* Clarifying menuWidth prop lower bound. - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/5510)
74+
* Close `Popover` on scroll - [@boutahlilsoufiane](https://github.com/boutahlilsoufiane) - [PR](https://github.com/adobe/react-spectrum/pull/5453)
75+
* Ensure `DismissButton` has a height so it works with iOS VO - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5539)
76+
* Support `TooltipTrigger` with `DialogTrigger` - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5526)
77+
* Ensure all refs go to the outer-most element - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5528)
78+
* Prevent flicker from all items to filtered collection when combobox is animating closed - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5538)
79+
* Normalize press handling for `Checkbox`, `Radio`, and `Switch` labels - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5525)
80+
* Scroll into view when auto focusing regardless of modality - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5542)
81+
* `ActionGroup` icon padding when overflow="collapse" and buttonLabelBehavior="hide" - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/5529)
82+
* RAC `Table` caching issues - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5530)
83+
* Support for focus events in `useRadioGroup` hooks - [@ryo-manba](https://github.com/ryo-manba) - [PR](https://github.com/adobe/react-spectrum/pull/5441)
84+
* Scroll menu with sections on iPad - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/5513)
85+
* `Table` warning in NextJS - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/5501)
86+
* Escape strings used in query selectors - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/5565)
87+
* Tailwind CSS plugin in RAC to use require instead of import - [@tom-fletcher](https://github.com/tom-fletcher) - [PR](https://github.com/adobe/react-spectrum/pull/5541)
88+
* Hover in RAC `ListBox` and remove onCellAction - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/5580)
89+
* Propagate `SearchField` escape key - [@ktabors](https://github.com/ktabors) - [PR](https://github.com/adobe/react-spectrum/pull/5571)
90+
* `restoreTextSelection` on pointerUp event - [@sookmax](https://github.com/sookmax) - [PR](https://github.com/adobe/react-spectrum/pull/5561)
91+
* Make value and defaultValue valid in `NumberField` and `Slider` - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/5543)
92+
* Respect Tailwind hoverOnlyWhenSupported, and fix placeholder-shown with `Input` - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5587)
93+
* Top margin of a `Button` in a form - [@yihuiliao](https://github.com/yihuiliao) - [PR](https://github.com/adobe/react-spectrum/pull/5461)
94+
* `TableView` resize observer loop limit - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/5432)
95+
* `TableView` virtualizer crash - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5380)
96+
* Aria label on `ListBox` `Sections` in RAC - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/5603)
97+
98+
99+
## Docs
100+
* Fix `useToast` example in docs - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5398)
101+
* Extract CSS vars from RAC docs into reusable package - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5419)
102+
* Update React Aria docs to clarify virtualization support - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/5435)
103+
* Update React Aria docs to introduce components by default - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5436)
104+
* Docs for `useLandmark` - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/5418)
105+
* Fix prop table in docs - [@yihuiliao](https://github.com/yihuiliao) - [PR](https://github.com/adobe/react-spectrum/pull/5532)
106+
* Update `FileTrigger` directory prop name and docs - [@yihuiliao](https://github.com/yihuiliao) - [PR](https://github.com/adobe/react-spectrum/pull/5512)
107+
* Fix broken links in the the docs - [@ktabors](https://github.com/ktabors) - [PR](https://github.com/adobe/react-spectrum/pull/5572)
108+
* Update collections and selection guides for React Aria Components - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5455)
109+
110+
## Under construction
111+
112+
Fixes to pre-released components are listed below. Please feel free to try them out, and report any issues you encounter.
113+
114+
**React Spectrum Submenus (Alpha)**
115+
116+
* React Spectrum Submenu support - [@LFDanLu](https://github.com/LFDanLu), [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/4976)
117+
118+
**React Spectrum Steplist (Alpha)**
119+
120+
* TS Strict Mode steplist - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/5546)
121+
* Steplist CSS improvements / HCM - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/5339)
122+
123+
124+
## Released packages
125+
126+
```
127+
128+
- @internationalized/[email protected]
129+
- @internationalized/[email protected]
130+
- @internationalized/[email protected]
131+
- @react-aria/[email protected]
132+
- @react-aria/[email protected]
133+
- @react-aria/[email protected]
134+
- @react-aria/[email protected]
135+
- @react-aria/[email protected]
136+
- @react-aria/[email protected]
137+
- @react-aria/[email protected]
138+
- @react-aria/[email protected]
139+
- @react-aria/[email protected]
140+
- @react-aria/[email protected]
141+
- @react-aria/[email protected]
142+
- @react-aria/[email protected]
143+
- @react-aria/[email protected]
144+
- @react-aria/[email protected]
145+
- @react-aria/[email protected]
146+
- @react-aria/[email protected]
147+
- @react-aria/[email protected]
148+
- @react-aria/[email protected]
149+
- @react-aria/[email protected]
150+
- @react-aria/[email protected]
151+
- @react-aria/[email protected]
152+
- @react-aria/[email protected]
153+
- @react-aria/[email protected]
154+
- @react-aria/[email protected]
155+
- @react-aria/[email protected]
156+
- @react-aria/[email protected]
157+
- @react-aria/[email protected]
158+
- @react-aria/[email protected]
159+
- @react-aria/[email protected]
160+
- @react-aria/[email protected]
161+
- @react-aria/[email protected]
162+
- @react-aria/[email protected]
163+
- @react-aria/[email protected]
164+
- @react-aria/[email protected]
165+
- @react-aria/[email protected]
166+
- @react-aria/[email protected]
167+
- @react-aria/[email protected]
168+
- @react-aria/[email protected]
169+
- @react-aria/[email protected]
170+
- @react-aria/[email protected]
171+
- @react-aria/[email protected]
172+
- @react-aria/[email protected]
173+
- @react-aria/[email protected]
174+
- @react-aria/[email protected]
175+
- @react-aria/[email protected]
176+
- @react-aria/[email protected]
177+
- @react-aria/[email protected]
178+
- @react-aria/[email protected]
179+
- @react-aria/[email protected]
180+
- @react-spectrum/[email protected]
181+
- @react-spectrum/[email protected]
182+
- @react-spectrum/[email protected]
183+
- @react-spectrum/[email protected]
184+
- @react-spectrum/[email protected]
185+
- @react-spectrum/[email protected]
186+
- @react-spectrum/[email protected]
187+
- @react-spectrum/[email protected]
188+
- @react-spectrum/[email protected]
189+
- @react-spectrum/[email protected]
190+
- @react-spectrum/[email protected]
191+
- @react-spectrum/[email protected]
192+
- @react-spectrum/[email protected]
193+
- @react-spectrum/[email protected]
194+
- @react-spectrum/[email protected]
195+
- @react-spectrum/[email protected]
196+
- @react-spectrum/[email protected]
197+
- @react-spectrum/[email protected]
198+
- @react-spectrum/[email protected]
199+
- @react-spectrum/[email protected]
200+
- @react-spectrum/[email protected]
201+
- @react-spectrum/[email protected]
202+
- @react-spectrum/[email protected]
203+
- @react-spectrum/[email protected]
204+
- @react-spectrum/[email protected]
205+
- @react-spectrum/[email protected]
206+
- @react-spectrum/[email protected]
207+
- @react-spectrum/[email protected]
208+
- @react-spectrum/[email protected]
209+
- @react-spectrum/[email protected]
210+
- @react-spectrum/[email protected]
211+
- @react-spectrum/[email protected]
212+
- @react-spectrum/[email protected]
213+
- @react-spectrum/[email protected]
214+
- @react-spectrum/[email protected]
215+
- @react-spectrum/[email protected]
216+
- @react-spectrum/[email protected]
217+
- @react-spectrum/[email protected]
218+
- @react-spectrum/[email protected]
219+
- @react-spectrum/[email protected]
220+
- @react-spectrum/[email protected]
221+
- @react-spectrum/[email protected]
222+
- @react-spectrum/[email protected]
223+
- @react-spectrum/[email protected]
224+
- @react-spectrum/[email protected]
225+
- @react-spectrum/[email protected]
226+
- @react-spectrum/[email protected]
227+
- @react-spectrum/[email protected]
228+
- @react-spectrum/[email protected]
229+
- @react-spectrum/[email protected]
230+
- @react-spectrum/[email protected]
231+
- @react-spectrum/[email protected]
232+
- @react-spectrum/[email protected]
233+
- @react-spectrum/[email protected]
234+
- @react-stately/[email protected]
235+
- @react-stately/[email protected]
236+
- @react-stately/[email protected]
237+
- @react-stately/[email protected]
238+
- @react-stately/[email protected]
239+
- @react-stately/[email protected]
240+
- @react-stately/[email protected]
241+
- @react-stately/[email protected]
242+
- @react-stately/[email protected]
243+
- @react-stately/[email protected]
244+
- @react-stately/[email protected]
245+
- @react-stately/[email protected]
246+
- @react-stately/[email protected]
247+
- @react-stately/[email protected]
248+
- @react-stately/[email protected]
249+
- @react-stately/[email protected]
250+
- @react-stately/[email protected]
251+
- @react-stately/[email protected]
252+
- @react-stately/[email protected]
253+
- @react-stately/[email protected]
254+
- @react-stately/[email protected]
255+
- @react-types/[email protected]
256+
- @react-types/[email protected]
257+
- @react-types/[email protected]
258+
- @react-types/[email protected]
259+
- @react-types/[email protected]
260+
- @react-types/[email protected]
261+
- @react-types/[email protected]
262+
- @react-types/[email protected]
263+
- @react-types/[email protected]
264+
- @react-types/[email protected]
265+
- @spectrum-icons/[email protected]
266+
- @spectrum-icons/[email protected]
267+
- @spectrum-icons/[email protected]
268+
- @spectrum-icons/[email protected]
269+
- @spectrum-icons/[email protected]
270+
- @react-aria/[email protected]
271+
- @react-aria/[email protected]
272+
273+
274+
275+
276+
```

0 commit comments

Comments
 (0)