yogevbd
6c97a14d3b
Adresses ##3292
6 years ago
Shalom Yerushalmy
0b78d94d40
Revert "Skip push a screen to ensure its not there after reload test"
This reverts commit 685009bc23 .
6 years ago
Shalom Yerushalmy
685009bc23
Skip push a screen to ensure its not there after reload test
6 years ago
yogevbd
64d7888161
Adresses #3171
6 years ago
yogevbd
994ec6326b
Adresses ##3266
6 years ago
Daniel Zlotin
2bb15524e2
hacking some weird NativeModules behaviour
6 years ago
Guy Carmeli
8805f4bda7
Resolve showOverlay promise after Overlay appeared
6 years ago
Daniel Zlotin
2f4ede0bde
Merge branch 'v2' of https://github.com/wix/react-native-navigation into v2
6 years ago
Daniel Zlotin
0a87f8bb05
constants initialized lazily, js testing support
6 years ago
Guy Carmeli
164729ae01
Add e2e for pushing screens from side menu
6 years ago
Guy Carmeli
8bc56e304d
Remove lock file and lock RN version to 0.51.1
6 years ago
Guy Carmeli
f0225113f8
Mount all children when creating BottomTabs layout
When selected tab changes - change visibility instead of adding and removing views from hierarchy
6 years ago
Guy Carmeli
e1d28d61ae
Use linearInterpolator as default interpolator for command animations
6 years ago
Guy Carmeli
d794bd7fef
Document Options.animations
6 years ago
Guy Carmeli
4c8d48b1b5
Implement a synchronous UiImplementation
Related to #2892
To use it, Override `createReactNativeHost` in MainApplication as follows:
```java
@Override
protected ReactNativeHost createReactNativeHost() {
return new NavigationReactNativeHost(this) {
@Override
protected UIImplementationProvider getUIImplementationProvider() {
return new SyncUiImplementation.Provider();
}
};
}
```
6 years ago
Guy Carmeli
b984d00fb9
Clean up docs a bit
6 years ago
Guy Carmeli
2f5185bdde
Implement TopBar.elevation option
This commit also changes the way TopBar background color is applied.
Instead of applying it to the TitleBar, it's applied to the entire TopBar layout
6 years ago
Guy Carmeli
aca8b49df4
Implement BottomTabs.titleDisplayMode styling option
This option allows to control when tab titles are displayed
* showWhenActive: when a tab is focused
* alwaysShow: show regardless of which tab is in
* alwaysHide: never show tab titles
6 years ago
Guy Carmeli
b2a8ac41e5
Support topTabs.height style option
This commit also changes the way TopTabs options are handled. As the TabLayout
is part of the TopBar, it's the StackControllers responsibility to set TopTabs options.
6 years ago
Guy Carmeli
53126504d0
Fix wrong title declaration in TopTabs screen
6 years ago
Guy Carmeli
b9b699c986
Move options.topTabs to correct node
6 years ago
Guy Carmeli
093347c04b
Fix TopTabs selected and unselected colors
6 years ago
Guy Carmeli
9dd0c2e3aa
Additional work addressing flaky e2e
6 years ago
Guy Carmeli
667fa5a188
Enable `unmounts when dismissed` e2e
Hopefully increasing button size will eliminate flakyness
6 years ago
Guy Carmeli
ab49d49111
Suppress visibility warning for NavigationReactNativeHost ctor
6 years ago
Birkir Rafn Guðjónsson
7c422f7fa1
[v2] Preview peek and pop (iOS) (#3273 )
* V2: Peek and pop
* Add event when preview is dismissed in non commit mode
* tslint
* Refactor playground. Document preview api
* Added width prop
* Implement hybrid push/preview button
* Fixing small linting errors
6 years ago
Shalom Yerushalmy
f5df828e1b
Testing new multi pr job (#3287 )
* Testing new multi pr job
* Disable unmounts when dismissed
6 years ago
Guy Carmeli
fefd96f7e8
InterceptTouchOutside only when requested explicitly by the user
This works around an issue with RN's view reconciliation when the
root component has no background color defined.
6 years ago
Guy Carmeli
3f5ef419b7
update docs
6 years ago
Guy Carmeli
7653a17335
Updated TopBar buttons doc page
6 years ago
Shalom Yerushalmy
06275eb229
Change Android device to Pixel_2_API_26
6 years ago
Guy Carmeli
fa0a23c95b
Fix crash when pushing into a stack located in BottomTabs
6 years ago
Guy Carmeli
c9d776e2af
Update docs
6 years ago
yogevbd
f822fac935
Implement layout options
6 years ago
Guy Carmeli
19b657b218
Update layout types docs
6 years ago
Guy Carmeli
94bf489274
Document borderColor and borderHeight
6 years ago
Guy Carmeli
1b8e762d1d
Implement topBar.borderColor and topBar.borderHeight
6 years ago
Guy Carmeli
c57fcf2c79
Implement layout.topMargin
This option property lets us set a top margin to a component which can be useful sometimes
when using statusBar.drawBehind.
6 years ago
Guy Carmeli
7fca939187
Fix markdown syntax in events.md
6 years ago
Guy Carmeli
ef557cf540
Fix tests and compilation error after removing screenBackgroundColor
6 years ago
Guy Carmeli
6a3df31009
Expose statusBarHeight in Navigation.constants
6 years ago
Guy Carmeli
722698072b
Remove screenBackgroundColor from Options.java
6 years ago
Guy Carmeli
e171d7abc4
[Breaking] Consolidate screenBackgroundColor and orientation to layout node
screenBackgroundColor was also renamed to backgroundColor
```js
layout: {
orientation: 'landscape',
backgroundColor: 'red'
}
```
6 years ago
Birkir Rafn Guðjónsson
07376e9e29
[v2] UISplitViewController (#3247 )
* Work in progress
* Arbitary changes
* Improvements on API
* Cleanup RNNSplitViewController, allow mergeOptions
* Added documentation and better playground example
* Adding tests for coverage
* Find out why this test is failing.
* Only show split view on iOS
* Add test back in
6 years ago
Guy Carmeli
a7391bb664
Dismiss system alerts in playground app
Hopefully, this will prevent Detox from timing out when a system alert pops up on the screen.
6 years ago
Guy Carmeli
604a3e2a2a
Document topBar.height and title.height style option
6 years ago
Guy Carmeli
95416d2adc
Add disabled height option top OptionScreen
6 years ago
Guy Carmeli
0b7edc2e81
Fix unit tests
6 years ago
Guy Carmeli
4df7426fd1
Implement topBar.height and title.height
This commit add support for changing the TopBar height as well as changing
the height of custom component used as background
6 years ago
Guy Carmeli
dda3f95ede
Fix documentation, Renamed statusBar hidden to visible
6 years ago