193 Commits

Author SHA1 Message Date
2aaf85e0c6 revert: fix(android): nested dialog/fragment handling (#9495)
This reverts commit 4c547bb00c554d35408c7d0c44ef46e237819132.
2021-08-11 20:34:01 +02:00
7e9f27dda4 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-11 17:52:15 +02: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
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
f311151496 fix(android): image asset handling regarding requestLegacyExternalStorage (#9373) 2021-05-09 19:29:44 -07:00
342108c1af chore(release): @nativescript/core@8.0.4 2021-05-05 16:28:59 -07:00
868b4a47c6 chore: cleanup lint and prettier config 2021-05-05 15:59:06 -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
a6cb46dac2 feat: add additional android global methods (#9365) 2021-04-29 19:06:39 -07:00
1b29d05099 chore: Nx 12 + fix ui app + TS 4.1 updates (#9359) 2021-04-26 19:11:19 -07:00
272ac578b1 chore(release): @nativescript/core@8.0.3 2021-04-24 11:29:31 -07:00
f781242b9a fix(core): protected class getter/setter webpack issue 2021-04-24 11:17:38 -07:00
5fd821e562 fix(core): typings issue around Trace.categories.All 2021-04-24 11:17:38 -07:00
edbe13bfe0 chore(release): @nativescript/core@8.0.2 2021-04-20 15:22:36 -07:00
b29e1452bd feat(text-base): allow subclass to override createFormattedTextNative (#9334) 2021-04-18 10:49:00 -07:00
cbdff1f155 fix(a11y): Accessibility breaks limiting metadata (#9332)
Accessibility added a new class that we need to add to the default allowed metadata so that the application doesn't crash on startup when in limit metadata mode.
2021-04-14 19:29:15 -07:00
9a407ce989 fix(a11y): ios voiceover crash during touch (#9318)
closes https://github.com/NativeScript/NativeScript/issues/9317
2021-04-09 08:35:00 -07:00
4f2e14cb5f chore(release): @nativescript/core@8.0.1 2021-04-06 19:52:28 -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
f42acd817f fix(core): Enums deprecation adjustment (#9306) 2021-04-06 19:38:19 -07:00
fde666de28 fix(android): accessibility crash on View not extending android.view.View (#9303) 2021-04-06 16:39:52 -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
8af8de2166 chore: add additional deprecation warnings on a few types 2021-04-06 11:18:36 -07:00
266ae2a71d chore: fix types 2021-04-06 11:18:36 -07:00