react-native-macos/Libraries
Eli White b98bf1e097 Remove polymorphic types from StyleSheetTypes
Summary:
These types were polymorphic so that stricter types could be passed in for dimension or color. For example, color could be a union of allowed colors. However, since `rgb(0,0,0)` is a valid color, these would have to be allowed opaque types and every creator or caller of these colors would have to use a function.

This would require a massive change to every RN product in the world for negligable gain because StyleSheet values are validated at dev at runtime and cause redboxes for invalid uses.

Since we don't plan to adopt these widely, lets clean up the complexity of these types.

Reviewed By: sahrens

Differential Revision: D7158920

fbshipit-source-id: c58ae402c8248b0863c217c27153191a49c6b980
2018-03-05 18:57:30 -08:00
..
ART Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ActionSheetIOS Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Alert Fix ESLint warnings using 'yarn lint --fix' 2018-02-22 07:23:17 -08:00
Animated Tightening type for flattenStyle 2018-03-03 15:38:26 -08:00
AppState Fix ESLint warnings using 'yarn lint --fix' 2018-02-22 07:23:17 -08:00
BatchedBridge Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Blob Update license headers for MIT license 2018-02-16 18:31:53 -08:00
BugReporting Update license headers for MIT license 2018-02-16 18:31:53 -08:00
CameraRoll @allow-large-files Upgrade xplat/js to Flow v0.66 2018-02-16 20:24:57 -08:00
Components Update opacity when `disabled` prop is changed 2018-03-05 16:12:00 -08:00
Core RN: Remove React Stack Systrace Logic 2018-02-19 22:32:36 -08:00
EventEmitter Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Experimental @allow-large-files Upgrade xplat/js to Flow v0.66 2018-02-16 20:24:57 -08:00
Geolocation Fix ESLint warnings using 'yarn lint --fix' 2018-02-22 07:23:17 -08:00
Image Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Inspector Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Interaction Update license headers for MIT license 2018-02-16 18:31:53 -08:00
JSInspector Update license headers for MIT license 2018-02-16 18:31:53 -08:00
LayoutAnimation Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Linking Fix ESLint warnings using 'yarn lint --fix' 2018-02-22 07:23:17 -08:00
LinkingIOS Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Lists Update VirtualizedList to not throw with double constructor 2018-03-05 14:17:07 -08:00
Modal Fix ESLint warnings using 'yarn lint --fix' 2018-02-22 07:23:17 -08:00
NativeAnimation Check PATENTS does not creep into files 2018-03-01 08:22:05 -08:00
Network Fix #8615: NetInfo.isConnected for iOS 2018-02-27 14:16:20 -08:00
Performance RN: Remove React Stack Systrace Logic 2018-02-19 22:32:36 -08:00
PermissionsAndroid Fix ESLint warnings using 'yarn lint --fix' 2018-02-22 07:23:17 -08:00
PushNotificationIOS Fix ESLint warnings using 'yarn lint --fix' 2018-02-22 07:23:17 -08:00
RCTTest Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ReactNative update FabricUIManager to call the right JS object 2018-02-23 17:04:40 -08:00
Renderer Fix unmount of ReactRootView for Fabric surfaces 2018-03-01 10:33:21 -08:00
Sample Standardize project indentation settings on 2 spaces 2017-07-31 05:20:03 -07:00
Settings Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Share Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Storage Fix ESLint warnings using 'yarn lint --fix' 2018-02-22 07:23:17 -08:00
StyleSheet Remove polymorphic types from StyleSheetTypes 2018-03-05 18:57:30 -08: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 Fixed TVOS test failure caused by input accessory view change 2018-02-27 17:56:48 -08:00
Types RN: Flow Type for `PressEvent` 2018-02-25 23:27:00 -08:00
Utilities Remove log in JSDevSupportModule 2018-03-05 10:55:50 -08:00
Vibration Fix ESLint warnings using 'yarn lint --fix' 2018-02-22 07:23:17 -08:00
WebSocket Remove Platform check from WebSocket module 2018-02-23 11:17:27 -08:00
Wrapper Yoga float vs. CoreGraphics float in RCTWrapper 2018-01-08 14:48:55 -08:00
fishhook Merge fishhook.xcodeproj in RCTWebSocket 2017-08-09 07:48:09 -07:00
polyfills Update license headers for MIT license 2018-02-16 18:31:53 -08:00
react-native Update license headers for MIT license 2018-02-16 18:31:53 -08:00
vendor Update license headers for MIT license 2018-02-16 18:31:53 -08:00
.npmignore npmignore: ignore tests and fixtures 2018-02-27 08:42:14 -08:00
Promise.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
UTFSequence.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
promiseRejectionIsError.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00