Vasil Chimev
5c9a217bc5
feat(dark-mode): add system appearance property, event and CSS classes ( #7887 )
2019-10-08 13:07:15 +03:00
Vasil Chimev
dfcbe6c319
style: formatting and whitespaces ( #7840 )
2019-09-19 15:40:31 +03:00
Manol Donev
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
Morten Sjøgren
03d1ff0399
fix(css-calc): reduce_css_calc_1.default is not a function ( #7787 )
2019-09-10 14:12:04 +03:00
Brad Martin
f3bd2e9c5b
closes #5989 ( #7686 )
2019-08-21 14:20:25 +03:00
SvetoslavTsenov
7d265f2dec
Merge remote-tracking branch 'origin/master' into vsetoslavtsenov/merge-release-in-master
2019-08-20 01:00:52 +03:00
Morten Sjøgren
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
Vasil Chimev
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
Vladimir Amiorkov
9877b202cd
fix(hmr): close modal views during livesync #7668 ( #7679 )
...
chore: add unit tests to test that modal views are closed during hmr
2019-08-15 15:32:17 +03:00
Alexander Vakrilov
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
SvetoslavTsenov
abc143eeac
Merge remote-tracking branch 'origin/master' into svetoslavtsenov/merge-release-in-master
2019-07-16 13:26:15 +03:00
Alexander Vakrilov
8756b3da16
refactor: HMR and webpack improvements ( #7462 )
...
* chore: update project
* refactor: clear module-name cache on orientation
* feat: add custom component in qualifiers app
* feat: enable HMR for custom components
* refactor: remove redundant check
* chore: clean console.log
2019-07-08 11:11:14 +03:00
Manuel Saelices
d985c33de3
chore: require relative path within tns-core-modules ( #7367 )
2019-06-28 18:23:39 +03:00
Alexander Vakrilov
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
Manol Donev
4f39fb728b
chore: update tslint rules ( #7391 )
2019-06-26 15:13:48 +03:00
Manol Donev
92370279d8
chore: restore temporarily deprecated apis ( #7407 )
2019-06-26 02:58:23 -07:00
Manol Donev
d402c05b2f
Merge branch 'master' into mdonev/release-to-master20190621
2019-06-25 16:52:27 +03:00
Manol Donev
b20e771552
chore: remove deprecated apis for ns 6.0 ( #7382 )
2019-06-25 16:52:01 +03:00
Manol Donev
4299d4aedc
Merge branch 'master' into mdonev/release-to-master20190621
2019-06-21 15:39:51 +03:00
Vladimir Amiorkov
dfe76213dd
fix: clear the resolvedPage when entry is being cleared, change the passed View to be a weak reference ( #7327 )
...
* fix: clear the `resolvedPage` when entry is being cleared
fix: change the passed `View` to be a weak reference
* chore: add trace logs when weak ref has been cleared but is continuing to be used
chore: add condition to check if weak ref has not been cleared when it is being used
* chore: refactor the way the `resolvedPage` is cleared
* chore: add backward compatible property to avoid breaking changes
* chore: refactor condition to check if WeakRef is not cleared
chore: add tracelogs
* chore: refactor condition to check if WeakRef is not cleared
chore: add tracelogs
* refactor: weakRef usages
* chore: change the way WeakRef type check is done
2019-06-21 01:48:49 -07:00
Alexander Djenkov
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
Manol Donev
0aca08755a
fix(hmr): quick fade upon replace navigation ( #7251 )
2019-05-22 11:45:55 +03:00
Martin Yankov
d60e5dace4
refactor: platform specific logic from view common
2019-05-21 13:42:10 +03:00
Manol Donev
be6e408fff
fix(android): elevation should not require explicit dynamic elevation offset ( #7250 )
2019-05-17 10:57:46 +03:00
Eduardo Speroni
cf533a7b6d
feat(android): elevation shadow support ( #7136 )
2019-05-10 11:05:28 +03:00
Martin Yankov
9313c07062
Merge branch 'master' into vchimev/app-root-frame-hmr-local-styles
2019-05-08 16:02:22 +03:00
Martin Yankov
15e38db3a6
Merge branch 'master' into myankov/merge-release-to-master
2019-05-08 10:17:30 +03:00
Vladimir Amiorkov
aa44eb950e
fix(ios-modal): closeCallback not being called with popover presentation style ( #7189 )
2019-05-07 17:09:39 +03:00
Vasil Chimev
8a2f592df9
refactor(HMR): Refactor livesync propagaton
2019-05-03 17:48:44 +03:00
Vasil Chimev
cfa37cfa28
fix-next(HMR): apply changes in page styles at runtime when app root is a frame
2019-05-03 13:26:37 +03:00
Vasil Chimev
d35e14ed0f
feat(hmr): preserve navigation history on applying changes ( #7146 )
2019-04-23 17:47:29 +03:00
Martin Yankov
663dbb9dae
chore: add deprecation console warnings ( #7098 )
2019-04-03 16:15:31 +03:00
Martin Yankov
83ae729a6a
Merge branch 'master' into myankov/merge
2019-03-29 13:39:13 +02:00
Martin Yankov
1dc395215d
fix(ios): flat action bar incorrect layout after navigation ( #7077 )
...
* fix(action-bar): incorrect layout after navigation
* set extended layout for opaque bars earlier
2019-03-29 13:36:45 +02:00
Manol Donev
b436ecde36
refactor: replace var usage with let/const ( #7064 )
2019-03-25 18:09:14 +02:00
Manol Donev
34fe24732d
chore: deprecate utils.ios.getter ( #7054 )
2019-03-22 17:33:21 +02:00
Manol Donev
cf07b2719f
chore: update deprecations ( #7046 )
2019-03-21 14:25:36 +02:00
Manol Donev
b40f027f10
Merge branch 'master' into mdonev/release-to-master-7011
2019-03-15 18:35:41 +02:00
Manol Donev
88f224272b
fix: expose missing css background* properties on View ( #7032 )
2019-03-15 17:42:03 +02:00
Morten Sjøgren
f05616743b
fix: set/unset touchListener.owner onLoaded/onUnloaded ( #6922 )
2019-03-15 10:29:32 +02:00
Vasil Chimev
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
Martin Yankov
41f3834106
Merge branch 'master' into myankov/merge-release-master
2019-02-28 10:22:01 +02:00
Martin Yankov
a9d2043a0c
fix(ios): resize of scrollview content breaks layout ( #6965 )
2019-02-28 10:20:21 +02:00
Manol Donev
bf1dd0aeea
Merge branch 'master' into myankov/merge-release-master
2019-02-21 15:58:13 +02:00
Martin Bektchiev
f34068d59b
fix(angular): Re-add references to tns-core-modules.d.ts ( #6949 )
...
They were removed in #6927 because we thought they were
unnecessary.
2019-02-21 09:43:38 +02:00
Martin Yankov
4a4bbfbad1
Merge branch 'master' into myankov/merge-release-master
2019-02-20 18:47:33 +02:00
Martin Yankov
09fa0856b8
fix(ios): opaque bars break ui layout ( #6929 )
...
* fix(ios): opaque bars break ui layout
* test(): change flat action bar tests
* test(): revert test flat change test
2019-02-20 18:46:14 +02:00
Martin Bektchiev
5449cfa238
fix(docs): Move NativeScriptError declaration to a separate file ( #6927 )
...
It is used by `application.d.ts` and needs to be documented. The reason
that it wasn't included in the documentation by now is that `tns-core-modules.d.ts`
(which imports `module.d.ts`) defines types which are part of the internal
modules and runtimes APIs. As such they are excluded from the generation
of API documentation.
2019-02-20 13:58:09 +02:00
Vasil Chimev
44b8acd79c
feat(HMR): apply changes in page styles at runtime when app root is a frame ( #6857 )
...
* feat(HMR): apply changes in page styles at runtime
* fix: livesync tests
* test: changeCssFile method
* refactor: address comments
Add a comment.
Update `let` to `const`.
Update `changesCssFile` test.
* test: add an assert
2019-02-14 14:03:13 +02:00
Alexander Djenkov
8c80044cc0
fix(view-android): clear dialog fragment when closing modal view ( #6852 )
2019-02-04 15:34:37 +02:00