125 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
dc7215fb02 build: remove unecessary permission grant (#8464)
Granting WRITE_EXTERNAL_PERMISSION implicitly adds READ_EXTERNAL_PERMISSION
2020-03-30 18:47:39 +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
89ee60be00 chore: bump version to 6.6.0 2020-03-18 16:46:09 +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
8b7a968d2f chore: bump version to 6.5.0 2020-02-25 17:13:09 +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
e57d5d9da1 chore: merge release in master (#8275)
* fix the crash

* chore: update MaterialComponents pod (#8176)

* chore: update MaterialComponents pod

* chore: remove copy of pod file in build script

* chore: cut the 6.3.0 release (#8174)

* hore: cut the 6.3.1 release

* fix: handle fake attach after FragMgr is destroyed (#8200)

* fix: check is disposed fragment is in the FragmentManager (#8201)

* release: cut the 6.3.2 release

Co-authored-by: hamidbsd <50081218+hamidbsd@users.noreply.github.com>
Co-authored-by: Vasil Trifonov <v.trifonov@gmail.com>
Co-authored-by: Dimitar Topuzov <dtopuzov@gmail.com>
2020-01-27 11:05:46 +02:00
e8f5ac8522 feat: Add 3D rotation to view - takeover of PR# 5950 (#8136)
* feat: add 3d rotation

* chore: fix build errors

* chore: fix tslint errors

* chore: add @types/chai dev dep

* chore: unused import cleanup

* chore: update tests for x,y rotation

* chore: rebase upstream/master

* fix: iOS Affine Transform test verification

* feat(css): Added optional css-tree parser (#8076)

* feat(css): Added optional css-tree parser

* test: css-tree parser compat tests

* test: more css-tree compat tests

* feat(dialogs): Setting the size of popup dialog thru dialog options (#8041)

* Added iOS specific height and width attributes to ShowModalOptions

* Set the height and width of the popup dialog to the presenting controller

* dialog options ios attributes presentationStyle, height & width are made optional

* Updated NativeScript.api.md for public API changes

* Update with git properties

* Public API

* CLA update

* fix: use iOS native-helper for 3d-rotate

* test: Fix tests using _getTransformMismatchError

* fix: view.__hasTransfrom not set updating properly

* test: fix css-animations test page

Co-authored-by: Alexander Vakrilov <alexander.vakrilov@gmail.com>
Co-authored-by: Darin Dimitrov <darin.dimitrov@gmail.com>
Co-authored-by: Shailesh Lolam <slolam@live.com>
Co-authored-by: Dimitar Topuzov <dtopuzov@gmail.com>
2020-01-10 12:59:46 +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
0175c4b35a chore: housekeeping (#8129) 2019-11-21 16:51:17 +02:00
04c65392a2 test: ignore None transition scenario for api19 (#8035) 2019-11-02 01:48:38 +02:00
8b6c852436 test: refactor frames root tests (#8012) 2019-10-29 21:25:55 +02:00
ae6c02258e chore: add re-exports for ts files (#7993) 2019-10-22 16:57:31 +03:00
2412c0b6f5 tests: fox modal navidation (#7997) 2019-10-22 16:54:24 +03: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
7d265f2dec Merge remote-tracking branch 'origin/master' into vsetoslavtsenov/merge-release-in-master 2019-08-20 01:00:52 +03:00
4b5e6e6c36 tests: fix-nested-frame-tests (#7696) 2019-08-20 00:55:40 +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