react-native/Libraries/Components
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
..
AccessibilityInfo Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
ActivityIndicator Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
AppleTV Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
CheckBox Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
Clipboard Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
DatePicker Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
DatePickerAndroid Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
DrawerAndroid Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
Keyboard Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
MaskedView Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
Navigation Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
Picker Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
ProgressBarAndroid Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
ProgressViewIOS Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
RefreshControl Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
SafeAreaView Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
ScrollView Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
SegmentedControlIOS Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
Slider Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
StatusBar Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
Switch Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
TabBarIOS Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
TextInput BREAKING - default underlineColorAndroid to transparent 2018-04-25 23:31:51 -07:00
TimePickerAndroid Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
ToastAndroid Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
ToolbarAndroid Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
Touchable Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
UnimplementedViews Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
View Support platform-specific prop type overrides 2018-05-02 11:21:51 -07:00
ViewPager Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
WebView Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
Button.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
LazyRenderer.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
ScrollResponder.js Removed some @providesModule tags and references 2018-04-26 06:02:00 -07:00
StaticContainer.react.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
StaticRenderer.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
Subscribable.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00