Commit Graph

36 Commits

Author SHA1 Message Date
Nathan Walker
d3a0f2c9a6 chore: TypeScript 5.1 with Nx 16.6 migrations (#10338) 2023-08-11 07:09:32 -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
Dimitris-Rafail Katsampas
a14becdc6a fix(ios): FormattedString and Span a11y font scale (#10281) 2023-05-01 12:29:36 -07:00
Dimitris-Rafail Katsampas
7aaa1d899d feat(ios): new a11y properties for managing font scale (#10260) 2023-04-05 16:20:15 -07:00
Dimitris-Rafail Katsampas
671603ab4b test: a11y scale (#10251) 2023-03-27 15:12:38 -07:00
Dimitris-Rafail Katsampas
95f3772e77 fix(ios): support for a11y font scale (#10207) 2023-03-22 15:13:46 -07:00
Igor Randjelovic
ab436dbfe6 fix(core): CSS animation parsing (#10245) 2023-03-22 14:16:15 -07:00
Eduardo Speroni
5f96ffe7d9 test: fix safe area tests on iOS (#10240) 2023-03-22 08:14:21 -07:00
Tim Gates
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
Nathan Walker
046f9314a8 chore: cleanup utils packaging 2022-11-23 22:42:43 -08:00
Nathan Walker
5a86a60b61 test: additional coverage for backgroundColor and borderColor 2022-11-23 21:24:14 -08:00
Nathan Walker
7f069a7093 feat: TypeScript 4.8+ support and NativeClass decorator improvements (#10081) 2022-11-08 15:18:10 -08:00
Nathan Walker
f9b52b9aac chore: tests 2022-07-28 20:45:31 -07:00
Nathan Walker
4f56d8650b chore: e2e automated tests 2022-07-22 11:31:10 -07:00
Dimitris - Rafail Katsampas
f548fdc735 fix(ios): proper disposal and recreation of iOS native views (#9879) 2022-07-09 09:02:45 -07:00
Igor Randjelovic
a8f2c4d14b chore: cleanup automated app tests (#9779) 2022-03-01 12:32:39 -08:00
Dimitris - Rafail Katsampas
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
Ruslan Lekhman
388d7eaa7d feat(core): support RGB alpha notation (#9699)
Functional notation: rgb[a](R G B[ / A])
CSS Colors Level 4 adds support for space-separated values in the functional notation.
See https://www.w3.org/TR/css-color-4/#rgb-functions

Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
2022-03-01 12:32:39 -08:00
Dimitris - Rafail Katsampas
90ceed15d3 feat: new expression parser for xml bindings (#9729) 2022-03-01 12:32:39 -08:00
Igor Randjelovic
a88cacab89 chore(migrate): apps/* to webpack5 (#9606) 2021-12-21 09:47:33 -08:00
Sergey Mell
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
Nathan Walker
0ae39097bd chore: fix tests for ios 2021-09-08 16:07:39 -07:00
farfromrefuge
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
Nathan Walker
75b59ecdbf chore(release): @nativescript/core@8.0.0 2021-04-06 11:18:36 -07:00
Nathan Walker
a66587dd90 chore: cleanup test 2021-04-06 11:18:36 -07:00
Nathan Walker
14360881e6 chore: fix automated tests 2021-04-06 11:18:36 -07:00
Nathan Walker
ede1685ae2 chore: cleanup types 2021-04-06 11:18:36 -07:00
Nathan Walker
21da31562c chore: Enums > CoreTypes
Cleanup type symbol usage by consolidating to manage in one spot. This makes them easier to use as well by providing a single rollup of all the common type symbol's used throughout core.
2021-04-06 11:18:36 -07:00
Nathan Walker
e62acba792 fix: move BottomNavigation and Tabs to @nativescript-community
Cocoapods no longer required with @nativescript/core out of the box and users are no longer taxed with MaterialTabs even if they didn't use those components.

BREAKING CHANGES

If using `BottomNavigation`, just install `@nativescript-community/ui-material-bottom-navigation` and update your imports to use it. API is exactly the same.

If using `Tabs`, just install `@nativescript-community/ui-material-tabs` and update your imports to use it. API is exactly the same.
2021-04-06 11:18:36 -07:00
Nathan Walker
aaeab990c8 fix(color): support web standard #rrggbbaa format
original pr credit to @farfromrefug
https://github.com/NativeScript/NativeScript/pull/8519

BREAKING CHANGE

Long standing inconsistency with color handling here.

BEFORE:

```
// #aarrggbb

const color = new Color('#ff00ff00');

Label {
    background-color: #ff00ff00;
}
```

AFTER:

```
// #rrggbbaa

const color = new Color('#00ff00ff');

Label {
    background-color: #00ff00ff;
}
```
2021-04-06 11:18:36 -07:00
Nathan Walker
733050995c fix(core): type collisions with namespace (#8809) 2021-04-06 11:18:36 -07:00
Igor Randjelovic
4945702620 ci: run apps/automated on CI (#9196) 2021-02-05 11:21:16 -08:00
Eduardo Speroni
64e0aa6a11 fix(list-view): handle reusing wrong view (#9023) 2020-11-11 19:55:17 -08:00
Nathanael Anderson
05faa867d0 tests: color date/time ios14 tests (#9019) 2020-11-10 23:14:04 -08:00
Dimitris - Rafail Katsampas
b113f1916d feat(core): Repeater multiple item templates implementation (#8981) 2020-10-26 20:13:22 -07:00
Nathan Walker
54cce4f20c feat(core): nativescript.config and webpack updates (#8801) 2020-09-01 15:53:37 -07:00