61 Commits

Author SHA1 Message Date
eda260323e Add a flag we can use to skip string template calcs in release 2016-05-17 16:43:41 +03:00
ebed79da36 clip-path support added 2016-05-13 17:31:55 +03:00
b7e0d33387 z-index support added 2016-04-19 16:39:17 +03:00
bd687d552a Add support for CSS font-weight + sample app for testing fonts
Resolves #1862
2016-04-15 14:14:00 +03:00
56f80f3c5c Merge pull request #1855 from NativeScript/letter-spacing
Letter spacing CSS support added
2016-03-29 15:10:12 +03:00
1c759649df Letter spacing CSS support added 2016-03-29 09:45:03 +03:00
073cc94926 implemented CSS animations
fixing animation tests
2016-03-25 15:26:48 +02:00
bda6159bbb Re-apply TextBase.formattedText after a style property change
Resolves #1078
2016-02-25 11:01:44 +02:00
5364e395fa Fix: background properties not respected with remote background image 2016-02-10 11:32:13 +02:00
56f1aaa795 Do not use lazy requires where not needed. 2016-01-25 16:33:18 +02:00
d50e2fdb37 stylers removed 2015-12-22 16:12:18 +02:00
074ac89871 imports improved 2015-12-17 14:53:46 +02:00
1dbb742908 Implemented percent support for width, height and margins 2015-12-15 14:36:27 +02:00
3650a6f4fe font-family implemented 2015-12-10 13:52:13 +02:00
d61ab801e9 Fix native image recreated on layout even if the view is not resized 2015-12-03 16:55:54 +02:00
a6ab11a60b text-transform added 2015-11-18 16:34:02 +02:00
93cf00389e white-space CSS support added 2015-11-11 16:04:32 +02:00
a651db8501 multiple text-decoration values support added 2015-11-06 15:04:47 +02:00
bc68f1eabb overline removed 2015-11-06 11:44:01 +02:00
45394f9672 initial commit 2015-11-05 16:00:10 +02:00
67624cfe57 Fixed black background on some controls in iOS. 2015-10-23 18:49:56 +03: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
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
619c2fe665 global.android replaced with platform.device.os === platform.platformNames.android 2015-10-16 09:20:46 +03:00
68bc24a5a5 Action bar title color stylers 2015-10-13 16:10:03 +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
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
c05cd6acb8 Change .android to ._nativeView.
Change two AffectsLayout options to None for android.
2015-08-28 16:59:50 +03:00
216b6a57f7 Fixed AffectsLayout 2015-08-06 15:41:19 +03:00
59d6dbb224 Fixed all merge problems. 2015-08-06 14:58:55 +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
5322dd19b2 Fix Image source property to have None metadata for android - no need for layout invalidation from JS.
ClipToBounds implementation added back.
Optimization in style.ts to set native properties at once.
Fix height of CommonLayoutParameters.
2015-08-03 18:18:42 +03:00
bd50fb5550 Fixed several unit-tests 2015-08-03 13:49:08 +03:00
41168d3782 Layouts are now implemented natively for Android. 2015-08-03 13:49:03 +03:00
42e5e9aac0 Fix merge error 2015-08-03 13:48:51 +03:00
0ad198165c Layouts are now implemented natively for Android. 2015-08-03 13:48:41 +03:00
4a6c841f0e Fix: crashes when applying css 2015-07-28 09:56:27 +03:00
f3979136a4 Frobit setting inline style from code 2015-07-07 15:02:32 +03:00
6017a208a0 Setting inline style - resets local properties 2015-07-06 17:29:39 +03:00
d74d9b8fbb Css properties progress 2015-07-06 17:29:38 +03:00
a995b84119 logic simplified and test added 2015-06-29 10:55:03 +03:00
3d93237e00 visibility fixed 2015-06-29 09:34:24 +03:00
9e597976c1 Fix: PR comments 2015-06-26 16:19:19 +03:00
7803ba97b5 Font shorthand property 2015-06-26 11:12:48 +03:00
e83a82e2e2 Property validation 2015-06-26 11:12:46 +03:00
1433f72509 Css font properties 2015-06-26 11:12:45 +03:00
e3f1f987cc Removed property 2015-06-25 15:46:27 +03:00
a8389a3724 Style class to support batch changes before updating native instance. 2015-06-25 15:16:30 +03:00
9b934432aa border props added to view 2015-06-18 10:24:25 +03:00