130 Commits

Author SHA1 Message Date
86ff418166 fix(ios): actionitem coloring with 15+ 2021-09-08 16:12:11 -07:00
5532903ad8 revert: clipsToBounds support
This feature needs some more work & will be included in a future version
2021-09-08 16:12:11 -07:00
4632aeaae8 fix(modal): persist modal through configuration changes (#9533) 2021-09-08 16:12:11 -07:00
011e869cd5 fix(ios): actionBar title to use appearance api on ios15+ (#9534)
https://github.com/NativeScript/NativeScript/pull/9530
2021-09-08 16:12:11 -07:00
2bfccbbea6 fix(ios): actionBar to use appearance api on ios13+ (#9530) 2021-09-08 16:12:11 -07:00
6fc239dc56 fix(ios): resiliency to frame controller viewDidDisappear 2021-09-08 16:11:49 -07:00
b4dc45edb3 fix(ios): prevent views from being measured if no native view (#9511) 2021-09-08 16:07:39 -07:00
8c9407c48e fix: allow ignoring reduce-css-calc w/ webpack without error (#9510) 2021-09-08 16:07:39 -07:00
1ffc1628d0 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-09-08 16:07:39 -07:00
4f5f0aae77 feat: requestLayout performance improvements (#9122)
It was unnecessary to make multiple calls requestLayout inside initNativeView (properties set)
2021-09-08 16:07:39 -07:00
0d0d0382ad fix(android): use nativeTextViewProtected internally (#9483) 2021-09-08 16:07:39 -07:00
e00f9772d8 chore: add guard around getLifecycle 2021-09-08 16:07:39 -07:00
e7b30af394 fix(android): prevent potential crash when app goes to background (#9347) 2021-09-08 16:07:39 -07:00
a76815b81e fix(android): make less calls to native with getters around prop handling (#9119) 2021-09-08 16:07:39 -07:00
2dd2970c7d fix(android): dont dispose fragment on onloaded (#8793) 2021-09-08 16:07:39 -07:00
d25cd5bcee feat: autofillType property for edit text base (#9478) 2021-09-08 16:07:39 -07:00
c4db847ded feat(color): added utilities and improved color parsing performance (#9110) 2021-09-08 16:07:39 -07:00
2a4563716a fix(styling): change transform parameters parsing (#9481)
Fixed the incorrectly applied short form of "transform: translate" style property.

closes #5202
2021-09-08 16:07:39 -07:00
37c0731a8a fix(android): onSaveInstanceState should not crash when no rootView is set (#9447) 2021-09-08 16:07:39 -07:00
3aff057b99 revert: fix(android): nested dialog/fragment handling (#9495)
This reverts commit 4c547bb00c554d35408c7d0c44ef46e237819132.
2021-09-08 16:07:39 -07:00
3e98d1e934 revert: feat(android): fragment transactions to use 'add' instead of 'replace' on fwd navigation (#8791)
This reverts commit e498c9d5bc71bced194af694a95ec71a9037fda9.
2021-09-08 16:07:39 -07:00
e17e46974b 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-09-08 16:07:39 -07:00
aa9c9f3897 chore: cleanup 2021-09-08 16:07:38 -07:00
dd5f24a737 feat(core): make css parsers tree-shakable (#9496) 2021-09-08 16:07:38 -07:00
Rob
c3cadc7fd5 fix(ios): backgroundColor property on Button (#9524)
closes NativeScript/NativeScript#9523
2021-08-23 23:55:18 -07:00
b7b9d7c259 fix(frame): improve weakref guards (#9518) 2021-08-19 22:15:18 -07:00
2f630dc464 fix(android): do not call exitEvent on activity restart (#9517) 2021-08-18 09:09:50 -07:00
59d9271bce feat(webpack): improved svelte HMR (#9497)
* update svelte config to use svelte-loader

* handle null config

* fix: worker support in .svelte files & update snapshots

* fix after merge

Co-authored-by: halfnelson <dpershouse@gmail.com>
Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
2021-08-11 11:42:53 +02:00
4c547bb00c fix(android): nested dialog/fragment handling (#9495) 2021-08-03 21:57:19 -07:00
d45dea8471 fix(android): allow 0-length properties (#9485) 2021-07-26 14:52:19 -07: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
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
263c920cb8 fix(box-shadow): support for 'none' (#9418) 2021-05-25 21:22: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
9ec404225e fix(core): typings for showModal correction (#9374) 2021-05-04 23:27:35 -07:00
0d4ccba60a chore: combine prettier with eslint (#9348) (#9360)
Co-authored-by: Martin Guillon <martin.guillon@akylas.fr>
2021-05-02 10:11:37 -07:00
f781242b9a fix(core): protected class getter/setter webpack issue 2021-04-24 11:17:38 -07:00
b29e1452bd feat(text-base): allow subclass to override createFormattedTextNative (#9334) 2021-04-18 10:49:00 -07:00
e73cebf765 fix(android): crash on slide transition (#9289)
The 'N' android `CustomTransition` widget takes an `AnimatorSet` and not an `ObjectAnimator`
2021-04-06 19:41:24 -07:00
75b59ecdbf chore(release): @nativescript/core@8.0.0 2021-04-06 11:18:36 -07:00
8cd1872ef7 chore: better trace handling around css 2021-04-06 11:18:36 -07:00
b50a2e618f chore: types cleanup 2021-04-06 11:18:36 -07:00
266ae2a71d chore: fix types 2021-04-06 11:18:36 -07:00
eeb68e9ce2 fix: RootLayout default open options 2021-04-06 11:18:36 -07:00
ede1685ae2 chore: cleanup types 2021-04-06 11:18:36 -07:00