351 Commits

Author SHA1 Message Date
49a7607f4e 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
2019-12-05 10:23:32 +02:00
6c24650c86 Merge remote-tracking branch 'origin/master' into merge-release-in-master 2019-12-03 15:51:59 +02:00
7b78f3b0c6 feat: System css classes for modals (#8155)
* feat: update modal views CSS classes

* chore: fix failing test
2019-12-03 11:08:33 +02:00
2bb7ad9d01 Implements: Proxy layout properties for the ProxyViewContainer (#8150)
* feat(ProxyViewContainer): proxy layout properties to children

* update import path

* fix(ProxyViewContainer): Layout properties not applied to new children

* test(ProxyViewContainer): Add test for layout properties

* chore: fix tslint errors
2019-12-02 11:13:23 +02:00
786aca3039 chore: stabilize iOS13 unit tests (#8127) 2019-11-21 16:50:31 +02:00
800f5bcfe4 fix: tab navigations don't work with lowercase xml (#8016) 2019-11-21 14:48:33 +02:00
b069ff38f3 fix(iOS): check for iOS 13 APIs (#8093) 2019-11-18 13:39:00 +02:00
fc2a233e95 fix: nested css-calc and css-variables with fallback (#7987) 2019-11-07 17:30:03 +02: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
6c7139477e fix: UIUserInterfaceStyle is undefined for iOS <= 11 (#7931) 2019-10-16 16:41:47 +03:00
1d4502a19d Merge branch 'master' into svetoslavtsenov/merge-release-in-master-patch 2019-10-15 18:29:51 +03:00
08e23bcc3b feat: overhaul and streamline Android page navigation transitions (#7925)
* feat: remove Animators and replace with Transitions

* fix: handle disappearing nested fragments for tabs.

Extract TabFragmentImplementation in tab-navigation base for both tabs and bottom navigation

* chore: bump webpack cycles counter

* feat(android-widgets): add androidx.transition:transition as dependency

* chore: fix typescript errors

* fix(frame-android): child already has a parent. Replace removeView with removeAllViews

* fix(tests): wait for fragment before isAdded() check

* fix(bottom-navigation): prevent changeTab logic when fragment manager is destroyed

* chore: apply PR comments changes
2019-10-15 18:19:47 +03:00
12e2a57112 Merge remote-tracking branch 'origin/master' into svetoslavtsenov/merge-release-in-master-patch 2019-10-15 16:17:31 +03:00
7fe8d1c339 fix(tabs-ios9): no view controller managing visible view error (#7837) 2019-10-15 13:32:35 +03:00
f82cf08f95 feat(ios-dark-mode): adapt dynamic system colors (#7826) 2019-10-04 10:58:54 +03:00
c41e5c0b6d Merge branch 'master' into mdonev/release-to-master-20190930 2019-09-30 14:14:17 +03:00
b7f6a2dec5 test: escape & in tests (invalid XML) 2019-09-27 17:26:51 +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
d23ffb8dbf fix-next(css): className to preserve root views classes (#7725) 2019-08-30 09:09:35 +03:00
e3ed02858c fix(css): parse css selectors with escape sequences (#7689) (#7732) 2019-08-29 16:14:29 +03:00
552021373e fix(css): parse css selectors with escape sequences (#7689) 2019-08-26 13:59:03 +03:00
b6ff4d376a fix: dots can now be used in module names (#7655)
Only known extensions are stripped from the end of module names
2019-08-21 00:01:53 +03:00
673c8087e0 feat: implement css-variables and css-calc (#7553)
* feat: implement basic support for css-variables

* fix(test): test-watch-android and test-watch-ios was broken

* fix: processing css-variables belong in CssProperty-classes

Not in the StyleScope.

* fix(css-variables): set style attribute override value from css-classes

* feat: add css calc-support using 'reduce-css-calc'

* fix(tslint): missing semicolon and incorrect quotemark

* feat: move css-variable handling to Style-class

* chor: add comments explaining css-variable implmentation

* chor: set css-variables before other style properties

* chor(css-variables): cleaning up

* chor: code style fixes

* test(CSS-CALC): Add tests for nested css-calc statements

* fix(CSS-CALC): dip-unit not supported by reduce-css-calc

* fix(tslint): use double quotemarks

* test(css-calc): test _cssCalcConverter directly

* chor(css-variables): rename and clean up _cssVariableConverter to _evaluateCssVariable

* chor: rename varname to varName for consistency

* chor: support css-calc and variables for normal properties

* chor: use string.replace to evaluate css-variables

* fix: Missing blank line before return

* chor: rename css-calc functions

* fix: undefined css-variables treated as 'unset'

* fix(tslint): use double quotemarks

* feat(css-variable): handle fallback values

* chor(css-variables): handle unsetValue

* chor: process css-calc and css-variables in style-scope

* chore: clean-up css-calc/variable expressions

* fix(css-calc): handle invalid expressions

* chore(CSSState): update comments

* chore(Style): rename css-variable functions

* chore(css-variables): describe fallback logic

* chore: move reset scoped css-variables to Style-class

* chore(CssState): simplify check for css expressions

* chore: add reduce-css-calc to /package.json
2019-08-20 00:56:56 +03:00
3adba6826b feat: add CSS classes to app/modal root views to target platform/device/orientation/type (#7606) 2019-08-19 14:09:44 +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
90614b402e Merge branch 'master' into return-missing-css-errors 2019-08-05 13:56:38 +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
9113a04d80 refactor: return of missing css errors 2019-08-02 15:46:04 +03:00
490cab0df9 fix(tabs-ios): unable to return to tab after tab with nested frame visited (#7574) 2019-07-25 15:00:42 +03:00
d8262a624e feat: add font icons to image actionbar and tab navigation (#7498) 2019-07-10 21:05:45 +03:00
aa1c160465 chore: fix unit tests (#7501) 2019-07-10 20:40:49 +03:00
8851835cb1 refactor(builder): handle modules with "/" or "~/" (#7418) 2019-06-28 15:38:42 +03:00
9fcc1ddf94 feat(bundle): support for file qualifiers + builder refactor (#7386)
* feat(bundle): support for file qualifiers in builder

* chore: add qualifiers test app

* chore: add @Deprecated for file-name-resolver

* fix(hmr): hmr not working for scss files

* chore: globals clean-up

* shore: fix tslint

* tests: uncomment test fixed by ns-dev-webpack

* chore: move qualifiers app to e2e

* chore: update webpack config

* chore: tslint errors

* test: fix wrong css import
2019-06-26 18:40:18 +03:00
4f39fb728b chore: update tslint rules (#7391) 2019-06-26 15:13:48 +03:00
b20e771552 chore: remove deprecated apis for ns 6.0 (#7382) 2019-06-25 16:52:01 +03:00
ecd9fc3e9d feat: bundle workflow support (#7337) 2019-06-20 15:58:36 +03:00
0c2c1ccfde feat: re-design tab views (#7340) 2019-06-13 11:01:55 +03:00
c5db112b8d feat(android): androidX support (#7039)
* feat: migrate support library namespaces to androidX

* feat(tns-platform-declarations): update to androidX typings

* chore(tests): migrate test apps to AndroidX

* chore(tns-platform-declarations): update tsconfig to include androidx dts files

* update package.json to androidx

* chore(androidx): migrate forgotten support library namspaces

* feat(tns-core-modules-widgets): migrate to AndroidX namespaces

* chore(utils): update androidx namspace for getPaletteColor method

* chore(apps): update tns-platform-declarations package

* Update package.json
2019-06-10 09:21:41 +03:00
7458e68844 Merge branch 'master' into animate-width-height 2019-05-21 14:12:14 +03:00
37b53c6030 fix(text): crash when removing FormattedText (#7237)
* fix(text): crash when removing FormattedText

* refactor: fixed crash on ios too
2019-05-13 17:03:46 +03:00
2bb5ff414d chore(android): disable test_ImageCache_ValidUrl on api19 2019-05-09 13:05:20 +03:00
08fae2fb8e Merge branch 'master' into animate-width-height 2019-05-08 08:52:36 +03:00
4f79d2e2a1 fix(iOS): Image cache module not longer sets null in NSCache (#7171)
* Image cache module fix

* Cla verified | use const instead of let

* Image cache module fix

* Cla verified | use const instead of let

* Improve tests
2019-05-07 21:44:12 +03:00
a84b6301ed chore: fix tslint errors 2019-05-07 15:58:16 +03:00
66d631ebca Revert "Revert "feat(animation): support animating width/height properties (WIP) (#4917)" (#5136)"
This reverts commit 8973a6febde4a4b41637d80b17506a7d25ffebf8.
2019-05-07 13:58:07 +03:00
b7abb3dd64 fix: throw if failed to load component (#7186) 2019-05-01 14:16:18 +03:00
34fe24732d chore: deprecate utils.ios.getter (#7054) 2019-03-22 17:33:21 +02:00
3c2c1d9b69 feat(HMR): style views at runtime (#7012)
* feat(HMR): style view at runtime

test: module root view component

test: update livesync tests

refactor: _onLivesync function

* style: remove a comment

* refactor: rename the property
2019-03-13 13:24:49 +02:00