Nicolas Gallagher
6a8369dd95
Fix types
2021-02-06 09:12:40 -08:00
Nicolas Gallagher
6efe1f90c2
[change] Add hrefAttrs prop to Text and View
...
When an 'href' is provided, the 'hrefAttr's prop can be used to set the 'download', 'rel', and 'target' attributes. The 'target' value does not require a "_" prefix.
2021-02-06 09:12:40 -08:00
Nicolas Gallagher
683962b961
[add] Pressable support for hover callbacks
...
Add 'onHoverIn' and 'onHoverOut' props to Pressable.
Fix #1804
2021-02-06 09:12:34 -08:00
Nicolas Gallagher
d6d28a4886
[add] More role to component mappings
2021-02-05 15:54:56 -08:00
Nicolas Gallagher
7e70b924ec
[add] Accessibility props for all ARIA attributes
...
Adds support for all ARIA equivalents via "accessibility*" props.
2021-02-05 14:45:19 -08:00
Nicolas Gallagher
abf00ef9b3
[change] Introduce focusable prop and remove deprecated props
...
* Adds "focusable" as a replacement for "accessible". This is aligned with RN for Windows.
* Remove "data-focusable" DOM attribute.
* Remove "importantForAccessibility" as this was previously deprecated.
* Remove undocumented "disabled" prop; replaced with "accessibilityDisabled"
Fix #1886
2021-02-05 13:56:51 -08:00
Nicolas Gallagher
956b4a3d74
[change] Remove automatic addition of 'rel="noopener"' from links
...
Close #1428
2021-02-05 13:56:41 -08:00
Nicolas Gallagher
b7b383098a
[change] Linking.openURL() opens in new tab.
...
Fix #1544
Close #1432
Close #1743
2021-02-05 13:56:41 -08:00
Sudhanshu Gautam
e493af50cf
[add] Linking: event listeners
...
Fix ##1650
Close #1863
2021-02-05 13:56:40 -08:00
Janic Duplessis
5e222dbbd5
[change] DOM prop enterKeyHint capitalization
...
React 17 added support for this prop so it now requires a camelCase form.
Close #1707
2021-02-05 13:56:40 -08:00
Nicolas Gallagher
744b61972f
[change] React 17 peer dependency
...
React 17 changed how blur/focus events are implemented, which requires a small
change to several unit tests to ensure the relevant DOM events are dispatched.
2021-02-05 13:56:39 -08:00
Nicolas Gallagher
f5c9f63723
0.14.13
0.14.13
2021-02-05 13:55:00 -08:00
Francois Valdy
12532f67f2
[change] Remove inline requires
...
Replace CJS inline requires with top-level imports that will be removed via DCE
in production bundles.
Close #1895
2021-02-05 12:16:20 -08:00
Nicolas Gallagher
4b8cd20aaa
0.14.12
0.14.12
2021-02-04 12:47:23 -08:00
Nicolas Gallagher
29b13262c3
Add label-actions workflow
...
This workflow allows GitHub to automatically act on issue in response to labels
being added to the issue.
2021-02-01 16:33:02 -08:00
Nishan
3e906117df
[fix] Modal: support programmtic focus on content
...
Close #1858
Fix #1857
2021-02-01 12:24:52 -08:00
Nicolas Gallagher
8bc196afde
Workflow rename: test -> tests
2021-01-29 14:00:59 -08:00
Nicolas Gallagher
d48f59102f
0.14.11
0.14.11
2021-01-29 13:39:45 -08:00
Mathieu Dutour
900e7e5c01
[fix] StyleSheet SSR API
...
Without a getter, an outdated version of `sheet` is returned after
`getStyleSheet` is called. This is exposed in the public API via
`AppRegistry.getApplication`.
Close #1874
2021-01-29 13:23:35 -08:00
James Ward
a660377050
[fix] Modal: fix onRequestClose target if using animations
...
Close #1824
Fix #1817
2021-01-28 17:55:07 -08:00
Rafał Zakrzewski
58a8bbe094
[fix] Modal: refocus trigger-element after closing
...
Close #1821
Fix #1822
2021-01-28 16:35:45 -08:00
Nishan
e0cebea073
[fix] Add "switch" role to Switch implementation
...
Fix #1855
2021-01-28 16:14:22 -08:00
Nicolas Gallagher
6739ab95cf
0.14.10
0.14.10
2020-12-17 13:51:03 -08:00
NE-SmallTown
17e4cfb4b2
[fix] Convert Animated vendor files to ES modules
...
Close #1846
2020-12-17 11:48:26 -08:00
dependabot[bot]
abd4cc7cbf
Bump ini from 1.3.5 to 1.3.7
...
Bumps [ini](https://github.com/isaacs/ini ) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases )
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-12-14 13:10:03 -08:00
Sergey Smyshlyaev
c77a25ced8
[fix] Improve PermissionsAndroid mock
...
Close #1837
2020-12-14 13:08:42 -08:00
Nicolas Gallagher
4a1b31e3ef
Use GitHub workflows for CI
...
Close #1845
Fix #1841
2020-12-14 13:04:07 -08:00
Nicolas Gallagher
e03ac45173
Update benchmark libraries
...
Remove the slow and rarely-used libraries from the suite of implementations.
Update the remaining packages.
Close #1838
2020-12-08 12:50:22 -08:00
Nicolas Gallagher
751f7ec6db
[fix] Allow unitless numbers for CSS grid properties
2020-12-08 11:23:16 -08:00
Nicolas Gallagher
c4e0fd7ab5
0.14.9
0.14.9
2020-12-04 11:47:36 -08:00
Nicolas Gallagher
624b9ddec0
[fix] Modal z-index
...
The z-index must be applied to the outer element (or even the portal element)
if the portal is to stack relative to other silbings. Previously, the z-index
was only relative to the outer Modal element which had a non-static position.
Fix #1820
2020-12-04 11:31:46 -08:00
Tsubasa Sakai
1b2bb16fd7
[fix] Use MediaQuery event listener fallback
...
'addEventListener' is not supported by Safari <= 13, needs to fallback to 'addListener'
Close #1823
2020-12-03 13:03:12 -08:00
Raibima Putra
5f19b41928
[fix] TextInput selectTextOnFocus for Safari
...
Close #1810
2020-12-03 12:50:35 -08:00
Nicolas Gallagher
366f0e9923
Fix TouchableOpacity onPressStart with React 17
...
React 17 changed something that means the dispatchConfig is not included in
synthetic events.
Fix #1833
2020-12-03 12:50:26 -08:00
dependabot[bot]
a877a02beb
Bump dot-prop from 4.2.0 to 4.2.1
...
Bumps [dot-prop](https://github.com/sindresorhus/dot-prop ) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/sindresorhus/dot-prop/releases )
- [Commits](https://github.com/sindresorhus/dot-prop/compare/v4.2.0...v4.2.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-11-11 16:23:33 -08:00
Nicolas Gallagher
6928fab9e0
0.14.8
0.14.8
2020-11-09 15:57:38 -08:00
Nicolas Gallagher
e5ded58972
[fix] ScrollView doesn't respond to descendant scroll events
...
Workaround for React DOM's non-standard bubbling of scroll events.
Fix #1800
2020-11-09 15:46:48 -08:00
Kyle Fang
cf91d75471
[add] LogBox stub
...
Close #1794
2020-11-04 10:55:43 -08:00
Nicolas Gallagher
6624a70cca
0.14.7
0.14.7
2020-10-30 10:52:37 -07:00
Nicolas Gallagher
5806b249dd
[fix] Use browser expansion of 'flex' style
...
Fix #1792
2020-10-30 10:47:32 -07:00
Nicolas Gallagher
1048f7ce3e
0.14.6
0.14.6
2020-10-29 17:14:39 -07:00
Nicolas Gallagher
18f5a33c0d
[fix] Don't require mocking window.matchMedia in jest
...
For people who don't mock unsupported DOM APIs for jsdom in their jest setup.
Fix #1789
2020-10-29 17:13:47 -07:00
Nicolas Gallagher
07e578edb8
[fix] ResponderSystem negotiation logic
...
This fixes a bug in the negotiation logic that caused a cycle of
terminate->grant events to be sent to the current responder during a pointer
move. The root cause was using an incorrect event path in the calculation of
the lowest common ancestor's index. The fix is to ensure that the event path
stored with the current responder is pruned to begin with the node that is the
current responder (rather than any child responders it may have contained).
2020-10-29 17:13:46 -07:00
Nicolas Gallagher
d2e6c29e25
[fix] Pan interactions should cancel 'click' events on the target
...
If a pan interaction has taken place, it is not expected that 'click' events
occur on the target element when the pointer is released (as was occuring with
mouse pointers). This patch cancels any 'click' that occurs within the pan
target's subtree, within 250ms of the pan gesture ending.
Fix #1788
2020-10-29 17:13:42 -07:00
Nicolas Gallagher
03897d32be
[fix] Disabled pressables should propagate 'click' events
...
If a pressable is disabled it should not prevent the propagation of native
'click' events, unless the underlying DOM node has an 'aria-role' of 'button'.
This emulates the native '<button>' behavior.
Fix #1781
2020-10-29 15:57:35 -07:00
Nicolas Gallagher
b8fddcf6b1
0.14.5
0.14.5
2020-10-27 11:06:27 -07:00
Charlie Croom
d9c755dff0
[fix] Enter key handling for components explicitly given accessible prop
...
Close #1783
2020-10-27 10:54:24 -07:00
burakgormek
63c39454de
[fix] Pressable disabled cursor state
...
Close #1782
2020-10-27 10:54:18 -07:00
Nicolas Gallagher
89be8a9f8b
Fix ViewProps import path
...
This error was not surfaced by Flow locally but surfaced in CI.
2020-10-22 12:28:17 -07:00
Nicolas Gallagher
b4e53e8cd3
0.14.4
0.14.4
2020-10-22 11:00:02 -07:00