65 Commits

Author SHA1 Message Date
922f6ce56a revert "feat(observable): enhance event callback type specificity" (#10721)
Revert "feat(observable): enhance event callback type specificity (#10720)"

This reverts commit e2f9687e72f8cbb618a22ad5e9a81633a984a0d5.
2025-03-16 15:53:53 -07:00
e2f9687e72 feat(observable): enhance event callback type specificity (#10720) 2025-03-16 09:48:51 -07:00
e853fca3c9 feat(ios): apple intelligence writing tools (#10643) 2025-02-17 20:56:29 -08:00
f6eab0d62f feat(core): openUrlAsync utility (#10637) 2025-01-13 20:43:52 -08:00
17a94a2b32 fix(core): improved types for common utils (#10628) 2025-01-13 18:39:15 -08:00
3dec0a5e99 chore: use vitest for unit testing plus workspace updates (#10662) 2025-01-12 11:52:13 -08:00
1cee35d4fb fix(ios): replace deprecated UIApplication.shared.openUrl method call (#10627) 2024-10-23 07:57:52 -07:00
9541b1b68c fix(embed): use factory only when it's available (#10579)
When embedding via 'ns embed ios', the .swift symbols may not be available and are not needed. This can be revisited in the future with project settings for embedded projects.
2024-07-09 14:40:40 -07:00
7036f12b5c fix(android): prevent error on navigation back after using page transition (#10439) 2024-06-28 16:15:40 -07:00
d678915234 feat(core): add sys:// support for SF Symbol usage on images with effects (#10555) 2024-06-26 15:34:24 -07:00
01d537bf15 feat(visionos): ui-mobile-base supporting xros plus improvements to window handling (#10478) 2024-04-05 17:07:16 -07:00
3a0afdb9cc feat(SegmentedBar): selectedTextColor added and selectedBackgroundColor improvements (#10474) 2024-01-19 10:39:59 -08:00
40b2a6a6db chore: use __ANDROID__ and __IOS__ throughout (#10446)
Standardizes usage for more macro style removal during bundling for target platforms.
[skip ci]
2023-11-25 08:34:25 -08:00
aba3093e69 fix(ios): non-uniform border angle (#10437) 2023-11-25 08:28:10 -08:00
c23695c477 fix(core): box-shadow 'none' handling (#10405) 2023-10-14 14:22:15 -07:00
bbede5d795 feat(visionos): Vision Pro support (#10392) 2023-09-28 17:55:40 -07:00
b6a5250511 feat: leading support for debounce (#10388) 2023-09-27 19:06:36 -07:00
6d44c2d6e0 fix(android): Utils.dismissKeyboard() not working with modal (#10375) 2023-09-27 19:04:42 -07:00
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
0956cb0f91 fix(shared-transitions): layer opacity set back to original on next tick (#10310) 2023-06-12 20:44:15 -07:00
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
b8a548f009 fix(shared-transition): iOS snapshot opacity (#10278) 2023-04-26 11:17:39 -07:00
f4b2722bf4 feat(transitions): support zIndex on ios shared elements + support page props on android (#10261) 2023-04-17 08:54:09 -07:00
59369fbc19 feat(core): Shared Element Transitions (#10022) 2023-03-28 20:04:29 +02:00
7edd21a688 fix(android): dialogs activity usage (#10246) 2023-03-22 18:20:01 -07:00
6779cdcb55 fix(android): native-helper utils types are now correct (#10231) 2023-03-07 19:22:37 -08:00
485fb61947 fix(core): Observable event types consistency (#10181) 2023-01-31 07:42:09 -08:00
0632215793 chore: eslint cleanup (#10160) 2023-01-09 09:40:20 -08:00
451c3cfe43 fix(android): openUrl (#10161) 2023-01-06 20:48:59 -08:00
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
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
47231145ac fix(utils): ios to filter out null values (#10117) 2022-11-30 13:49:30 -08:00
82d60ae057 fix(core): circular imports of SDK_VERSION 2022-11-30 09:14:10 -08:00
b147612e06 test: standardized jest unit testing (#10047) 2022-11-28 14:32:25 -08:00
046f9314a8 chore: cleanup utils packaging 2022-11-23 22:42:43 -08:00
b998d40a54 chore: import cleanup for build 2022-11-18 09:40:50 -08:00
c957b487a8 fix(core): prevent a circular reference because of SDK_VERSION (#10097) 2022-11-18 08:12:08 -08:00
2e1d2c175b feat(utils): dismissKeyboard, copyToClipboard, setWindowBackgroundColor, getCurrentActivity and getResource (#10089) 2022-11-17 21:05:54 -08:00
abd722cd3d perf(core): android sdk check (#10084) 2022-11-12 10:09:45 -08:00
49343cb9b4 feat(android): runOnMain, postFrameCallback & removeFrameCallback (#9943) 2022-07-13 15:21:04 -07:00
29004d9048 feat(ios): Utils.getRootViewController 2022-07-09 09:02:45 -07:00
a85a72d961 fix: export 'dataSerialize' from utils (#9909) 2022-07-09 09:02:45 -07:00
cab59473f3 feat(Utils): dataSerialize, dataDeserialize, numberHasDecimals, numberIs64Bit 2022-07-09 09:02:45 -07:00
2250c7fc6a feat(Utils): add dataSerialize and dataDeserialize for iOS 2022-07-09 09:02:45 -07:00
9089b2cf87 fix(Utils): dispatchToUIThread 2022-06-04 10:11:24 -07:00
36a55dac7f feat: added Utils.executeOnUIThread 2022-04-25 08:36:20 -07:00
9ce745568f fix: Utils.queueGC debounce and throttle with reuse of different settings (#9852) 2022-04-01 20:28:27 -07:00
40c5984966 feat: Utils for queueGC, debounce and throttle 2022-03-01 12:32:39 -08:00
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
988f372788 perf(ios): UIImage memory leaks (#9783) 2022-03-01 12:32:39 -08:00