|
| 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 have added support for Node ESM to all of our packages. We have also been busy at work on our pre-releases and improving our focus management in collections. |
| 15 | +date: 2023-02-23 |
| 16 | +--- |
| 17 | + |
| 18 | +# February 23, 2023 Release |
| 19 | + |
| 20 | + |
| 21 | +In this release, we have added support for Node ESM to all of our packages. We have also been busy at work on our pre-releases. New beta versions with documentation have been released for [ActionBar](https://react-spectrum.adobe.com/react-spectrum/ActionBar.html), [Avatar](https://react-spectrum.adobe.com/react-spectrum/Avatar.html), [TableView column resizing](https://react-spectrum.adobe.com/react-spectrum/TableView.html#column-resizing), and [TagGroup](https://react-spectrum.adobe.com/react-spectrum/TagGroup.html). The TagGroup beta includes new goodies such as labels, help text, contextual help, max rows, and actions. The new Toast 🍞 component is in it’s first alpha and includes both [React Spectrum](https://react-spectrum.adobe.com/react-spectrum/Toast.html) and [React Aria](https://react-spectrum.adobe.com/react-aria/useToast.html) documentation. 🥳 |
| 22 | + |
| 23 | +The release also contains improvements to focus management when a focused item is removed from a collection component such as TableView and ListView. Collection components will now also automatically scroll into view when navigating with a keyboard. |
| 24 | + |
| 25 | +Finally, we have also been continuing to work on support for React strict mode. Thank you to all our contributors for their help with the latest update! 🤩 |
| 26 | + |
| 27 | + |
| 28 | +## Enhancements |
| 29 | +- Add support for Node ESM - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/4038) |
| 30 | +- Add `parseDuration` functionality to `@internationalized/date` - [@adobesamr](https://github.com/adobesamr) - [PR](https://github.com/adobe/react-spectrum/pull/3766) |
| 31 | +- Remove `findDOMNode` usages to support strict mode - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/3865) |
| 32 | +- Support TS strict mode in `ActionGroup` and `Breadcrumbs` - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/3929) |
| 33 | +- Fix FocusScope strict mode issues - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/3878) |
| 34 | +- Fix `useId` hydration error in strict mode - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/3980) |
| 35 | + |
| 36 | +## Fixes |
| 37 | +- Update `onBlur` return type to `undefined` - [@majornista](https://github.com/majornista) - [PR](https://github.com/adobe/react-spectrum/pull/3801) |
| 38 | +- Fix `LiveAnnouncer` styles causing page shift - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/3807) |
| 39 | +- `DialogTrigger` now uses screen width to determine mobile state - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/3921) |
| 40 | +- Improve cleanup of animation frames in `FocusScope` - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/3908) |
| 41 | +- Fix `useComboBoxState` selection on close - [@alirezamirian](https://github.com/alirezamirian) - [PR](https://github.com/adobe/react-spectrum/pull/3912) |
| 42 | +- Resolve `useInteractOutside` false positive error - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/3935) |
| 43 | +- Update `Tabs` to ensure styled tab line resizes - [@tywayne](https://github.com/tywayne) - [PR](https://github.com/adobe/react-spectrum/pull/3688) |
| 44 | +- Add fallback value for `HiddenSelect` - [@omacranger](https://github.com/omacranger) - [PR](https://github.com/adobe/react-spectrum/pull/3928) |
| 45 | +- Support Windows High Contrast in `TableView` & `ListView` - [@majornista](https://github.com/majornista) - [PR](https://github.com/adobe/react-spectrum/pull/3827) |
| 46 | +- Fix offset bug for old dates in `getTimeZoneOffset` - [@tomfa](https://github.com/tomfa) - [PR](https://github.com/adobe/react-spectrum/pull/3960) |
| 47 | +- Address `TableView` focus ring clipping - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/3934) |
| 48 | +- Fully scroll collection elements into view when keyboard navigating - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/3899) |
| 49 | +- Handle focus in `useGrid` when a focused item is removed - [@majornista](https://github.com/majornista) - [PR](https://github.com/adobe/react-spectrum/pull/3885) |
| 50 | +- Fix `Checkbox` in WHCM - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/4030) |
| 51 | +- Prevent flicker when closing `ComboBox` via blur - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/4060) |
| 52 | +- Better definition for `ComboBox` focus event types - [@joshuajaco](https://github.com/joshuajaco) - [PR](https://github.com/adobe/react-spectrum/pull/4039) |
| 53 | +- Remove unneeded `aria-expanded` in mobile `ComboBox` - [@majornista](https://github.com/majornista) - [PR](https://github.com/adobe/react-spectrum/pull/4079) |
| 54 | +- Remove duplicate id in `useDatePicker` - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/4085) |
| 55 | +- Fix various type issues found in docs - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/4090) |
| 56 | +## Docs |
| 57 | +- Change `ComboBox` example to be more inclusive - [@cgood92](https://github.com/cgood92) - [PR](https://github.com/adobe/react-spectrum/pull/3866) |
| 58 | +- Add prose for quiet `Link` and when it can be used - [@jnurthen](https://github.com/jnurthen) - [PR](https://github.com/adobe/react-spectrum/pull/3989) |
| 59 | +- Add description for `onSubmit` in `SearchAutocomplete` - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/3993) |
| 60 | +- Add docs for custom icons - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/3942) |
| 61 | +- Update `ActionBar` docs - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/2777) |
| 62 | + |
| 63 | +## Under construction |
| 64 | + |
| 65 | +Fixes to pre-released components are listed below. Please feel free to try them out, and report any issues you encounter. |
| 66 | + |
| 67 | +- Add `useTagGroupState` and fix focus issues - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/3798) |
| 68 | +- Avatar support in `TagGroup` - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/3937) |
| 69 | +- Add `maxRows` support to `TagGroup` - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/3759) |
| 70 | +- Add Field support to `TagGroup` - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/3938) |
| 71 | +- Support custom action in `TagGroup` - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/3893) |
| 72 | +- Toast alpha 🍞 - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/3868) |
| 73 | +- Support landmark navigation and toasts across iframes - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/3892) |
| 74 | +- Add LandmarkController API - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/3939) |
| 75 | +- Align column headers correctly when using resizing - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/3907) |
| 76 | +- Remove `onColumnResize/Start/End` from `useTableColumnResizeState` - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/3971) |
| 77 | +- Improve column resize performance - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/3890) |
| 78 | +- Update `SearchAutocomplete` to call `onClear` - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/4000) |
| 79 | +- Support constrained flex in column sizing - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/3879) |
| 80 | +- Center the table in the viewport if resizer is out of view - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/4018) |
| 81 | + |
| 82 | + |
| 83 | +## Released packages |
| 84 | +``` |
| 85 | + |
| 86 | +- @internationalized/[email protected] |
| 87 | +- @internationalized/[email protected] |
| 88 | +- @internationalized/[email protected] |
| 89 | +- @internationalized/[email protected] |
| 90 | +- @internationalized/[email protected] |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | + |
| 104 | + |
| 105 | + |
| 106 | + |
| 107 | + |
| 108 | + |
| 109 | + |
| 110 | + |
| 111 | + |
| 112 | + |
| 113 | + |
| 114 | + |
| 115 | + |
| 116 | + |
| 117 | + |
| 118 | + |
| 119 | + |
| 120 | + |
| 121 | + |
| 122 | + |
| 123 | + |
| 124 | + |
| 125 | + |
| 126 | + |
| 127 | + |
| 128 | + |
| 129 | + |
| 130 | + |
| 131 | + |
| 132 | + |
| 133 | + |
| 134 | + |
| 135 | + |
| 136 | + |
| 137 | + |
| 138 | +- @react-spectrum/[email protected] |
| 139 | +- @react-spectrum/[email protected] |
| 140 | +- @react-spectrum/[email protected] |
| 141 | +- @react-spectrum/[email protected] |
| 142 | +- @react-spectrum/[email protected] |
| 143 | +- @react-spectrum/[email protected] |
| 144 | +- @react-spectrum/[email protected] |
| 145 | +- @react-spectrum/[email protected] |
| 146 | +- @react-spectrum/[email protected] |
| 147 | +- @react-spectrum/[email protected] |
| 148 | +- @react-spectrum/[email protected] |
| 149 | +- @react-spectrum/[email protected] |
| 150 | +- @react-spectrum/[email protected] |
| 151 | +- @react-spectrum/[email protected] |
| 152 | +- @react-spectrum/[email protected] |
| 153 | +- @react-spectrum/[email protected] |
| 154 | +- @react-spectrum/[email protected] |
| 155 | +- @react-spectrum/[email protected] |
| 156 | +- @react-spectrum/[email protected] |
| 157 | +- @react-spectrum/[email protected] |
| 158 | +- @react-spectrum/[email protected] |
| 159 | +- @react-spectrum/[email protected] |
| 160 | +- @react-spectrum/[email protected] |
| 161 | +- @react-spectrum/[email protected] |
| 162 | +- @react-spectrum/[email protected] |
| 163 | +- @react-spectrum/[email protected] |
| 164 | +- @react-spectrum/[email protected] |
| 165 | +- @react-spectrum/[email protected] |
| 166 | +- @react-spectrum/[email protected] |
| 167 | +- @react-spectrum/[email protected] |
| 168 | +- @react-spectrum/[email protected] |
| 169 | +- @react-spectrum/[email protected] |
| 170 | +- @react-spectrum/[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-stately/[email protected] |
| 194 | +- @react-stately/[email protected] |
| 195 | +- @react-stately/[email protected] |
| 196 | +- @react-stately/[email protected] |
| 197 | +- @react-stately/[email protected] |
| 198 | +- @react-stately/[email protected] |
| 199 | +- @react-stately/[email protected] |
| 200 | +- @react-stately/[email protected] |
| 201 | +- @react-stately/[email protected] |
| 202 | +- @react-stately/[email protected] |
| 203 | +- @react-stately/[email protected] |
| 204 | +- @react-stately/[email protected] |
| 205 | +- @react-stately/[email protected] |
| 206 | +- @react-stately/[email protected] |
| 207 | +- @react-stately/[email protected] |
| 208 | +- @react-stately/[email protected] |
| 209 | +- @react-stately/[email protected] |
| 210 | +- @react-stately/[email protected] |
| 211 | +- @react-stately/[email protected] |
| 212 | +- @react-stately/[email protected] |
| 213 | +- @react-stately/[email protected] |
| 214 | +- @react-stately/[email protected] |
| 215 | +- @react-stately/[email protected] |
| 216 | +- @react-stately/[email protected] |
| 217 | +- @react-stately/[email protected] |
| 218 | +- @react-stately/[email protected] |
| 219 | +- @react-stately/[email protected] |
| 220 | +- @react-stately/[email protected] |
| 221 | + |
| 222 | + |
| 223 | + |
| 224 | + |
| 225 | + |
| 226 | + |
| 227 | + |
| 228 | + |
| 229 | + |
| 230 | + |
| 231 | + |
| 232 | + |
| 233 | + |
| 234 | + |
| 235 | + |
| 236 | + |
| 237 | + |
| 238 | + |
| 239 | + |
| 240 | + |
| 241 | + |
| 242 | + |
| 243 | + |
| 244 | + |
| 245 | + |
| 246 | + |
| 247 | + |
| 248 | + |
| 249 | + |
| 250 | + |
| 251 | + |
| 252 | + |
| 253 | + |
| 254 | + |
| 255 | + |
| 256 | + |
| 257 | + |
| 258 | + |
| 259 | + |
| 260 | + |
| 261 | + |
| 262 | + |
| 263 | + |
| 264 | + |
| 265 | + |
| 266 | + |
| 267 | + |
| 268 | + |
| 269 | +- @spectrum-icons/[email protected] |
| 270 | +- @spectrum-icons/[email protected] |
| 271 | +- @spectrum-icons/[email protected] |
| 272 | +- @spectrum-icons/[email protected] |
| 273 | +- @spectrum-icons/[email protected] |
| 274 | + |
| 275 | + |
| 276 | +``` |
0 commit comments