-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.15 canary release #1897
Labels
Comments
Documentation fixes required:
Code fixes required:
|
Note that I've reverted the removal of Also fixed a bug in the canary release to get the new accessibility props working as described. |
Will include this? #1786 |
|
This release is now public |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The 0.15 canary release is now available for testing and feedback. PR: #1898
Release notes
This release introduces improved accessibility features and new documentation. It includes relatively minor breaking changes.
Breaking changes
I18nManager
API has removed theisRTL
anddoLeftAndRightSwapInRTL
properties. They must now be accessed using thegetConstants()
method, which returns an object with the same properties. This was an undocumented breaking change in a previous version of React Native.focusable
prop now determines whether an element appears in the keyboard tab flow.hrefAttrs
prop has been added toText
andView
. The value is an object withrel
,target
, anddownload
properties. This replaces the undocumentedrel
andtarget
props.rel="noopener"
to anchors has been removed.Linking.openURL(url)
API now opens the url in new tab.Linking
API now includes theaddEventListener
methods.importantForAccessibility
prop has been removed. UseaccessibilityHidden
instead.data-focusable
attribute has also been removed from rendered DOM nodes.New features
onHoverIn
andonHoverOut
props.accessibility*
props. The undocumented support foraria-*
prop forwarding remains and will be removed in a future version.accessibilityRole
values are mapped to HTML element equivalents.aspectRatio
property is now available in browsers with support.Deprecations
accessible
prop is deprecated and will be removed in the next minor release. React Native for Web will follow React Native for Windows/macOS in removing this prop. Usefocusable
instead.Documentation
This release will include a rewrite of the documentation site and interactive examples. A preview of the documentation can be found below:
https://necolas.github.io/react-native-web/canary/
The examples will be embedded in relevant pages via a Next.js-powered codesandbox, making it easy for people to fork the example app from their browsers. At the moment the examples are copy-paste from the previous docs but will get a bit of a visual makeover later.
The text was updated successfully, but these errors were encountered: