Граф коммитов

1088 Коммитов

Автор SHA1 Сообщение Дата
Eric Traut 25d408c7e5 Updated Button and View to eliminate error from latest TS compiler. 2019-11-02 17:02:58 -07:00
Alexander T d122155a48 eslint-plugin-reactxp (#1155)
* add eslint-plugin-reactxp to hello-world, ImageList samples

* add eslint-plugin-reactxp to README
2019-11-02 16:58:25 -07:00
Mike Hardy c3b091c914 include es2015.iterable type for RXPTest (#1154)
without this `npm run rn-watch` fails:
node_modules/typescript/lib/lib.es2015.promise.d.ts:129:21 - error TS2304: Cannot find name 'Iterable'.
2019-10-21 11:15:03 -07:00
Mike Hardy ead198b9a2 feat: enable 'handled' mode of ScrollView['keyboardShouldPersistTaps'] (#1141)
This enables tap events to go through the ScrollView and trigger onPress
on Touchable things inside the ScrollView. So while the keyboard is showing
in a TextInput inside a ScrollView and you tap a button, the button will
actually tap instead of needing one tap to dismiss keyboard, and one tap
on the button
2019-10-10 10:01:18 -06:00
Alexander T 2f2dbcf3c3 update samples (#1149) 2019-10-10 10:00:38 -06:00
Brent Erickson 06b5d13ae4 Publish reactxp-video 2.0.0-rc.2 2019-10-09 09:30:23 -06:00
Alexander T 7134574b3e update react-native-video to 4.* (#1148) 2019-10-09 09:26:31 -06:00
Pablo Espinosa 89c3c1710b Updated setup and build (#1147)
web folder inside TodoList does not contain the nodeserver.js which throws an error.
2019-10-07 09:36:57 -07:00
Brent Erickson 4d9cc529b6 Publish reactxp-webview@2.0.0-rc.2 2019-09-12 13:14:12 -07:00
Mike Hardy a0cf7c6f73 fix: upgrade react-native-webview dependency, remove obsolete props (#1140)
* fix: upgrade react-native-webview dependency, remove obsolete props

react-native-webview issued a breaking change release to shed the
UIWebView references on iOS, as Apple indicated they would soon stop
accepting app submissions that used that deprecated API.

react-native-webview is now fully WebKit and without this the webview
extension here references obsolete symbols because the JS layer still has
RNCWKWebView symbols from react-native-webview <7 while the auto-linked
iOS Pod is from react-native-webview >=7

Perhaps react-native-webview should be a peerDependency?

More info: https://github.com/react-native-community/react-native-webview/releases/tag/v7.0.1

* remove react-native-webview devDependency as part of lean-core extraction

* update package-lock after removing react-native-webview devDependency
2019-09-12 13:09:07 -07:00
Mike Hardy 2ad594343b docs: add webview extension to docs sidebar (#1139)
This is a follow-on to #1101 - the WebView extension is working fine and the doc exists, it just wasn't linked int
2019-09-12 09:26:33 -07:00
Mike Hardy bf8a249be7 Use new/temporary react lifecycle methods (#1039) (#1127)
* Use new/temporary react lifecycle methods (#1039)

This migration was performed using the recommend codemod tool:
`npx react-codemod rename-unsafe-lifecycles`
https://reactjs.org/blog/2019/08/08/react-v16.9.0.html#renaming-unsafe-lifecycle-methods

The change to tslint.json should be reverted after the second phase of this change
where the deprecated/UNSAFE APIs are removed completely in favor of different lifecycle APIs

The converted code will not work on react versions < v16.3 (react-native v0.55)
The converted code will continue to work on react v17.x

* Log what test is next so failures are easy to localize

* Fix mouse test render failure, text must be inside text JSX

* Change button render direction so all buttons are visible
2019-08-21 17:42:10 -07:00
Brent Erickson 743533a6f0
Breaking Change: Remove SyncTasks from reactxp core and prefer ES6 promises (#1129)
* Remove SyncTasks from reactxp core and prefer ES6 promises
Usage of ES6 promises is more standardized, using SyncTasks by default doesn't provide many consumers a large benefit. If they need SyncTasks promises, they can wrap in SyncTasks.fromThenable at the use site

* Update reactxp-netinfo to remove SyncTasks

* Update samples to use ES6 promises
2019-08-21 15:48:34 -07:00
Eric Traut 75e431b9c2 Updated all packages to 2.0.0-rc.1 and republished. 2019-07-27 09:44:10 -07:00
Eric Traut cd48a4b19c Published 2.0.0-rc.1 2019-07-27 09:29:05 -07:00
Frank Gelhausen e4be7441ca fixed font style documentation (#1124) 2019-07-24 16:16:08 -07:00
Eric Traut f0082b3267 Fixed Navigator doc link and added NetInfo link. 2019-07-23 14:08:03 -07:00
Brent Erickson b0e88d3155
Restore NetInfo package changes (#1119)
The split-out into a standalone module shouldn't block on an incomplete implementation for web
2019-07-20 16:00:03 -07:00
Kristian Gerardsson 13d758fb91 Update animations.md (#1121) 2019-07-20 08:29:25 -07:00
David de Regt ce130fd73c Fixing TodoList sample's RN builds on second compilation 2019-07-17 13:17:13 -07:00
David de Regt 51f266959f
Updating the TodoList sample app to latest package versions (except react-native 0.59, since we can't bump to 0.60 yet), bringing gulpfile up to date with gulp 4, and fixing tslint issues (#1120) 2019-07-16 18:24:34 -07:00
Eric Traut e358a95e14 Updated release notes. 2019-07-14 17:55:28 -07:00
Eric Traut 883767de18 Published version 1.7.0-rc.1 of core reactxp extensions.
Updated samples to include latest versions of reactxp and extensions.
2019-07-14 17:43:00 -07:00
Eric Traut 4dcd7e2892 Fixed recent regression that caused a crash in RXPTest app on native platforms. 2019-07-14 17:11:53 -07:00
Eric Traut 7f4d903441 Published 1.7.0-rc.1 2019-07-14 16:59:53 -07:00
Daniel Neveux 58164cec8f [FIX] Web touch: Prevent ButtonProps.onPressIn to trigger twice (#1091)
* prevent onMouseDown to trigger after onTouchStart

* fix regression where onPress is not triggered

* fix regression where onPress is triggered while cursor is outside
2019-07-14 16:32:21 -07:00
Scott Beca 618572ebbe Replace external assert dependency with internal assert (#1095)
* Replace external assert dependency with internal assert

* Missed one of the dependencies
2019-07-14 16:31:30 -07:00
Scott Beca 044d46eb8d Extract the WebView component out of core and into an extension (#1101)
* Extract the WebView component out of core and into an extension

* Fix a race condition that could result in accurate test results in RXP Test

* Resolve Github review nit

* Fix typo
2019-07-14 16:30:34 -07:00
Aaron Schultz 75a6227e7f Add support for blockPointerEvents on web (#1117)
* Support blockPointerEvents on web

* Add some tests
2019-07-14 16:28:15 -07:00
Eric Traut acf828c406 Updated dependent packages to latest versions. 2019-07-14 16:26:31 -07:00
Scott Beca 3c3d2224c3 Update dependencies (#1107) 2019-07-12 13:58:42 -07:00
Brent Erickson 3cf924373e
Fixes #1102 Interpolated Values are not updated properly when tied to timed transformations (#1106)
InterpolatedValue relies on setValue of the base AnimatedValue to determine it's iner state. Directly setting the value in _updateFinalValue prevents the InterpolatedValue from getting the correct value, so animating in the reverse direction fails
2019-07-12 13:58:31 -07:00
Brent Erickson 7d1fb469f8
Fix #1112 (#1114)
Android manages to dispatch focus calls to TextInput handling, which results in a crash. Prevent these calls from occuring
2019-07-12 11:01:53 -07:00
Aaron Schultz e8d583c240 Fix GestureView panning on web (#1118) 2019-07-10 21:53:27 -07:00
Scott Beca 423167571f Remove logging from reactxp-navigation (#1109) 2019-06-17 07:04:30 -06:00
Ladi Prosek 11d5626303 Fix bugs in native Image header logic (#1094) 2019-06-13 13:42:32 -07:00
Daniel Neveux ce78842612 [FIX] Web: scrollEnabled property is now respected (#1088) 2019-06-13 13:42:06 -07:00
dependabot[bot] 9f7d7385ab Bump js-yaml from 3.12.0 to 3.13.1 in /samples/ImageList (#1104)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.12.0 to 3.13.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.12.0...3.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2019-06-07 13:47:26 -07:00
dependabot[bot] 054ac5f1d3 Bump js-yaml from 3.12.0 to 3.13.1 in /samples/hello-world (#1103)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.12.0 to 3.13.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.12.0...3.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2019-06-07 13:47:18 -07:00
Eric Traut 249f039cf3 Revert "Change to the extracted NetInfo package (#1092)"
This reverts commit f15adab089.
2019-06-07 13:36:16 -07:00
Scott Beca f15adab089 Change to the extracted NetInfo package (#1092)
* Change to extracted NetInfo instead of version bundled with React Native

* Update to v3 of react-native-netinfo

* Move RX.Network into reactxp-netinfo

* Use reatxp-netinfo in RXPTest

* Remove reat-native-community/netinfo from base reactxp package

* Integrate NetInfo 3.2.0 which includes Windows support

* Remove file that is not part of these changes

* Remove un-needed file

* Update comments in rxp-netinfo headers
2019-06-07 13:13:05 -07:00
Daniel Neveux 166001ea80 [FIX] Web: Prevent onLongPress and onPress on disabled buttonThis commit does the following:- on web platform, prevents the onLongPress and onPress trigger on disabled button (#1096) 2019-06-07 09:58:53 -07:00
Aaron Schultz 62e967a937 FocusManager: Release reference to HTML element when setting tab index is complete. (#1098) 2019-05-29 23:14:28 -07:00
Daniel Neveux b5953e68e4 [TS] Add onTouchMoveCapture and onTouchStartCapture for web touch (#1089)
* [TS] Add onTouchMoveCapture and onTouchStartCapture for web touch

* fix types

* add test and doc
2019-05-24 15:30:49 -07:00
Scott Beca d1f3149728 Improve support for React Native v0.59.x (#1059)
* Update dependencies

* Update RXPTest sample to match new React Native template

* Change to extracted AsyncStorage instead of version bundled with React Native

* Change to extracted WebView instead of version bundled with React Native

* Keep compatibility with old WebView code that uses window.postMessage

*  Update RXPTest sample Android icons to match new React Native template

* Change to extracted NetInfo instead of version bundled with React Native

* Revert "Change to extracted NetInfo instead of version bundled with React Native"

This reverts commit 480be0c370.

* Update dependencies again

* Update WebView for better Windows support

* Improve support of React Native v0.57

* Fix conflict with commit 416fb98d05

* Update dependencies

* Update AsyncStorage for better Windows support

* Improve reliability of WebView postMessage across all platforms

* Update dependencies

* Update dependencies

* Revert AsyncStorage changes

* Relax some peer dependency requirements

* Changes from PR review

* Changes from PR review
2019-05-12 14:33:19 -07:00
Daniel Neveux 43a388c6e0 [TS] Add onHoverEnd support for web touch devices (#1087)
This commit does the following
- trigger onHoverEnd when the touch leaves the button
2019-04-26 07:56:16 -07:00
Daniel Neveux d48afcb1b1 [TS] Bind remaining web touch handlers (#1082)
* bind missing web touch handlers

* update branch

* fix merge conflict
2019-04-25 09:13:10 -07:00
Eric Traut 8ca5a5d787 Updated dependencies to latest and fixed a couple of bugs that were identified by updated typings. 2019-04-20 12:49:13 -07:00
Eric Traut a2deb93b09 Consistently use Timers utility module to access clearTimeout, etc. 2019-04-20 12:44:45 -07:00
Daniel Neveux e4906a611e [FIX] Web: prevent triggering longPress when pointer is outside the button (#1083)
* fix on mobile

* fix on desktop

* ignore click after a longpress followed by a mouse leave

* fix regression

* Web: rewrite onResponderRelease/onPressOut rules
2019-04-20 12:34:25 -07:00