146 Commits

Author SHA1 Message Date
a88cacab89 chore(migrate): apps/* to webpack5 (#9606) 2021-12-21 09:47:33 -08:00
e72980c85b chore: add WebView disableZoom typing 2021-12-04 22:52:51 -04:00
483217934c fix(ios): box-shadow and border-radius (#9612)
Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
2021-10-29 18:43:14 -07:00
2ad280deb0 fix(android): version Android text-align justify (#9620) 2021-10-20 09:24:53 -07:00
8878c3bc6b fix(android): autofillType on apiLevel < 26 (#9610)
* chore: rollback unwanted change
2021-10-13 19:25:05 -07:00
95e56f75dd chore: cleanup actionbar appearance handling 2021-10-09 08:55:54 -07:00
02aa0f652a fix(style): CSS variables should be case-sensitive. (#9603) 2021-10-08 11:04:04 -07:00
2b2ce377e6 fix(ios): TextView respect editable binding (#9589) 2021-10-06 17:47:56 +02:00
1de5295ad9 feat(text): add css text-align justify (#9573)
Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
2021-09-27 17:27:08 -07:00
3e21748af4 fix: background parsing color #9559 (#9560) 2021-09-21 21:41:34 -07:00
889f6d73cf fix: replace autofill string in textfield (#9555) 2021-09-20 23:07:27 -07:00
183b4d4b10 fix(ios): flat property using new appearance api (#9558) 2021-09-20 11:12:08 -07:00
90b8718138 fix(android): only attach if activity is CREATED (#9552) 2021-09-18 13:27:21 -07:00
a38e2ca3b9 fix(android): background-image 'none' (#9547)
closes https://github.com/NativeScript/NativeScript/issues/9546
2021-09-15 19:04:26 +02:00
eb0d000fe1 revert: feat: requestLayout performance improvements (#9122)
This reverts commit 4f5f0aae77dd3b59b8c3856193fdb77b8223262e.

This commit breaks back-navigation in certain cases, most prominently with Button pseudo classes. We plan to revisit this.
2021-09-10 18:59:08 +02:00
ffab4c3165 feat: Frame replacePage by entry (#9460)
* feat: Frame replacePage by entry

* 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>

* feat(webpack): use svelte-loader and fallback to svelte-loader-hot

Allows running older projects

* feat: allow overwriting replacePage transition

Co-authored-by: farfromrefuge <martin.guillon@akylas.fr>
Co-authored-by: halfnelson <dpershouse@gmail.com>
2021-09-08 16:12:11 -07:00
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