1738 Commits

Author SHA1 Message Date
Nicolas Gallagher 3fc7634819 0.16.4 0.16.4 2021-06-08 15:13:05 -07:00
Nicolas Gallagher 146426dc27 [fix] Allow focusable={false} to set tabIndex="-1"
Close #2046
2021-06-08 13:38:46 -07:00
Petr Bela 3a0cc734cb [fix] Convert 'aspectRatio' style value to string
The RN value is a number and the CSS value must be a string.

Close #2038
2021-06-08 13:10:24 -07:00
Satyajit Sahoo 17d8b12299 Update docs example of webpack url-loader
Latest versions of `url-loader` default `esModule: true` which outputs a module
object with `default` property for asset imports. This behaviour is different
from Metro which doesn't do that.

This breaks compatibility with a lot of React Native libraries since it's
common to do an inline `require` for assets., so it'd work for Metro, but break
with url-loader.

Close #2040
2021-06-08 13:04:21 -07:00
dependabot[bot] 72e7f46ae4 Bump trim-newlines from 3.0.0 to 3.0.1
Bumps [trim-newlines](https://github.com/sindresorhus/trim-newlines) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/sindresorhus/trim-newlines/releases)
- [Commits](https://github.com/sindresorhus/trim-newlines/commits)

---
updated-dependencies:
- dependency-name: trim-newlines
  dependency-type: indirect
...

Close #2048

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-08 13:02:33 -07:00
Nicolas Gallagher 6bf2443433 [fix] Remove unused dependencies
Fix #2020
2021-06-08 13:00:53 -07:00
Bhanu Teja Allaparthi 968b3e90a1 [fix] Avoid retaining DOM nodes in Touchable
Explicitly clear the DOM nodes to prevent memory leaks.

Fix #2039
Close #2047
2021-06-08 11:47:18 -07:00
Nicolas Gallagher 5b7b974224 [fix] Avoid retaining DOM nodes in PressResponder 2021-06-08 11:43:59 -07:00
dependabot[bot] e1aa5378e1 Bump hosted-git-info from 2.7.1 to 2.8.9
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.7.1 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.7.1...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-13 14:51:09 -07:00
dependabot[bot] 5e607f8ee1 Bump handlebars from 4.7.6 to 4.7.7
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-13 14:50:58 -07:00
dependabot[bot] eea9034f04 Bump ua-parser-js from 0.7.19 to 0.7.28
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.19 to 0.7.28.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases)
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.19...0.7.28)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-13 14:50:47 -07:00
Nicolas Gallagher 855d5340c3 0.16.3 0.16.3 2021-05-13 14:33:24 -07:00
Andrew Hayward db9df2b55f [fix] Accessibility ref lists
Generate string-separated values for accessibility props that accept an array
of id strings.

Close #2021
2021-05-13 14:30:20 -07:00
Nicolas Gallagher c9eb794790 0.16.2 0.16.2 2021-05-03 10:09:58 -07:00
Nicolas Gallagher d792bc5424 [fix] Pressable onPress is called for ctrl+click on Windows
Pressing ctrl+click on a link opens a new tab in Windows. On macOS it opens the
context menu but doesn't dispatch a 'click' event. On other element types both
OS dispatch a 'click'. Removing the condition related to 'ctrlKey' produces the
desired behavior across OS.

Fix #2000
2021-05-03 10:00:14 -07:00
Andreas Kjellqvist 8fdbbc8d02 [fix] Animated interpolation of color values
Fix #2001
Close #2002
2021-04-30 14:51:51 -07:00
Elliot Dickison e826485622 [fix] Use of process.env.NODE_ENV
Corrects misspelling in a few locations and adds tests for the Platform module.

Close #2006
2021-04-30 13:39:37 -07:00
Nicolas Gallagher 5726d83544 [fix] Pressable supports onContextMenu prop
Fix #2004
2021-04-29 17:01:05 -07:00
wishawa d8f60b4824 Fix one of the Linking code examples
Close #1996
2021-04-23 16:39:58 -07:00
Nicolas Gallagher 8362f3907f 0.16.1 0.16.1 2021-04-23 11:09:26 -07:00
Charlie Croom 78bf1595fa [fix] Additional Flow type fixes
Close #1997
2021-04-23 11:07:31 -07:00
Nicolas Gallagher 2d9dca42fa 0.16.0 0.16.0 2021-04-20 12:19:56 -07:00
Charlie Croom 6c3f6546d5 Further improvements to Flow types
Close #1985
2021-04-20 10:47:27 -07:00
Nicolas Gallagher ab5d11953d Update documentation for 0.16 2021-04-20 10:46:52 -07:00
Nicolas Gallagher 4a4c4d2461 Deduplicate yarn.lock
Close #1981
2021-04-20 10:44:46 -07:00
Nicolas Gallagher 89cf78d529 [change] Fix the Dimensions.window value
Fixes issues in Safari from using window.innerWidth. Using
documentElement.clientWidth doesn't have issues and provides a more practical
value for the canvas width that excludes the width of scrollbars.

Fix #1369
Fix #1905
2021-04-20 10:44:46 -07:00
Charlie Croom c4e2d7a919 [change] Add generated Flow files to package dist
Fix #1684
Close #1982
2021-04-20 10:44:46 -07:00
Nicolas Gallagher 4e77aebc17 Fix flow error in useEvent 2021-04-20 10:44:45 -07:00
Charlie Croom 84fd278af1 Update flow to 0.148
Close #1980
2021-04-20 10:44:45 -07:00
Charlie Croom c67b695b6b Codemod export-types on src folder
Close #1972
2021-04-20 10:44:45 -07:00
Charlie Croom fdd1cebc75 Update component and ref types
Close #1971
2021-04-20 10:44:45 -07:00
Charlie Croom f60d435e9b [change] Update Animated
Close #1970
2021-04-20 10:44:45 -07:00
Charlie Croom 56dd0fb656 Move flow-typed files into default directory
Close #1953
2021-04-20 10:44:44 -07:00
Charlie Croom 0caa29c0bf [change] Update vendored files 2021-04-20 10:44:44 -07:00
Charlie Croom 26a3e1e958 Update flow to 0.142 2021-04-20 10:44:44 -07:00
Nicolas Gallagher 7293a613d5 Add unit tests for setNativeProps style mutation 2021-04-20 10:33:03 -07:00
Nicolas Gallagher 9d6d39f2c7 0.15.7 0.15.7 2021-04-13 12:42:07 -07:00
Nicolas Gallagher 9edddb16ba Revert "[fix] setNativeProps logic"
This reverts commit c0abdbfaae.

Fix #1987
2021-04-13 12:40:23 -07:00
Mendel Kramer 8353b58434 Fix link to styling doc
Close #1986
2021-04-12 14:05:17 -07:00
Nicolas Gallagher 6f744815ab Make corrections to TextInput docs
Close #1977
2021-04-07 13:43:28 -07:00
Nicolas Gallagher 6bfd80cc56 0.15.6 0.15.6 2021-04-06 17:17:15 -07:00
Nicolas Gallagher d73509db74 [fix] PanResponder move event filtering
Fix #1853
2021-04-06 17:13:59 -07:00
Nicolas Gallagher 6fa5353457 0.15.5 0.15.5 2021-03-30 19:09:29 -07:00
Nicolas Gallagher ae87e1e459 [fix] ScrollView ref and methods
Make sure the 'ref' for a ScrollView is a host node with React Native's
proprietary and legacy instance methods attached.

Fix #1957
2021-03-30 18:58:24 -07:00
Nicolas Gallagher fc4cc216a1 0.15.4 0.15.4 2021-03-30 15:13:19 -07:00
Charlie Croom 781a4191f0 [fix] View href 'target' string may start with underscore
Close #1969
2021-03-30 14:24:28 -07:00
Nicolas Gallagher 0ac406c91e 0.15.3 0.15.3 2021-03-29 13:50:09 -07:00
Nicolas Gallagher 09fbe85d10 [fix] Pressable supports onKeyDown prop
Fix #1950
Close #1951
2021-03-29 13:33:55 -07:00
Nicolas Gallagher 71f1e9bf3a [fix] Allow href 'target' string to start with underscore
Fix #1963
Close #1937
2021-03-29 12:47:19 -07:00
Nicolas Gallagher 92f577ea26 Fix docs on imperative focus
Fix #1916
2021-03-29 12:47:07 -07:00