79 Commits

Author SHA1 Message Date
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
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
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
e560cb1374 fix(core): improved handling for unsupported '!important' css rule (#10243) 2023-03-22 08:13:35 -07:00
9ed3c9b256 fix(ios): guard against no nativeView in createBackgroundUIColor (#10229) 2023-03-17 08:27:30 -07:00
dcf6a365cd fix(core): unset css values of type Property (#10199) 2023-02-05 09:16:01 -08:00
571d5156ec fix(core): add equalityComparer to border-radius properties (#10185) 2023-01-30 22:22:42 -08:00
c42c3c5f26 fix(ios): race conditions with nativeView (#10182) 2023-01-23 12:08:00 -08:00
0632215793 chore: eslint cleanup (#10160) 2023-01-09 09:40:20 -08:00
6948f7c032 fix(ios): box shadow border radius (#10142) 2022-12-27 19:41:34 -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
395bc022e3 chore: cleanup font-variation-settings 2022-11-23 21:16:40 -08:00
a5e3e223dd feat(core): support css font-variation-settings (#9995) 2022-11-23 20:57:22 -08:00
abd722cd3d perf(core): android sdk check (#10084) 2022-11-12 10:09:45 -08:00
7f069a7093 feat: TypeScript 4.8+ support and NativeClass decorator improvements (#10081) 2022-11-08 15:18:10 -08:00
5f3f1ace28 fix(core): font-weight allow passing number (#10072) 2022-11-07 13:52:13 -08:00
608d3b9296 fix(android): CSS style not working properly in modal pages (#10070) 2022-11-03 21:21:57 -07:00
9ccc54b603 perf: faster style-scope setPropertyValues (#9083) 2022-09-07 16:47:38 -07:00
4b0c812707 feat(core): make font style, weight, scale params optional (#9993)
Change font style, weight, scale constructor parameters to optional.
Export `FontStyle` and `FontWeight`.
2022-08-12 18:41:57 -07:00
8d0c3285ed chore: cleanup uifont cache logs to be trace enabled 2022-07-09 09:02:45 -07:00
8756df30d4 perf: cache UIFont construction based on FontDescriptor (#9948)
Reduces unnecessary UIFont creation by reusing existing UIFonts matching the same font parameters.
2022-07-09 09:02:45 -07:00
50fd3c06f8 revert: "fix(ios): apply proper border radius to box shadow and view sublayers (#9881)" (#9917)
This reverts commit 3d882b0999ca25cbab104700eb483bc5d5d9a1ab.
2022-07-09 09:02:45 -07:00
b7e6128576 fix(ios): apply proper border radius to box shadow and view sublayers (#9881) 2022-07-09 09:02:45 -07:00
7ff7233737 feat(core): maxLines support for all text components (#9884) 2022-07-09 09:02:45 -07:00
32567ef361 feat(core): allow removal of specific CSS variables (#9896) 2022-06-04 10:24:13 -07:00
54f454f881 fix(android): ensure android application is created before setting listeners (#9876)
Co-authored-by: Osei Fortune <fortune.osei@yahoo.com>
2022-04-19 18:40:21 +02:00
da3bd2c6fb fix(css): borderColor parse handling for hsl(a) color values (#9857) 2022-04-05 19:24:09 +02:00
5550e6943e Merge branch 'master' into release/8.2.0 2022-03-01 13:21:10 -08:00
d3674de882 feat: allow better tree shaking (#9798) 2022-03-01 12:34:28 -08:00
9d3977ea4f perf(ios): uifont and formatted string optimizations plus uiimage scaling (#9761) 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
2be1ada3da chore: cleanup background styling handling 2022-03-01 12:32:39 -08:00
dde9e02cac feat: improved background handling (#9615) 2022-03-01 12:32:39 -08:00
d756eb5574 feat(root-layout): support gradient colors on shade cover (#9626)
Co-authored-by: William Juan <williamjuan027@gmail.com>
2022-03-01 12:32:39 -08:00
a88cacab89 chore(migrate): apps/* to webpack5 (#9606) 2021-12-21 09:47:33 -08:00
02aa0f652a fix(style): CSS variables should be case-sensitive. (#9603) 2021-10-08 11:04:04 -07:00
3e21748af4 fix: background parsing color #9559 (#9560) 2021-09-21 21:41:34 -07:00
a38e2ca3b9 fix(android): background-image 'none' (#9547)
closes https://github.com/NativeScript/NativeScript/issues/9546
2021-09-15 19:04:26 +02:00
c4db847ded feat(color): added utilities and improved color parsing performance (#9110) 2021-09-08 16:07:39 -07:00
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
aa9c9f3897 chore: cleanup 2021-09-08 16:07:38 -07:00
dd5f24a737 feat(core): make css parsers tree-shakable (#9496) 2021-09-08 16:07:38 -07:00
b8d8110994 fix: stop leaking style scopes (#9444)
fixes #9311

* fix: stop leaking style scopes

* fix: don't leak scoped styles in production
2021-06-15 23:00:07 +02:00
04381fa3e7 fix(animations): stop keyframe animations after View unloaded (#9421) 2021-05-30 11:56:28 -07:00
263c920cb8 fix(box-shadow): support for 'none' (#9418) 2021-05-25 21:22:35 -07:00
0d4ccba60a chore: combine prettier with eslint (#9348) (#9360)
Co-authored-by: Martin Guillon <martin.guillon@akylas.fr>
2021-05-02 10:11:37 -07:00
8cd1872ef7 chore: better trace handling around css 2021-04-06 11:18:36 -07:00