37 Commits

Author SHA1 Message Date
39cbcad115 asdf 2019-10-14 13:10:14 +03:00
1a0c81f02a refactor(EditableTextBase, Button) rename PseudoClass update handlers to be more specific (#7404) 2019-06-26 18:39:27 +03:00
4f39fb728b chore: update tslint rules (#7391) 2019-06-26 15:13:48 +03:00
46705ee332 refactor(core-modules): implement createNativeView and initNativeView for all components
refactor(core-modules): implement createNativeView and initNativeView for all components
2018-09-26 13:59:12 +03:00
0f14101238 recycling now happens only if nativeView and android properties are not accessed. (#4627)
recycleNativeView filed now accepts: "always" | "never" | "auto". Always will recycle the nativeView no matter if its nativeView or android proprties are accessed. Never will disable recycling. Auto will recycle it only if nativeView and android properties are not accessed.
2017-08-01 15:04:16 +03:00
e33eca63d6 Implement custom measure for ios btn when textWrap is true (#4326)
Implement custom measure for ios btn when textWrap is true
2017-06-08 10:29:50 +03:00
51ccdb0820 Revert button text alignment 2017-05-31 17:21:17 +03:00
9551418b15 Fixing Button text alignment behavior
This change switches iOS Button text alignment from using the generic `nativeView.contentHorizontalAlignment` to using the Button's `nativeView.titleLabel.textAlignment`. This change allows text in a Button to properly center align when wrapped on to multiple lines. Left and Right alignment behavior are unchanged, but using new syntax for consistency.
2017-05-30 13:31:39 +03:00
f350f7191d textTransform, whiteSpace & textAlignment defaultValue is now “initia” (#3948)
removed enum namespaces
add valueConverter to clipToBounds
2017-04-06 09:50:37 +03:00
2b28730011 Split get/set native to getDefault setNative 2017-03-22 16:37:52 +02:00
629eb6e683 Use relative imports in tns-core-modules.
Use tns-core-modules/* imports in outside code (apps, tests, etc)
2017-03-13 14:37:59 +02:00
7e02f6ac73 Padding for various iOS controls was not reflected the px/dip change 2017-03-13 10:56:33 +02:00
709dff0258 fix horizontal text-align for Button in iOS, use horizontalContentAlign of the native button 2017-02-21 16:01:53 +02:00
14e1da5820 Style-properties tests 2017-01-09 17:24:38 +02:00
eba5534197 Make some Button tests pass for iOS 2016-12-27 14:54:30 +02:00
c66e3e8ab5 Fix tslint errors 2016-12-27 13:20:59 +02:00
70cc1dd5d9 Move the effective* values from style to this 2016-12-27 10:57:10 +02:00
7931ecd4f8 Fix tslint errors 2016-12-21 17:42:31 +02:00
93d4fa5d57 Total TextBase refactoring + several bug fixes. 2016-12-16 14:54:00 +02:00
1202cb7288 almost all without layouts 2016-12-13 15:51:18 +02:00
645f428f59 alpha1 2016-12-13 15:51:18 +02:00
bb2c7aa60a partial state 2016-12-13 15:51:18 +02:00
e4c21258a3 More files migrated. 2016-12-13 15:51:18 +02:00
a63f46ee83 Added pressed, active and disabled states for button. 2016-10-24 09:16:23 +03:00
a05f842a84 Non-uniform borders 2016-09-17 09:27:36 +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
33f5c901a8 Fix: Button with text-decoration can't change text
Resolves #2615
2016-08-23 15:00:59 +03:00
501ad372d7 Optimization 2016-08-22 18:13:32 +03:00
d3f6e7d384 Remove a console.log 2016-08-22 18:06:09 +03:00
416144b970 Add button.ios.ts to the commit 2016-08-22 18:05:22 +03:00
996858825c Fix: Text color of the Button not applied, when text-transform has been set.
Resolves #2601
2016-08-22 15:43:45 +03:00
44a3b32fa6 Fixed: There is an exception when removing a button 2016-08-17 16:09:38 +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
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
743a2efb4a Optimized DependencyObject setValue performance (#2260)
* Cached all properties from metadata as fields on Property
ResetValue does not remove entry but only reset value for the given ValueSource (Local by default)
Optimized setValueInternal performance

* Removed TS dependency

* Fix tslint
2016-06-07 15:30:09 +03:00
e135c20b14 Rename the files 2016-05-26 14:30:25 +03:00