react-native-macos/Libraries
Vojtech Novak 976f4be457 support checkbox tinting (#18300)
Summary:
RN offers checkbox component on android: https://facebook.github.io/react-native/docs/checkbox.html

The Checkbox colors for checked and unchecked states cannot be controlled from JS at the moment; this PR adds support for that.

The essence of changing colors for the states is this:

```
ColorStateList cls = new ColorStateList(
        new int[][] {
                new int[] { -android.R.attr.state_checked }, // unchecked
                new int[] {  android.R.attr.state_checked }  // checked
        },
        new int[] {
                uncheckedColor,
                checkedColor
        }
);
checkBox.setSupportButtonTintList(cls);
```

Because of this, I did it so that both colors have to provided together in an object. This is similar to [switch](https://facebook.github.io/react-native/docs/switch#trackcolor)
Pull Request resolved: https://github.com/facebook/react-native/pull/18300

Differential Revision: D14180218

Pulled By: cpojer

fbshipit-source-id: 88a9d1faf061c0651e3e28950f697535b90fbfd4
2019-02-21 20:16:14 -08:00
..
ART Split React.podspec into separate podspecs for each Xcode project (#23559) 2019-02-21 18:35:44 -08:00
ActionSheetIOS Split React.podspec into separate podspecs for each Xcode project (#23559) 2019-02-21 18:35:44 -08:00
Alert Properly gate platform specific code in Alert 2019-02-13 04:24:12 -08:00
Animated add new config resetBeforeIteration for Animated.loop (#20561) 2019-02-15 08:50:31 -08:00
AppState Remove android initialAppState fallback check (#23487) 2019-02-17 15:32:13 -08:00
BatchedBridge Use `invariant` instead of `fbjs/lib/invariant` 2018-12-03 00:07:02 -08:00
Blob Split React.podspec into separate podspecs for each Xcode project (#23559) 2019-02-21 18:35:44 -08:00
BugReporting Upgrade to Flow v0.88.0 2018-12-11 20:01:00 -08:00
CameraRoll Split React.podspec into separate podspecs for each Xcode project (#23559) 2019-02-21 18:35:44 -08:00
Color Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Components support checkbox tinting (#18300) 2019-02-21 20:16:14 -08:00
Core Created spec for SegmentFetcher native module 2019-02-21 20:10:30 -08:00
DeprecatedPropTypes Use `invariant` instead of `fbjs/lib/invariant` 2018-12-03 00:07:02 -08:00
EventEmitter Use `invariant` instead of `fbjs/lib/invariant` 2018-12-03 00:07:02 -08:00
Experimental Fix SwipeableActionButton styling. (#23113) 2019-01-23 04:10:13 -08:00
Geolocation Split React.podspec into separate podspecs for each Xcode project (#23559) 2019-02-21 18:35:44 -08:00
Image Split React.podspec into separate podspecs for each Xcode project (#23559) 2019-02-21 18:35:44 -08:00
Inspector Update network inspector to have smarter scroll stickiness (#21952) 2019-02-20 21:51:29 -08:00
Interaction Fix no shadow warnings (#22190) 2019-01-01 17:13:15 -08:00
JSInspector Remove explicit requires of Map and Set 2018-10-19 10:57:24 -07:00
LayoutAnimation Globally disable LayoutAnimation during Snapshot Tests 2019-01-24 15:24:59 -08:00
Linking Android: Adding sendIntent on Linking module (#22302) 2018-12-06 21:13:58 -08:00
LinkingIOS Split React.podspec into separate podspecs for each Xcode project (#23559) 2019-02-21 18:35:44 -08:00
Lists deploy 0.93 2019-02-15 12:04:32 -08:00
Modal RCTModalHostView (#23030) 2019-01-17 02:41:59 -08:00
NativeAnimation Split React.podspec into separate podspecs for each Xcode project (#23559) 2019-02-21 18:35:44 -08:00
Network Split React.podspec into separate podspecs for each Xcode project (#23559) 2019-02-21 18:35:44 -08:00
Performance Use `invariant` instead of `fbjs/lib/invariant` 2018-12-03 00:07:02 -08:00
PermissionsAndroid feat(permissions-android): export Rationale type and add missing properties according to docs (#23510) 2019-02-18 07:04:58 -08:00
PushNotificationIOS Split React.podspec into separate podspecs for each Xcode project (#23559) 2019-02-21 18:35:44 -08:00
RCTTest Split React.podspec into separate podspecs for each Xcode project (#23559) 2019-02-21 18:35:44 -08:00
ReactNative Adding support to cancel a headless task (#20416) 2019-02-15 08:28:12 -08:00
Renderer React sync for revisions aa94237...f24a0da 2019-02-11 15:26:44 -08:00
Sample RN: Missing Copyright Headers 2018-10-31 01:37:26 -07:00
Settings Split React.podspec into separate podspecs for each Xcode project (#23559) 2019-02-21 18:35:44 -08:00
Share Use `invariant` instead of `fbjs/lib/invariant` 2018-12-03 00:07:02 -08:00
Storage Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
StyleSheet Remove LayoutStyle, ShadowStyle, TransformStyle in favor of just ViewStyleProp 2019-01-08 18:49:37 -08:00
SurfaceBackedComponent RCTSurface: Calling `start` is now required to start the Surface 2018-12-18 12:57:38 -08:00
SurfaceHostingComponent Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Text Split React.podspec into separate podspecs for each Xcode project (#23559) 2019-02-21 18:35:44 -08:00
TurboModule Only call __turboModuleProxy when it exists 2019-02-04 11:08:10 -08:00
Types Fix internal flow problems 2018-09-27 14:18:31 -07:00
Utilities Add HMRLoadingView module for web target (#23389) 2019-02-20 18:22:44 -08:00
Vibration Split React.podspec into separate podspecs for each Xcode project (#23559) 2019-02-21 18:35:44 -08:00
WebSocket Split React.podspec into separate podspecs for each Xcode project (#23559) 2019-02-21 18:35:44 -08:00
Wrapper Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
YellowBox Add support for regex in YellowBox warnings 2019-02-14 16:39:34 -08:00
fishhook Split React.podspec into separate podspecs for each Xcode project (#23559) 2019-02-21 18:35:44 -08:00
polyfills Added groupCollapsed polyfill (#21457) 2019-01-22 07:05:22 -08:00
react-native Remove SnapshotViewIOS from public interface (#23497) 2019-02-18 04:04:23 -08:00
vendor add prettier check in ci (#23382) 2019-02-11 09:06:43 -08:00
.npmignore npmignore: ignore tests and fixtures 2018-02-27 08:42:14 -08:00
Promise.js Stop using Promise from fbjs 2018-11-26 06:28:24 -08:00
UTFSequence.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
promiseRejectionIsError.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00