76 Commits

Author SHA1 Message Date
8877becdf9 fix(color): four-digit hex color parse failure (#10593) 2024-08-05 15:05:27 -07:00
9fd361c2e6 feat(core): css media query support (#10530) 2024-07-01 09:28:59 -07:00
6dd441d6ba perf(android): gridlayout with less JNI calls (#10402) 2024-07-01 09:20:14 -07:00
4abcb216da feat(android): background color/image handling improvements (#10451) 2024-06-28 15:07:10 -07:00
2fb4f23670 feat(core): css-what parser for CSS selectors + support for :not(), :is(), and :where() Level 4 and ~ (#10514) 2024-06-28 13:57:29 -07:00
9be392fbb0 fix(core): drop support for plural event/gesture names (#10539) 2024-05-06 18:20:28 -07:00
3b77fffad5 fix(core): stop accepting GestureTypes enum as an eventName (#10537) 2024-05-06 11:04:53 -07:00
53e958e623 fix(core): clean up event handling in Observable (#10531) 2024-05-02 00:02:01 -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
4762699fa1 fix(time-picker): properly handle 0 on hour and minutes with valueChanged (#10460)
closes https://github.com/NativeScript/NativeScript/issues/10457
2023-12-17 15:17:32 -08: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
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
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
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
f548fdc735 fix(ios): proper disposal and recreation of iOS native views (#9879) 2022-07-09 09:02:45 -07:00
a8f2c4d14b chore: cleanup automated app tests (#9779) 2022-03-01 12:32:39 -08:00
608bb1ed24 fix(core): animation iteration correct for android css animations and iOS rotation (#9628)
closes #7712

Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
2022-03-01 12:32:39 -08:00