100 Commits

Author SHA1 Message Date
7f2d51e7d0 revert: "perf: improve attribute selectors by adding single listeners (#10384)" 2024-07-04 10:33:45 -07:00
779d79285d feat(core): ability to embed into platform host projects (#10465) 2024-07-01 16:47:33 -07:00
9fd361c2e6 feat(core): css media query support (#10530) 2024-07-01 09:28:59 -07:00
7036f12b5c fix(android): prevent error on navigation back after using page transition (#10439) 2024-06-28 16:15:40 -07:00
4abcb216da feat(android): background color/image handling improvements (#10451) 2024-06-28 15:07:10 -07:00
bb83addb5c perf: improve attribute selectors by adding single listeners (#10384) 2024-06-28 14:55:12 -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
3a0afdb9cc feat(SegmentedBar): selectedTextColor added and selectedBackgroundColor improvements (#10474) 2024-01-19 10:39:59 -08:00
172d3463a3 fix(core): safe important check (#10455) 2023-12-19 10:11:10 -08:00
aba3093e69 fix(ios): non-uniform border angle (#10437) 2023-11-25 08:28:10 -08:00
5a4bb7c38c fix(ios): shadow does not consider z-index (#10433) 2023-11-24 10:04:06 -08:00
2cf166da59 fix(ios): font variation settings not applied to labels (#10429) 2023-11-22 08:38:10 -08:00
67440095f4 fix(css): box-shadow none handling (#10445)
closes https://github.com/NativeScript/NativeScript/issues/10403
2023-11-19 15:30:07 -08:00
d70b48bbe9 fix(css): prevent shorthand parse error on 'unset' and 'inset' (#10424) 2023-11-02 13:40:57 -07:00
08478556a9 fix(core): font variation settings parser invalid axis (#10427) 2023-11-02 13:39:52 -07:00
c78ea79f0f fix(ios): shadow position after translate transform (#10413) 2023-10-16 15:41:59 -07:00
c23695c477 fix(core): box-shadow 'none' handling (#10405) 2023-10-14 14:22:15 -07:00
d6478237ec feat(css): text-stroke support (#10399)
closes https://github.com/NativeScript/NativeScript/issues/3597
closes https://github.com/NativeScript/NativeScript/issues/3972
2023-10-09 12:00:21 -07:00
f54ebbb2bf fix(ios): Shadow layer origin point update (#10376) 2023-09-07 06:39: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
8d25d251cd feat(css): support for text-overflow (#10369) 2023-08-27 15:32:09 -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
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