630 Commits

Author SHA1 Message Date
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
Nicolas Gallagher 26b8a7e164 Update react-native-web runtime dependencies 2021-02-11 14:58:08 -08:00
Nicolas Gallagher a5d6cd51ef Update prettier and reformat code 2021-02-11 14:58:05 -08:00
Nicolas Gallagher 2471561962 Update Babel dependencies 2021-02-11 14:53:10 -08:00
Nicolas Gallagher c8e8094247 [fix] Allow CSS aspectRatio
Fix #427
2021-02-11 14:53:10 -08:00
Nicolas Gallagher 7b0365272c New documentation site and examples app
Replaces the old storybook with static HTML documentation and an interactive
examples app. The documentation is now easier to customize, easier to maintain,
and faster to load. The interactive examples are a dedicated Next.js app that
can be loaded and edited in codesandbox, as well as embedded in the
documentation where needed.
2021-02-11 14:53:04 -08:00
Nicolas Gallagher 2e7e5631f9 Remove storybook docs and examples 2021-02-06 09:12:41 -08:00
Nicolas Gallagher a685f2db2e [change] I18nManager getConstants method
React Native made a breaking change to the (undocumented) I18nManager that
makes the 'isRTL' constant available via the 'getConstants' method. This
removes the getter properties that were previously needed.
2021-02-06 09:12:40 -08:00
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 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 2021-02-04 12:47:23 -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 d48f59102f 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 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
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