1158 Commits

Author SHA1 Message Date
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
c822861929 Change hint color text 2017-03-02 15:45:34 +02:00
886fbb260d Include new ui tests for fonts 2017-03-02 10:17:36 +02:00
7bb457ef2b Upgrade to TypeScript 2.2
Fix typings, remove Request, etc clashes with the new lib.dom.d.ts
2017-02-24 17:28:18 +02:00
45a0292c57 Length and PercentLengths should now be compared using 'equals' 2017-02-24 11:27:13 +02:00
06970d058a Mass replace fontAttributes with fontWeight and fontStyle 2017-02-23 17:09:19 +02:00
dc97ed24f9 Fix flexbox css not applied. Fix addCss duplicating some selectors. 2017-02-23 16:41:08 +02:00
6bca3732e3 The test was redesigned, but the lines resetting the text properties were missing 2017-02-22 15:09:48 +02:00
6a2c94a94e Revert listview tests 2017-02-21 15:28:37 +02:00
8945529188 Gestures/view circ-dep and examples cleanup 2017-02-21 10:04:42 +02:00
06908de826 Include test for listview with separator color 2017-02-20 17:31:10 +02:00
70b2ab2f54 Merge pull request #3620 from NativeScript/tsenov/status-bar-page
Update status bar test page
2017-02-20 17:25:07 +02:00
124c9c8881 Minor fixes 2017-02-20 17:22:12 +02:00
de2c449bc9 Update status bar test page 2017-02-20 17:17:40 +02:00
531b33d02b fix background example (#3663) 2017-02-20 13:48:30 +02:00
a582adc561 Hhristov/fix (#3653)
* Fix action-bar systemIcon
Fix CSS applying

* refactoring

* fix console

* remove StyleScope import - it is private and cannot be imported in public .d.ts
2017-02-17 17:21:57 +02:00
e7017a9bc5 Tab view fixes 2017-02-17 15:03:12 +02:00
b2cf286948 Fixed text decoration tests, Color will now store just a single argb info in 32bit unsigned int internally and covert to a/r/g/b or hex when necessary 2017-02-17 14:45:31 +02:00
3c6523fd13 updated apps and tests tsconfigs 2017-02-16 15:21:34 +02:00
86481cce4a Make typings compatible with @types/node.
Fixes name clashes and uses Node-compatible typings where possible.

Changes:
 - setTimout et al now return NodeJS.Timer instead of number
 - No "console" module anymore. Everyone uses it through global.console
 anyway.
 - We have a typed "global" instance with exposed properties now. Any
 "freeform" accesses must go through a `(<any>global).blah` cast.
 - remove tns-core-modules.{base,es6,es2015}.d.ts. Those were needed
 as workarounds for the ES6/DOM/Node type clashes.
2017-02-15 13:01:10 +02:00
3056ce51c2 Upgrade to TypeScript 2.1, and latest grunt-ts.
Conflicts:
	package.json
	tests/app/ui/animation/animation-tests.ts
	tns-core-modules/lib.core.d.ts
	tns-core-modules/ui/animation/animation-common.ts
2017-02-13 14:13:33 +02:00
87f936bcd8 Fix: ListView not showing first items of VirtArray 2017-02-09 16:55:28 +02:00
4ce4b12859 IOS http premission 2017-02-09 16:55:28 +02:00
b12f112a44 Fixed tslint errors 2017-02-08 17:14:20 +02:00
5265bf0ae3 Animation properties and some backward compatability with the QSF 2017-02-08 10:52:54 +02:00
4440569522 UI test: Transparent Action Bar example 2017-02-03 17:07:25 +02:00
3770f7e636 formatted text fix (#3531)
* Fix formattedText implementation for iOS
Fix typeof undefined checks
Add slow tests message
Improve tests speed

* fix tslint
reduce transitions duration in test

* waitUntilReady will throw if timeout
fix tests that needs to wait without throwing
improve test speed
2017-01-26 18:21:30 +02:00
0dd8f985c4 Add animations demo to the gallery app, make vertical alignment center and visibility collapsed backward compatible 2017-01-25 13:17:33 +02:00
d448f3dc7f Animated nav-bar 2017-01-25 10:48:48 +02:00
dad5e79df3 test moved to ui-tests-app (#3485)
Should be tested with no connection
2017-01-13 14:38:19 +02:00
819155fb18 Minor fixes + more green tests 2017-01-12 16:20:38 +02:00
e856f27945 Include test for issue 1657 (#3457) 2017-01-11 16:51:49 +02:00
a2d2f65adc Call resetCSSProperties instead of resetStyleProperties from _resetCssValues 2017-01-06 14:06:32 +02:00
d9b827e427 FIX: package.json 2017-01-05 16:24:14 +02:00
c30be0d606 View lifecycle methods 2017-01-04 17:18:45 +02:00
55028b0c92 Fix: Custom components within other custom components: occasionally not loaded "in time" and ignoring css
Resolves #1639
2017-01-03 11:05:15 +02:00
9d351221fb Fix WebView 2016-12-27 13:54:42 +02:00
0ec9950d46 Padding 2016-12-22 14:45:41 +02:00
7931ecd4f8 Fix tslint errors 2016-12-21 17:42:31 +02:00
4cd3eed1cd Trying to fix padding... 2016-12-21 14:30:34 +02:00
f5905f072d fix tab-view, segmented-bar, action-bar, all ViewBases (#3340) 2016-12-21 12:02:02 +02:00
417064fd38 Fix Android lifecycle 2016-12-20 16:12:52 +02:00
3cfab990c4 Comment out TabView which does not compile 2016-12-20 14:23:37 +02:00
d9ab6b960a working on tab-view 2016-12-20 14:08:13 +02:00
d10ca1da03 Fix the last several errors 2016-12-20 13:36:10 +02:00
295f9a432f apps app can now compile 2016-12-20 11:35:04 +02:00
9236517fcb GridUnitType enum + fixes 2016-12-20 11:21:31 +02:00
bde5687273 Fixed ~60 tsc errors 2016-12-20 10:55:49 +02:00
6feeb140e3 Fixing type errors in tests 2016-12-19 10:36:25 +02:00
51e448aa10 Fixed: getViewById, TextDecoration 2016-12-15 13:20:25 +02:00