Accessibility improvements and breaking changes to unstable APIs.
Breaking changes
Remove special treatment of elements with accessibilityRole="menuitem". It no longer adds elements to the tab flow.
Remove unstable_createElement element-type inference using href. Fixes use with svg elements.
Remove unstable_createElement keyboard shim for onClick. It no longer invokes onClick during onKeyDown for keyboard interactions on elements that are not natively interactive.
Fixes
Fix Pressable support for keyboard interactions if element is unmounted during interaction.
Remove unnecessary CSS reset for input number spin buttons.
Fix ProgressBar & Switch rendering in Windows High Contrast mode
Text preserves white-space if numberOfLines={1}.
0.16
This release includes Flow type exports, updates vendored modules, and miscellaneous bug fixes.
Breaking changes
Animated & VirtualizedList have been updated from React Native.
Dimensions has changed the source of window dimensions and works more reliably in Safari.
NativeEventEmitter no longer inherits from EventEmitter and does not include the removeSubscription method.
This release introduces improved accessibility features and new documentation. It includes relatively minor breaking changes.
Breaking changes
React 17 is a peer dependency.
The I18nManager API has removed the isRTL and doLeftAndRightSwapInRTL properties. They must now be accessed using the getConstants() method, which returns an object with the same properties. This was an undocumented breaking change in a previous version of React Native.
The focusable prop now determines whether an element appears in the keyboard tab flow.
The hrefAttrs prop has been added to Text and View. The value is an object with rel, target, and download properties. This replaces the undocumented rel and target props.
The automatic addition of rel="noopener" to anchors has been removed.
The Linking.openURL(url) API now opens the url in new tab.
The Linking API now includes the addEventListener methods.
The deprecated importantForAccessibility prop has been removed. Use accessibilityHidden instead.
The undocumented data-focusable attribute has also been removed from rendered DOM nodes.
The undocumented disabled prop has been removed from View and Text; use accessibilityDisabled instead.
New features
Pressable has added onHoverIn and onHoverOut props.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps react-native-web from 0.11.7 to 0.17.0.
Release notes
Sourced from react-native-web's releases.
... (truncated)
Commits
b2eb3ca
0.17.0ab98851
[fix] Text preserves white-space if numberOfLines={1}d48f630
[fix] ProgressBar & Switch for High Contrast mode2a930b7
[fix] Change logic of PressResponder for keyboards6d7a1ea
[change] Remove createElement host type inference for 'href'7775b3a
[change] Remove special treatment of accessibilityRole="menuitem"22f3d14
[fix] Remove CSS reset for number spin buttons6de6195
0.16.5a7fabe4
[fix] ScrollView forwards style when 'refreshControl' prop is presenta968c0c
TextInput: event handlers get hostNode from event not refDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)