29 Commits

Author SHA1 Message Date
04aa2bacbc fix(core): corrected background color between Label and nested spans (#10701) 2025-02-20 11:37:50 -08:00
966dccd0f9 feat(core): textbase span interaction and styling improvements (#10682)
- Added `linkTap` event support for other iOS views that nest spans
- Prevent android span from setting parent background color to itself since it doesn't react to changes of that property. Unless background color is specified to the span directly, it's going to be transparent
- Added few missing `nativeTextViewProtected` references
- Improved view disposal for classes that inherit from TextBase as they had leftovers after android activity recreation
- Removed 2 assignments of `userInteractionEnabled` from TextBase as they were unneeded and had conflicts with `isUserInteractionEnabled` property. Core already sets that property to true for the views that need it in `createNativeView` call
- `HTMLView` will remove extra padding using the documented `UIEdgeInsetsZero`
2025-01-31 14:00:52 -08:00
4abcb216da feat(android): background color/image handling improvements (#10451) 2024-06-28 15:07:10 -07:00
9ca490250e feat(ios): allow disabling text animations (#10505) 2024-04-03 15:59:10 -07:00
2cf166da59 fix(ios): font variation settings not applied to labels (#10429) 2023-11-22 08:38:10 -08: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
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
a14becdc6a fix(ios): FormattedString and Span a11y font scale (#10281) 2023-05-01 12:29:36 -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
b147612e06 test: standardized jest unit testing (#10047) 2022-11-28 14:32:25 -08:00
6c60eab870 fix(core): ellipsis at the end for Labels with maxLines (#10005) 2022-11-18 10:29:05 -08:00
ab3416d4d0 fix(ios): tapping on span does not emit linkTap event (#10028) 2022-09-30 08:04:20 -07:00
e4b5cdf7df fix(ios): properties lineHeight and letterSpacing did not apply to spans (#10025) 2022-09-13 22:17:50 -07:00
4f56d8650b chore: e2e automated tests 2022-07-22 11:31:10 -07:00
7ff7233737 feat(core): maxLines support for all text components (#9884) 2022-07-09 09:02:45 -07:00
9d3977ea4f perf(ios): uifont and formatted string optimizations plus uiimage scaling (#9761) 2022-03-01 12:32:39 -08:00
1de5295ad9 feat(text): add css text-align justify (#9573)
Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
2021-09-27 17:27:08 -07:00
b29e1452bd feat(text-base): allow subclass to override createFormattedTextNative (#9334) 2021-04-18 10:49:00 -07:00
7c60735d14 chore: cleanup background handling 2021-04-06 11:18:36 -07:00
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
733050995c fix(core): type collisions with namespace (#8809) 2021-04-06 11:18:36 -07:00
a67fb69687 chore: typing cleanup 2021-04-06 11:18:36 -07:00
d2f50e50bb feat: improved css-shadow parser 2021-04-06 11:18:36 -07:00
673387cf99 chore: cleanup 2021-04-06 11:18:36 -07:00
a6b1bde655 feat(core): text-shadow support (#8991) 2021-04-06 11:18:36 -07:00
c1f231d88e chore: fix eslint issues (#9017) 2020-11-11 08:46:36 -08:00
2243660080 feat(core): TypeScript 4 + cleanup (#8967) 2020-10-19 09:28:05 -07:00
020ad4da37 chore(core): monorepo, esm targeting, improved management (#8707) 2020-08-25 20:00:59 -07:00