Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Oct 21, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
react-native-web ~0.13.12 -> 0.17.5 age adoption passing confidence

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

  • Remove special treatment of elements with accessibilityRole="menuitem". It no longer adds elements to the tab flow.
  • Remove anchor element inference from View and Text with accessibilityRole="link". Only requires addition of href prop.
  • 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}.

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 of window dimensions and works more reliably in Safari.
  • NativeEventEmitter no longer inherits from EventEmitter and does not include the removeSubscription 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

  • 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.
  • All ARIA properties are now supported via equivalent accessibility* props. The undocumented support for aria-* prop forwarding remains and will be removed in a future version.
  • Additional accessibilityRole values are mapped to HTML element equivalents.
  • CSS aspectRatio property is now available in browsers with support.

Deprecations

  • The 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. Use focusable instead.

Documentation

This release will include a rewrite of the documentation site and interactive examples.

https://necolas.github.io/react-native-web/

image

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 of View. 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 to 0%. However, this created its own problems where views could collapse down to 0px in height on the web. This patch sets the default flexBasis back to auto. 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 the flexBasis back to 0% 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 via aria-modal. Focus is contained within the modal. When the Escape key is pressed, the onRequestClose function is called on the top-most modal.

Fix #​1020

Pressable support for hover state

The Pressable component state now includes hover, which scoped is scoped to a Pressable instance and does not bubble to ancestor Pressables. This behavior aligns with the behavior of the focus and press states.

<Pressable
  children={
    ({ pressed, hovered, focused }) => {}
  }
  style={
    ({ pressed, hovered, focused }) => {}
  }
/>

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.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant