35 Commits

Author SHA1 Message Date
0b239d7a0a feat(tabview): add androidSwipeEnabled property (#6652) 2018-12-04 15:35:15 +02:00
56a1b120af fix: Don't crash on missing resources in tab-view and action-bar (#6388) 2018-10-11 21:31:19 +03:00
2fc1d8a8d4 chore(tsc): enable noUnusedLocals compiler option for tns-core-modules (#5755) 2018-05-10 16:12:59 +03:00
11f0d6e98d feat(tabview): add tab text font size property (#5752)
* feat(tabview): add tab text font size property

* chore(tabview): set tab font size default value

* chore(tabview): move font implementation to widget

* chore(tabview): fix font size get return type
2018-05-09 17:13:34 +03:00
1cbb1e8d0d feat(webpack): mark the CSS type for stylable views explicitly (#5257)
We want webpack's uglification to mangle function and class names
but that's what the current implementation of the CSS in {N} relys on
to get the CSS type for each view when targeted by CSS type selectors.

The implementation is changed a little so now the CSS type can be set
directly on the prototype of each View class or for TS, through decorator.

BREAKING CHANGES:


Extending classes requires marking the derived class with @CSSType
The root classes are not marked with CSSType and classes derived from ViewBase and View
will continue to work as expected. More concrete view classes (Button, Label, etc.) are
marked with @CSSType now and store their cssType on the prototype suppressing the previous
implementation that looked up the class function name. So clien classes that derive from one of
our @CSSType decorated classes will now have to be marked with @CSSType.
2018-03-12 16:34:25 +02:00
8141737f74 fix-next(tabview): visually pre-load tab items on android (#5495) 2018-03-08 14:39:59 +02:00
f8dce08f0e feat(tab-view-android): enable tabs repositioning (#5385)
* feat(tab-view-android): enable tabs repositioning

* feat(tab-view-android): enable tabs repositioning

* chore(apps): add bottom tab view example
2018-02-08 11:06:07 +02:00
a416fa4fb6 Fix TabViewItem loading
Fix showModal not on full screen
2017-12-15 13:08:15 +02:00
ac04ede97e Implemented showModal on View 2017-12-15 13:08:15 +02:00
8adb2fdfef Fix TypeScript 2.4 errors, introduced mainly due weak types and covariant checking for callbacks (#4476) 2017-07-03 11:57:00 +03:00
7a1f1b2b80 Merge pull request #3891 from NativeScript/tab-view-text-transform
Initial value for text transform
2017-03-31 09:57:56 +03:00
be85af4a0d Text transform - no default value 2017-03-30 18:35:55 +03:00
29e07dd027 Hhristov/fix tab view selected index (#3893)
* fix button ios color property when textDecoration is applied

* Button ios color set on titleLabel

* Coerce tabView selectedIndex after native items are set
2017-03-29 16:39:54 +03:00
e151c4dc4e Fix TabView args.object for selectedIndexChangedEvent (#3800)
Add assert in existing test
Code formatting
2017-03-15 17:25:02 +02:00
629eb6e683 Use relative imports in tns-core-modules.
Use tns-core-modules/* imports in outside code (apps, tests, etc)
2017-03-13 14:37:59 +02:00
e7017a9bc5 Tab view fixes 2017-02-17 15:03:12 +02:00
b4575e1d5b Fixed xml-declaration tests. 2017-01-11 14:36:08 +02:00
2303cf1f2e fix TabView (#3395) 2017-01-03 15:17:18 +02:00
764910be2b Fixed tab-view tests. 2016-12-30 10:55:42 +02:00
7931ecd4f8 Fix tslint errors 2016-12-21 17:42:31 +02:00
f5905f072d fix tab-view, segmented-bar, action-bar, all ViewBases (#3340) 2016-12-21 12:02:02 +02:00
d9ab6b960a working on tab-view 2016-12-20 14:08:13 +02:00
19ee47ba24 got to layouts 2016-12-13 15:51:18 +02:00
07e2102c5d restore properties deleted with merge 2016-12-13 15:51:18 +02:00
007b78325c list-picker not ready 2016-12-13 15:51:18 +02:00
1202cb7288 almost all without layouts 2016-12-13 15:51:18 +02:00
da4cad6ec2 tab-view done 2016-12-13 15:51:18 +02:00
943d2dcd6b tabview-ios 2016-12-13 15:51:18 +02:00
079830e9b5 tab-view 2016-12-13 15:51:18 +02:00
a64847ca9d next 2016-12-13 15:51:18 +02:00
e59d145705 Add TabView.androidOffscreenTabLimit property
Resolves #2815

* Gets or sets the number of tabs that should be retained to either side of the current tab in the view hierarchy in an idle state.
* Tabs beyond this limit will be recreated from the TabView when needed.
2016-11-08 17:17:30 +02:00
93cc666b8f Add TabView.iosIconRenderingMode property
Resolves #2689
2016-11-04 16:18:55 +02:00
9fc143ee03 Add support for TabView CSS
TabView {
    tab-text-color: green;
    tab-background-color: yellow;
    selected-tab-text-color: red;
    android-selected-tab-highlight-color: orange;
    text-transform: uppercase;
}
2016-10-24 15:07:22 +03:00
3962ac11a2 AffectsLayout done only for iOS. Android will invalidate itself when needed. (#2307) 2016-06-14 16:44:09 +03:00
e135c20b14 Rename the files 2016-05-26 14:30:25 +03:00