This repository has been archived by the owner on Oct 22, 2021. It is now read-only.
fix(deps): update dependency react-native-web to v0.17.5 #12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
~0.13.12
->0.17.5
Release Notes
necolas/react-native-web
v0.17.5
Compare Source
v0.17.4
Compare Source
v0.17.3
Compare Source
v0.17.2
Compare Source
v0.17.1
Compare Source
v0.17.0
Compare Source
Accessibility improvements and breaking changes to unstable APIs.
Breaking changes
accessibilityRole="menuitem"
. It no longer adds elements to the tab flow.View
andText
withaccessibilityRole="link"
. Only requires addition ofhref
prop.unstable_createElement
element-type inference usinghref
. Fixes use with svg elements.unstable_createElement
keyboard shim foronClick
. It no longer invokesonClick
duringonKeyDown
for keyboard interactions on elements that are not natively interactive.Fixes
Pressable
support for keyboard interactions if element is unmounted during interaction.ProgressBar
&Switch
rendering in Windows High Contrast modeText
preserves white-space ifnumberOfLines={1}
.v0.16.5
Compare Source
v0.16.4
Compare Source
v0.16.3
Compare Source
v0.16.2
Compare Source
v0.16.1
Compare Source
v0.16.0
Compare Source
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 ofwindow
dimensions and works more reliably in Safari.NativeEventEmitter
no longer inherits fromEventEmitter
and does not include theremoveSubscription
method.New features
v0.15.7
Compare Source
v0.15.6
Compare Source
v0.15.5
Compare Source
v0.15.4
Compare Source
v0.15.3
Compare Source
v0.15.2
Compare Source
v0.15.1
Compare Source
v0.15.0
Compare Source
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.disabled
prop has been removed fromView
andText
; useaccessibilityDisabled
instead.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.
https://necolas.github.io/react-native-web/
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.
v0.14.13
Compare Source
v0.14.12
Compare Source
v0.14.11
Compare Source
v0.14.10
Compare Source
v0.14.9
Compare Source
v0.14.8
Compare Source
v0.14.7
Compare Source
v0.14.6
Compare Source
v0.14.5
Compare Source
v0.14.4
Compare Source
v0.14.3
Compare Source
v0.14.2
Compare Source
v0.14.1
Compare Source
v0.14.0
Compare Source
This is a relatively small release that introduces a couple of new features and makes a change to the default
flexBasis
value ofView
. There are no breaking API changes and it should be straight-forward to upgrade from 0.13. Thank you to Twitter Engineering and everyone else who tested and helped to improve the 0.14 release.Breaking changes
Default flex-basis value of Views
React Native has an implementation of flexbox that does not quite follow the W3C spec for flexbox. Previously, React Native for Web attempted to replicate the React Native rendering by setting
flexBasis
to0%
. However, this created its own problems where views could collapse down to0px
in height on the web. This patch sets the defaultflexBasis
back toauto
. This will occasionally cause different rendering inconsistencies with React Native, which can be addressed by making changes small to existing React Native styles to set theflexBasis
back to0%
or the desired percentage. And ultimately, Yoga 2 intends to correct its flexbox implementation and this will make its way into React Native eventually.Fix #1640, #1604, #1264
New features
Modal implementation
A
Modal
implementation using CSS animations and ARIA, courtesy of @imnotjames. When the modal is open the rest of the app is hidden from screen readers viaaria-modal
. Focus is contained within the modal. When the Escape key is pressed, theonRequestClose
function is called on the top-most modal.Fix #1020
Pressable support for hover state
The
Pressable
component state now includeshover
, which scoped is scoped to aPressable
instance and does not bubble to ancestor Pressables. This behavior aligns with the behavior of the focus and press states.Fix #1708
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.