Alistair Holt
ca28ac23e4
Fix bad markdown formatting install instructions. (#5822 )
Co-authored-by: Guy Carmeli <guyca@users.noreply.github.com >
4 years ago
Guy Carmeli
18be994e3f
Rename NavigationIconResolver to IconResolver
New class name is 54% shorter, thus better.
4 years ago
Guy Carmeli
50c3fadf94
Update changelog
4 years ago
wixmobile
bdfa212c26
Update package.json version to 4.2.0 [ci skip]
4 years ago
Guy Carmeli
3f17dc4a82
Hide back button in mergeOptions (#5826 )
This commit fixes hiding the back button with `backButton.visible: false` in mergeOptions. It didn't work on Android.
4 years ago
wixmobile
e3f5b49369
Update package.json version to 4.1.0 [ci skip]
4 years ago
Guy Carmeli
3878b683cc
Component type (#5820 )
Send componentType field in componentDidAppear and componentDidDisappear events.
The new field is either:
- TopBarButton
- TopBarTitle
- TopBarBackground
- Component
4 years ago
Yogev Ben David
bfd32cc54d
Remove handlebards dev dependency (#5811 )
4 years ago
Yogev Ben David
b82d87f0c8
Remove yellow boxes from title and button components in debug (#5819 )
4 years ago
Guy Carmeli
5a6fc7fd39
fix unit tests
4 years ago
yogevbd
82e48079dc
Fix topBar.title.component on iOS 10
4 years ago
Guy Carmeli
6782362035
Apply translucent flag only if needed
This works around a rare edge case where applying the translucent flag
resulted in white screens when pushing or showing modals.
So far, I've managed to reproduce this only when when showing external component as modal in the Wix app.
closes #5742
4 years ago
Albert Alises
1f611c657f
fix(topTabs): Add typing for children on TopTabs (#5803 )
4 years ago
wixmobile
dde29d7cf5
Update package.json version to 4.0.9 [ci skip]
4 years ago
yogevbd
2ad41f3adb
Force translucent on iOS 12 when background is transparent
4 years ago
Guy Carmeli
1627219462
Update setStackRoot utility function in playground app
4 years ago
wixmobile
3899d4d3de
Update package.json version to 4.0.8 [ci skip]
4 years ago
yogevbd
f202c7ec03
Another topBar background fix
4 years ago
Guy Carmeli
0b9550f8cc
Add CocktailDetails screen to playground app
Will be used for shared element transition showcase
4 years ago
wixmobile
69cf218950
Update package.json version to 4.0.7 [ci skip]
4 years ago
Guy Carmeli
89ac5c89d9
Initial work on new Shared Element screen
4 years ago
Yogev Ben David
cd3d3472fc
Fix topBar transparent background on iOS 12 (#5791 )
* Fix topBar transparent background on iOS 12
* Fix unit test iOS destination
4 years ago
Yogev Ben David
71af55968d
Add screenPopped event (#5748 )
Called each time a screen is popped, either due to `Navigation.pop` or pop gesture.
closes #3941
Navigation.events().registerScreenPoppedListener(({ componentId }) => {
});
4 years ago
Guy Carmeli
d0c21e4f65
Fix incorrect bottom inset when hiding BottomTabs in default options (#5781 )
Default options were not taken into account when determining bottom inset.
Closes #5738
4 years ago
Guy Carmeli
3b495cd650
Run e2e on Pixel_API_28 emulators (#5780 )
4 years ago
Guy Carmeli
6263991254
update changelog
4 years ago
wixmobile
11118c6b81
Update package.json version to 4.0.6 [ci skip]
4 years ago
Guy Carmeli
aa1870a743
Fix native image resource for bottom tab icon (#5775 )
bottomTab.icon accepts a string as well as required asset - this was not reflected properly in TypeScript and implementation was missing from Android.
closes #5759
4 years ago
Yogev Ben David
45eef0df1f
Fix modal dismissed event emits wrong componentId (#5773 )
Fix modal dismissed with swipe gesture emits wrong componentId
4 years ago
Yogev Ben David
2fa17aaaca
Fix crash when reload with overlays presented (#5774 )
4 years ago
Yogev Ben David
8f9e719747
Fix default font size regression (#5772 )
4 years ago
Harvey Connor
28c883d6dc
Update CHANGELOG.md (#5764 )
4 years ago
Guy Carmeli
e45f4b2bba
Update changelog
5 years ago
wixmobile
9f0155dcb1
Update package.json version to 4.0.5 [ci skip]
5 years ago
Yogev Ben David
60f836e8a8
Refactor top bar options (#5756 )
* Remove main window backgroundColor
* Better interface for TopBarPresenter
5 years ago
Guy Carmeli
47149835dc
Temporary fix to fab position on screen (#5758 )
Fab has been broken since v3. This is a very temporary fix until we refactor it and upgrade to fab from AndroidX
5 years ago
Yogev Ben David
e236cb9f5a
Fix bottom tabs attach mode (#5757 )
Improved attach mode together unit test
5 years ago
Yogev Ben David
60c4dfcd72
Bottom tabs attach mode support on iOS (#5733 )
Add iOS support for `bottomTabs.attachMode`.
This property controls when BottomTabs children are attached to hierarchy and when their React views are created.
By default, RNN attaches all children at the same time which might impact loading time as a few screens are instantiated at once.
Using `afterInitialTab` or `onSwitchToTab` generally leads to improved start up time.
5 years ago
Guy Carmeli
cea3f1cfba
Update WorkspaceSettings - use legacy build system
Since migrating to CocoaPods, we had to pod install to compile local changes - using legacy build system works around that.
5 years ago
Jin Shin
bf354d7c77
Replacing lodash chain with flow (#5755 )
5 years ago
Guy Carmeli
afbaa9a4f5
Merge SideMenuController options with parent (#5754 )
5 years ago
Pontus Abrahamsson
e53a9feb20
Use lodash submodules to reduce bundle size (#5734 )
Import lodash sub modules
5 years ago
Yogev Ben David
9ef61a9a13
Fix topBarHeight with UIModalPresentationPageSheet (#5749 )
5 years ago
Yogev Ben David
4cb0e98a67
Fix sending dismissed modal event when dismissing modal by swiping gesture (#5747 )
* Fix dismissed modal event by swiping down gesture
* Fix typescript
5 years ago
Guy Carmeli
0823a2c3ee
Update ModalDismissedEvent interface
modalsDismissed was missing from event declaration. This obscure property represents the number of modals which were dismissed. When dismissModal is called it's 1 and when dismissAllModals is called, it's the number of modals which were visible on screen.
5 years ago
ʙ ᴀ ᴛ ʀ
fd24adddb1
[v4][docs][showcases] starter kit (#5725 )
Hey, it is me again 🙂So I am just updating the docs due to some changes to my [starter](https://github.com/kanzitelli/react-native-navigation-starter ) which are upgrading RNN to v4 and adding implementation of app logic using [MobX State Tree](https://github.com/mobxjs/mobx-state-tree ) as an alternative to Redux.
5 years ago
Guy Carmeli
5e6d6fce13
Rename internal getConstants method to prevent conflicts with RN's getConstants method (#5745 )
Related to #4861
5 years ago
wixmobile
2bde14d615
Update package.json version to 4.0.4 [ci skip]
5 years ago
Yogev Ben David
d2ed290b58
Fix black topBar background color (#5726 )
* Fix black topBar background color
5 years ago
Yogev Ben David
65118b1ed2
Fix largeTitle behaviour on iOS 13 (#5715 )
* Fix largeTitle behavior on iOS 13
5 years ago