Commit Graph

4945 Commits

Author SHA1 Message Date
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
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
Vasil Chimev
75b06560c1 feat: apply insets to absolute layout 2018-08-28 18:15:04 +03:00
Vasil Chimev
0be61d643d feat: apply insets to dock layout 2018-08-28 18:15:04 +03:00
Vasil Chimev
d4b1fec3ae test: add webview example 2018-08-28 18:15:04 +03:00
Vasil Chimev
54a7e2ad23 test: add repeater example 2018-08-28 18:15:04 +03:00
Vasil Chimev
e414369d2c feat: apply insets to repeater 2018-08-28 18:15:04 +03:00
Vasil Chimev
ad793ff8dc test: add expand examples 2018-08-28 18:15:04 +03:00
Vasil Chimev
1c94c38491 feat: add iosExpandSafeArea property
Also apply insets on page's children.
2018-08-28 18:15:04 +03:00
Vasil Chimev
fa526e0e7b test(safe-area): add RadCalendar example 2018-08-28 18:15:04 +03:00
Vasil Chimev
61f79f7098 test(safe-area): add RadChart example 2018-08-28 18:15:04 +03:00
Vasil Chimev
45ad5c13c7 test(safe-area): add RadListView example 2018-08-28 18:15:04 +03:00
Martin Yankov
13795fd949 apply bottom and right safe area inset to views 2018-08-28 18:15:04 +03:00
Martin Yankov
03e7644a8e layout viewcontroller in fullscreen if has childviewcontrollers 2018-08-28 18:15:04 +03:00
Martin Yankov
fe78210709 fix iOS 10 fictional safe area layout 2018-08-28 18:15:04 +03:00
Vasil Chimev
ad56ce7dc7 test(safe-area): add tab-view examples 2018-08-28 18:15:04 +03:00
Vasil Chimev
3fe51d3439 test(safe-area): update application
Update styles -> `app.css`.
Update structure -> `home/home-page.xml`.
Add Grid + Wrap examples.
2018-08-28 18:15:04 +03:00
Martin Yankov
f6ea9797f3 fix ts errors 2018-08-28 18:15:04 +03:00
Martin Yankov
2ccfb36ca7 refactor safe area application code 2018-08-28 18:15:04 +03:00
Vasil Chimev
3ab53ed26c fix(scroll-view): wrong locationOnScreen rounding 2018-08-28 18:14:13 +03:00
Vasil Chimev
4bbd4217cf test(safe-area): add scroll view with grid layout examples 2018-08-28 18:14:13 +03:00
Vasil Chimev
a3a86f1f42 fix(scroll-view): apply insets to layoutChild method
Delete `*-nav-page.*` files reproducing the issue.
Update `home-page.xml` with `ScrollView` to reproduce the issue.
2018-08-28 18:14:13 +03:00
Vasil Chimev
0348614b22 test(safe-area): add navigation scroll view example 2018-08-28 18:14:13 +03:00
Vasil Chimev
4adaa26b0c test(safe-area): update scroll view wrap layout examples 2018-08-28 18:14:13 +03:00
Vasil Chimev
add692755b test(safe-area): add nested wrap layout examples 2018-08-28 18:14:13 +03:00
Vasil Chimev
ccbda47873 test(safe-area): add scroll view wrap layout examples 2018-08-28 18:14:12 +03:00
Vasil Chimev
1ef579f391 test(safe-area): add nested wrap layout examples 2018-08-28 18:14:12 +03:00
Vasil Chimev
1544023595 refactor: wrap layout 2018-08-28 18:14:12 +03:00