Commit Graph

4971 Commits

Author SHA1 Message Date
Vasil Chimev
9ef9ee1f3f test: add scroll view tests 2018-09-21 16:25:56 +03:00
Martin Yankov
2d2144f02e fix safe area calculations with flat action bar 2018-09-20 10:51:58 +03:00
Martin Yankov
c3ee667015 minor fix for page options helper 2018-09-18 17:50:14 +03:00
Martin Yankov
226ab3caa6 add test for page overlay controls 2018-09-18 16:37:59 +03:00
Martin Yankov
8a7d672703 change buildUI function to accept options param 2018-09-18 11:25:28 +03:00
Vasil Chimev
6a07b04df1 test(safe-area): add flexbox layout tests 2018-09-13 15:20:59 +03:00
Vasil Chimev
1f75e944f2 test: refactoring and formatting 2018-09-13 11:27:47 +03:00
Vasil Chimev
b871950f8a test(safe-area): add wrap layout tests 2018-09-12 17:01:25 +03:00
Vasil Chimev
edf2d013d1 test(safe-area): add absolute layout tests 2018-09-12 16:14:06 +03:00
Vasil Chimev
cdcb3549b0 test(safe-area): add stack layout tests 2018-09-12 15:32:06 +03:00
Vasil Chimev
74b84e5c1a test(safe-area): add dock layout tests 2018-09-11 16:13:44 +03:00
Martin Yankov
c9f8de9d7c move safe area tests to a new category 2018-09-10 16:53:52 +03:00
Martin Yankov
16a131f040 Merge branch 'master' into ios-safe-area 2018-09-10 16:13:25 +03:00
Martin Yankov
ce59a3d7a1 wip grid layout tests 2018-09-10 16:12:17 +03:00
Manol Donev
cca548d31a refactor: AndroidFrame.hasOwnActivity cleanup (#6241) 2018-09-10 11:25:08 +03:00
Vasil Chimev
131a2248ef test: grid layout safe area 2018-09-07 17:27:35 +03:00
Nick Iliev
b9fc373eb8 feat: add platform declarations for Android API 28 (Android 9) (#6243)
* feat: add platform declarations for Android API 28 (Android 9)

* updates support file for Android 28 declarations
2018-09-07 15:36:31 +03:00
Svetoslav
9f23be1a2c fix: include mocha and chai typings (#6246) 2018-09-07 14:49:21 +03:00
Vasil Chimev
8df6971f35 test: extract layout-tests-helper 2018-09-07 14:45:58 +03:00
Vasil Chimev
1c05c8b45e test: refactor flexbox layout tests 2018-09-07 14:02:04 +03:00
Martin Yankov
9f7bb0f5ae Add WIP Gridlayout tests 2018-09-05 17:59:02 +03:00
Manol Donev
ca0043701b refactor: remove obsolete ViewHelper.setBackground method (#6240) 2018-09-05 17:35:59 +03:00
Teodor Dermendjiev
f54f71bc60 feat(iOS): update platform declarations
- add `objc-x86_64` architecture typings
- remove `objc-i386` architecture typings
- add `vector` typings
- change
```
(method) NSArray<ObjectType>.arrayWithArray<{}>(array: NSArray<{}>): NSArray<{}>
```
to
```
(method) NSArray<ObjectType>.arrayWithArray<string>(array: string[] | NSArray<string>): NSArray<string>
```

* Export typings on for iOS 11 x86_64

* fix: Export typings with fixed NSArray parameters

* Export typescript declarations for iOS 11.4

* Update reference path with the new typings folder

* feat: Create a script for auto typings generation

* Export typings on for iOS 11 x86_64

* fix: Export typings with fixed NSArray parameters

* Export typescript declarations for iOS 11.4

* Update reference path with the new typings folder

* feat: Create a script for auto typings generation

* chore: update .gitignore and .npmignore

* fix: Update constructor methods accepting NSArray parameters

* chore: Update manual changes flag for typings generation
2018-09-05 11:50:02 +03:00
Vasil Chimev
acb544b16d tests: add iosOverflowSafeArea=false to Flexbox 2018-09-05 10:19:38 +03:00
Vasil Chimev
d5726b8310 tests: comment out page scroll content tests 2018-09-04 14:16:24 +03:00
Vasil Chimev
e1828d56cd refactor: rename iosExpandSafeArea to iosOverflowSafeArea
Update type definitions.
2018-09-04 11:26:20 +03:00
Vasil Chimev
4379760dab refactor: delete isContentScrollable function
BREAKING CHANGES:

The `scrollableContent` property is no more - use `iosExpandSafeArea` instead.
2018-09-04 10:25:28 +03:00
Martin Yankov
4fceb54451 fix tabview safe areas 2018-09-04 10:23:35 +03:00
Vasil Chimev
9553535d2d tests: throw modalCloseCallback with timeout
This is to avoid failures in tests execution where `modalCloseCallback` throws.
Delete unused imports and a const.
2018-09-03 17:04:53 +03:00
Martin Yankov
4f8d4a66cd fix scrollview 2018-09-03 14:48:18 +03:00
Manol Donev
43f0fd0ffc refactor: remove ununsed Layout class (#6228) 2018-08-31 15:00:16 +03:00
Vasil Chimev
7aed1e2b95 chore(tests): update runtimes to 4.2 2018-08-30 22:53:03 +03:00
Vasil Chimev
e979139aff test: delete PAGE.test_percent_margin_support
This case has been handled per layout.
2018-08-30 22:19:32 +03:00
Vasil Chimev
9f8d15701f refactor: add locationInWindow usage 2018-08-30 15:11:22 +03:00
Martin Yankov
8f2268b492 add safe area support to flexbox 2018-08-29 16:10:32 +03:00
Martin Yankov
7c64910268 change colors to more contrasting ones 2018-08-29 16:08:47 +03:00
Martin Yankov
f3b3a47eaa remove rounding when conversing to native pixels 2018-08-29 16:07:23 +03:00
Vasil Chimev
fc64bfb551 chore: fix a tslint error 2018-08-29 13:30:30 +03:00
Vasil Chimev
3c43657cdc refactor: View.applySafeAreaInsets(frame)
Split to `ios.shrinkToSafeArea()` and `ios.expandBeyondSafeArea()`.
Update trace logs.
2018-08-29 11:22:21 +03:00
Vasil Chimev
b8fec327dd refactor: update safe area traces 2018-08-28 18:15:04 +03:00
Vasil Chimev
9b0be9fa89 chore: add tsconfig.tns.json to .gitignore 2018-08-28 18:15:04 +03:00
Martin Yankov
cb02597d61 make webview to inherit from ContainerView 2018-08-28 18:15:04 +03:00
Martin Yankov
c2f31855f8 remove locationOnScreen usage 2018-08-28 18:15:04 +03:00
Martin Yankov
76d4ee55bb change the default values for android safe area 2018-08-28 18:15:04 +03:00
Martin Yankov
d9d847ec91 move frame position conversion methods to ios namespace 2018-08-28 18:15:04 +03:00
Martin Yankov
261d94037f remove getSafeArea and geFullscreen methods 2018-08-28 18:15:04 +03:00
Martin Yankov
bda2dacdf3 fix safe area app gradle bundle id 2018-08-28 18:15:04 +03:00
Martin Yankov
30731e000c enable iosExpandSafeArea property on Views too 2018-08-28 18:15:04 +03:00
Martin Yankov
a25922866c add npm link script to e2e apps 2018-08-28 18:15:04 +03:00
Vasil Chimev
29b8258c36 feat: apply insets to flexbox row layout 2018-08-28 18:15:04 +03:00