|
| 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: A lot has happened already in the past month but here is another release! FocusScope fixes, TableView updates and general bug fixes make up the bulk of this release. We also have improvements to the newly released `ComboBox`, design updates to `Menu` and `TableView` and a fix to an interesting bug for `Menu` only present on Android Firefox! |
| 15 | +date: 2021-08-04 |
| 16 | +--- |
| 17 | + |
| 18 | +# August 4, 2021 Release |
| 19 | + |
| 20 | + |
| 21 | +A lot has happened already in the past month but here is another release! FocusScope fixes, TableView updates and general bug fixes make up the bulk of this release. We also have improvements to the newly released `ComboBox`, design updates to `Menu` and `TableView` and a fix to an interesting bug for `Menu` only present on Android Firefox! |
| 22 | + |
| 23 | +As always, thank you to all of our amazing contributors for their help with this release 🤩 |
| 24 | + |
| 25 | +## New features |
| 26 | +- Clear input on cmd + delete in `Numberfield` - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/2005) |
| 27 | +- Add custom document to `watchModals` - [@Andarist](https://github.com/Andarist) - [PR](https://github.com/adobe/react-spectrum/pull/2045) |
| 28 | + |
| 29 | +## Fixed |
| 30 | +- Update TableView to adjust layout when columns change - [@DanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/2028) |
| 31 | +- Pass missing filtered props to `Tabs` - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/2047) |
| 32 | +- Add missing `shouldUseVirtualFocus` to `useListBox` types - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/2017) |
| 33 | +- Prevent autoFocus from being re-executed in `FocusScope` - [@Andarist](https://github.com/Andarist) - [PR](https://github.com/adobe/react-spectrum/pull/1967) |
| 34 | +- Update method of merging ids and other props related to slots - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/2073) |
| 35 | +- Update `parentKey` when a tree node is moved in `useTreeData` - [@alirezamirian](https://github.com/alirezamirian) - [PR](https://github.com/adobe/react-spectrum/pull/1988) |
| 36 | +- Fix ComboBox menu direction on mount - [@DanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/2069) |
| 37 | +- Fix TableView cell content fill 100% width - [@DanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/2042) |
| 38 | +- Add additional check for ref in `computeVisibleItems` - [@onelson](https://github.com/onelson) - [PR](https://github.com/adobe/react-spectrum/pull/2146) |
| 39 | +- Modify `isElementInScope` to accommodate for children `FocusScope` - [@Rafal2228](https://github.com/Rafal2228) - [PR](https://github.com/adobe/react-spectrum/pull/2139) |
| 40 | +- Fix announcing for sort changes and keyboard navigation in TableView - [@DanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/2137) |
| 41 | +- Change `Field` to allow for correct shrink behavior - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/2176) |
| 42 | +- Include `aria-selected` only if selection is present in `useOption` - [@DanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/2172) |
| 43 | +- Update `Menu` to use `word-break: break-word` for text wrapping - [@DanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/2173) |
| 44 | +- Translations and single selection mode labels fixed for TableView - [@majornista](https://github.com/majornista) - [PR](https://github.com/adobe/react-spectrum/pull/2134) |
| 45 | +- Fix `MenuTrigger` from closing incorrectly on iOS and Android Firefox - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/2175) |
| 46 | +- Update spacing for selection column in TableView - [@ktabors](https://github.com/ktabors) - [PR](https://github.com/adobe/react-spectrum/pull/2145) |
| 47 | +- Restore `FocusScope` to the correct node or `body` if outside of scope - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/2166) |
| 48 | +- Enable propagation of “all” `selectedKeys` value in `useAsyncList` - [@jluyau](https://github.com/jluyau) - [PR](https://github.com/adobe/react-spectrum/pull/2200) |
| 49 | +- Fix peer dependencies in packages - [@jluyau](https://github.com/jluyau) - [PR](https://github.com/adobe/react-spectrum/pull/2201) - [PR](https://github.com/adobe/react-spectrum/pull/2158) |
| 50 | + |
| 51 | +## Docs |
| 52 | +- Initialize context in `useCheckboxGroup` and `useRadioGroup` examples - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/2041) |
| 53 | +- Remove unsupported prop in `Breadcrumbs` examples - [@ktabors](https://github.com/ktabors) - [PR](https://github.com/adobe/react-spectrum/pull/1983) |
| 54 | +- Update Contribute page to include scaffolding setup - [@DanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/2082) |
| 55 | +- Fix incorrect link in Contributing page - [@Zhouzi](https://github.com/Zhouzi) - [PR](https://github.com/adobe/react-spectrum/pull/2135) |
| 56 | +- Update to current year in plop setup - [@solimant](https://github.com/solimant) - [PR](https://github.com/adobe/react-spectrum/pull/2148) |
| 57 | +## Under construction |
| 58 | + |
| 59 | +Pre-release versions of the following components have been released. Please feel free to try them out, and report any issues you encounter. |
| 60 | + |
| 61 | + |
| 62 | +- SearchWithin alpha |
| 63 | +- Table RC |
| 64 | + - [React Spectrum](https://react-spectrum.adobe.com/react-spectrum/TableView.html) |
| 65 | + - [React Aria](https://react-spectrum.adobe.com/react-aria/useTable.html) |
| 66 | + - [React Stately](https://react-spectrum.adobe.com/react-stately/useTableState.html) |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | +## Released packages |
| 71 | +``` |
| 72 | +- @adobe/react-spectrum => 3.13.0 |
| 73 | +- @internationalized/message => 3.0.2 |
| 74 | +- @internationalized/number => 3.0.2 |
| 75 | +- @react-aria/accordion => 3.0.0-alpha.2 |
| 76 | +- @react-aria/actiongroup => 3.2.1 |
| 77 | +- @react-aria/aria-modal-polyfill => 3.4.0 |
| 78 | +- @react-aria/breadcrumbs => 3.1.5 |
| 79 | +- @react-aria/button => 3.3.3 |
| 80 | +- @react-aria/checkbox => 3.2.3 |
| 81 | +- @react-aria/color => 3.0.0-beta.3 |
| 82 | +- @react-aria/combobox => 3.0.1 |
| 83 | +- @react-aria/dialog => 3.1.4 |
| 84 | +- @react-aria/dnd => 3.0.0-alpha.3 |
| 85 | +- @react-aria/focus => 3.4.1 |
| 86 | +- @react-aria/grid => 3.0.0-rc.0 |
| 87 | +- @react-aria/i18n => 3.3.2 |
| 88 | +- @react-aria/interactions => 3.5.1 |
| 89 | +- @react-aria/label => 3.1.3 |
| 90 | +- @react-aria/link => 3.1.4 |
| 91 | +- @react-aria/listbox => 3.3.1 |
| 92 | +- @react-aria/live-announcer => 3.0.1 |
| 93 | +- @react-aria/menu => 3.2.3 |
| 94 | +- @react-aria/meter => 3.1.3 |
| 95 | +- @react-aria/numberfield => 3.0.1 |
| 96 | +- @react-aria/overlays => 3.7.2 |
| 97 | +- @react-aria/progress => 3.1.3 |
| 98 | +- @react-aria/radio => 3.1.5 |
| 99 | +- @react-aria/searchfield => 3.1.5 |
| 100 | +- @react-aria/select => 3.4.1 |
| 101 | +- @react-aria/selection => 3.5.1 |
| 102 | +- @react-aria/separator => 3.1.3 |
| 103 | +- @react-aria/slider => 3.0.3 |
| 104 | +- @react-aria/spinbutton => 3.0.1 |
| 105 | +- @react-aria/ssr => 3.0.3 |
| 106 | +- @react-aria/switch => 3.1.3 |
| 107 | +- @react-aria/table => 3.0.0-rc.0 |
| 108 | +- @react-aria/tabs => 3.0.1 |
| 109 | +- @react-aria/textfield => 3.3.1 |
| 110 | +- @react-aria/toggle => 3.1.4 |
| 111 | +- @react-aria/tooltip => 3.1.3 |
| 112 | +- @react-aria/utils => 3.8.2 |
| 113 | +- @react-aria/virtualizer => 3.3.4 |
| 114 | +- @react-aria/visually-hidden => 3.2.3 |
| 115 | +- @react-spectrum/accordion => 3.0.0-alpha.2 |
| 116 | +- @react-spectrum/actionbar => 3.0.0-alpha.2 |
| 117 | +- @react-spectrum/actiongroup => 3.2.2 |
| 118 | +- @react-spectrum/breadcrumbs => 3.2.3 |
| 119 | +- @react-spectrum/button => 3.5.1 |
| 120 | +- @react-spectrum/buttongroup => 3.2.2 |
| 121 | +- @react-spectrum/checkbox => 3.2.4 |
| 122 | +- @react-spectrum/color => 3.0.0-beta.3 |
| 123 | +- @react-spectrum/combobox => 3.0.1 |
| 124 | +- @react-spectrum/dialog => 3.3.3 |
| 125 | +- @react-spectrum/divider => 3.1.3 |
| 126 | +- @react-spectrum/form => 3.2.3 |
| 127 | +- @react-spectrum/icon => 3.3.2 |
| 128 | +- @react-spectrum/illustratedmessage => 3.1.3 |
| 129 | +- @react-spectrum/image => 3.1.3 |
| 130 | +- @react-spectrum/label => 3.3.4 |
| 131 | +- @react-spectrum/layout => 3.2.1 |
| 132 | +- @react-spectrum/link => 3.1.3 |
| 133 | +- @react-spectrum/list => 3.0.0-alpha.2 |
| 134 | +- @react-spectrum/listbox => 3.5.1 |
| 135 | +- @react-spectrum/menu => 3.4.0 |
| 136 | +- @react-spectrum/meter => 3.1.3 |
| 137 | +- @react-spectrum/numberfield => 3.0.1 |
| 138 | +- @react-spectrum/overlays => 3.4.4 |
| 139 | +- @react-spectrum/picker => 3.3.1 |
| 140 | +- @react-spectrum/progress => 3.1.3 |
| 141 | +- @react-spectrum/provider => 3.2.2 |
| 142 | +- @react-spectrum/radio => 3.1.4 |
| 143 | +- @react-spectrum/searchfield => 3.1.5 |
| 144 | +- @react-spectrum/searchwithin => 3.0.0-alpha.0 |
| 145 | +- @react-spectrum/slider => 3.0.4 |
| 146 | +- @react-spectrum/statuslight => 3.2.2 |
| 147 | +- @react-spectrum/switch => 3.1.3 |
| 148 | +- @react-spectrum/table => 3.0.0-rc.0 |
| 149 | +- @react-spectrum/tabs => 3.0.2 |
| 150 | +- @react-spectrum/text => 3.1.3 |
| 151 | +- @react-spectrum/textfield => 3.1.7 |
| 152 | +- @react-spectrum/theme-dark => 3.2.2 |
| 153 | +- @react-spectrum/theme-default => 3.2.2 |
| 154 | +- @react-spectrum/theme-light => 3.1.2 |
| 155 | +- @react-spectrum/tooltip => 3.1.4 |
| 156 | +- @react-spectrum/utils => 3.6.2 |
| 157 | +- @react-spectrum/view => 3.1.3 |
| 158 | +- @react-spectrum/well => 3.1.3 |
| 159 | +- @react-stately/checkbox => 3.0.3 |
| 160 | +- @react-stately/collections => 3.3.3 |
| 161 | +- @react-stately/color => 3.0.0-beta.3 |
| 162 | +- @react-stately/combobox => 3.0.1 |
| 163 | +- @react-stately/data => 3.4.1 |
| 164 | +- @react-stately/dnd => 3.0.0-alpha.2 |
| 165 | +- @react-stately/grid => 3.0.0-rc.0 |
| 166 | +- @react-stately/layout => 3.4.0 |
| 167 | +- @react-stately/list => 3.3.0 |
| 168 | +- @react-stately/menu => 3.2.3 |
| 169 | +- @react-stately/numberfield => 3.0.2 |
| 170 | +- @react-stately/overlays => 3.1.3 |
| 171 | +- @react-stately/radio => 3.3.2 |
| 172 | +- @react-stately/searchfield => 3.1.3 |
| 173 | +- @react-stately/select => 3.1.3 |
| 174 | +- @react-stately/selection => 3.7.0 |
| 175 | +- @react-stately/slider => 3.0.3 |
| 176 | +- @react-stately/table => 3.0.0-rc.0 |
| 177 | +- @react-stately/tabs => 3.0.1 |
| 178 | +- @react-stately/toggle => 3.2.3 |
| 179 | +- @react-stately/tooltip => 3.0.5 |
| 180 | +- @react-stately/tree => 3.2.0 |
| 181 | +- @react-stately/utils => 3.2.2 |
| 182 | +- @react-stately/virtualizer => 3.1.5 |
| 183 | +- @react-types/accordion => 3.0.0-alpha.1 |
| 184 | +- @react-types/actionbar => 3.0.0-alpha.1 |
| 185 | +- @react-types/actiongroup => 3.2.1 |
| 186 | +- @react-types/breadcrumbs => 3.2.1 |
| 187 | +- @react-types/button => 3.4.1 |
| 188 | +- @react-types/buttongroup => 3.1.2 |
| 189 | +- @react-types/checkbox => 3.2.3 |
| 190 | +- @react-types/color => 3.0.0-beta.2 |
| 191 | +- @react-types/combobox => 3.0.1 |
| 192 | +- @react-types/dialog => 3.3.1 |
| 193 | +- @react-types/divider => 3.1.2 |
| 194 | +- @react-types/form => 3.2.2 |
| 195 | +- @react-types/grid => 3.0.0-rc.0 |
| 196 | +- @react-types/illustratedmessage => 3.1.2 |
| 197 | +- @react-types/image => 3.1.2 |
| 198 | +- @react-types/label => 3.4.1 |
| 199 | +- @react-types/layout => 3.1.2 |
| 200 | +- @react-types/link => 3.1.3 |
| 201 | +- @react-types/listbox => 3.2.1 |
| 202 | +- @react-types/menu => 3.3.0 |
| 203 | +- @react-types/meter => 3.1.2 |
| 204 | +- @react-types/numberfield => 3.0.1 |
| 205 | +- @react-types/overlays => 3.5.1 |
| 206 | +- @react-types/progress => 3.1.2 |
| 207 | +- @react-types/provider => 3.3.2 |
| 208 | +- @react-types/radio => 3.1.2 |
| 209 | +- @react-types/searchfield => 3.1.2 |
| 210 | +- @react-types/searchwithin => 3.0.0-alpha.0 |
| 211 | +- @react-types/select => 3.3.1 |
| 212 | +- @react-types/shared => 3.8.0 |
| 213 | +- @react-types/slider => 3.0.2 |
| 214 | +- @react-types/statuslight => 3.1.2 |
| 215 | +- @react-types/switch => 3.1.2 |
| 216 | +- @react-types/tabs => 3.0.1 |
| 217 | +- @react-types/text => 3.1.3 |
| 218 | +- @react-types/textfield => 3.2.3 |
| 219 | +- @react-types/tooltip => 3.1.2 |
| 220 | +- @react-types/view => 3.1.2 |
| 221 | +- @react-types/well => 3.1.2 |
| 222 | +- @spectrum-icons/color => 3.3.1 |
| 223 | +- @spectrum-icons/illustrations => 3.2.2 |
| 224 | +- @spectrum-icons/ui => 3.2.1 |
| 225 | +- @spectrum-icons/workflow => 3.2.1 |
| 226 | +- react-aria => 3.9.0 |
| 227 | +- react-stately => 3.8.0 |
| 228 | +``` |
0 commit comments