Commit Graph

663 Commits

Author SHA1 Message Date
Nicolas Gallagher 855d5340c3 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 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 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 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 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 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 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 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 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 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 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
Nicolas Gallagher 833d55bae4 0.15.2 2021-03-29 11:27:28 -07:00
Krzysztof Piaskowy c0abdbfaae [fix] setNativeProps logic
setNativeProps method was ignoring previously changed style.

Close #1939
Fix ##1935
2021-03-29 11:24:57 -07:00
Nicolas Gallagher 889827e3a4 Add accessibilityLevel to docs 2021-03-26 14:26:57 -07:00
Nicolas Gallagher 35a85af483 Fix formatting error in docs 2021-03-26 14:22:43 -07:00
Nicolas Gallagher 457d406714 0.15.1 2021-03-26 14:17:05 -07:00
Nishan c56f402f90 [fix] Add missing accessibilityCurrent prop
Close #1938
2021-03-26 14:13:08 -07:00
Nicolas Gallagher dd79d87783 [fix] accessibilityLevel should control semantic tag
Fix #1965
2021-03-26 14:10:56 -07:00
Nicolas Gallagher c6be829fb1 Various documentation fixes
Fix #1948
Close #1906
Close #1918
Close #1922
Close #1956
Close #1960

Co-authored-by: Nishan <nishanbende@gmail.com>
Co-authored-by: Michel Couillard <mcouillard@hortau.com>
Co-authored-by: David Calhoun <dpcalhoun@gmail.com>
Co-authored-by: burakgormek <burak.gormek@gmail.com>
Co-authored-by: Evan Charlton <evancharlton@microsoft.com>
2021-03-25 12:51:05 -07:00
Nicolas Gallagher d037506200 Fix codesandbox path in docs 2021-02-12 10:57:58 -08:00
Nicolas Gallagher c47bec7b93 0.15.0 2021-02-12 10:54:39 -08:00
Nicolas Gallagher 51f9ab73e4 Fix accessibility props forwarding
Reintroduce 'accessible' and deprecate.
2021-02-11 15:02:27 -08:00
Nicolas Gallagher 7331c73f1e Update create-react-class dependency 2021-02-11 14:58:09 -08:00
Nicolas Gallagher 09ebf7bab5 Update benchmarks dependencies
Remove styled-jsx as it now throws "_JSXStyle is not defined". Library isn't
particularly fast and each update causes issues. Drop it.
2021-02-11 14:58:08 -08:00