react-native/Libraries
Eric Rozell ba88292130 Support platform-specific prop type overrides
Summary:
Moves `PlatformViewPropTypes` to the end of `ViewPropTypes` so platforms can override prop type values. An example of this is in `react-native-windows`, we want to support additional values for the `importantForAccessibility` prop type that are specific to Windows (more details in [this PR](https://github.com/Microsoft/react-native-windows/pull/1807)).

Thank you for sending the PR! We appreciate you spending the time to work on these changes.
Help us understand your motivation by explaining why you decided to make this change.

<!--
  Required: Write your motivation here.
  If this PR fixes an issue, type "Fixes #issueNumber" to automatically close the issue when the PR is merged.
-->

<!--
  Required: Write your test plan here. If you changed any code, please provide us with
  clear instructions on how you verified your changes work. Bonus points for screenshots and videos!
-->

Run jest tests, test RNTester on iOS and Android. Did not test tvOS, but this should not impact tvOS as the only props included from `PlatformViewPropTypes` are unique (i.e., are not overridden in this file).

<!--
  Does this PR require a documentation change?
  Create a PR at https://github.com/facebook/react-native-website and add a link to it here.
-->

https://github.com/Microsoft/react-native-windows/pull/1807

<!--
  Required.
  Help reviewers and the release process by writing your own release notes. See below for an example.
-->

[CATEGORY] [TYPE] [LOCATION] - Message

<!--
  **INTERNAL and MINOR tagged notes will not be included in the next version's final release notes.**

    CATEGORY
  [----------]      TYPE
  [ CLI      ] [-------------]    LOCATION
  [ DOCS     ] [ BREAKING    ] [-------------]
  [ GENERAL  ] [ BUGFIX      ] [ {Component} ]
  [ INTERNAL ] [ ENHANCEMENT ] [ {Filename}  ]
  [ IOS      ] [ FEATURE     ] [ {Directory} ]   |-----------|
  [ ANDROID  ] [ MINOR       ] [ {Framework} ] - | {Message} |
  [----------] [-------------] [-------------]   |-----------|

 EXAMPLES:

 [IOS] [BREAKING] [FlatList] - Change a thing that breaks other things
 [ANDROID] [BUGFIX] [TextInput] - Did a thing to TextInput
 [CLI] [FEATURE] [local-cli/info/info.js] - CLI easier to do things with
 [DOCS] [BUGFIX] [GettingStarted.md] - Accidentally a thing/word
 [GENERAL] [ENHANCEMENT] [Yoga] - Added new yoga thing/position
 [INTERNAL] [FEATURE] [./scripts] - Added thing to script that nobody will see
-->

[GENERAL][Enhancement][View] - Make `ViewPropTypes` more friendly to platform extensions.
Closes https://github.com/facebook/react-native/pull/19090

Differential Revision: D7846438

Pulled By: shergin

fbshipit-source-id: e51ee3256d1c21001b371bd07da21319f3ecd810
2018-05-02 11:21:51 -07:00
..
ART Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
ActionSheetIOS Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
Alert Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
Animated Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
AppState Fix a race condition in AppState that prevents listeners from being notified 2018-04-30 18:01:17 -07:00
BatchedBridge Add args to bridge function call systrace markers 2018-04-30 09:55:49 -07:00
Blob Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
BugReporting Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
CameraRoll Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
Color Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
Components Support platform-specific prop type overrides 2018-05-02 11:21:51 -07:00
Core Introduce "Options" argument to "fetchSegment()" function 2018-04-27 15:14:36 -07:00
EventEmitter Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
Experimental Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
Geolocation Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
Image Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
Inspector Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
Interaction Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
JSInspector Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
LayoutAnimation Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
Linking Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
LinkingIOS Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Lists Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
Modal Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
NativeAnimation Fix tvOS build breakage in RCTAnimation Xcode project 2018-04-02 22:33:45 -07:00
Network Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
Performance PureComponentDebug 2018-05-01 19:47:52 -07:00
PermissionsAndroid Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
PushNotificationIOS Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
RCTTest Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
ReactNative Make UIManager prepackable 2018-04-27 19:16:53 -07:00
Renderer Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
Sample Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
Settings Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
Share Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
Storage Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
StyleSheet Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
SurfaceBackedComponent Update license headers for MIT license 2018-02-16 18:31:53 -08:00
SurfaceHostingComponent Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Text Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
Types Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
Utilities deepDiffer: add maxDepth arg 2018-05-01 22:01:52 -07:00
Vibration Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
WebSocket Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
Wrapper Update additional license headers 2018-03-08 12:10:14 -08:00
fishhook Merge fishhook.xcodeproj in RCTWebSocket 2017-08-09 07:48:09 -07:00
polyfills Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
react-native Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
vendor Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
.npmignore npmignore: ignore tests and fixtures 2018-02-27 08:42:14 -08:00
Promise.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
UTFSequence.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
promiseRejectionIsError.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00