|
| 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: This release includes the new `Tooltip`, `TooltipTrigger`, and `DialogContainer` components, a new light theme, and mono-packages for react-aria and react-stately. Thanks to all of the contributors! |
| 15 | +date: 2020-10-01 |
| 16 | +--- |
| 17 | + |
| 18 | +# October 1, 2020 Release |
| 19 | + |
| 20 | +Another exciting set of releases have dropped! 🎤 |
| 21 | + |
| 22 | +We have released the `Tooltip` and `TooltipTrigger` components! We’ve put a lot of effort into making our tooltips fully accessible and as native-like as possible, including matching the delay behavior when hovering over multiple elements with tooltips. See the documentation for [React Spectrum](https://react-spectrum.adobe.com/react-spectrum/Tooltip.html) and [React Aria](https://react-spectrum.adobe.com/react-aria/useTooltipTrigger.html) for more details. |
| 23 | + |
| 24 | +The much requested `DialogContainer` component has been also added to this release. This allows you to have more control over where your `Dialog` is rendered, and support triggers that unmount (e.g. dialogs in menus). Visit our [docs](https://react-spectrum.adobe.com/react-spectrum/DialogContainer.html) for more details. |
| 25 | + |
| 26 | +We have also added a new light theme to React Spectrum thanks to [@evargast](https://github.com/evargast). You can find out more in our [theming](https://react-spectrum.adobe.com/react-spectrum/theming.html#how-themes-are-defined) guide. |
| 27 | + |
| 28 | +As an additional convenience for those using multiple React Aria or React Stately hooks, we now offer a single package each for `react-aria` and `react-stately`. This allows you to install a single package instead of many individual packages. See our getting started guides for [React Aria](https://react-spectrum.adobe.com/react-aria/getting-started.html#mono-package) and [React Stately](https://react-spectrum.adobe.com/react-stately/getting-started.html#mono-package) to find out how you can take advantage of them. |
| 29 | + |
| 30 | +Finally, make sure you check out the [last blog post](https://react-spectrum.adobe.com/blog/building-a-button-part-3.html) of the series on Building a Button which was added to our [blog](https://react-spectrum.adobe.com/blog/index.html). As always, a huge thank you to all our contributors for the new features, fixes and updates. 🤩 |
| 31 | + |
| 32 | +## New components |
| 33 | + |
| 34 | +- **DialogContainer** - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/1082) - [documentation](https://react-spectrum.adobe.com/react-spectrum/ToggleButton.html) |
| 35 | + - `@react-spectrum/dialog` |
| 36 | +- **Tooltip** - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/843) - [documentation](https://react-spectrum.adobe.com/react-spectrum/Tooltip.html) |
| 37 | + - `@react-spectrum/tooltip` |
| 38 | + - `@react-aria/tooltip` |
| 39 | + - `@react-stately/tooltip` |
| 40 | + |
| 41 | +## New features |
| 42 | + |
| 43 | +- Support for upcoming React 17 - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/1040) |
| 44 | +- Allow `usePreventScroll` to be disabled - [@McZenith](https://github.com/McZenith) - [PR](https://github.com/adobe/react-spectrum/pull/972) |
| 45 | +- Update `ScrollView` to implement `useResizeObserver` - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/910) |
| 46 | +- Add `CheckboxGroup` to `@adobe/react-spectrum` package - [@royalbhati](https://github.com/royalbhati) - [PR](https://github.com/adobe/react-spectrum/pull/1102) |
| 47 | +- Add ability to prevent focus in `usePress` - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/1073) |
| 48 | +- Added new `NoSearchResults` illustration for `IllustratedMessage` - [@evargast](https://github.com/evargast) - [PR](https://github.com/adobe/react-spectrum/pull/1086) |
| 49 | +- Add `@react-spectrum/theme-light` package - [@evargast](https://github.com/evargast) - [PR](https://github.com/adobe/react-spectrum/pull/1046/) |
| 50 | +## Fixed |
| 51 | +- Fix .editorconfig for indent_style - [@alexey-yunoshev](https://github.com/alexey-yunoshev) - [PR](https://github.com/adobe/react-spectrum/pull/1036) |
| 52 | +- `Flex` passes Id to top level element - [@LucianRadu](https://github.com/LucianRadu) - [PR](https://github.com/adobe/react-spectrum/pull/1041) |
| 53 | +- Skip in-scope elements when restoring Focus in `useSelect` - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/1049) |
| 54 | +- Allow falsy keys in `Picker` - [@kamal](https://github.com/kamal) - [PR](https://github.com/adobe/react-spectrum/pull/1015) |
| 55 | +- Fix transition events breaking SSR - [@HipsterBrown](https://github.com/HipsterBrown) - [PR](https://github.com/adobe/react-spectrum/pull/1052) |
| 56 | +- Fix inputRef type for `useSearchField` & `useTextField` - [@RafalFilipek](https://github.com/RafalFilipek) - [PR](https://github.com/adobe/react-spectrum/pull/1027) |
| 57 | +- Reset box-sizing in `ActionButton` - [@deloreyj](https://github.com/deloreyj) - [PR](https://github.com/adobe/react-spectrum/pull/1058) |
| 58 | +- Fix scrolling in `Menu` trays [@ktabors](https://github.com/ktabors) - [PR](https://github.com/adobe/react-spectrum/pull/958) |
| 59 | +- Adjust positioning code for `useOverlayPosition` when placement=”top” - [@chungwu](https://github.com/chungwu) - [PR](https://github.com/adobe/react-spectrum/pull/1005) |
| 60 | +- Hide unsupported functionality in full screen `Dialog` - [@ktabors](https://github.com/ktabors) - [PR](https://github.com/adobe/react-spectrum/pull/1062) |
| 61 | +- Fix types of workflow icons - [@clentfort](https://github.com/clentfort) - [PR](https://github.com/adobe/react-spectrum/pull/1028) |
| 62 | +- Make sure user-select is removed on HTML elements - [@zidian257](https://github.com/zidian257) - [PR](https://github.com/adobe/react-spectrum/pull/926) |
| 63 | +- Fix prop types for `useListBox` - [@mischnic](https://github.com/mischnic) - [PR](https://github.com/adobe/react-spectrum/pull/1107) |
| 64 | + |
| 65 | +## Docs |
| 66 | + |
| 67 | +- Update case in IllustratedMessage - [@evargast](https://github.com/evargast) - [PR](https://github.com/adobe/react-spectrum/pull/1086) |
| 68 | + |
| 69 | + |
| 70 | +## Released packages |
| 71 | + |
| 72 | +``` |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | + |
| 104 | + |
| 105 | + |
| 106 | + |
| 107 | + |
| 108 | + - @react-spectrum/[email protected] |
| 109 | + - @react-spectrum/[email protected] |
| 110 | + - @react-spectrum/[email protected] |
| 111 | + - @react-spectrum/[email protected] |
| 112 | + - @react-spectrum/[email protected] |
| 113 | + - @react-spectrum/[email protected] |
| 114 | + - @react-spectrum/[email protected] |
| 115 | + - @react-spectrum/[email protected] |
| 116 | + - @react-spectrum/[email protected] |
| 117 | + - @react-spectrum/[email protected] |
| 118 | + - @react-spectrum/[email protected] |
| 119 | + - @react-spectrum/[email protected] |
| 120 | + - @react-spectrum/[email protected] |
| 121 | + - @react-spectrum/[email protected] |
| 122 | + - @react-spectrum/[email protected] |
| 123 | + - @react-spectrum/[email protected] |
| 124 | + - @react-spectrum/[email protected] |
| 125 | + - @react-spectrum/[email protected] |
| 126 | + - @react-spectrum/[email protected] |
| 127 | + - @react-spectrum/[email protected] |
| 128 | + - @react-spectrum/[email protected] |
| 129 | + - @react-spectrum/[email protected] |
| 130 | + - @react-spectrum/[email protected] |
| 131 | + - @react-spectrum/[email protected] |
| 132 | + - @react-spectrum/[email protected] |
| 133 | + - @react-spectrum/[email protected] |
| 134 | + - @react-spectrum/[email protected] |
| 135 | + - @react-spectrum/[email protected] |
| 136 | + - @react-spectrum/[email protected] |
| 137 | + - @react-spectrum/[email protected] |
| 138 | + - @react-spectrum/[email protected] |
| 139 | + - @react-spectrum/[email protected] |
| 140 | + - @react-spectrum/[email protected] |
| 141 | + - @react-spectrum/[email protected] |
| 142 | + - @react-stately/[email protected] |
| 143 | + - @react-stately/[email protected] |
| 144 | + - @react-stately/[email protected] |
| 145 | + - @react-stately/[email protected] |
| 146 | + - @react-stately/[email protected] |
| 147 | + - @react-stately/[email protected] |
| 148 | + - @react-stately/[email protected] |
| 149 | + - @react-stately/[email protected] |
| 150 | + - @react-stately/[email protected] |
| 151 | + - @react-stately/[email protected] |
| 152 | + - @react-stately/[email protected] |
| 153 | + - @react-stately/[email protected] |
| 154 | + - @react-stately/[email protected] |
| 155 | + - @react-stately/[email protected] |
| 156 | + - @react-stately/[email protected] |
| 157 | + - @react-stately/[email protected] |
| 158 | + - @react-stately/[email protected] |
| 159 | + - @react-stately/[email protected] |
| 160 | + |
| 161 | + |
| 162 | + |
| 163 | + |
| 164 | + |
| 165 | + |
| 166 | + |
| 167 | + |
| 168 | + |
| 169 | + |
| 170 | + |
| 171 | + |
| 172 | + |
| 173 | + |
| 174 | + |
| 175 | + |
| 176 | + |
| 177 | + |
| 178 | + |
| 179 | + |
| 180 | + |
| 181 | + |
| 182 | + |
| 183 | + |
| 184 | + |
| 185 | + |
| 186 | + |
| 187 | + |
| 188 | + |
| 189 | + |
| 190 | + |
| 191 | + |
| 192 | + |
| 193 | + - @spectrum-icons/[email protected] |
| 194 | + - @spectrum-icons/[email protected] |
| 195 | + - @spectrum-icons/[email protected] |
| 196 | + - @spectrum-icons/[email protected] |
| 197 | + ``` |
0 commit comments