39113f6fdd
Fix: Invalid value 500 for property fontWeight in XML
...
Resolves #3175
2016-11-28 16:42:44 +02:00
aa91b0eca0
Border width cannot be reset to 0 on IOS
2016-11-24 18:19:52 +02:00
2e13205797
CSS support for styling status bar ( #3156 )
2016-11-24 14:20:12 +02:00
30d202b5f1
Fix: Transparent border rendered as black
...
Resolves #3113
2016-11-21 12:25:13 +02:00
978bd8c524
Use setBackgroundDrawable for API < 16. ( #3108 )
2016-11-18 14:47:06 +02:00
5746dc5824
fix(style-scope): remove isFileOrResourcePath check
2016-11-14 14:32:25 +02:00
9ebc01b8e9
Add inset
CSS clip-path support
2016-11-10 14:41:32 +02:00
414ebc67dd
feat(style-scope): Resolve css sheets from tns_modules
...
If the css sheet is not in the app directory, try to find it in the
tns_modules folder.
2016-11-08 11:28:16 +02:00
d674d806aa
Use setColorFilter on post-21 ActionBars only
2016-11-07 14:13:31 +02:00
e507d6403a
Fix: Enhancement: Android Actionbar elevation lost with background-color
...
Resolves #1799
2016-11-03 16:49:12 +02:00
28f084e7d2
Fix: java.lang.NumberFormatException when applying clip-path with percentage values
...
Resolves #3007
2016-11-02 16:59:06 +02:00
ddd074b333
FIX: Don't apply css on unloaded
2016-10-31 09:45:57 +02:00
c46f216d31
SelectedBackgroundColor property exposed via css. ( #2973 )
2016-10-28 10:26:10 +03:00
e27995a889
tslint errors fixed
2016-10-27 15:33:39 +03:00
fd23197851
Merge pull request #2950 from NativeScript/raikov/scale
...
Added support for scale(x)
2016-10-27 15:08:34 +03:00
83e0ae4c85
Fix: CSS scale breaks background properties on iOS
...
Resolves #2911
2016-10-26 15:36:37 +03:00
0292a49ea2
Added support for scale(x)
2016-10-24 16:42:45 +03:00
9fc143ee03
Add support for TabView CSS
...
TabView {
tab-text-color: green;
tab-background-color: yellow;
selected-tab-text-color: red;
android-selected-tab-highlight-color: orange;
text-transform: uppercase;
}
2016-10-24 15:07:22 +03:00
071ef1607d
Fix: CSS border-width causes text to overflow TextView
...
Resolves #2789
2016-09-27 09:47:32 +03:00
08f9c941cc
Fix: CSS border-color does not recognize rgb and rgba values
...
Resolves #2781
2016-09-21 16:35:03 +03:00
52fb85acd3
Prevent padding from accumulating
...
Related to #2719
2016-09-19 10:48:48 +03:00
84c469d61b
Merge pull request #2745 from NativeScript/cankov-fix-specificity
...
Remove redundant specificity and rarity getter
2016-09-17 16:39:45 +03:00
e3e0faebdd
Remove the rarity getter too
2016-09-17 15:00:26 +03:00
4a650f9b94
Remove redundant specificity getter
2016-09-17 14:54:24 +03:00
a05f842a84
Non-uniform borders
2016-09-17 09:27:36 +03:00
1b568b56ca
Added tintColor property in Image view. It should be used instead of color
2016-09-16 16:29:08 +03:00
51bfa93879
Padding is not reset if the elements has a border-related property set
2016-09-14 17:17:20 +03:00
e895f37f0b
Apply getter check to determine if API is exposed as property or as method for iOS backward compatibility
2016-09-12 14:38:54 +03:00
e9ceb79b2e
Add placeholder-color style property.
2016-08-30 14:00:35 +03:00
1236f66f44
Add npm script that generates ios .d.ts-es from the tests app
...
Less than 30 erros left, let's hope it still works
Added lib.*.d.ts from typescript, removed lib and dom stuff, added by hand XHR, alert etc. .d.ts-es for polyfills
Roll back some changes involved in separating UIEvent for dom and ios
Test combined dts-es will now use lib, while internally we will not to avoid UIEvent conflict with dom stuff
2016-08-29 09:58:17 +03:00
fc0048c4a1
dependency-observable changes ( #2584 )
...
* Improved es6.d.ts
Small perf improvement in resetValues
* Fix tslint errors
* Removed all comments from es6.d.ts (TSLint hell)
2016-08-15 15:14:03 +03:00
c8cce0ebcb
Fixed paddings ( #2552 )
...
* Fixed paddings
* Fix tslint
2016-08-07 22:29:00 +03:00
7e5c29a163
Fix package.json "main" settings and remove .js references.
2016-08-04 16:24:29 +03:00
d73acb5497
Letter spacing in EM units
...
Resolves #2528
2016-07-29 14:16:05 +03:00
15d891cc08
Refactor application of text decoration, text transform, letter spacing and formatted text.
...
Related to #2427
2016-07-28 10:33:33 +03:00
2a94532865
Fix iOS font registration when bundling scripts.
...
Use fs.knownFolders to get the app dir
2016-07-26 16:49:50 +03:00
fc39fad959
Fix: CSS background-image on Label not loading in iOS
...
Resolves #2414
2016-07-21 09:45:50 +03:00
c1aeeb51a7
Inital by-type split
...
Split type.class from CssTypeSelector to CssCompositeSelector, probably support type#id.class selectors
Apply review comments, refactor css-selectors internally
Applied refactoring, all tests pass, button does not notify changes
Add tests for the css selectors parser.
Added tests for css-selectors
Added basic implementation of mayMatch and changeMap for css match state
Implemented TKUnit.assertDeepEqual to check key and key/values in Map and Set
Watch for property and pseudoClass changes
Add one child group test
Add typings for animations
Added mechanism to enable/disable listeners for pseudo classes
Count listeners instead of checking handlers, reverse subscription and unsubscription
2016-07-18 17:24:09 +03:00
1b00fe9a18
Unregister animations only once - on reset css
2016-07-15 11:42:04 +03:00
8d40782191
Style perf improvements ( #2342 )
...
* Add css-perf app.
* Style properties now check only properties that are set.
Image utils module required on top (instead of in onMeasure) to improve performance.
Remove try/catch block when Style applies native property.
* fix tslint
* Fix broken merge
Update package.json version
* Failed miserably - if the try/catch around applyProperty method is removed - TextField fails big time.
TextField needs some good refactoring as well as calls to _updateTextDecoration & _updateTextTransform
utils - setTextTransform & setTextDecoration should be split, typing support should be added.
2016-07-08 14:39:43 +03:00
2cff891ca0
Background borderWidth, borderColor, borderRadius and clipPath are now used on Android only and ignored on iOS
...
Related to #2318
2016-06-30 16:15:56 +03:00
ad05f55dc0
Fix: background-repeat is not respected
...
Related to #2318
2016-06-30 11:26:24 +03:00
7d3fb56def
Move border properties to Background to avoid unnecessary refreshes.
2016-06-27 09:41:53 +03:00
05a3f3c846
Remove optimisation
2016-06-24 16:23:01 +03:00
53a699b50b
Background performance optimizations
2016-06-24 14:49:11 +03:00
345b2a8163
Fix tslint errors
2016-06-20 12:18:36 +03:00
36fd83365c
Fix tslint errors
2016-06-20 12:13:39 +03:00
559a7c816e
Implement the BorderDrawable class used in background.android.ts in Java
...
Resolves #2318
2016-06-20 11:30:52 +03:00
6275c71c85
Merge pull request #2266 from NativeScript/raikov/fix-animationsync
...
Fixed animation value sync issues
2016-06-17 17:53:51 +03:00
9ac40a5acb
Fixed sorting issue with Css Selectors with same specificity.
2016-06-17 13:34:15 +03:00