Commit Graph

54 Commits

Author SHA1 Message Date
NickIliev
ea8a4360b2 fix: make integer type visible 2020-01-15 14:44:57 +02:00
Vasil Trifonov
8569b51a9a fix: return default tab background color when the background color is not explicitely set through css (#8240)
* fix: return default tab background color

when the background color is not explicitely set through css

* chore: update NativeScript.api.md

* fix: do not cast return getTabBarBackgroundColor to ColorDrawable

* chore: added comment and method check

Co-authored-by: Alexander Vakrilov <alexander.vakrilov@gmail.com>
2020-01-14 15:53:26 +02:00
Alexander Vakrilov
4e48e68924 feat(ios): set preferredStatusBarStyle in Page VCs (#8241) 2020-01-14 10:47:37 +02:00
Ryan Pendergast
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
Yurii Cherniavskyi
8550c3293d fix(ios/bottom-navigation): move TabStrip items event emitting to selectedIndex changed handler (#8160) 2020-01-10 10:49:32 +02:00
Kirill Goncharov
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
NickIliev
416f1c8101 feat: add longPress state with UIGestureRecognizer (iOS) 2020-01-03 12:57:28 +02:00
Dimitar Topuzov
c5c3840bd3 Merge branch 'master' into darind/css-parser-default 2019-12-13 10:34:36 +02:00
NickIliev
954e1c61b5 feat: add integer only keyboard type for text-field and for all editable text components 2019-12-12 10:45:20 +02:00
Darin Dimitrov
ab4c389ede feat: Make css-tree the default parser 2019-12-10 17:16:20 +02:00
Shailesh Lolam
cd5703a6b7 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
2019-12-05 14:30:40 +02:00
Darin Dimitrov
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
Dimitar Topuzov
e4f99e065c Merge branch 'master' into remove-tns-core-modules-mentions 2019-12-04 12:24:40 +02:00
vakrilov
6c24650c86 Merge remote-tracking branch 'origin/master' into merge-release-in-master 2019-12-03 15:51:59 +02:00
Alexander Vakrilov
73d5b3442c Merge branch 'master' into remove-tns-core-modules-mentions 2019-12-03 14:32:48 +02:00
vakrilov
24cd16649c chore: remove mentions of tns-core-modules 2019-12-03 11:50:30 +02:00
Alexander Vakrilov
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
Morten Sjøgren
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
Nathan Walker
3199a392b4 fix(grid-layout): value parser will now accept strings or numbers (#8042) 2019-11-29 17:40:24 +02:00
Eduardo Speroni
2aa6e9bf92 feat: support requestAnimationFrame (#8112)
* feat: support requestAnimationFrame

* add native helpers to measure time

* test(animation-frame): add tests

* chore: refactor animation-frame to its own module

* chore: fix tslint
2019-11-29 11:17:26 +02:00
Martin Yankov
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
Dimitar Topuzov
955b0f30d8 chore: cut 6.2.3 release 2019-11-26 16:56:02 +02:00
Dimitar Topuzov
dd09de3ac4 release: cut the 6.2.2 release 2019-11-26 07:43:02 +02:00
Alexander Djenkov
47f4c25a69 fix(frame): push recreated frame back in frameStack when Don't Keep Activities enabled (#8096) 2019-11-22 11:18:37 +02:00
Stanimira Vlaeva
529f0c4f86 chore: fix a typo in a comment (#8128) 2019-11-21 16:51:39 +02:00
Manol Donev
786aca3039 chore: stabilize iOS13 unit tests (#8127) 2019-11-21 16:50:31 +02:00
Martin Yankov
800f5bcfe4 fix: tab navigations don't work with lowercase xml (#8016) 2019-11-21 14:48:33 +02:00
Manol Donev
6a1e57c604 Merge branch 'master' into merge-6.2.1-release-in-master 2019-11-20 10:21:48 +02:00
Alexander Djenkov
c5df258043 feat(modal-view-ios): handle iOS 13 dismiss modal gesture (#8024)
* feat(modal-view): introduce cancelable property on ShowModalOptions

* fix(modal-view): handle iOS 13 modal dismiss gesture

* chore: address PR comments
2019-11-20 10:00:54 +02:00
Shailesh Lolam
60ac4e7a05 fix(iOS): Opening alert/confirm on top most of modal dialogs (#7982)
This is fix for the issue #6939 where alert() and confirm() does not work in a modal dialog if it's opened on top of an existing modal dialog.
2019-11-19 16:36:08 +02:00
Vasil Chimev
b069ff38f3 fix(iOS): check for iOS 13 APIs (#8093) 2019-11-18 13:39:00 +02:00
Alexander Djenkov
d983f79923 fix(frame): nested frame wrong background after parent navigation (#8095) 2019-11-14 16:43:19 +02:00
SvetoslavTsenov
bfe457add6 Merge remote-tracking branch 'origin/master' into merge-6.2.1-release-in-master 2019-11-12 18:26:49 +02:00
Svetoslav
1528498a31 docs: cut the 6.2.1 release (#8087) 2019-11-12 16:53:50 +02:00
Martin Bektchiev
d0d4d81102 refactor(ios): Chrome DevTools Runtime domain (#8072)
Move the logic from core modules to iOS runtime. This way watches
and expressions evaluation in console will work for apps which
do not use the core modules (e.g. TestRunner of iOS runtime)
2019-11-11 14:47:26 +02:00
Alexander Vakrilov
f68647233f fix(dev-tools): use app root in getDocument() (#8071) 2019-11-08 11:14:29 +02:00
Morten Sjøgren
fc2a233e95 fix: nested css-calc and css-variables with fallback (#7987) 2019-11-07 17:30:03 +02:00
Vasil Trifonov
7fa997865b fix: ensure @CallSuper native methods call superFunc (#8025) 2019-11-07 15:14:37 +02:00
Vasil Chimev
0c7f8383a3 fix(dark-mode): formatted string and html view text color (#8031) 2019-11-07 13:43:27 +02:00
SvetoslavTsenov
e825b49f54 Merge remote-tracking branch 'origin/master' into svetoslavtsenov/merge-6.2.0-release-in-master 2019-11-06 17:15:20 +02:00
Alexander Djenkov
eb33ede5a7 fix(gradient): import LinearGradient with alias (#8063) 2019-11-06 16:37:59 +02:00
Vasil Chimev
2a34368465 feat(application): add system appearance changed event to typings (#8034) 2019-11-06 14:07:34 +02:00
Martin Yankov
a61de80a35 fix(bottom-navigation-android): crash when changing tab and suspending app (#8030) 2019-10-29 17:01:05 +02:00
Vasil Chimev
85b92b0136 fix-next(css-class): set class before showing window (#8022) 2019-10-28 14:10:40 +02:00
Vasil Chimev
640590627b refactor(dev-tools): replace topmost() usage (#8013) 2019-10-25 18:00:37 +03:00
Alexander Vakrilov
d6bd90fd34 chore: more forgiving verions check hook (#8009) 2019-10-24 13:23:24 +03:00
Vasil Chimev
beca1c8828 fix-next(iOS): set root viewe css classes before setup UI (#8005)
At application launch, `ns-root` class is not set when loading the theme.
2019-10-24 10:15:03 +03:00
Martin Yankov
c9bfec1cbe fix(ios-bot-nav): incorrect layout on orientation change (#7927) 2019-10-23 13:31:19 +03:00
Alexander Vakrilov
7e87fe0018 chore(hook): Add check for min webpack v1.3.0 (#7998) 2019-10-23 11:01:35 +03:00
Manol Donev
aacfce58ac refactor: deprecated goBack() usage (#8002) 2019-10-23 10:32:57 +03:00