93 Commits

Author SHA1 Message Date
7dd41e5c21 fix circular imports and change weakref.get->deref 2023-12-19 15:32:50 -05:00
7c2938d2ac chore: TypeScript 5.2 with Nx 16.8.1 (#10380) 2023-09-09 08:55:39 -07:00
a959a797df feat(ios): addDelegateHandler to add App Delegate handlers (#10371) 2023-09-01 20:37:31 -07:00
d3a0f2c9a6 chore: TypeScript 5.1 with Nx 16.6 migrations (#10338) 2023-08-11 07:09:32 -07:00
c278430240 fix(core): unhandled error typings (#10320)
NativeScriptError type def used to come from packages/core/global-types.d.ts now comes from packages/core/application/application-interfaces.ts, so fixed there now.
2023-06-22 12:19:56 -07:00
ab5fa941bc refactor: Application barrel changes without breaking changes (#10311) 2023-06-13 09:29:39 -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
ab32aeaaa3 feat(file-system): append, appendText & createFile (#10285) 2023-05-04 20:45:01 -07:00
a14becdc6a fix(ios): FormattedString and Span a11y font scale (#10281) 2023-05-01 12:29:36 -07:00
18bba2bc11 feat(file-system): allow copy when opening a File (#10274)
* feat: add copy file to file-system

* feat(file-system): allow temp copy of files opened with File.fromPath

* chore: remove log

* chore: remove log

* fix: only copy if true

---------

Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
2023-04-25 00:30:28 -04:00
f4b2722bf4 feat(transitions): support zIndex on ios shared elements + support page props on android (#10261) 2023-04-17 08:54:09 -07:00
7aaa1d899d feat(ios): new a11y properties for managing font scale (#10260) 2023-04-05 16:20:15 -07:00
59369fbc19 feat(core): Shared Element Transitions (#10022) 2023-03-28 20:04:29 +02:00
a11d577a14 revert: "perf: reduce amount of layout calls and debounce layouts when needed (#10164)"
This reverts commit 8b721c149689acb5eec4e033002b2869ded529cd.
2023-03-28 10:44:21 -07:00
8da1ca910a revert: "chore: ios relayout condition cleanup (#10241)"
This reverts commit 7eaafa519e8fa3579a92fc3ca9f2310182e5eb34.
2023-03-28 10:43:31 -07:00
671603ab4b test: a11y scale (#10251) 2023-03-27 15:12:38 -07:00
2f4c318276 fix: global declarations fix (#10247) 2023-03-23 10:55:38 -07:00
95f3772e77 fix(ios): support for a11y font scale (#10207) 2023-03-22 15:13:46 -07:00
ab436dbfe6 fix(core): CSS animation parsing (#10245) 2023-03-22 14:16:15 -07:00
5f96ffe7d9 test: fix safe area tests on iOS (#10240) 2023-03-22 08:14:21 -07:00
7eaafa519e chore: ios relayout condition cleanup (#10241) 2023-03-17 12:10:13 -07:00
8b721c1496 perf: reduce amount of layout calls and debounce layouts when needed (#10164) 2023-03-17 10:07:22 -07:00
d8efb7a826 test: use our own http-echo server (#10227) 2023-03-01 13:11:06 -08:00
df7ecb95db ci: fix automated app CI workflow (#10218) 2023-02-18 12:47:54 -08:00
e0a4c887ef ci: tests 2023-02-14 20:34:30 -08:00
497b2d737e chore: Nx 15.6, jest latest and TypeScript 4.9 (#10191) 2023-01-30 19:17:49 -08:00
191f83b8dc docs: typos (#10145)
There were small typos in:
- apps/automated/src/ui/web-view/web-view.md
- tools/notes/DevelopmentWorkflow.md

Fixes:
- Should read `describe` rather than `decribe`.
- Should read `control` rather than `controll`.

Signed-off-by: Tim Gates <tim.gates@iress.com>
2023-01-03 18:40:39 -08:00
a4f28b8317 fix(ios): navigatingTo event handling (#10120) 2022-12-28 09:23:10 -08:00
9a779dfa8a chore: nx-cloud setup (#10110) 2022-11-29 13:26:51 -08:00
046f9314a8 chore: cleanup utils packaging 2022-11-23 22:42:43 -08:00
5a86a60b61 test: additional coverage for backgroundColor and borderColor 2022-11-23 21:24:14 -08:00
75eefa669d feat(android): support drawable in ImageSource (#10098)
This allows passing a drawable as another source option
2022-11-19 23:13:33 -08:00
9091e43f03 fix(core): Color.isValid returned true for null/undefined (#10040) 2022-11-12 17:59:11 -08:00
7f069a7093 feat: TypeScript 4.8+ support and NativeClass decorator improvements (#10081) 2022-11-08 15:18:10 -08:00
b7d340f69b fix(ios): Color.fromIosColor returns wrong value (#10059) 2022-11-07 17:51:50 -08:00
d82f3d990d fix(core): Added ObservableArray constructor declarations to allow setting multiple arguments (#9980) 2022-07-30 08:23:40 -07:00
f9b52b9aac chore: tests 2022-07-28 20:45:31 -07:00
092e74a886 chore: runtime latest throughout apps 2022-07-25 21:21:17 -07:00
c9102f2de9 chore: tests 2022-07-22 13:32:22 -07:00
56b9963c16 chore: tests 2022-07-22 11:54:12 -07:00
4f56d8650b chore: e2e automated tests 2022-07-22 11:31:10 -07:00
df74a8baa8 feat(core): iterable ObservableArray (#9824)
BREAKING CHANGE:

Method push will now handle arguments just like Array.prototype.push.
Certain existing methods will now return ObservableArray instance instead.
Callback arguments that contained an array argument themselves will now contain an ObservableArray argument.
2022-07-09 10:09:43 -07:00
709e10b3db chore: bump apps ios runtime 2022-07-09 09:02:45 -07:00
18f4bdde4c chore: cleanup scripts 2022-07-09 09:02:45 -07:00
bc8f15580b chore: typescript 4.7.3 2022-07-09 09:02:45 -07:00
698052230b chore: nx migrate latest 2022-07-09 09:02:45 -07:00
f548fdc735 fix(ios): proper disposal and recreation of iOS native views (#9879) 2022-07-09 09:02:45 -07:00
7668a73f97 chore: bump demo apps to latest runtimes 2022-03-08 15:05:16 -08:00
a9ffccef8a chore: cleanup demo app references to simplify 2022-03-04 14:38:49 -08:00
6cd8b8e804 feat(types-ios): reduced ios types to common types for optimized ts resolution (#9809) 2022-03-04 14:18:57 -08:00