123 Commits

Author SHA1 Message Date
bba7931e5b Fixed #1002: Inherited dependency properties with value false are not inherited down the visual tree. 2015-11-16 09:52:09 +02:00
82d923a0a3 Fixed #1082: Null reference exception in view.android.setOnTouchListener method 2015-11-11 15:38:53 +02:00
3aed89ca89 Merge pull request #1040 from NativeScript/frame.origin.y
Patch for IQKeyboardManager issue.
2015-11-06 09:42:57 +02:00
363a44139f binding to special properties fixed 2015-11-05 16:31:43 +02:00
ea24a244c9 Fixed several tslint problems. 2015-11-05 16:03:05 +02:00
dec5d971f3 Patch for IQKeyboardManager issue. 2015-11-05 15:29:35 +02:00
e7c4209112 Resolved issues #789, #1021, #1031. 2015-11-03 16:20:36 +02:00
70041bd999 Don't expose platform types in public d.ts files.
Use any. Add a comment with the real type.
2015-10-30 17:17:29 +02:00
b0ff7a46bb Merge pull request #974 from NativeScript/switch-css
Switch color and background-color css support added
2015-10-22 13:14:18 +03:00
aef7256e69 Enabled bindings to events and gestures for Bindable instead of View. 2015-10-21 16:43:09 +03:00
129c305942 _boundsChanged method added 2015-10-21 13:20:48 +03:00
c9744b7474 Don't apply default values on syncNative 2015-10-21 10:48:21 +03:00
2f7cf84839 Fixed issue 597. 2015-10-20 15:42:18 +03:00
76fa713c85 Break a circular import view-application-view.
By late-importing application in bindable and stylers-common.
2015-10-16 13:53:35 +03:00
619c2fe665 global.android replaced with platform.device.os === platform.platformNames.android 2015-10-16 09:20:46 +03:00
44e4296d80 Merge pull request #931 from NativeScript/vertical-alignment-middle
vertical-alignment middle support added
2015-10-15 10:31:16 +03:00
19b03bbbb9 vertical-alignment middle support added 2015-10-14 09:42:29 +03:00
68bc24a5a5 Action bar title color stylers 2015-10-13 16:10:03 +03:00
d6e0a2b598 Fixed index property accessors are treated as expressions. 2015-10-12 14:49:36 +03:00
171e545213 isLoaded is set before calling applyStyleFromScope 2015-10-07 11:13:29 +03:00
0ecb5d4dcd Implement Page background option to span under status bar (iOS only for the moment) 2015-10-06 14:35:59 +03:00
e7156b53bd Fixed issue #814. 2015-10-01 16:13:51 +03:00
e27bb4c453 Merge pull request #854 from NativeScript/nnikolov/BindingContextSetBeforeAddingToVisualTree
BindingContext will be set before adding items to visual tree (ListView, Repeater).
2015-09-30 13:36:25 +03:00
113a1b6a69 placeholder creatingView event fixed + tests 2015-09-30 11:26:42 +03:00
0b6ca23e25 BindingContext will be set before adding items to visual tree (ListView, Repeater). 2015-09-30 11:18:46 +03:00
77838ae9c6 Change from "classic" TS 1.6 imports to the default resolution scheme.
- Use relative imports in place of most of our absolute ones.
- Add "private" ambient modules for modules that we need to import using
an absolute path (e.g. when app/.../test-something.ts needs to import
ui/styling/style-scope)
2015-09-29 16:25:49 +03:00
11f01e26c1 Set bound along the frame property for iOS layouts. Setting bounds will reapply the transform. 2015-09-28 12:24:18 +03:00
beef7f9372 Fixed: If an Animation instance is played more than once, the same promise is resolved each time leading to unexpected results. #774 2015-09-21 13:27:10 +03:00
36036c55b1 support of [on]event/gesture added + tests 2015-09-18 16:55:39 +03:00
d39913b6e6 className property added cssClass deprecated 2015-09-18 13:31:08 +03:00
744de9670e Class atribute registered and used instead cssClass 2015-09-18 09:47:55 +03:00
81c066e5e3 Support for binding expressions in event bindings 2015-09-12 11:02:32 +03:00
254e4a55a1 AppCompat toolbar 2015-09-04 13:48:43 +03:00
e18e7777a1 Added View.translateX, View.translateY, View.scaleX, View.scaleY, View.rotate properties. 2015-09-03 11:46:12 +03:00
bc4ebd569c Fixed multiple gestures for Android 2015-09-01 15:44:38 +03:00
221fb34102 Merge pull request #646 from NativeScript/gestures-with-on-off
gestures now can be added with on() and removed with off()
2015-09-01 09:37:32 +03:00
17cdbbaf46 gestures now can be added with on() and removed with off() 2015-08-31 16:44:35 +03:00
fc3c52691e Fixed issue with binding when there is no sourceProperty set. 2015-08-31 15:50:12 +03:00
3a0cc32ff2 Fix for Button padding in android.
Fix for types - isString and isNumber.
Modified several tests to pass on VS Emulator for Android.
Fix page background to be applied in onLoaded method.
Enhancements for dependency-observable - it is now possible to add defaultValueGetter function to extract default value for a property. It can also be cached or not.
Remove android_constants because they are per theme and we cannot use them safely.
Fix for SearchBar reseColorProperty method.
2015-08-28 16:59:52 +03:00
8112a6f0d9 Merge pull request #632 from NativeScript/view-setStyle
setInlineStyle implementation + test
2015-08-28 13:50:16 +03:00
881c378a4e Made TabViewItem bindable. 2015-08-28 12:55:28 +03:00
0aec988251 setStyle renamed to setInlineStyle 2015-08-28 11:18:25 +03:00
035e381673 throw error if not string 2015-08-28 11:16:26 +03:00
3fb4b59b87 setStyle implementation + test 2015-08-28 10:46:35 +03:00
a57d52a304 Added support for binding to multiple observable objects (properties). 2015-08-25 16:18:07 +03:00
6a6f7fcf92 Fix ListView module to check for layoutBase instead of Layout
Remove some unnecessary traces
2015-08-11 15:28:39 +03:00
a526e6cec8 Making tslint happy. 2015-08-07 18:26:29 +03:00
c5608d7c5c Brought back the viewModule.getAncestor function.
Extended it, so you can pass actual type instances instead of strings.
2015-08-07 18:26:29 +03:00
141668bb05 Fix applying app CSS to template children when using custom pages.
No longer using getAncestor(view, "Page") to look for a pagey parent.
Replaced that with a View.page property. Removed getAncestor as its type
name-based implementation seems unreliable.
2015-08-07 18:26:21 +03:00
abc9faccfa Added Padding+Border support for Label, Button, TextField and TextView for both platforms. Only iOS TextView does not support them. 2015-08-06 14:58:53 +03:00