Commit Graph

1678 Commits

Author SHA1 Message Date
Nicolas Gallagher d037506200 Fix codesandbox path in docs 2021-02-12 10:57:58 -08:00
Nicolas Gallagher c47bec7b93 0.15.0 0.15.0 2021-02-12 10:54:39 -08:00
Nicolas Gallagher f6aed0534d Fix package.json scripts 2021-02-12 10:45:23 -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 325fcbf5a0 Update pre-commit checks 2021-02-11 14:58:08 -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 4868b460d7 Update misc cli 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 86b8048012 Update linter dependencies 2021-02-11 14:53:11 -08:00
Nicolas Gallagher 94ae8a4a0b Update test dependencies 2021-02-11 14:53:11 -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 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