Commit Graph

4978 Commits

Author SHA1 Message Date
Vasil Chimev
9c3ed73646 test: refactoring and formatting 2018-09-20 18:34:46 +03:00
Vasil Chimev
96b5cb23a8 test(safe-area): add wrap layout tests 2018-09-20 18:34:46 +03:00
Vasil Chimev
b914e9a64f test(safe-area): add absolute layout tests 2018-09-20 18:34:46 +03:00
Vasil Chimev
84761255dd test(safe-area): add stack layout tests 2018-09-20 18:34:46 +03:00
Vasil Chimev
d5ed96cbbb test(safe-area): add dock layout tests 2018-09-20 18:34:46 +03:00
Martin Yankov
88f61e0091 move safe area tests to a new category 2018-09-20 18:34:46 +03:00
Martin Yankov
6baa0727fc wip grid layout tests 2018-09-20 18:34:46 +03:00
Vasil Chimev
e6e55ded1e test: grid layout safe area 2018-09-20 18:34:46 +03:00
Vasil Chimev
8cd1a9cae7 test: extract layout-tests-helper 2018-09-20 18:34:46 +03:00
Vasil Chimev
86d05cf302 test: refactor flexbox layout tests 2018-09-20 18:34:46 +03:00
Martin Yankov
d6bffe22ec Add WIP Gridlayout tests 2018-09-20 18:34:46 +03:00
Vasil Chimev
3add72031e tests: add iosOverflowSafeArea=false to Flexbox 2018-09-20 18:34:46 +03:00
Vasil Chimev
0df3c191aa tests: comment out page scroll content tests 2018-09-20 18:34:46 +03:00
Vasil Chimev
806d82288b refactor: rename iosExpandSafeArea to iosOverflowSafeArea
Update type definitions.
2018-09-20 18:34:46 +03:00
Vasil Chimev
f40d6c1a97 refactor: delete isContentScrollable function
BREAKING CHANGES:

The `scrollableContent` property is no more - use `iosExpandSafeArea` instead.
2018-09-20 18:33:59 +03:00
Martin Yankov
351d78e80c fix tabview safe areas 2018-09-20 18:33:59 +03:00
Vasil Chimev
f82b649217 tests: throw modalCloseCallback with timeout
This is to avoid failures in tests execution where `modalCloseCallback` throws.
Delete unused imports and a const.
2018-09-20 18:33:59 +03:00
Martin Yankov
2d39a47dd8 fix scrollview 2018-09-20 18:33:59 +03:00
Vasil Chimev
abe3292c35 chore(tests): update runtimes to 4.2 2018-09-20 18:33:59 +03:00
Vasil Chimev
3acf65a0a9 test: delete PAGE.test_percent_margin_support
This case has been handled per layout.
2018-09-20 18:33:59 +03:00
Vasil Chimev
ea4ace61da refactor: add locationInWindow usage 2018-09-20 18:33:59 +03:00
Martin Yankov
9d9e4d350d add safe area support to flexbox 2018-09-20 18:33:59 +03:00
Martin Yankov
52b1822df5 change colors to more contrasting ones 2018-09-20 18:33:59 +03:00
Martin Yankov
d8c9c19716 remove rounding when conversing to native pixels 2018-09-20 18:33:59 +03:00
Vasil Chimev
c163544aab chore: fix a tslint error 2018-09-20 18:33:59 +03:00
Vasil Chimev
f2d9b05e01 refactor: View.applySafeAreaInsets(frame)
Split to `ios.shrinkToSafeArea()` and `ios.expandBeyondSafeArea()`.
Update trace logs.
2018-09-20 18:33:59 +03:00
Vasil Chimev
bf070f105d refactor: update safe area traces 2018-09-20 18:33:59 +03:00
Vasil Chimev
a610c6f0c3 chore: add tsconfig.tns.json to .gitignore 2018-09-20 18:33:59 +03:00
Martin Yankov
f805bc90ad make webview to inherit from ContainerView 2018-09-20 18:33:59 +03:00
Martin Yankov
6e0ee3f344 remove locationOnScreen usage 2018-09-20 18:33:59 +03:00
Martin Yankov
fea47e838d change the default values for android safe area 2018-09-20 18:33:59 +03:00
Martin Yankov
50a6073f33 move frame position conversion methods to ios namespace 2018-09-20 18:33:59 +03:00
Martin Yankov
5b2f8c7248 remove getSafeArea and geFullscreen methods 2018-09-20 18:33:59 +03:00
Martin Yankov
ce8b2d2cce fix safe area app gradle bundle id 2018-09-20 18:33:58 +03:00
Martin Yankov
ee004b4580 enable iosExpandSafeArea property on Views too 2018-09-20 18:33:58 +03:00
Martin Yankov
d9f350a75d add npm link script to e2e apps 2018-09-20 18:33:58 +03:00
Vasil Chimev
db7f913072 feat: apply insets to flexbox row layout 2018-09-20 18:33:58 +03:00
Vasil Chimev
c02f062457 feat: apply insets to absolute layout 2018-09-20 18:33:58 +03:00
Vasil Chimev
12a9c5181e feat: apply insets to dock layout 2018-09-20 18:33:58 +03:00
Vasil Chimev
d7dcc737f6 test: add webview example 2018-09-20 18:33:58 +03:00
Vasil Chimev
20c4417412 test: add repeater example 2018-09-20 18:33:58 +03:00
Vasil Chimev
e66a6fa286 feat: apply insets to repeater 2018-09-20 18:33:58 +03:00
Vasil Chimev
9549f6b6a2 test: add expand examples 2018-09-20 18:33:58 +03:00
Vasil Chimev
429ac8712f feat: add iosExpandSafeArea property
Also apply insets on page's children.
2018-09-20 18:33:58 +03:00
Vasil Chimev
ec98fd6f5f test(safe-area): add RadCalendar example 2018-09-20 18:33:58 +03:00
Vasil Chimev
9faa3c164b test(safe-area): add RadChart example 2018-09-20 18:33:58 +03:00
Vasil Chimev
475326a06d test(safe-area): add RadListView example 2018-09-20 18:33:58 +03:00
Martin Yankov
35ad8ba3b0 apply bottom and right safe area inset to views 2018-09-20 18:33:58 +03:00
Martin Yankov
496ccb4acf layout viewcontroller in fullscreen if has childviewcontrollers 2018-09-20 18:33:58 +03:00
Martin Yankov
08031cc291 fix iOS 10 fictional safe area layout 2018-09-20 18:33:58 +03:00