Edmundo Santos
3f8a4d491c
Add missing types for DrawerNavigatorConfig ( #5820 )
2019-04-17 11:28:25 -07:00
Luong Dang Hai
837fc0bc25
chore: remove createTabNavigator out of ts definition ( #5809 )
...
* chore: remove createTabNavigator out of ts definition
* update change log file
2019-04-13 12:57:01 -07:00
Brent Vatne
57d2bbeb96
Release 3.8.1
3.8.1
2019-04-12 15:39:19 -07:00
Brent Vatne
e3c38aefe8
Release 3.8.0
2019-04-12 15:37:54 -07:00
Ashoat Tevosyan
fb7da05beb
[flow] Update for Flow 0.92 ( #5806 )
...
Changes:
1. We can now type React components with static members as `React.ComponentType` (instead of requiring the `StatelessFunctionalComponent`) hack.
2. We can now type-parameterize React components on all of their props, instead of just the ones we care about. Not sure why this wasn't previously. Note: this is a breaking change, in the sense that people's parameterization of `NavigationScreenComponent`, `NavigationNavigator`, and `NavigationContainer` may need to change.
3. The order of object-type-spread in the `getParam` definition has been switched. It was giving errors with the old order.
4. Avoid recursive type inference `NavigationScreenProp`. This was yielding an "*** Recursion limit exceeded ***" error, which was rather difficult to debug. We can just use a `NavigationState` and let the user cast.
5. Fix `onTransitionStart`/`onTransitionEnd` types in `NavigationStackViewConfig`.
6. Add `navigationConfig` property to `NavigationView`.
2019-04-12 09:31:44 -07:00
jeffreyffs
5d097b92f4
[Typescript] Add type for 'enableURLHandling' ( #5803 )
...
* updated types for 'enableURLHandling'
* Updated Changelog
2019-04-10 17:11:32 -07:00
Brent Vatne
60618d5d1d
Release 3.7.1
...
- Rename 3.7.0 to 3.7.1 basically because I needed to rebase
3.7.1
2019-04-10 11:19:50 -07:00
Brent Vatne
28e1753434
Release 3.7.0
2019-04-10 11:18:13 -07:00
guptaamol
48b1bd965b
Improved TypeScript definition for bottom tab navigationOptions. ( #5796 )
2019-04-10 10:35:16 -07:00
Brent Vatne
6e80d7c75a
Update dependencies and lockfile
2019-04-10 10:25:44 -07:00
Ashoat Tevosyan
1c75f17a86
[flow] Fix TabBar types ( #5800 )
...
1. `TabBarTop` is `MaterialTopTabBar` now
2. `MaterialTopTabBar` does not have a `getButtonComponent` prop (accidentally added in #5648 )
3. `BottomTabBar`'s `getButtonComponent` prop is a `React.Component`, not a `React.Node`
2019-04-10 09:35:52 -07:00
Ashoat Tevosyan
e542c84e29
[flow] Support custom navigators using Transitioner ( #5801 )
2019-04-10 09:35:30 -07:00
zzzgit
a7265155bd
grammar error ( #5768 )
2019-04-05 12:45:48 +02:00
Brent Vatne
69e40950b1
Release 3.6.1
3.6.1
2019-04-02 14:17:27 +02:00
Brent Vatne
3deec699ee
Release 3.6.0
3.6.0
2019-03-31 15:40:19 +02:00
Brent Vatne
2c875e39ae
Add types for back button disabled and NoAnimation transition config
2019-03-31 15:31:40 +02:00
Faustino Kialungila
8788dd77b4
Adding missing getButtonComponent props to flow ( #5648 )
2019-03-27 17:01:48 -07:00
Jose G
71cb16dc7f
chore(typescript): export InitialLayout type ( #5738 )
2019-03-26 16:14:32 -07:00
alex clifton
445dcfcdf2
unhandled promise rejection failed to delete storage directory ( #5727 )
...
with:
await AsyncStorage.clear();
I'm getting this in ios:
unhandled promise rejection failed to delete storage directory
found this:
https://stackoverflow.com/questions/46736268/react-native-asyncstorage-clear-is-failing-on-ios
switched to use this instead:
await AsyncStorage.getAllKeys().then(AsyncStorage.multiRemove)
but that causes unhandled promise rejection in android.
this is working:
Platform.OS === 'ios' ? await AsyncStorage.getAllKeys().then(AsyncStorage.multiRemove) : await AsyncStorage.clear()
2019-03-22 11:13:05 -07:00
Jose G
ec97b610c5
chore(typescript): export ScreenProps ( #5726 )
2019-03-22 11:11:05 -07:00
Jose G
b9f50bd012
[TypeScript] Export DrawerIconProps and DrawerLabelProps ( #5715 )
...
* chore(typescript): export DrawerIconProps and DrawerLabelProps
* chore: update changelog
2019-03-20 19:28:36 -07:00
Jose G
dbf165dbe7
chore(typescript): export "TabBarIconProps" and "TabBarLabelProps" ( #5712 )
2019-03-20 10:02:12 -07:00
Brent Vatne
bd09153448
Release 3.5.1
3.5.1
2019-03-19 16:22:51 -07:00
Brent Vatne
c766a66be8
Regenerate lockfile in NavigationPlayground
2019-03-19 16:17:38 -07:00
Brent Vatne
53bb89c1e3
Regenerate lockfile
2019-03-19 16:15:33 -07:00
Brent Vatne
4c29c57fe2
Export GestureContexts and add missing type for withOrientation, fix header back button title prop type
2019-03-19 13:58:18 -07:00
Brent Vatne
368b6812bf
Release 3.5.0
3.5.0
2019-03-19 11:05:23 -07:00
Jacob Powers
73d416ec02
Issue-5701: TabBarBottom -> BottomTabBar in type definitions ( #5702 )
...
* Issue-5701: TabBarBottom -> BottomTabBar in type definitions
* BottomTabBar changelog update
2019-03-19 10:45:54 -07:00
Julian Hundeloh
89786a39ab
fix: export NavigationContext in types ( #5707 )
2019-03-19 10:44:54 -07:00
Brent Vatne
dfa4a715a0
Release 3.4.1
3.4.1
2019-03-16 10:45:03 -07:00
AkiVer
6844559273
Fix missing ts def ( #5689 )
...
* fix: missing typescript definition file
* chore: update changelog for missing ts file
2019-03-16 10:41:42 -07:00
Brent Vatne
acd15dd409
Simplify CI config
2019-03-16 10:39:42 -07:00
Brent Vatne
c428b63484
Attempted fix for CI
2019-03-16 09:40:31 -07:00
Brent Vatne
7a0159ef32
Remove cache
2019-03-15 19:50:12 -07:00
Brent Vatne
c4278e5250
Remove unnecessary dependency in NavigationPlayground
...
- node_modules is pulled in when using file://../../ in yarn
2019-03-15 19:40:39 -07:00
Brent Vatne
2d6a284226
Fix jest test
2019-03-15 19:37:15 -07:00
Brent Vatne
23389b3774
Release 3.5.0-alpha.0
3.5.0-alpha.0
2019-03-15 16:19:19 -07:00
Brent Vatne
8bb2eeb7ad
Release 3.4.0
3.4.0
2019-03-15 11:03:42 -07:00
Brent Vatne
91f3f93541
Fix RNGH type definition
2019-03-15 10:32:37 -07:00
Brent Vatne
a8c0f83df9
Enable tests on CI again (currently will fail because of TS error in RNGH)
2019-03-13 21:27:15 -07:00
Brent Vatne
e117bb3cde
Get Jest running in NavigationPlayground
2019-03-13 21:24:15 -07:00
Brent Vatne
245d09ed1a
Fix NavigationPlayground and bump some versions
2019-03-13 15:51:50 -07:00
Jan Hesters
eac5feb64e
Add TypeScript declaration file and convert NavigationPlayground to TypeScript
2019-03-13 11:10:31 -07:00
Steven Black
e4902e98aa
CustomTabs – consolidate all imports from react-navigation on the same line. ( #5664 )
2019-03-07 20:44:42 -03:00
Titus Efferian
4d5641f7be
remove unused import and unused destructuring ( #5622 )
2019-02-28 15:11:25 -06:00
Danny Althoff
114e28b56f
fixed typo in Custom TaB UI example ( #5627 )
2019-02-27 11:47:03 -08:00
Brent Vatne
ac04aad700
Release 3.3.2
3.3.2
2019-02-25 14:27:25 -08:00
Brent Vatne
b7fb44850d
Release 3.3.1
2019-02-25 14:25:55 -08:00
Ashoat Tevosyan
d3040e52b3
[flow] Update Flow libdef with Feb 2019 changes ( #5599 )
...
This corresponds to three `flow-typed` PRs:
1. https://github.com/flow-typed/flow-typed/pull/3140 Get rid of deprecated Navigator exports in 3.0
2. https://github.com/flow-typed/flow-typed/pull/3147 Refine AnimatedValue type
3. https://github.com/flow-typed/flow-typed/pull/3148 Introduce SafeAreaViewInsets type
2019-02-16 16:30:36 -08:00
Brent Vatne
9e36d3e4c9
Remove autopublish from CI
2019-02-16 16:28:55 -08:00