Skip to content

Commit 7898846

Browse files
authored
feat: Release notes for new docs (#9091)
* feat: Release notes for new docs * divvy up the rest of S2 and remove from sidenav * add react aria components release notes * fix heading levels * update link * Fix all dates * fix code block display * fix rendering inside description * fix image and add actual github releases to relevant docs * fix code blocks and add archive link * fix missed page * remove RSP v3 references in the release notes to reduce noise for RAC users * remove more V3 PRs from the release notes for RAC * fix spacing * add metadata * fix examples page * add link to go to the releases list from any individual release * add aria label
1 parent 681c881 commit 7898846

38 files changed

+3990
-334
lines changed
135 KB
Loading

packages/dev/s2-docs/pages/react-aria/examples/index.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ export default Layout;
33

44
export const section = 'Getting started';
55
export const hideFromSearch = true;
6+
export const title = 'Examples';
67

78
# Examples
89

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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 {Layout} from '../../../src/Layout';
11+
import {ReleasesList} from '../../../src/ReleasesList';
12+
export default Layout;
13+
14+
export const section = 'Releases';
15+
export const tags = ['changelog', 'versions', 'updates'];
16+
export const title = 'Releases';
17+
18+
# Releases
19+
20+
<ReleasesList pages={props.pages.filter(page => page.name.includes('react-aria') && page.name.includes('releases') && !page.name.includes('index.html')) ?? []} />
Lines changed: 199 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,199 @@
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 {Layout} from '../../../src/Layout';
11+
export default Layout;
12+
13+
import docs from 'docs:@react-spectrum/s2';
14+
import {Time} from '../../../src/ReleasesList';
15+
16+
export const section = '';
17+
export const tags = ['release', 'React Aria'];
18+
export const date = 'December 20, 2023';
19+
export const title = 'v1.0.0';
20+
export const 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.';
21+
export const isSubpage = true;
22+
23+
# v1.0.0
24+
<Time date={date} />
25+
26+
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](../getting-started.html#starter-kit) including an example CSS theme.
27+
28+
Also in this release we are adding the ability to optimize translation files and fixing plenty of bugs.
29+
As always, huge thanks to everyone in our community for their feedback and contributions to make this release and this year possible!
30+
31+
Happy coding and see you in the new year! ☃️
32+
33+
34+
**React Aria Components API updates**
35+
36+
In this release, we made a few last API updates to React Aria Components as they move along to GA.
37+
* Temporarily removed nested column support in `Tables` due to instability.
38+
* Hover and Focus are now distinct states in `ListBox`.
39+
* Hover state has been added to column headers in tables when sorting is allowed.
40+
* 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.
41+
* Styles for `Popover`, `Tooltip`, and `OverlayArrow` are now merged in a different order to allow overriding our default styles.
42+
* Added a dependency array to help manage the item cache with columns in `Tables`.
43+
44+
## Enhancements
45+
* Improve behavior of `usePreventScroll` on iOS - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5346)
46+
* 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)
47+
* Add menuWidth & expose align props in `ComboBox` and `SearchAutocomplete` - [@sookmax](https://github.com/sookmax) - [PR](https://github.com/adobe/react-spectrum/pull/5446)
48+
* RAC `Menu` button and popover can have same width - [@ktabors](https://github.com/ktabors) - [PR](https://github.com/adobe/react-spectrum/pull/5465)
49+
* Generate a starter storybook from the docs - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5440)
50+
* Add directory support for `FileTrigger` - [@ryo-manba](https://github.com/ryo-manba) - [PR](https://github.com/adobe/react-spectrum/pull/5444)
51+
* Provide access to `portalContainer` of react-aria-components popover element - [@BenBeattieHood](https://github.com/BenBeattieHood) - [PR](https://github.com/adobe/react-spectrum/pull/5381)
52+
* Add capitalization settings support for `useTextField` - [@ryo-manba](https://github.com/ryo-manba) - [PR](https://github.com/adobe/react-spectrum/pull/5472)
53+
* Add build plugins to optimize translated strings for unsupported languages - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/4838)
54+
* Render children in `DropIndicators` - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5527)
55+
* Add support for `onScroll` event to RAC collection components - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5534)
56+
* Add hover state to `TableColumnHeader` when 'allowSorting' is true - [@sookmax](https://github.com/sookmax) - [PR](https://github.com/adobe/react-spectrum/pull/5471)
57+
* Use owner document in `FocusScope` - [@slye-stripe](https://github.com/slye-stripe) - [PR](https://github.com/adobe/react-spectrum/pull/5449)
58+
* 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)
59+
* Support for `Avatar` in `ListBox`, `Picker`, `ComboBox`, and `SearchAutocomplete` - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/5431)
60+
61+
## Fixes
62+
* Additional TS StrictMode support - [@yihuiliao](https://github.com/yihuiliao) - [PR](https://github.com/adobe/react-spectrum/pull/5305)
63+
* TS Strict for react-aria `Checkbox` - [@ryo-manba](https://github.com/ryo-manba) - [PR](https://github.com/adobe/react-spectrum/pull/5467)
64+
* TS Strict internationalized - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/5544)
65+
* TS Strict Checkbox State - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/5555)
66+
* TS Strict for `DropZone` and `VisuallyHidden` - [@ktabors](https://github.com/ktabors) - [PR](https://github.com/adobe/react-spectrum/pull/5566)
67+
* Date components light theme placeholder color contrast - [@ktabors](https://github.com/ktabors) - [PR](https://github.com/adobe/react-spectrum/pull/5396)
68+
* Selected checkbox fill color when checkbox group is disabled - [@yihuiliao](https://github.com/yihuiliao) - [PR](https://github.com/adobe/react-spectrum/pull/5407)
69+
* 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)
70+
* 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)
71+
* Make order of tailwind variants match default - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5478)
72+
* Upgrade clsx to v2.0.0 for ESM support - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/5487)
73+
* RAC support overriding default styles in overlay components - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/5506)
74+
* Clarifying menuWidth prop lower bound. - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/5510)
75+
* Close `Popover` on scroll - [@boutahlilsoufiane](https://github.com/boutahlilsoufiane) - [PR](https://github.com/adobe/react-spectrum/pull/5453)
76+
* 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)
77+
* Support `TooltipTrigger` with `DialogTrigger` - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5526)
78+
* Ensure all refs go to the outer-most element - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5528)
79+
* 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)
80+
* Normalize press handling for `Checkbox`, `Radio`, and `Switch` labels - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5525)
81+
* Scroll into view when auto focusing regardless of modality - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5542)
82+
* `ActionGroup` icon padding when overflow="collapse" and buttonLabelBehavior="hide" - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/5529)
83+
* RAC `Table` caching issues - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5530)
84+
* Support for focus events in `useRadioGroup` hooks - [@ryo-manba](https://github.com/ryo-manba) - [PR](https://github.com/adobe/react-spectrum/pull/5441)
85+
* Scroll menu with sections on iPad - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/5513)
86+
* `Table` warning in NextJS - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/5501)
87+
* Escape strings used in query selectors - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/5565)
88+
* 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)
89+
* Hover in RAC `ListBox` and remove onCellAction - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/5580)
90+
* Propagate `SearchField` escape key - [@ktabors](https://github.com/ktabors) - [PR](https://github.com/adobe/react-spectrum/pull/5571)
91+
* `restoreTextSelection` on pointerUp event - [@sookmax](https://github.com/sookmax) - [PR](https://github.com/adobe/react-spectrum/pull/5561)
92+
* Make value and defaultValue valid in `NumberField` and `Slider` - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/5543)
93+
* Respect Tailwind hoverOnlyWhenSupported, and fix placeholder-shown with `Input` - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5587)
94+
* Aria label on `ListBox` `Sections` in RAC - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/5603)
95+
96+
## Docs
97+
* Fix `useToast` example in docs - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5398)
98+
* Extract CSS vars from RAC docs into reusable package - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5419)
99+
* Update React Aria docs to clarify virtualization support - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/5435)
100+
* Update React Aria docs to introduce components by default - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5436)
101+
* Docs for `useLandmark` - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/5418)
102+
* Fix prop table in docs - [@yihuiliao](https://github.com/yihuiliao) - [PR](https://github.com/adobe/react-spectrum/pull/5532)
103+
* Update `FileTrigger` directory prop name and docs - [@yihuiliao](https://github.com/yihuiliao) - [PR](https://github.com/adobe/react-spectrum/pull/5512)
104+
* Fix broken links in the the docs - [@ktabors](https://github.com/ktabors) - [PR](https://github.com/adobe/react-spectrum/pull/5572)
105+
* Update collections and selection guides for React Aria Components - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5455)
106+
107+
## Released packages
108+
109+
```json
110+
111+
112+
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-stately/[email protected]
166+
- @react-stately/[email protected]
167+
- @react-stately/[email protected]
168+
- @react-stately/[email protected]
169+
- @react-stately/[email protected]
170+
- @react-stately/[email protected]
171+
- @react-stately/[email protected]
172+
- @react-stately/[email protected]
173+
- @react-stately/[email protected]
174+
- @react-stately/[email protected]
175+
- @react-stately/[email protected]
176+
- @react-stately/[email protected]
177+
- @react-stately/[email protected]
178+
- @react-stately/[email protected]
179+
- @react-stately/[email protected]
180+
- @react-stately/[email protected]
181+
- @react-stately/[email protected]
182+
- @react-stately/[email protected]
183+
- @react-stately/[email protected]
184+
- @react-stately/[email protected]
185+
- @react-stately/[email protected]
186+
- @react-types/[email protected]
187+
- @react-types/[email protected]
188+
- @react-types/[email protected]
189+
- @react-types/[email protected]
190+
- @react-types/[email protected]
191+
- @react-types/[email protected]
192+
- @react-types/[email protected]
193+
- @react-types/[email protected]
194+
- @react-types/[email protected]
195+
- @react-types/[email protected]
196+
- @react-aria/[email protected]
197+
- @react-aria/[email protected]
198+
199+
```

0 commit comments

Comments
 (0)