Commit Graph

28 Commits

Author SHA1 Message Date
Hristo Hristov
a64bba62aa whiteSpace default value change to undefined (#3782)
TKUnit default message change to empty string
isSet method is now instance method of Property classes
fix detaching from parent bindingContext - were using oldParent.parent instead of parent
editable-text-base.android - onTextChanged implementation commented. Does nothing.
frame - onCreateView wrapped in try/catch and shows label with exception message if any
text-base.android - should support reset of nativeView. TransformationMethod won’t be set if TextField is secure
Change some types to their string couterparts
TextField.android won’t support multilines anymore in order to work as iOS
In android when page is removed from native backstack we won’t call tearDownUI again a second time
2017-03-14 10:26:45 +02:00
Hristo Deshev
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
Panayot Cankov
7e02f6ac73 Padding for various iOS controls was not reflected the px/dip change 2017-03-13 10:56:33 +02:00
Hristo Deshev
b45cbe929b No more ambient modules for tns-core-modules/* subpackages.
- Use path mappings in tsconfig.json to resolve module typings
- Only use ambient mobules for global API's
- Move single-file modules to a subdir with the same name so that
we can provide a hand-written typing next to it (via package.json)
- Delete all mentions of tns-core-modules.d.ts
- Delete reference d.ts assembly build steps. Not needed anymore.
- HACK! Use a <reference> for global typings in application.d.ts
to avoid publishing a separate @types/tns-core-modules package.
- Rename declarations.d.ts to tns-core-modules.d.ts to preserve
JS project mappings in references.d.ts (the only place we use those)
2017-03-07 17:59:02 +02:00
Hristo Hristov
ea22eb9c20 refactoring circular imports 2017-03-06 14:05:55 +02:00
Nedyalko Nikolov
cd7877dfa0 Text field tests fixed. 2017-01-13 11:41:12 +02:00
Rossen Hristov
cc337094e9 Fix text & fromattedText failing tests 2017-01-12 14:12:41 +02:00
Rossen Hristov
45ac38d968 Refactor formatted text 2017-01-11 16:37:23 +02:00
Hristo Hristov
309ea148e1 Fix setting text property to number. (#3449)
Fix setting JS property from native.
2017-01-09 18:13:31 +02:00
Rossen Hristov
cce0a2d42f Fix all property types 2017-01-04 10:21:03 +02:00
Panayot Cankov
70cc1dd5d9 Move the effective* values from style to this 2016-12-27 10:57:10 +02:00
vakrilov
432a849d99 FIX: setInputType of undefined in Android 2016-12-21 14:26:46 +02:00
Rossen Hristov
2aebdd800c Fix apps runtime crashes 2016-12-20 14:09:28 +02:00
Hristo Hristov
19ee47ba24 got to layouts 2016-12-13 15:51:18 +02:00
Hristo Hristov
07e2102c5d restore properties deleted with merge 2016-12-13 15:51:18 +02:00
Hristo Hristov
fac4f42503 adding features deleted from rebase 2016-12-13 15:51:18 +02:00
Hristo Hristov
1202cb7288 almost all without layouts 2016-12-13 15:51:18 +02:00
Hristo Hristov
94dee2973a . 2016-12-13 15:51:18 +02:00
Hristo Hristov
bb2c7aa60a partial state 2016-12-13 15:51:18 +02:00
Hristo Hristov
e4c21258a3 More files migrated. 2016-12-13 15:51:18 +02:00
vakrilov
8101a68c25 Fixed(IOS): Setting placeholder color on text filed crashes if no hint is set 2016-12-05 15:16:21 +02:00
Shripal Soni
d43dd159c2 Fix for issue #3181 to maintain cursor position on toggle of secure field. (#3197) 2016-11-29 16:06:33 +02:00
Rossen Hristov
a05f842a84 Non-uniform borders 2016-09-17 09:27:36 +03:00
Nedyalko Nikolov
e9ceb79b2e Add placeholder-color style property. 2016-08-30 14:00:35 +03:00
Panayot Cankov
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
Hristo Deshev
7e5c29a163 Fix package.json "main" settings and remove .js references. 2016-08-04 16:24:29 +03:00
Rossen Hristov
15d891cc08 Refactor application of text decoration, text transform, letter spacing and formatted text.
Related to #2427
2016-07-28 10:33:33 +03:00
Panayot Cankov
e135c20b14 Rename the files 2016-05-26 14:30:25 +03:00