53 Commits

Author SHA1 Message Date
shirakaba
e04e9b6909 Revert "Change target to ES5 for targeting Hermes Engine, disable noEmitHelpers, don't crash if registerOnGlobalContext fails, and disable the special transform for NativeClass decorator"
This reverts commit 7e0497c8b1.
2023-12-02 11:38:29 +09:00
DjDeveloperr
7e0497c8b1 Change target to ES5 for targeting Hermes Engine, disable noEmitHelpers, don't crash if registerOnGlobalContext fails, and disable the special transform for NativeClass decorator 2023-11-18 12:13:47 +05:30
Nathan Walker
c23695c477 fix(core): box-shadow 'none' handling (#10405) 2023-10-14 14:22:15 -07:00
Nathan Walker
bbede5d795 feat(visionos): Vision Pro support (#10392) 2023-09-28 17:55:40 -07:00
farfromrefuge
b6a5250511 feat: leading support for debounce (#10388) 2023-09-27 19:06:36 -07:00
Juan de Dios Martínez Vallejo
6d44c2d6e0 fix(android): Utils.dismissKeyboard() not working with modal (#10375) 2023-09-27 19:04:42 -07:00
Dimitris-Rafail Katsampas
39eed526c1 feat(ios): improved shadow handling with background UI rework (#10374)
BREAKING CHANGES: 

`CSSShadow` was renamed into `ShadowCSSValues`
2023-09-06 08:17:29 -07:00
Nathan Walker
0956cb0f91 fix(shared-transitions): layer opacity set back to original on next tick (#10310) 2023-06-12 20:44:15 -07:00
Igor Randjelovic
f64355ba7a refactor: improved core barrel exports and Application class (#10286)
BREAKING CHANGES:

`Application.orientation` is no longer a function.

Migration: Remove `()` from the `Application.orientation()` call:
```diff
import { Application } from "@nativescript/core";

-console.log(Application.orientation());
+console.log(Application.orientation);
```


`Application.systemAppearance` is no longer a function.

Migration: Remove `()` from the `Application.systemAppearance()` call:
```diff
import { Application } from "@nativescript/core";

-console.log(Application.systemAppearance());
+console.log(Application.systemAppearance);
```
2023-05-25 07:45:39 -07:00
Igor Randjelovic
b8a548f009 fix(shared-transition): iOS snapshot opacity (#10278) 2023-04-26 11:17:39 -07:00
Nathan Walker
f4b2722bf4 feat(transitions): support zIndex on ios shared elements + support page props on android (#10261) 2023-04-17 08:54:09 -07:00
Nathan Walker
59369fbc19 feat(core): Shared Element Transitions (#10022) 2023-03-28 20:04:29 +02:00
Nathan Walker
7edd21a688 fix(android): dialogs activity usage (#10246) 2023-03-22 18:20:01 -07:00
Nathan Walker
6779cdcb55 fix(android): native-helper utils types are now correct (#10231) 2023-03-07 19:22:37 -08:00
Jamie Birch
485fb61947 fix(core): Observable event types consistency (#10181) 2023-01-31 07:42:09 -08:00
farfromrefuge
0632215793 chore: eslint cleanup (#10160) 2023-01-09 09:40:20 -08:00
Dimitris-Rafail Katsampas
451c3cfe43 fix(android): openUrl (#10161) 2023-01-06 20:48:59 -08:00
Prabu Devarrajan
84440876fe fix(android): WebView url and event handling (#10147) (#10148)
closes https://github.com/NativeScript/NativeScript/issues/10147
2023-01-03 18:38:33 -08:00
Nathan Walker
00944bb1b5 fix(ios): TextField keyboard handling with emoji, autofill, and shortcuts (#10154)
closes https://github.com/NativeScript/NativeScript/issues/10108
2023-01-03 17:36:56 -08:00
Samuel Schultze
47231145ac fix(utils): ios to filter out null values (#10117) 2022-11-30 13:49:30 -08:00
Nathan Walker
82d60ae057 fix(core): circular imports of SDK_VERSION 2022-11-30 09:14:10 -08:00
Nathan Walker
b147612e06 test: standardized jest unit testing (#10047) 2022-11-28 14:32:25 -08:00
Nathan Walker
046f9314a8 chore: cleanup utils packaging 2022-11-23 22:42:43 -08:00
Nathan Walker
b998d40a54 chore: import cleanup for build 2022-11-18 09:40:50 -08:00
farfromrefuge
c957b487a8 fix(core): prevent a circular reference because of SDK_VERSION (#10097) 2022-11-18 08:12:08 -08:00
Nathan Walker
2e1d2c175b feat(utils): dismissKeyboard, copyToClipboard, setWindowBackgroundColor, getCurrentActivity and getResource (#10089) 2022-11-17 21:05:54 -08:00
farfromrefuge
abd722cd3d perf(core): android sdk check (#10084) 2022-11-12 10:09:45 -08:00
Osei Fortune
49343cb9b4 feat(android): runOnMain, postFrameCallback & removeFrameCallback (#9943) 2022-07-13 15:21:04 -07:00
Nathan Walker
29004d9048 feat(ios): Utils.getRootViewController 2022-07-09 09:02:45 -07:00
Dimitris-Rafail Katsampas
a85a72d961 fix: export 'dataSerialize' from utils (#9909) 2022-07-09 09:02:45 -07:00
Nathan Walker
cab59473f3 feat(Utils): dataSerialize, dataDeserialize, numberHasDecimals, numberIs64Bit 2022-07-09 09:02:45 -07:00
Nathan Walker
2250c7fc6a feat(Utils): add dataSerialize and dataDeserialize for iOS 2022-07-09 09:02:45 -07:00
Nathan Walker
9089b2cf87 fix(Utils): dispatchToUIThread 2022-06-04 10:11:24 -07:00
Nathan Walker
36a55dac7f feat: added Utils.executeOnUIThread 2022-04-25 08:36:20 -07:00
Nathan Walker
9ce745568f fix: Utils.queueGC debounce and throttle with reuse of different settings (#9852) 2022-04-01 20:28:27 -07:00
Nathan Walker
40c5984966 feat: Utils for queueGC, debounce and throttle 2022-03-01 12:32:39 -08:00
Ian MacDonald
b78996a569 fix(android): when hiding the keyboard make view lose focus to match ios behavior (#9786)
Hiding the keyboard on iOS loses focus; this makes Android match when no view argument is provided.
2022-03-01 12:32:39 -08:00
Igor Randjelovic
988f372788 perf(ios): UIImage memory leaks (#9783) 2022-03-01 12:32:39 -08:00
Janos Hrubos
77d2533798 feat: android openFile dialog title (#9600)
* feat: android openFile dialog title

* types: update openFile types
2021-10-06 17:48:52 +02:00
Osei Fortune
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
Nathan Walker
b50a2e618f chore: types cleanup 2021-04-06 11:18:36 -07:00
Nathan Walker
266ae2a71d chore: fix types 2021-04-06 11:18:36 -07:00
Igor Randjelovic
f5db58414a fix: safeguards against invalid values 2021-04-06 11:18:36 -07:00
Nathan Walker
a67fb69687 chore: typing cleanup 2021-04-06 11:18:36 -07:00
Shamsuddin Dzhamalov
e9e4934faf fix(ios): incorrect declaration of 'jsArrayToNSArray' and 'nsArrayToJSArray' (#9277) 2021-03-30 13:28:23 -07:00
Dimitris - Rafail Katsampas
5fe27428e0 feat(android): FlexboxLayout support for isPassThroughParentEnabled (#8798) 2021-01-29 13:03:27 -08:00
Nathan Walker
1a3523ef22 fix(ios): getVisibleViewController maximum call stack exceeded (#9168)
Passed all the Automated tests.
2021-01-23 14:20:30 -06:00
Martin Guillon
6902770d90 fix: rollback regexp eslint changes (#9028)
* fix: rollback regexp eslint changes

* fix: rollback animation lint which would break promise context

* fix: more rollbacks
2020-11-12 15:55:22 -06:00
Martin Guillon
1a849f9302 fix: Prior PR (#8904) has bad path for trace modules
* Fix trace path issue

* another path fix
2020-11-12 14:23:03 -06:00
Eduardo Speroni
e3dc89fbfc feat(core): queueMacroTask (#8904) 2020-11-11 19:52:29 -08:00