216 Commits

Author SHA1 Message Date
2e47a3f20c chore: 8.1.0-sap.0 2021-08-15 11:31:59 -07:00
6822115cff fix(android): nested dialog/fragment handling 2021-08-15 11:31:50 -07:00
66203d24ee chore: 8.1.0-alpha.1 2021-08-13 16:57:29 -07:00
c4e9a541ae chore: 8.1.0-alpha.0 2021-08-11 13:00:15 -07:00
7e1b4699ca chore: updated ui-mobile-base build 2021-08-11 12:07:34 -07:00
5890667b26 feat(android): support clipToBounds (#9508)
* performance improvements around border handling

BREAKING CHANGE:

* if you have broder-radius or clip-path, it will clip by default
2021-08-11 12:06:36 -07:00
e4ce17e156 feat: requestLayout performance improvements (#9122)
It was unnecessary to make multiple calls requestLayout inside initNativeView (properties set)
2021-08-11 11:50:41 -07:00
71b856c781 fix(android): use nativeTextViewProtected internally (#9483) 2021-08-11 11:46:21 -07:00
bf2499ccc2 chore: add guard around getLifecycle 2021-08-11 11:43:34 -07:00
47df889afa fix(android): prevent potential crash when app goes to background (#9347) 2021-08-11 11:38:25 -07:00
bca4d9583e fix(android): make less calls to native with getters around prop handling (#9119) 2021-08-11 11:31:39 -07:00
03b77157ea fix(android): dont dispose fragment on onloaded (#8793) 2021-08-11 11:28:55 -07:00
4964d313c2 feat: autofillType property for edit text base (#9478) 2021-08-11 11:23:02 -07:00
92076d480c chore: fix color tests 2021-08-11 11:18:01 -07:00
af281dd098 feat: AbortController polyfill (#9333) 2021-08-11 11:17:13 -07:00
0ff2221d6f feat(color): added utilities and improved color parsing performance (#9110) 2021-08-11 10:54:57 -07:00
4cad76cb6a feat(config): added option for ignoredNativeDependencies 2021-08-11 10:51:58 -07:00
dbaab58538 fix(styling): change transform parameters parsing (#9481)
Fixed the incorrectly applied short form of "transform: translate" style property.

closes #5202
2021-08-11 10:45:00 -07:00
ee3c4c2009 fix(android): onSaveInstanceState should not crash when no rootView is set (#9447) 2021-08-11 10:41:24 -07:00
490f7dce80 feat(android): vector drawable support (#9464) 2021-08-11 10:37:27 -07:00
36900d7c05 feat(image-source): add saveToFileAsync, toBase64StringAsync & resizeAsync (#9404) 2021-08-11 10:28:06 -07:00
7276c0e3cd revert: fix(android): nested dialog/fragment handling (#9495)
This reverts commit 4c547bb00c554d35408c7d0c44ef46e237819132.
2021-08-11 10:24:03 -07:00
ee0e5dfaed revert: feat(android): fragment transactions to use 'add' instead of 'replace' on fwd navigation (#8791)
This reverts commit e498c9d5bc71bced194af694a95ec71a9037fda9.
2021-08-11 17:55:31 +02:00
e498c9d5bc feat(android): fragment transactions to use 'add' instead of 'replace' on fwd navigation (#8791)
Changes the behavior of android fragment transactions to use `add` instead of `replace` on forward navigation.

BREAKING CHANGE:

Changes the internal behavior of Android navigation:

* while navigating forward, the page navigated from is not unloaded anymore
* events order is changed in the sense that now `unloaded` happens after `navigatedFrom` instead of before

There are multiple plus sides to this:

* no more black views on navigation when using opengl (maps, ...)
* navigation is faster, especially the navigation back! No longer need to recreate the page anymore. Navigation forward also gets faster as we no longer unload the previous page
* navigatedFrom event happens faster
* this the default behavior used by most of the android native apps
2021-08-10 13:42:25 -07:00
7f37617b18 chore: cleanup 2021-08-10 13:34:31 -07:00
dce7408c05 feat(core): make css parsers tree-shakable (#9496) 2021-08-10 13:21:34 -07:00
4c547bb00c fix(android): nested dialog/fragment handling (#9495) 2021-08-03 21:57:19 -07:00
d0f00e24d8 fix(core): correctly export setAutoSystemAppearanceChanged (#9489) 2021-07-28 13:13:45 -07:00
d45dea8471 fix(android): allow 0-length properties (#9485) 2021-07-26 14:52:19 -07:00
f053001dc1 feat(android): provide ability to get registered broadCastReceiver (#9467) 2021-07-12 11:35:26 -07:00
7b800945dd fix(log): Allow passing optional params for logs (#9456) 2021-07-06 08:23:37 -07:00
f6faa4509a chore(release): @nativescript/core@8.0.8 2021-06-15 23:07:07 +02:00
b8d8110994 fix: stop leaking style scopes (#9444)
fixes #9311

* fix: stop leaking style scopes

* fix: don't leak scoped styles in production
2021-06-15 23:00:07 +02:00
9f582ba168 fix(android): accessibilityIdentifier (#9432)
needs to be set on `nativeTextViewProtected` for text-base components
fixes https://github.com/nativescript-community/ui-material-components/issues/304
2021-06-02 18:47:19 -07:00
58819c6e65 chore(release): @nativescript/core@8.0.7 2021-06-01 20:10:46 -07:00
3806b85fce feat(WebView): allow JS bound window frame navigation to be intercepted through loadStarted (#9430) 2021-06-01 16:35:43 -07:00
d3bc4d5b82 fix(core): guard unstable page/frame init contexts under async conditions (#9428) 2021-05-30 12:02:38 -07:00
04381fa3e7 fix(animations): stop keyframe animations after View unloaded (#9421) 2021-05-30 11:56:28 -07:00
d589ac6000 fix(core): typings for Utils.queueMacrotask and static methods on Observable (#9425) 2021-05-28 14:06:12 -07:00
263c920cb8 fix(box-shadow): support for 'none' (#9418) 2021-05-25 21:22:35 -07:00
4ef49f28aa chore(release): @nativescript/core@8.0.6 2021-05-20 15:21:24 -07:00
6cf4c5981b feat(Utils): add dismissSoftInput helper (#9392)
closes #4594

Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
2021-05-13 08:43:59 -07:00
dac36c6801 fix(a11y): add missing application event for fontScaleChanged (#9396) 2021-05-13 08:42:55 -07:00
7a92c1646f fix(a11y): font size (#9395) 2021-05-13 08:02:34 -07:00
95596e8230 fix(Device): don't cache device language & region (#9394)
closes #6082
2021-05-12 12:51:35 -07:00
7e878f83a3 feat(web-view): disableZoom property (#9391) 2021-05-12 09:00:51 -07:00
64adf5ecfc feat(text-view): add returnPress (#9390)
closes #4882
2021-05-12 08:22:20 -07:00
0b2c190662 fix(RootLayout): prevent android touch event to pass through views underneath (#9389) 2021-05-11 17:43:56 -07:00
f380782766 fix(ios): image with alpha resize (#9386)
closes #9385
2021-05-10 19:22:08 -07:00
686522d8c6 chore(release): @nativescript/core@8.0.5 2021-05-09 19:37:30 -07:00