Tabs styling improvements (#8366)

* fix(tabs): delay loadView when animation runs

* chore: update api.md

* chore: remove unnecessary casting

* test: Added disabled test for changing tabs

* tabs(ios): added tabs styling in ios

* tabs: added iosAlignment property

* tabs: textTransform support

* tabs: iosAlignment moved to tabstrip

* test: add frame-in-tabs test

* chore: addressing PR comments

* chore: addressing PR comments

* chore: call method on the instance instead of call

* chore: move IOSAlignment property

* chore: update comments

* fix: texttransform to tabstrip in bottomnavigation

* chore: add new item to native-api-usage

* chore: remove unneeded setNativeView call

* chore: removed unneeded check

Co-authored-by: Dimitar Topuzov <dtopuzov@gmail.com>
This commit is contained in:
Vasil Trifonov
2020-03-09 15:24:26 +02:00
committed by GitHub
parent 286fcd3f75
commit 458943111e
17 changed files with 474 additions and 422 deletions

View File

@@ -14,6 +14,7 @@
"Foundation.*:*",
"MaterialComponents.MDCTabBar:*",
"MaterialComponents.MDCTabBarIndicatorTemplate:*",
"NativeScriptEmbedder:*",

View File

@@ -442,13 +442,17 @@ declare class MDCTabBar extends UIView implements UIBarPositioning {
delegate: MDCTabBarDelegate;
displaysUppercaseTitles: boolean;
displaysUppercaseTitles: boolean;
inkColor: UIColor;
enableRippleBehavior: boolean;
itemAppearance: MDCTabBarItemAppearance;
inkColor: UIColor;
items: NSArray<UITabBarItem>;
itemAppearance: MDCTabBarItemAppearance;
items: NSArray<UITabBarItem>;
rippleColor: UIColor;
selectedItem: UITabBarItem;