Skip to content

Commit d142c4e

Browse files
reidbarberdannifydevongovett
authored
docs: November 2024 v3 Release Notes (#7414)
* init release notes * Update packages/dev/docs/pages/releases/2024-11-20.mdx * add intro * add packages * update Accordion section * fix typo * add description * add new BC fix * Update packages/dev/docs/pages/releases/2024-11-20.mdx Co-authored-by: Danni <[email protected]> * edited intro * edited intro * Update versions --------- Co-authored-by: Danni <[email protected]> Co-authored-by: Devon Govett <[email protected]>
1 parent 5107e17 commit d142c4e

File tree

1 file changed

+327
-0
lines changed

1 file changed

+327
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,327 @@
1+
{/* Copyright 2024 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+
15+
description: We’re excited to announce that our Accordion and Disclosure components are now generally available! We've also introduced the ToggleButtonGroup component, as well as Section-level selection groups in Menu. Additionally, React Spectrum and React Aria are now Typescript Strict compliant.
16+
17+
date: 2024-11-20
18+
---
19+
20+
# November 20, 2024 Release
21+
22+
We’re excited to announce that our Accordion and Disclosure components are now generally available! This includes [Disclosure](/react-aria/Disclosure.html) and [DisclosureGroup](/react-aria/DisclosureGroup.html) in React Aria, as well as [Disclosure](/react-spectrum/Disclosure.html) and [Accordion](/react-spectrum/Accordion.html) in React Spectrum. These components now also use the `hidden="until-found"` API currently supported in Chrome to enable searching collapsed content with ctrl + F.
23+
24+
We are also introducing [ToggleButtonGroup](/react-aria/ToggleButtonGroup.html) in React Aria Components, which supports arrow key navigation with single and multiple selection modes. In addition, Menu now supports the ability to create [Section-level selection groups](/react-aria/Menu.html#section-level-selection), allowing you to mix actions, single, and multiple selection within the same menu. Menus can also be nested inside Dialog popovers to enable more complex use cases.
25+
26+
Last but not least, React Spectrum and React Aria are now [Typescript Strict](https://www.typescriptlang.org/tsconfig/#strict) compliant! This has been an extremely large, multi-year effort and we thank you for your patience. This helps us reduce bugs, particularly related to `null` checks, resulting in more correct type definitions for our APIs.
27+
28+
As always, thanks to everyone in our community for your feedback and contributions! ❤️
29+
30+
**Typescript Strict notice**
31+
32+
React Spectrum and React Aria are now [Typescript Strict](https://www.typescriptlang.org/tsconfig/#strict) compliant!
33+
34+
**Accordion changes**
35+
36+
With the GA release of Accordion and Disclosure, take note of the following changes:
37+
38+
- `useAccordion` and `useAccordionItem` from `@react-aria/accordion` have been deprecated in favor of `useDisclosure` from `@react-aria/disclosure`
39+
- `DisclosureHeader` from `@react-spectrum/accordion` has been updated to be `DisclosureTitle`
40+
41+
If you're using an older pre-release version of Accordion, see the [previous release notes](/releases/2024-09-30.html#accordion-updates) for instructions on how to migrate to the released API.
42+
43+
## Enhancements
44+
45+
- Accordion
46+
- Support `hidden="until-found"` in `DisclosureGroup` - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/7199)
47+
- Dialog
48+
- Add `<Button slot="close">` support - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/7405)
49+
- Menu
50+
- Add Section-level selection groups in `Menu` - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/7254)
51+
- Support nesting `Menu` inside `Dialog` popovers with additional interactive content - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/7402)
52+
- ToggleButtonGroup
53+
- Add `ToggleButtonGroup` component to RAC - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/7264)
54+
- Misc
55+
- Support Devanagari & Bengali decimal numbering systems - [@Rocss](https://github.com/Rocss) - [PR](https://github.com/adobe/react-spectrum/pull/6715)
56+
- Update `NumberParser` to support `roundingIncrement` - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/7186)
57+
- Add `expanded` state to RAC Tailwind plugin - [@neefrehman](https://github.com/neefrehman) - [PR](https://github.com/adobe/react-spectrum/pull/7152)
58+
- Add `pending` state to RAC Tailwind plugin - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/7231)
59+
60+
## Fixes
61+
62+
- Accordion
63+
- Fix `Accordion` borders - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/7284)
64+
- Add `box-sizing: content-box` to `Accordion` chevron - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/7354)
65+
- Button
66+
- Fix `useButton` `href` condition - [@mehm8128](https://github.com/mehm8128) - [PR](https://github.com/adobe/react-spectrum/pull/7239)
67+
- Checkbox
68+
- Fix `Checkbox` validation reset not working - [@nwidynski](https://github.com/nwidynski) - [PR](https://github.com/adobe/react-spectrum/pull/7268)
69+
- Fix `ToggleProps` validate function type - [@joshuajaco](https://github.com/joshuajaco) - [PR](https://github.com/adobe/react-spectrum/pull/7347)
70+
- Add `Checkbox` default slot to `GridList` and `Table` - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/7188)
71+
- Date and time
72+
- Fix `DatePicker` with `defaultValue` to persist time zone - [@boutahlilsoufiane](https://github.com/boutahlilsoufiane) - [PR](https://github.com/adobe/react-spectrum/pull/7069)
73+
- Fix BC era timestamps in `fromAbsolute` - [@KimPeeters](https://github.com/KimPeeters) and [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/6542), [PR](https://github.com/adobe/react-spectrum/pull/7410)
74+
- Dialog
75+
- Add `data-rac` attribute to `Dialog` - amitdahan - [PR](https://github.com/adobe/react-spectrum/pull/7189)
76+
- Select
77+
- Remove iOS `HiddenSelect` workaround - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/7200)
78+
- Set default value for type parameter in `SelectProps` - [@kp047i](https://github.com/kp047i) - [PR](https://github.com/adobe/react-spectrum/pull/7014)
79+
- Slider
80+
- Update `restrictValues` in `useSliderState` - [@Danji-ya](https://github.com/Danji-ya) - [PR](https://github.com/adobe/react-spectrum/pull/7338)
81+
- Tooltip
82+
- Fix RAC `Tooltip` getting stuck on screen when scrolling - [@acr92](https://github.com/acr92) - [PR](https://github.com/adobe/react-spectrum/pull/7227)
83+
- Misc
84+
- Support React 19 prerelease - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/7383)
85+
- Add `"use strict";` to style macro CommonJS build output - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/7271)
86+
- Add prefix to style macro class names - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/7365)
87+
- Fix Typescript Strict Mode remaining issues - [@snowystinger](https://github.com/snowystinger) and [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/7368), [PR](https://github.com/adobe/react-spectrum/pull/6761)
88+
- Add optional property types - [@alecmev](https://github.com/alecmev) - [PR](https://github.com/adobe/react-spectrum/pull/6872)
89+
90+
## Docs
91+
92+
- Add ARIA APG grid link to `useTagGroup` docs - [@mehm8128](https://github.com/mehm8128) - [PR](https://github.com/adobe/react-spectrum/pull/7367)
93+
- Update CodeSandbox templates in `useDatePicker` and `useDateRangePicker` - [@yihuiliao](https://github.com/yihuiliao) - [PR](https://github.com/adobe/react-spectrum/pull/7342)
94+
- Fix `DisclosureGroup` anatomy diagram SVG clipping on mobile - [@yihuiliao](https://github.com/yihuiliao) - [PR](https://github.com/adobe/react-spectrum/pull/7323)
95+
- Update contribution guide - [@yihuiliao](https://github.com/yihuiliao) - [PR](https://github.com/adobe/react-spectrum/pull/7253)
96+
- Update `Accordion` and `DisclosureGroup` docs - [@yihuiliao](https://github.com/yihuiliao) - [PR](https://github.com/adobe/react-spectrum/pull/7273)
97+
- Add Tailwind starter for `Disclosure` and `DisclosureGroup` - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/7166)
98+
- Update `Accordion`, `Disclosure`, `DisclosureGroup` docs - [@yihuiliao](https://github.com/yihuiliao) - [PR](https://github.com/adobe/react-spectrum/pull/7165)
99+
- Fix typo on `ProgressBar` docs - [@mehm8128](https://github.com/mehm8128) - [PR](https://github.com/adobe/react-spectrum/pull/7373)
100+
- Add `Disclosure` hook docs - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/7178)
101+
- Add Q&A section to contribution guide - [@unional](https://github.com/unional) - [PR](https://github.com/adobe/react-spectrum/pull/6951)
102+
- Fix Tailwind starter `Submenu` - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/7251)
103+
- Add `Accordion` to example apps - [@yihuiliao](https://github.com/yihuiliao) - [PR](https://github.com/adobe/react-spectrum/pull/7296)
104+
- Fix disabled `Tag` styles in RAC Tailwind starter - [@steveoh](https://github.com/steveoh) - [PR](https://github.com/adobe/react-spectrum/pull/7247)
105+
106+
107+
## Released packages
108+
109+
```
110+
111+
- @internationalized/[email protected]
112+
- @internationalized/[email protected]
113+
- @internationalized/[email protected]
114+
- @internationalized/[email protected]
115+
- @internationalized/[email protected]
116+
- @react-aria/[email protected]
117+
- @react-aria/[email protected]
118+
- @react-aria/[email protected]
119+
- @react-aria/[email protected]
120+
- @react-aria/[email protected]
121+
- @react-aria/[email protected]
122+
- @react-aria/[email protected]
123+
- @react-aria/[email protected]
124+
- @react-aria/[email protected]
125+
- @react-aria/[email protected]
126+
- @react-aria/[email protected]
127+
- @react-aria/[email protected]
128+
- @react-aria/[email protected]
129+
- @react-aria/[email protected]
130+
- @react-aria/[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-spectrum/[email protected]
172+
- @react-spectrum/[email protected]
173+
- @react-spectrum/[email protected]
174+
- @react-spectrum/[email protected]
175+
- @react-spectrum/[email protected]
176+
- @react-spectrum/[email protected]
177+
- @react-spectrum/[email protected]
178+
- @react-spectrum/[email protected]
179+
- @react-spectrum/[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-stately/[email protected]
256+
- @react-stately/[email protected]
257+
- @react-stately/[email protected]
258+
- @react-stately/[email protected]
259+
- @react-stately/[email protected]
260+
- @react-stately/[email protected]
261+
- @react-stately/[email protected]
262+
- @react-stately/[email protected]
263+
- @react-stately/[email protected]
264+
- @react-stately/[email protected]
265+
- @react-types/[email protected]
266+
- @react-types/[email protected]
267+
- @react-types/[email protected]
268+
- @react-types/[email protected]
269+
- @react-types/[email protected]
270+
- @react-types/[email protected]
271+
- @react-types/[email protected]
272+
- @react-types/[email protected]
273+
- @react-types/[email protected]
274+
- @react-types/[email protected]
275+
- @react-types/[email protected]
276+
- @react-types/[email protected]
277+
- @react-types/[email protected]
278+
- @react-types/[email protected]
279+
- @react-types/[email protected]
280+
- @react-types/[email protected]
281+
- @react-types/[email protected]
282+
- @react-types/[email protected]
283+
- @react-types/[email protected]
284+
- @react-types/[email protected]
285+
- @react-types/[email protected]
286+
- @react-types/[email protected]
287+
- @react-types/[email protected]
288+
- @react-types/[email protected]
289+
- @react-types/[email protected]
290+
- @react-types/[email protected]
291+
- @react-types/[email protected]
292+
- @react-types/[email protected]
293+
- @react-types/[email protected]
294+
- @react-types/[email protected]
295+
- @react-types/[email protected]
296+
- @react-types/[email protected]
297+
- @react-types/[email protected]
298+
- @react-types/[email protected]
299+
- @react-types/[email protected]
300+
- @react-types/[email protected]
301+
- @react-types/[email protected]
302+
- @react-types/[email protected]
303+
- @react-types/[email protected]
304+
- @react-types/[email protected]
305+
- @react-types/[email protected]
306+
- @react-types/[email protected]
307+
- @react-types/[email protected]
308+
- @react-types/[email protected]
309+
- @react-types/[email protected]
310+
- @react-types/[email protected]
311+
- @react-types/[email protected]
312+
- @spectrum-icons/[email protected]
313+
- @spectrum-icons/[email protected]
314+
- @spectrum-icons/[email protected]
315+
- @spectrum-icons/[email protected]
316+
- @spectrum-icons/[email protected]
317+
- @react-spectrum/[email protected]
318+
- @react-aria/[email protected]
319+
- @react-aria/[email protected]
320+
- @react-spectrum/[email protected]
321+
- @react-spectrum/[email protected]
322+
- @react-spectrum/[email protected]
323+
324+
325+
326+
327+
```

0 commit comments

Comments
 (0)