69 Commits

Author SHA1 Message Date
6979a8d0cc fix(tabs): ios safeArea calculation (#9090) 2020-12-06 00:10:21 -08:00
08502527eb fix(android): 'isEnabled' now works properly for SegmentedBar (#8711) 2020-07-22 13:46:05 -07:00
02ec7f104d fix(scroll-view): android 'isScrollEnabled' will apply if changed while gesture is underway (#8695) 2020-07-06 19:05:40 -07:00
6b0028afd7 fix(bindable): parent referenced expression-values now load properly using an update call (#8670)
closes #8666 
closes #6981 
closes #5054
2020-06-29 22:28:04 -07:00
4f64bace62 fix(module-name-resolver): livesync page qualifier handling (#8637)
closes https://github.com/NativeScript/NativeScript/issues/8622

Co-authored-by: Dimitris - Rafail Katsampas <katsampasdr@gmail.com>
2020-06-17 20:12:11 -07:00
5cacc25aa7 fix(text-base): apply dynamic text color change on button for ios (#8635) 2020-06-16 12:45:23 -07:00
eb4c61fc41 fix(text-base): letter spacing for textfield (#8627)
closes https://github.com/NativeScript/NativeScript/pull/8626
closes https://github.com/NativeScript/NativeScript/issues/4892
2020-06-09 22:44:16 -07:00
ae06202af5 chore: cleanup 2020-06-07 19:37:17 -07:00
b015eeed51 fix(ios): dialog handling with top view controller (#8609) 2020-06-03 12:42:10 -07:00
f2fb0976c1 test(e2e): more visible focus and blur results on text field (#8546)
* test: more visible forcus and blur results on text field

* fix: typo
2020-04-20 15:51:33 +03:00
da80cd5e1a test: added missing page (#8493)
* test: added missing page

* fix: use strings instead of Visiblity
2020-04-03 17:27:37 +03:00
c150b11bf1 Merge branch 'release' 2020-04-02 12:03:20 +03:00
fc8f7696e6 fix(tabs): dynamic styling fixes (#8479)
* fix(tabs): dynamic styling fixes - iconSource
selectedItemColor and unSelectedItemColor

* fix(tabs): bottom nav item color fix

* chore: remove unneeded method calls

* chore: remove unneeded console.log

* fix: fixing build

* fix(tabs): resources passing

* fix(tabs): setting item colors

* test: updated dynamic color tests

* chore: fix automationText
2020-04-02 11:59:19 +03: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
8ab0e72bc9 feat: TappableSpan support (#8256)
* feat(android): clickable span

Initial support for clickable span on Android

* test: clickable-span test page

* remove console.log

* use _emit instead of notify

* rename clickable to tappable in Span

* updated NativeScript.api.md

* chore: fixing tslint errors

* chore: fixed witespacing

* moved and improved test page

* feat: tappable span iOS implementation

Co-authored-by: Eduardo Speroni <edusperoni@gmail.com>
2020-03-20 18:37:34 +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
e649a6cfd6 fix(tabs): delay loadView when animation runs (#8353)
* fix(tabs): delay loadView when animation runs

* chore: update api.md

* chore: remove unnecessary casting

* test: Added disabled test for changing tabs
2020-02-21 16:47:33 +02:00
9217094a8e feat(html-view): Additional properties for HtmlView component (#8207)
* feat(html-view): Additional properties for HtmlView component

- Allow to set text color with `color` CSS property.
- Allow to set link color with `link-color` CSS property.
- Allow to set font attributes with `font-family` and `font-size` CSS properties.
- Make text selectable on Android by default (for consistency with IOS).
- Remove extra padding on IOS.

* refactor: Move uiColorToHex function to nativescript-core/color module

* test: adding test for new HtmlView css properties

Co-authored-by: Vasil Trifonov <v.trifonov@gmail.com>
2020-01-08 18:48:29 +02:00
0ffc790d82 chore: remove critical circular dependencies (#8114)
* chore: remove critical circular dependencies

* chore: fix tslint errors

* chore: remove platform specific types from interfaces

* chore: update unit tests polyfills

* fix: incorrect null check

* chore: update api.md file

* test: improve test case

* chore: apply comments

* test: avoid page style leaks in tests
2019-11-28 13:36:34 +02:00
07abee748c tests: update gesture tests for api19 and api29 (#7975) 2019-10-21 23:50:55 +03:00
cc97a16800 feat: Scoped Packages (#7911)
* chore: move tns-core-modules to nativescript-core

* chore: preparing compat generate script

* chore: add missing definitions

* chore: no need for http-request to be private

* chore: packages chore

* test: generate tests for tns-core-modules

* chore: add anroid module for consistency

* chore: add .npmignore

* chore: added privateModulesWhitelist

* chore(webpack): added bundle-entry-points

* chore: scripts

* chore: tests changed to use @ns/core

* test: add scoped-packages test project

* test: fix types

* test: update test project

* chore: build scripts

* chore: update build script

* chore: npm scripts cleanup

* chore: make the compat pgk work with old wp config

* test: generate diff friendly tests

* chore: create barrel exports

* chore: move files after rebase

* chore: typedoc config

* chore: compat mode

* chore: review of barrels

* chore: remove tns-core-modules import after rebase

* chore: dev workflow setup

* chore: update developer-workflow

* docs: experiment with API extractor

* chore: api-extractor and barrel exports

* chore: api-extractor configs

* chore: generate d.ts rollup with api-extractor

* refactor: move methods inside Frame

* chore: fic tests to use Frame static methods

* refactor: create Builder class

* refactor: use Builder class in tests

* refactor: include Style in ui barrel

* chore: separate compat build script

* chore: fix tslint errors

* chore: update NATIVESCRIPT_CORE_ARGS

* chore: fix compat pack

* chore: fix ui-test-app build with linked modules

* chore: Application, ApplicationSettings, Connectivity and Http

* chore: export Trace, Profiling and Utils

* refactor: Static create methods for ImageSource

* chore: fix deprecated usages of ImageSource

* chore: move Span and FormattedString to ui

* chore: add events-args and ImageSource to index files

* chore: check for CLI >= 6.2 when building for IOS

* chore: update travis build

* chore: copy Pod file to compat package

* chore: update error msg ui-tests-app

* refactor: Apply suggestions from code review

Co-Authored-By: Martin Yankov <m.i.yankov@gmail.com>

* chore: typings and refs

* chore: add missing d.ts files for public API

* chore: adress code review FB

* chore: update api-report

* chore: dev-workflow for other apps

* chore: api update

* chore: update api-report
2019-10-17 00:45:33 +03:00
30e9c7f94d Merge remote-tracking branch 'origin/master' into tsenov/merge-release-master-tests 2019-10-10 14:04:18 +03:00
b8b9a3d607 test: fix navigate to handlers (#7937) 2019-10-10 14:02:52 +03:00
6246a72c39 svetoslavtsenov/extend gestures tests (#7870) 2019-10-10 00:29:55 +03:00
bdb411fe45 fix(action-bar-ios): navigation button support for font icons (#7918) 2019-10-09 19:22:22 +03:00
4991e6dc99 fix(android/action-bar): process Icon Fonts in NavigationButton the same way as in ActionItem (#7842)
* fix(android/action-bar): process Icon Fonts in NavigationButton the same way as in ActionItem

* Add NavigationButton with font icons to corresponding page in ui tests app
2019-09-25 13:23:33 +03:00
dfcbe6c319 style: formatting and whitespaces (#7840) 2019-09-19 15:40:31 +03:00
e0c4933337 chore: merge release to master (#7809)
* feat(android): fix tab resource icon size based on spec (#7737)

* feat(ios): add icon rendering mode for bottom navigation (#7738)

* fix(ios-tabs): crash when add tabstrip in loaded event (#7743)

* fix(css): parse css selectors with escape sequences (#7689) (#7732)

* fix(ios-tabs): handle nesting proxy view container (#7755)

* fix-next(css): className to preserve root views classes (#7725)

* docs: cut the 6.1.0 release (#7773)

* fix(android-list-picker): NoSuchFieldException on api29 (#7790)

* chore: hardcode tslib version to 1.10.0 (#7776)

* fix(css-calc): reduce_css_calc_1.default is not a function (#7787) (#7801)
2019-09-12 14:33:03 +03:00
ff6d89fc13 feat(ios): add icon rendering mode for bottom navigation (#7738) 2019-08-28 17:10:55 +03:00
55c9cc9072 feat(TabStrip): add itemTap event (#7711) 2019-08-23 15:32:31 +03:00
70f8d70f07 chore(e2e): update config files (#7677)
* chore(e2e): update config files

* chore: update .gitignore file

* chore: update references.d.ts file

* chore: remove npm scripts

* chore: update travis config
2019-08-18 23:16:35 +03:00
c0b8db4098 feat: flexbile font icon usage in tab navigation (#7672) 2019-08-15 17:32:48 +03:00
72ca461f59 feat(tab-content-view): change tabContentItem to View (#7629) 2019-08-15 11:08:18 +03:00
acc3436d9f feat(tab): add support for custom tabstrip (#7580) 2019-08-14 17:34:18 +03:00
3b888e312f Merge remote-tracking branch 'origin/master' into tsenov/merger-release-in-master 2019-08-14 04:16:05 +03:00
589bb438bf tests: fix tab-navigation-tests for android api level < 23 (#7675)
* tests: fix tab-navigation-tests for android api level < 23

* chore: remove depricated "tap()" method

* chore: fix tslint

* chore: replace api check with automation name check

* chore: relpace check 'ryGetApiLevel()' with automation name
2019-08-14 04:13:29 +03:00
1d12136816 feat: apply styles when adding them to the application scope (#7652) 2019-08-13 16:10:21 +03:00
443d6b5dcb Merge remote-tracking branch 'origin/master' into tsenov/merge-release-in-master 2019-08-07 16:22:05 +03:00
83bca630eb chore: fix typo (#7651) 2019-08-07 16:19:51 +03:00
d3c39c1a9f feat(GridLayout): Add synonym property column[Span] for col[Span] in GridLayout (#7641)
* add column synonym for col property grid layout

* refactoring

* refactor: implement column proxy props

* test: add tests for column and columnSpan props
2019-08-05 13:56:22 +03:00
e35bda2c19 tests: include tests action bar (#7596)
* tests: update action bar tests

* revert: widgets version in modules

* fix tslint
2019-07-28 20:48:19 +03:00
d3dee98116 chore: remove e2e resources and ignore (#7575) 2019-07-26 14:40:10 +03:00
f00b370dbb fix(tabs): tab bar not visible when nested in layout (#7544) 2019-07-26 13:53:55 +03:00
f3fa1ea243 chore: update package.json 2019-07-19 11:09:40 +03:00
f36528f137 fix: tslint error 2019-07-18 21:02:25 +03:00
3d1a8151e4 chore: update tests 2019-07-18 20:53:15 +03:00
07b1103b5b chore: element stratagy location 2019-07-17 16:30:49 +03:00
d5ed05aff5 chore: tslint errors 2019-07-16 13:32:28 +03:00
ba3e0a39a0 fixes 2019-07-16 13:32:28 +03:00