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

144 Коммитов

Автор SHA1 Сообщение Дата
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
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 cd48a4b19c Published 2.0.0-rc.1 2019-07-27 09:29:05 -07:00
Eric Traut 7f4d903441 Published 1.7.0-rc.1 2019-07-14 16:59: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
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
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
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 16c84ba563 Published 1.6.1 of reactxp, reactxp-navigation, and reactxp-video. 2019-03-23 09:06:11 -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
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 a4159e290f Published ReactXP 1.6.0-rc.1. 2019-02-17 10:59:07 -08:00
Brent Erickson ab7a2fdb67 Update RX to provide stronger typings on ref callbacks (#996)
* Update RX to provide stronger typings on ref callbacks
Now when creating an RX.View, the ref callback will by typed as  instead of

* PR feedback
2019-01-19 09:29:17 -07:00
Alexander T b735f26fbd feature/remove cjs-assert (#982)
* remove cjs-assert

* PR feedback: fix image source validation
2018-12-31 10:18:46 -08:00
Brent Erickson 70cdf77e97 Enforce TSX/JSX curly brace styling via tslint (#955) 2018-12-03 15:17:40 -08:00
Eric Traut d35757a3cc Fixed build error in Windows version of Link.tsx.
Updated dependencies.
2018-12-01 16:37:12 -08:00
Eric Traut ebdacd84b4 Published 1.5.0-rc.4. 2018-11-18 10:29:47 -08:00
Brent Erickson 60db6bbecf Ensure that code with tslint errors will fail release/CI builds (#921)
Add a new target in package.json
Switch CI build to use new script without tslint auto-fix
2018-11-15 17:56:11 -08:00
Eric Traut ce1448f1f9 Published 1.5.0-rc.3 of reactxp and 1.5.0-rc.1 of reactxp-virtuallistview. 2018-11-11 10:14:19 -08:00
Eric Traut 14a336bae5 Fixed recent regression in ScrollView.
Published 1.5.0-rc.2.
2018-10-28 00:30:13 -07:00
Eric Traut 5b1e1a8790 Published 1.5.0-rc.1. 2018-10-27 12:48:14 -07:00
Alexander T 01d8d774d6 Update peerDependencies (#836) 2018-10-02 14:41:26 -07:00
Eric Traut 622ddfc7b3 Published 1.4.0. 2018-09-30 13:39:19 -07:00
Eric Traut 5646aaf904 Published 1.4.0-rc.2 2018-09-15 11:32:16 -07:00
Eric Traut 81afa00008 Updated dependency versions. Published 1.4.0-rc.1. 2018-09-09 14:57:56 -07:00
David de Regt e63a37f7a0 Adding onLongPress and Mouse/Touch distinction to GestureView (#789)
* Added onLongPress handling to GestureView.  Added isTouch to the GestureState base to tell whether gestures came from touch or mouse.  It appears that ReactXP's web gestureview doesn't actually support touches at all right now, so it's very platform-specific for now, but hopefully someday that won't be the case...

* Added docs, a unit test, addressed feedback, and, uh, the missing web implementation that I seem to have forgotten.
2018-09-03 11:00:48 -07:00
Eric Traut ebe1aaeab5 Updated dependencies to latest versions. Added React.RefObject<ComponentBase> to ref type in CommonProps. 2018-08-24 21:01:56 -07:00
Eric Traut 5272093ee0 Published 1.3.3 2018-08-02 22:56:27 -07:00
Brent Erickson 7347886ab9 Use semver in reactxp dependencies (#760)
* Use semver in reactxp dependencies

This prevents consumers from accidentally importing and bundling two versions of the same library

For example, if I have version 1.0.0 in reactxp and 1.0.1 in my app, I would bundle both versions.  If reactxp has semver, it allows 1.0.1 to be bundled once since it's compatible with the referenced version in reactxp

* Update package.json
2018-07-23 14:19:22 -07:00
Alexander T 36c9f172a3 751 - Add ImageBackground to handle children elements (#759)
* 751 - Add ImageBackground to handle children elements

* Move ImageBackground functionality to Image component. Revert optionalImg
2018-07-21 14:29:16 -07:00
Eric Traut 1764ca2b1d Published 1.3.2. Missed a cherry pick in 1.3.1. 2018-07-07 16:08:10 -07:00
Eric Traut cd0c47cbc8 Published 1.3.1. 2018-07-07 16:01:11 -07:00
Alexander T 44cbe1b1ca Remove useless type casting to any (#743) 2018-07-07 01:16:31 -07:00
Eric Traut 0322dc46d5 Published reactxp 1.3.0. 2018-06-28 15:00:33 -07:00
Alexander T 89639fcfda Fix TextInput onKeyPress types (#721) 2018-06-26 07:39:55 -07:00
Eric Traut a14ef0cc6f Published 1.3.0-rc.6. 2018-06-25 10:31:28 -07:00
Eric Traut b1089a74af Abstracted global timer functions into a common utility. This fixes a build break that was caused by the previous checkin. TypeScript is unexplicably pulling in the type definitions for timer functions from the node.d.ts file rather than lib.d.ts, and the timer declarations are incompatible between the two. 2018-06-25 10:22:05 -07:00
Eric Traut 58ad09f077 Published 1.3.0-rc.5. 2018-06-24 15:39:54 -07:00
Alexander T 2769eb8b3e Change TextInput onSelectionChange types (#716) 2018-06-23 08:29:14 -07:00
Eric Traut 8748a676fd Published 1.3.0-rc.4. 2018-06-19 09:47:29 -07:00
Ramya Senkutuvan dbc9ba461e On web, we should set user presence to Active only if the app has focus (#680)
* On web, we should set user presence to Active only if the app has focus

* Removing ifvisible pacakge and reimplementing it for ser presence and focused related activity

* Addressing PR comments

* Missed a space remove
2018-06-19 09:27:53 -07:00
Alexander T 0b0b4544ad Change Image onLoad callback types (#707) 2018-06-19 00:06:37 -07:00
Eric Traut 3acc9ac59d Published reactxp 1.3.0-rc.3. 2018-06-16 09:37:48 -07:00
Eric Traut 61a3ecf5ff Published 1.3.0-rc.2. 2018-06-14 20:38:00 -07:00
Eric Traut 1caadff7aa Published 1.3.0-rc.1. 2018-06-13 13:33:15 -07:00
Eric Traut f0569955e0
Eliminated use of custom react-native.d.ts file in favor of the public version. (#677)
* Eliminated use of custom react-native.d.ts file in favor of the public version. Extensions are in the file react-native-extensions.d.ts.

* Incorporated PR feedback.

* Incorporated PR feedback. Added "Extended" types to react-native-extensions and eliminated a bunch of "any" casts. This serves as implicit documentation for extensions that should eventually be added to the public react-native.d.ts type definition.

* Respond to changes from code review. Removed shouldRasterizeIOS prop from RX.Image, since it's a no-op. Replace "any" with strong type in TextInput.tsx.
2018-06-13 10:26:16 -07:00