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

278 Коммитов

Автор SHA1 Сообщение Дата
David de Regt 5b9ad4c5f6
Fixing windows builds of todolist by switching to path-posix (#1178) 2020-01-13 22:42:26 -08:00
David de Regt 148685062e Updated all extensions to v2.0.0 (2.1.0 for VLV), updating all their dependencies along the way. Then all samples to 2.0.0 to use the new 2.0.0/2.1.0 releases of everything. Fixed TodoList, which appears to have been unable to compile for a little while -- oops. 2019-11-30 01:33:59 -08:00
David de Regt 6eeaf420e2
Changes for 2.0.0-rc.2 (#1165)
* Bumped all dependencies in all projects in the repo to latest.  Got RXPTest building again on web and ios, and ran into some issues.

* Fixing regression in web scrollview from a couple weeks ago

* Published new reactxp-webview 2.0.0-rc.3.  Consuming that in RXPTest to avoid version mismatches.  webview tests now work on ios.

* Eliminating setMaxContentSizeMultiplier since it's not in public RN

* Fixing the image api test to take pixel ratio into account

* Updating all react native peer deps to just >=0.57
2019-11-14 22:15:28 -08:00
Mike Hardy 13b33abdcb Fix TodoList sample build in release mode (#1163)
If a build using this file was attempted in release mode, it attempted to reference variables that did not exist, and unassert() method which similarly did not exist
2019-11-14 11:26:26 -08:00
Brent Erickson 1a924ac6cd Remove ScrollView vertical prop that has no effect on RN platforms (#1132) 2019-11-03 10:20:40 -08:00
dependabot[bot] 3971ef52bf Bump lodash from 4.17.11 to 4.17.15 in /samples/ImageList (#1160)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.15.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.15)

Signed-off-by: dependabot[bot] <support@github.com>
2019-11-02 17:11:56 -07:00
dependabot[bot] c3550b3518 Bump mixin-deep from 1.3.1 to 1.3.2 in /samples/ImageList (#1159)
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-11-02 17:09:37 -07:00
dependabot[bot] ad23e16d93 Bump lodash.merge from 4.6.1 to 4.6.2 in /samples/TodoList (#1156)
Bumps [lodash.merge](https://github.com/lodash/lodash) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2019-11-02 17:03:52 -07:00
dependabot[bot] 4a9c7c2900 Bump mixin-deep from 1.3.1 to 1.3.2 in /samples/TodoList (#1157)
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-11-02 17:03:42 -07:00
dependabot[bot] 46da1de220 Bump lodash from 4.17.11 to 4.17.15 in /samples/TodoList (#1158)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.15.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.15)

Signed-off-by: dependabot[bot] <support@github.com>
2019-11-02 17:03:30 -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
Alexander T 2f2dbcf3c3 update samples (#1149) 2019-10-10 10:00:38 -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
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
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
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 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
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
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
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 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
Daniel Neveux a57de2d614 [FIX] onTouchMove on mobile web does not trigger (#1079)
* add onTouchMove handler on View

* replace onTouchMove by onResponderMove
2019-04-16 08:31:49 -07:00
Daniel Neveux d435d56285 [TS] Improve dev experience on mobile (#1078)
* fix browser selection on button on long press

* add webpack dev server

* fix viewport scale on mobile

* add instructions for running test on mobile
2019-04-15 08:58:57 -07:00
Eric Traut 69dcb8e6fc Published reactxp-virtuallistview 2.0.0. 2019-04-06 19:56:56 -07:00
Mike Hardy 416fb98d05 Use react-native template standard for API28 dev bundle (#1073)
This solves the problem of the dev bundle not loading when testing
on API28 (Android Pie) devices
2019-03-31 15:10:44 -07:00
Scott Beca 3e181f3068 Update windows template for RXPTest sample (#1068) 2019-03-24 10:40:24 -07:00
Eric Traut 16c84ba563 Published 1.6.1 of reactxp, reactxp-navigation, and reactxp-video. 2019-03-23 09:06:11 -07:00
Eric Traut ab31a2fa67 Removed use of deprecated tslint flags that were generating warnings in build. 2019-03-19 15:20:28 -07:00
Eric Traut 3849346b54 Published reactxp 1.6.0. Published updated extensions. Updated samples and extensions. 2019-03-17 13:15:54 -07:00
Eric Traut de12edc83f Published reactxp 1.6.0-rc.4 2019-03-15 12:44:58 -07:00
Eric Traut 0b8805ebc0 Published reactxp 1.6.0-rc.3 2019-03-10 10:18:38 -07:00
Eric Traut d809e75667 #891: Attempted to fix clipboard issue for iOS Safari. 2019-03-10 10:16:05 -07:00
Scott Beca 11cb239ff5 Update dependencies (#1048)
* Update dependencies

* Fix Android build failing
2019-03-10 09:11:55 -07:00
Eric Traut bad3b20495 Published reactxp 1.6.0-rc.2. 2019-03-09 12:13:58 -08:00
Eric Traut 3493923f3e #1026: Changed margin and padding style attribute combination rules for web to match RN.
Updated test code and docs.
2019-03-09 12:08:10 -08:00
Eric Traut 67edd5faaa Added rotation transform to one of the tests. 2019-03-09 11:06:21 -08:00
Scott Beca 0f7b775cb7 RXPTest - Adjust UserInterfaceTest number comparison (#1046)
* RXPTest - Adjust UserInterfaceTest number comparison

* RXPTest - Adjust ImageApiTest number comparison
2019-03-09 10:50:43 -08:00
gabeljz 28b1afbe4f See #1044: "TodoList: Fails to show ViewTodoPanel on native platforms". Fixed by passing a callback function as a property to TodoListItem, which will open the ViewTodoPanel on the selected item. A second callback function is passed to the onPress property of the HoverButton, which will call the first callback function. (#1045) 2019-03-08 08:36:16 -08:00