muizogundiran / pickmegallery

A gallery app
3 stars 0 forks source link

Update dependency react-native-web to v0.17.5 #13

Closed renovate[bot] closed 3 years ago

renovate[bot] commented 3 years ago

WhiteSource Renovate

This PR contains the following updates:

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

Release Notes

necolas/react-native-web ### [`v0.17.5`](https://togithub.com/necolas/react-native-web/compare/0.17.4...0.17.5) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.17.4...0.17.5) ### [`v0.17.4`](https://togithub.com/necolas/react-native-web/compare/0.17.3...0.17.4) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.17.3...0.17.4) ### [`v0.17.3`](https://togithub.com/necolas/react-native-web/compare/0.17.2...0.17.3) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.17.2...0.17.3) ### [`v0.17.2`](https://togithub.com/necolas/react-native-web/compare/0.17.1...0.17.2) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.17.1...0.17.2) ### [`v0.17.1`](https://togithub.com/necolas/react-native-web/compare/0.17.0...0.17.1) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.17.0...0.17.1) ### [`v0.17.0`](https://togithub.com/necolas/react-native-web/releases/0.17.0) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.16.5...0.17.0) 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`](https://togithub.com/necolas/react-native-web/compare/0.16.4...0.16.5) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.16.4...0.16.5) ### [`v0.16.4`](https://togithub.com/necolas/react-native-web/compare/0.16.3...0.16.4) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.16.3...0.16.4) ### [`v0.16.3`](https://togithub.com/necolas/react-native-web/compare/0.16.2...0.16.3) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.16.2...0.16.3) ### [`v0.16.2`](https://togithub.com/necolas/react-native-web/compare/0.16.1...0.16.2) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.16.1...0.16.2) ### [`v0.16.1`](https://togithub.com/necolas/react-native-web/compare/0.16.0...0.16.1) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.16.0...0.16.1) ### [`v0.16.0`](https://togithub.com/necolas/react-native-web/releases/0.16.0) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.15.7...0.16.0) 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 - Flow types are now exported. Thanks [@​comp615](https://togithub.com/comp615) ### [`v0.15.7`](https://togithub.com/necolas/react-native-web/compare/0.15.6...0.15.7) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.15.6...0.15.7) ### [`v0.15.6`](https://togithub.com/necolas/react-native-web/compare/0.15.5...0.15.6) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.15.5...0.15.6) ### [`v0.15.5`](https://togithub.com/necolas/react-native-web/compare/0.15.4...0.15.5) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.15.4...0.15.5) ### [`v0.15.4`](https://togithub.com/necolas/react-native-web/compare/0.15.3...0.15.4) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.15.3...0.15.4) ### [`v0.15.3`](https://togithub.com/necolas/react-native-web/compare/0.15.2...0.15.3) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.15.2...0.15.3) ### [`v0.15.2`](https://togithub.com/necolas/react-native-web/compare/0.15.1...0.15.2) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.15.1...0.15.2) ### [`v0.15.1`](https://togithub.com/necolas/react-native-web/compare/0.15.0...0.15.1) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.15.0...0.15.1) ### [`v0.15.0`](https://togithub.com/necolas/react-native-web/releases/0.15.0) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.14.13...0.15.0) 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](https://user-images.githubusercontent.com/239676/107107413-9af74480-67e5-11eb-8fcd-49cffced46fe.png) 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`](https://togithub.com/necolas/react-native-web/compare/0.14.12...0.14.13) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.14.12...0.14.13) ### [`v0.14.12`](https://togithub.com/necolas/react-native-web/compare/0.14.11...0.14.12) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.14.11...0.14.12) ### [`v0.14.11`](https://togithub.com/necolas/react-native-web/compare/0.14.10...0.14.11) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.14.10...0.14.11) ### [`v0.14.10`](https://togithub.com/necolas/react-native-web/compare/0.14.9...0.14.10) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.14.9...0.14.10) ### [`v0.14.9`](https://togithub.com/necolas/react-native-web/compare/0.14.8...0.14.9) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.14.8...0.14.9) ### [`v0.14.8`](https://togithub.com/necolas/react-native-web/compare/0.14.7...0.14.8) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.14.7...0.14.8) ### [`v0.14.7`](https://togithub.com/necolas/react-native-web/compare/0.14.6...0.14.7) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.14.6...0.14.7) ### [`v0.14.6`](https://togithub.com/necolas/react-native-web/compare/0.14.5...0.14.6) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.14.5...0.14.6) ### [`v0.14.5`](https://togithub.com/necolas/react-native-web/compare/0.14.4...0.14.5) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.14.4...0.14.5) ### [`v0.14.4`](https://togithub.com/necolas/react-native-web/compare/0.14.3...0.14.4) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.14.3...0.14.4) ### [`v0.14.3`](https://togithub.com/necolas/react-native-web/compare/0.14.2...0.14.3) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.14.2...0.14.3) ### [`v0.14.2`](https://togithub.com/necolas/react-native-web/compare/0.14.1...0.14.2) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.14.1...0.14.2) ### [`v0.14.1`](https://togithub.com/necolas/react-native-web/compare/0.14.0...0.14.1) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.14.0...0.14.1) ### [`v0.14.0`](https://togithub.com/necolas/react-native-web/releases/0.14.0) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.13.18...0.14.0) 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](https://togithub.com/necolas/react-native-web/issues/1640), [#​1604](https://togithub.com/necolas/react-native-web/issues/1604), [#​1264](https://togithub.com/necolas/react-native-web/issues/1264) #### New features ##### Modal implementation A `Modal` implementation using CSS animations and ARIA, courtesy of [@​imnotjames](https://togithub.com/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](https://togithub.com/necolas/react-native-web/issues/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. ```js {} } style={ ({ pressed, hovered, focused }) => {} } /> ``` Fix [#​1708](https://togithub.com/necolas/react-native-web/issues/1708)

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 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.