Commit Graph

712 Commits

Author SHA1 Message Date
Vasil Chimev
0467375856 Update widgets to internal-preview 2017-04-24 14:21:11 +03:00
Panayot Cankov
d7638c3ae4 Fix missing private _addChildFromBuilder 2017-04-24 10:24:05 +03:00
Hristo Hristov
25849a1425 implement get/set for selectedBackgroundColor property (#4039)
* implement get/set for selectedBackgroundColor property

* list-view separator color exposed through style

* Style androidStatusBarBackground exposed on Page
2017-04-21 17:57:25 +03:00
Alexander Vakrilov
c7c0ea7ca4 Merge pull request #4038 from NativeScript/vlaeva/const-enum-replacement
refactor: replace exported "const enums" with "enums"
2017-04-21 17:22:07 +03:00
Alexander Vakrilov
5457424766 Expose statusBarStyle on page (#4021) 2017-04-21 17:16:57 +03:00
Hristo Hristov
9e3222781a backgroundImage property now use Fetcher & Cache as Image component (#4030)
* backgroundImage property now use Fetcher & Cache as Image component
Fix GridLayout tests on iPhone Plus - actualLength wasn’t rounded
ImageCache is closed when activity is stopped

* Fix reset of background drawable.

* additional check for drawable

* imageCache init cache on activity Started
2017-04-21 16:50:12 +03:00
sis0k0
486a0e8c2c refactor: replace exported "const enums" with "enums" 2017-04-21 16:27:31 +03:00
Eddy Verbruggen
9437f49aed #3889 Add a 'blur' event to text input fields (#3896) 2017-04-20 17:57:03 +03:00
Panayot Cankov
b6b5465d32 Merge pull request #3992 from NativeScript/typedoc-build
Update the typedoc build
2017-04-20 17:41:42 +03:00
Panayot Cankov
d098ff43f5 Add module names for the typedoc, make it work
Mark members with @private for typedoc.
2017-04-20 16:58:30 +03:00
SvetoslavTsenov
423f4cf7f3 Update package.json 2017-04-18 17:46:55 +03:00
SvetoslavTsenov
6a4d159d7c Bump version 2017-04-18 17:37:23 +03:00
Alexander Vakrilov
dca52bb8fd Merge pull request #3988 from NativeScript/fix-autocapitalization-type
FIX: Crash when setting autocapitalizationType=allCharacters in xml
2017-04-13 13:09:46 +03:00
vakrilov
4b98db0643 Property values should be lowercased to pass validation. 2017-04-13 11:22:45 +03:00
Alexander Vakrilov
577d011166 Merge pull request #3982 from NativeScript/remove-getColor
Remove getColor form utils.d.ts
2017-04-13 11:10:44 +03:00
vakrilov
a6909da543 Fix: TextAlign initial value 2017-04-12 17:43:40 +03:00
vakrilov
81aa5d2795 Remove getColor form utils.d.ts 2017-04-12 17:25:54 +03:00
Alexander Vakrilov
9aadf14685 Merge pull request #3980 from NativeScript/web-view-query-params
Web view query params
2017-04-12 13:58:41 +03:00
Panayot Cankov
7108fc6954 Merge pull request #3979 from NativeScript/fix-ios-zero-scale
Setting scale to 0 in iOS was actually using 0, it will now use 1e-6
2017-04-12 11:12:58 +03:00
Panayot Cankov
108f4c287d Inital animations were not played in android, since CSS in android is now applied before the native view is created/assigned 2017-04-12 10:40:45 +03:00
vakrilov
e9327e887d Respect query params in web-view 2017-04-12 10:38:26 +03:00
Panayot Cankov
078bd48909 Scaling to zero should be avoided in iOS as the underlying system won't be able to decompose the resulting affine matrix, but in cases of 0 we were setting it to 1, we will now set it to 1e-6. 2017-04-12 10:30:53 +03:00
Panayot Cankov
17b6f1c5f6 Property change notifications raise value and oldValue 2017-04-07 17:12:39 +03:00
Alexander Vakrilov
e5018c72f4 Merge pull request #3953 from NativeScript/ios-nav-title
Ensure navigation title view is removed if undefined
2017-04-07 14:43:48 +03:00
Panayot Cankov
92d015b8d8 Animations were always played as keyframes and kept overriding the local values. Android setAlpha has deprecated int overload, now it is guided to use the float one. Android background color was animated using css values instead of local or the keyframe one. 2017-04-06 14:50:40 +03:00
vakrilov
a598e2c90a Ensure navigation title view is removed if undefined 2017-04-06 13:21:23 +03:00
Alexander Vakrilov
70ae742f00 Merge pull request #3940 from NativeScript/web-view-nav-type
WebView NavigationType converted to type
2017-04-06 13:04:47 +03:00
Eddy Verbruggen
979c2fe850 Feature: New Dialog-Prompt-Input-Type for E-Mails (#3905)
* #3118 Feature: New Dialog-Prompt-Input-Type for E-Mails

* Forgot to change a comment

Changed Password to Email in a comment.
2017-04-06 12:41:04 +03:00
vakrilov
d427c9ed8f WebView NavigationType converted to type 2017-04-06 11:23:48 +03:00
Hristo Hristov
f350f7191d textTransform, whiteSpace & textAlignment defaultValue is now “initia” (#3948)
removed enum namespaces
add valueConverter to clipToBounds
2017-04-06 09:50:37 +03:00
Panayot Cankov
84e7424545 Merge pull request #3934 from NativeScript/fix-android-pathinterpolator
Fix android PathInterpolator
2017-04-04 13:50:43 +03:00
Hristo Hristov
5f14fc6a23 text-decoration won’t be applied to edit-text (#3932)
* text-decoration won’t be applied to edit-text

* stop printing slow tests

* remove console line

* fix failing tests

* fix wrong checks
2017-04-04 13:50:34 +03:00
Panayot Cankov
10f8cd4d2f Fix android PathInterpolator 2017-04-04 11:31:27 +03:00
Panayot Cankov
4105083dd4 Fix iOS animations, transition was workin in DIP, when css class is change objects were flickering 2017-04-03 17:17:59 +03:00
vakrilov
740d71a238 Apply page css when using nav-entry with create method 2017-04-03 14:51:57 +03:00
Hristo Hristov
00d82010ae propagate inheritable values only on child added. (#3926)
segmented bar createNativeView returns the nativeView
2017-04-03 11:08:11 +03:00
Alexander Vakrilov
b2c6cf2d01 Merge pull request #3861 from DickSmith/master
fix(ui) updateTextTrigger="focusLost" for Android
2017-04-03 10:33:39 +03:00
Hristo Hristov
120230c297 ios cornder radius is rendered as circle now (#3915)
* ios cornder radius is rendered as circle now

* fix failing test
2017-03-31 16:18:12 +03:00
Hristo Hristov
e802206f0e nativeView not cleared in iOS (#3912) 2017-03-31 11:01:04 +03:00
Alexander Vakrilov
7a1f1b2b80 Merge pull request #3891 from NativeScript/tab-view-text-transform
Initial value for text transform
2017-03-31 09:57:56 +03:00
Hristo Hristov
15e4d6a230 ActionBar wasn’t applying native setters becasue it was missing nativeView (#3910) 2017-03-30 18:38:48 +03:00
vakrilov
be85af4a0d Text transform - no default value 2017-03-30 18:35:55 +03:00
Alexander Vakrilov
12a03347ab Merge pull request #3856 from NativeScript/delete-special-properties
special-properties module removed
2017-03-30 13:39:05 +03:00
Nikolay Tsonev
ea954cf79d Merge pull request #3899 from EddyVerbruggen/eddyverbruggen/issue-3898-ios-requestheader-useragent
iOS http-request header User-Agent always reports iOS 6
2017-03-30 08:52:06 +03:00
eddyverbruggen@gmail.com
f196adac7c #3898 iOS http-request header User-Agent always reports iOS 6 2017-03-29 18:14:51 +02:00
Hristo Hristov
29e07dd027 Hhristov/fix tab view selected index (#3893)
* fix button ios color property when textDecoration is applied

* Button ios color set on titleLabel

* Coerce tabView selectedIndex after native items are set
2017-03-29 16:39:54 +03:00
Hristo Hristov
e6250e718a Disable recycling of native views
createNativeView will set iOS nativeView if it is null/undefined
2017-03-28 18:08:59 +03:00
Hristo Hristov
84e726e6b9 Resolving comments 2017-03-28 18:08:59 +03:00
Hristo Hristov
c18a76c93a rename:
_createNativeView to createNativeView;
_initNativeView to initNativeView
_disposeNativeView to disposeNativeView
_resetNativeView to resetNativeView
2017-03-28 18:08:59 +03:00
Hristo Hristov
f2898f84d5 NativeView recycled for android 2017-03-28 18:08:59 +03:00