54 Commits

Author SHA1 Message Date
1d49f5f3c3 fix padding on text-view & text-field (#3758)
* fix padding on text-view & text-field
text-base is now snapshotable
view.android is now snapshotable

* createNativeView returns the nativeView for android
Fix image tests
Implement test for image loaded from res://
EffectivePaddings updated when nativeView have some from its native theme
2017-03-09 16:09:53 +02:00
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
b7a32153d8 Fix: Make status-bar properties CSS again 2017-03-07 15:27:27 +02:00
ea22eb9c20 refactoring circular imports 2017-03-06 14:05:55 +02:00
33aa48bdfd Add support for snapshot
Fix Layout class getMeasuredWidth & getMeasuredHeight
Move some classes to widgets
Fix API17 tests
2017-03-06 14:05:55 +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
6b61335675 Fix: Modal crashes in Android and IOS 2017-01-30 15:41:45 +02:00
00589c801d FIX: disappearing navigation bar on back 2017-01-27 15:00:33 +02:00
d448f3dc7f Animated nav-bar 2017-01-25 10:48:48 +02:00
329ba3a2c5 Page tests fix. 2017-01-16 19:28:08 +02:00
fec5e92dbe Fix tracing 2017-01-16 13:29:46 +02:00
f634f29df0 Frame test 2017-01-10 14:08:54 +02:00
a2d2f65adc Call resetCSSProperties instead of resetStyleProperties from _resetCssValues 2017-01-06 14:06:32 +02:00
43f5f117a7 Fix minor tslint errors 2017-01-04 17:37:56 +02:00
ea95d1d854 remove unneeded applyNativeSetters 2017-01-04 17:18:45 +02:00
c30be0d606 View lifecycle methods 2017-01-04 17:18:45 +02:00
ac59c1b082 Add nativeView in page.ios.ts and get the UIViewControler view as nativeView 2016-12-27 13:12:58 +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
f5905f072d fix tab-view, segmented-bar, action-bar, all ViewBases (#3340) 2016-12-21 12:02:02 +02:00
63e4139a65 Merge branch 'hhristov/modules30' into alignments 2016-12-19 17:27:49 +02:00
8ac7c8d574 HorizontalAlignment and VerticalAlignment 2016-12-19 16:25:08 +02:00
6feeb140e3 Fixing type errors in tests 2016-12-19 10:36:25 +02:00
f75f583573 tns-core-modules done 2016-12-13 15:51:18 +02:00
19ee47ba24 got to layouts 2016-12-13 15:51:18 +02:00
befb494a50 up to segmented-bar.ios 2016-12-13 15:51:18 +02:00
fac4f42503 adding features deleted from rebase 2016-12-13 15:51:18 +02:00
1202cb7288 almost all without layouts 2016-12-13 15:51:18 +02:00
a64847ca9d next 2016-12-13 15:51:18 +02:00
bb2c7aa60a partial state 2016-12-13 15:51:18 +02:00
2e13205797 CSS support for styling status bar (#3156) 2016-11-24 14:20:12 +02:00
2d640ddeda Merge pull request #3093 from NativeScript/raikov/fix-2870
Fixed: ActionBar w/translucent navigationBar set to false is creating whitish transition
2016-11-24 13:16:35 +02:00
91083a4ea4 Fix: Modal dialogs don't have background color
Resolves #3129
2016-11-21 14:07:46 +02:00
3f578741f7 Fixed: ActionBar w/translucent navigationBar set to false is creating whitish transition 2016-11-15 13:11:04 +02:00
a0cd3b0f39 Fixed: jumping action bar reported in #2941 2016-11-10 11:21:05 +02:00
75cab33f8f Percent support of margin of layouts/frame/page/contentview 2016-10-20 11:29:21 +03:00
eab903e9e0 Existing iOS integration app support added 2016-10-13 18:15:24 +03:00
8c8ad99459 property renamed to enableSwipeBackNavigation 2016-10-04 18:02:06 +03:00
53a60e2553 Added iosSwipeBackNavigationEnabled 2016-10-04 17:42:36 +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
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
7e5c29a163 Fix package.json "main" settings and remove .js references. 2016-08-04 16:24:29 +03:00
2dc9827721 FIX: Wrong isBackNavigation value 2016-07-25 11:47:07 +03:00
ef6a24a5de FIX: isBackNavigation worng when navigation away form page that is not backstack visible 2016-07-20 11:54:53 +03:00
849736e35e Merge pull request #2465 from NativeScript/css-hash-lookup-2
CSS refactoring
2016-07-19 17:59:10 +03:00
ffec9c3ad6 Make the new bindingContext parameter optional. 2016-07-19 13:22:52 +03:00
39050861f3 Add NavigationEntry.bindingContext property
Resolves Issue  #731
2016-07-19 12:06:29 +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
0dcb0c9b36 Remove the _originalBindingContext caching 2016-07-18 14:24:15 +03:00
36ae896933 Fix: Set the binding context of a page automatically when navigated to.
Resolves #731
2016-07-18 13:40:13 +03:00