16 Commits

Author SHA1 Message Date
6979a8d0cc fix(tabs): ios safeArea calculation (#9090) 2020-12-06 00:10:21 -08:00
0a7bee61d9 fix(tabs): dynamic styling colors fixed (#8460)
* fix(tabs): dynamic styling colors fixed

* test(tabs): adding dynamic color change test
2020-03-26 19:15:27 +02:00
243dc98005 Added selectedItemColor and unSelectedItemColor to the TabStrip (#8431)
* chore: add guard for ios

* feat(bottom-nav): adding new properties

* feat(tabs): new property implementation

* feat: new feature implementation in android

Implemented selectedItemColor and unSelectedItemColor properties on TabStrip

* chore: added some comments

* chore: change method return type

* fix: setting icon color

* fix: rendering mode setting

* chore: rename variable

* chore: fixed a typo

* chore: updated log in build gradle

* fix: item color setting in android

* fix: tab styling when no css aplied

* chore: private methods renamed

* tests: added selected-item test pages

* chore: renamed test pages

* chore: move css-tree package to the right place

* tests: added new ui tests

* fix: use renamed function

* fix: set item color

* tests: aded automationText attribute

* tests: trying to fix the tests

Co-authored-by: Dimitar Topuzov <dtopuzov@gmail.com>
2020-03-16 12:54:30 +02:00
458943111e 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>
2020-03-09 15:24:26 +02:00
55c9cc9072 feat(TabStrip): add itemTap event (#7711) 2019-08-23 15:32:31 +03:00
acc3436d9f feat(tab): add support for custom tabstrip (#7580) 2019-08-14 17:34:18 +03:00
f00b370dbb fix(tabs): tab bar not visible when nested in layout (#7544) 2019-07-26 13:53:55 +03:00
ba3e0a39a0 fixes 2019-07-16 13:32:28 +03:00
d8262a624e feat: add font icons to image actionbar and tab navigation (#7498) 2019-07-10 21:05:45 +03:00
30fc585425 feat: add css support for tabs widget (#7491) 2019-07-10 19:22:55 +03:00
c34a48ac77 refactor(tabs): strip item appearance and creation (#7466)
* test(e2e): add tab strip items pages

* fix(ios-tabs): a crash on swiping a content item

Fixes https://github.com/NativeScript/NativeScript/issues/7459.

* feat(android-tabs): create tab item spec from image and label

Implements https://github.com/NativeScript/nativescript-angular/issues/1884 for Android.

* feat(ios-tabs): tab bar item appearance

Implements https://github.com/NativeScript/NativeScript/issues/7436 and https://github.com/NativeScript/nativescript-angular/issues/1884.

* refactor(ios-tabs): move _hasImage and _hasTitle properties
2019-07-10 16:05:45 +03:00
22e62daae5 tests: add tabs/bottom-navigation binding examples (#7437) 2019-07-03 09:32:14 +03:00
43534502f9 feat: add background color css to tab strip (#7414) 2019-06-28 10:07:33 +03:00
0cdc3b843f tests: include parse checkout (#7410) 2019-06-26 20:44:39 +03:00
4f39fb728b chore: update tslint rules (#7391) 2019-06-26 15:13:48 +03:00
ecd9fc3e9d feat: bundle workflow support (#7337) 2019-06-20 15:58:36 +03:00