Nicolas Gallagher
1aa84d5447
Misc dependency updates
2022-07-04 15:10:01 -07:00
Nicolas Gallagher
174b8f505a
Update prettier and reformat source code
2022-07-03 17:37:19 -07:00
Nicolas Gallagher
da1a75a7f4
[change] Refactor localization APIs
...
* Control writing direction using 'dir' and 'lang' props.
* Change the compiler output for RTL styles polyfill.
* Export 'useLocaleContext' for working with writing direction context.
* Turn I18nManager into a mock API
2022-03-22 09:44:08 -07:00
Nicolas Gallagher
a5d6cd51ef
Update prettier and reformat code
2021-02-11 14:58:05 -08:00
Nicolas Gallagher
2471561962
Update Babel dependencies
2021-02-11 14:53:10 -08:00
Kyle Fang and Nicolas Gallagher
cf91d75471
[add] LogBox stub
...
Close #1794
2020-11-04 10:55:43 -08:00
Jaap Frolich and Nicolas Gallagher
324995ec2b
[add] Appearance module
...
Close #1597
2020-06-26 14:51:50 -07:00
Nicolas Gallagher
0ffbf66b1a
[change] Remove TabBarIOS and TimePickerAndroid exports
...
These modules have been removed from React Native
2020-06-26 14:51:45 -07:00
Nicolas Gallagher
88f5dedffd
[change] Add Pressable and replace Touchables
...
Port and rewrite "Pressability" from React Native as "PressResponder". This
integrates a press target with the responder system on web. It avoids
performing layout measurement during gestures by eschewing React Native's
iOS-like UX in favor of expected Web UX: a press target will look pressed until
the pointer is released, even if the pointer has moved outside the bounding
rect of the target.
The PressResponder is used to reimplement the existing Touchables. It's
expected that they will eventually be removed in favor of Pressable.
Fix #1583
Fix #1564
Fix #1534
Fix #1419
Fix #1219
Fix #1166
2020-06-26 14:51:43 -07:00
Maxime Thirouin and Nicolas Gallagher
df1b62cd45
[add] useWindowDimensions hook
...
Add the 'useWindowDimensions' hook from React Native
Close #1487
2019-12-18 16:53:07 +00:00
Nicolas Gallagher
1ad1693039
[change] Remove PropTypes exports and internal use
...
Removes the following deprecated exports: `ColorPropType`,
`EdgeInsetsPropType`, `PointPropType`, `TextPropTypes`, and `ViewPropTypes`.
Remove all use of `prop-types` in the implementations of components. Flow types
are used instead, so there will no longer be runtime warnings related to props.
NOTE: Removes support for `className` prop.
Fix #1383
Close #1477
Close #1474
Close #1489
2019-12-18 12:40:31 +00:00
Nicolas Gallagher
924e891f58
Update babel-plugin-tester
2019-11-15 14:21:16 -08:00
Nicolas Gallagher
d4b9f35d33
[change] createElement -> unstable_createElement
...
Rename the 'createElement' export to reflect its unstable status.
Fix #1385
2019-10-07 14:20:49 -07:00
Nicolas Gallagher
25dd43e960
[change] Update vendor code
...
* FlatList
* SectionList
* VirtualizedList
* VirtualizedSectionList
2019-10-04 11:37:22 -07:00
Nicolas Gallagher
ac71506610
[change] Remove WebView
...
Ref #1352
Ref https://github.com/facebook/react-native/issues/23313
2019-10-04 11:07:09 -07:00
Nicolas Gallagher
847870e4b3
[change] Remove ViewPagerAndroid
...
Ref #1352
Ref https://github.com/facebook/react-native/issues/23313
2019-10-04 11:07:09 -07:00
Nicolas Gallagher
9d76d58891
[change] Remove ToolbarAndroid
...
Ref #1352
Ref https://github.com/facebook/react-native/issues/23313
2019-10-04 11:07:09 -07:00
Nicolas Gallagher
f54c957199
[change] Remove SwipeableListView
...
Ref #1352
Ref https://github.com/facebook/react-native/issues/23313
2019-10-04 11:07:09 -07:00
Nicolas Gallagher
425102c16e
[change] Remove StatusBarIOS
...
Ref #1352
Ref https://github.com/facebook/react-native/issues/23313
2019-10-04 11:07:08 -07:00
Nicolas Gallagher
0c350d2678
[change] Remove SnapshotViewIOS
...
Ref #1352
Ref https://github.com/facebook/react-native/issues/23313
2019-10-04 11:07:08 -07:00
Nicolas Gallagher
eaa24ae91d
[change] Remove Slider
...
Ref #1352
Ref https://github.com/facebook/react-native/issues/23313
2019-10-04 11:07:08 -07:00
Nicolas Gallagher
24801cb5da
[change] Remove SegmentedControlIOS
...
Ref #1352
Ref https://github.com/facebook/react-native/issues/23313
2019-10-04 11:07:08 -07:00
Nicolas Gallagher
41e4f05eb0
[change] Remove PushNotificationIOS
...
Ref #1352
Ref https://github.com/facebook/react-native/issues/23313
2019-10-04 11:07:08 -07:00
Nicolas Gallagher
72ede16c9c
[change] Remove ProgressBarAndroid and ProgressViewIOS
...
Ref #1352
Ref https://github.com/facebook/react-native/issues/23313
2019-10-04 11:07:08 -07:00
Nicolas Gallagher
7ec9b075a1
[change] Remove PickerIOS
...
Ref #1352
Ref https://github.com/facebook/react-native/issues/23313
2019-10-04 11:07:08 -07:00
Nicolas Gallagher
89bc074327
[change] Remove NetInfo
...
Ref #1352
Ref https://github.com/facebook/react-native/issues/23313
2019-10-04 11:07:08 -07:00
Nicolas Gallagher
add0e0cb7e
[change] Remove NavigatorIOS
...
Ref #1352
Ref https://github.com/facebook/react-native/issues/23313
2019-10-04 11:07:08 -07:00
Nicolas Gallagher
8900cea576
[change] Remove MaskedViewIOS
...
Ref #1352
Ref https://github.com/facebook/react-native/issues/23313
2019-10-04 11:07:08 -07:00
Nicolas Gallagher
6c682bbb92
[change] Remove ListView
...
Ref #1352
Ref https://github.com/facebook/react-native/issues/23313
2019-10-04 11:07:08 -07:00
Nicolas Gallagher
ece4e95d4d
[change] Remove ImageStore
...
Ref #1352
Ref https://github.com/facebook/react-native/issues/23313
2019-10-04 11:07:08 -07:00
Nicolas Gallagher
f9eadc10d2
[change] Remove ImagePickerIOS
...
Ref #1352
Ref https://github.com/facebook/react-native/issues/23313
2019-10-04 11:07:08 -07:00
Nicolas Gallagher
cc5a5d7d27
[change] Remove ImageEditor
...
Ref #1352
Ref https://github.com/facebook/react-native/issues/23313
2019-10-04 11:07:08 -07:00
Nicolas Gallagher
800f24466e
[change] Remove DatePickerAndroid and DatePickerIOS
...
Ref #1352
Ref https://github.com/facebook/react-native/issues/23313
2019-10-04 11:07:08 -07:00
Nicolas Gallagher
5a12430b50
[change] Remove CameraRoll
...
Ref #1352
Ref https://github.com/facebook/react-native/issues/23313
2019-10-04 11:07:08 -07:00
Nicolas Gallagher
fbdbfa5484
[change] Remove AsyncStorage
...
Ref #1352
Ref https://github.com/react-native-community/async-storage/issues/52
Ref https://github.com/facebook/react-native/issues/23313
2019-10-04 11:07:08 -07:00
Nicolas Gallagher
920211b998
[change] Remove AlertIOS
...
Ref #1352
Ref https://github.com/facebook/react-native/issues/23313
2019-10-04 11:07:08 -07:00
Nicolas Gallagher
c0c7a18aca
[change] Remove ActionSheetIOS
...
Ref #1352
Ref https://github.com/facebook/react-native/issues/23313
2019-10-04 11:07:08 -07:00
Evan Bacon and Nicolas Gallagher
8f5e7d4e14
[fix] Export DeviceEventEmitter
...
Close #1402
2019-08-09 10:58:30 -07:00
Doug Miller and Nicolas Gallagher
2ce434e8f8
[fix] Babel plugin rewrite for main index require
...
Recently the default export was removed from react-native-web. In some
scenarios it is possible to still get to this import path which does not work
anymore. Removing the `.default` fixes commonjs imports from index.
Close #1341
2019-05-15 11:05:35 -07:00
Evan Bacon and Nicolas Gallagher
2a418bed0c
[change] Organize unimplemented modules in directories
...
Creates a {path}/index.js for each module that has no web
implementation. This enables the babel preset to rewrite all paths and
prevent apps from bundling unused modules.
Fix #1281
Close #1282
2019-03-11 21:13:16 -07:00
Nicolas Gallagher
3d3ea9aeed
[change] Remove ART export
...
Anticipate the removal of ART from React Native core:
https://github.com/facebook/react-native/issues/23313
Simplifies dependencies and builds for web apps.
Close #1251
2019-03-11 13:33:49 -07:00
Nicolas Gallagher
026a92fd53
[fix] babel-plugin option to rewrite to commonjs paths
...
Allow the babel plugin to be configured to rewrite paths to either ES
modules (default) or CommonJS.
Ref #961
2018-06-04 11:40:07 -07:00
Nicolas Gallagher
b299eb6c59
[add] SwipeableFlatList and SwipeableListView
2018-06-04 11:39:55 -07:00
Nicolas Gallagher
c3eedabac4
Add React Native examples app
...
RNTester examples taken from React Native 0.55.4.
Minor changes to disable / enable some examples for the web.
2018-06-04 10:24:31 -07:00
Nicolas Gallagher
cf43ffd700
[change] Export stubs for iOS/Android modules
...
Fix #958
Fix #967
2018-06-04 10:21:45 -07:00
Nicolas Gallagher
10407f3aa2
[add] Share API
...
Fix #958
2018-06-03 11:32:54 -07:00
Nicolas Gallagher
19b356aaea
[add] Alert API
2018-06-03 11:32:53 -07:00
Nicolas Gallagher
ea744fe780
[add] NativeEventEmitter export
...
Export NativeEventEmitter and provide React Native's implementation.
2018-06-03 11:32:53 -07:00
Nicolas Gallagher
cb545b0dac
[add] LayoutAnimation export
...
Fix #803
2018-06-03 10:16:51 -07:00
Nicolas Gallagher
206a236df2
[add] AccessibilityInfo and DeviceInfo stubs
2018-05-29 11:04:27 -07:00