67 Commits

Author SHA1 Message Date
2377b6ae98 chore(core): setNative type handling (#10768) 2025-07-20 17:23:11 -07:00
eab726b5d6 chore: TypeScript 5.8, nx migrate, dep updates (#10759) 2025-07-07 16:29:09 -07:00
ac2e6a0928 feat(TextField): support css white-space and text-overflow (#10737) 2025-06-23 19:54:41 -07:00
852011c4f9 fix(core): missing parameter for once event listeners (#10715) 2025-03-03 06:54:52 -08:00
2d71ada46d feat(core): CSS wide keywords (#10709) 2025-02-25 19:15:47 -08:00
640db9529e fix(ios): apply text color to HTMLView content (#10708) 2025-02-22 14:17:47 -08:00
04aa2bacbc fix(core): corrected background color between Label and nested spans (#10701) 2025-02-20 11:37:50 -08:00
70e7248c97 fix(core): added missing inheritance support for text css properties (#10699) 2025-02-18 08:38:20 -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
045986de8f fix: Corrected font-weight support for span 2025-01-28 23:26:24 -08:00
a21d4f94ac fix(android): Span should accept all font weight types 2025-01-28 23:26:24 -08:00
24ad6e45b1 docs(core): fix types & improve jsdoc comments (#10620) 2025-01-12 12:38:28 -08:00
4e54c676a3 revert: "fix(core): Proper line-height calculation" (#10647) 2024-11-18 19:48:51 -08:00
ec7fa5d05e fix(core): proper line-height calculation (#10642) 2024-10-31 14:40:23 -07:00
4abcb216da feat(android): background color/image handling improvements (#10451) 2024-06-28 15:07:10 -07:00
873f711a6b revert: "fix(android): proper change of input interaction mode programmatically (#10434) (#10512)
This reverts commit 07d2129f9c9b387c238c9a7c2da29b5690bac986.
2024-04-14 17:07:25 -07:00
01d537bf15 feat(visionos): ui-mobile-base supporting xros plus improvements to window handling (#10478) 2024-04-05 17:07:16 -07:00
9ca490250e feat(ios): allow disabling text animations (#10505) 2024-04-03 15:59:10 -07:00
40b2a6a6db chore: use __ANDROID__ and __IOS__ throughout (#10446)
Standardizes usage for more macro style removal during bundling for target platforms.
[skip ci]
2023-11-25 08:34:25 -08:00
07d2129f9c fix(android): proper change of input interaction mode programmatically (#10434) 2023-11-24 22:54:57 -08: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
0a2b2202f3 fix(testing): e2e flag no longer needed, testID is now applicable in dev or prod builds (#10396)
- you can now test on development or production with testID set
- for android, this changes testID to use resource id instead of content description
- you no longer need to pass `--env.e2e`. e2e is simply usable if testID is set
- the `testID` property will also set `accessibilityIdentifier` and `accessibilityIdentifier` property will set `testID` only if there is a `testID` already set
2023-10-04 08:49:26 -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
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
485fb61947 fix(core): Observable event types consistency (#10181) 2023-01-31 07:42:09 -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
6c60eab870 fix(core): ellipsis at the end for Labels with maxLines (#10005) 2022-11-18 10:29:05 -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
57657075ca fix(android): tappable spans aren't visible on single-line labels (#10055) 2022-11-07 08:52:24 -08:00
ab3416d4d0 fix(ios): tapping on span does not emit linkTap event (#10028) 2022-09-30 08:04:20 -07:00
e3255c00d8 fix(android): text transform capitalize is capitalizing after apostrophe (#10029)
Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
2022-09-23 15:17:00 -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
c8bff74e67 fix(core): missing export for maxLinesProperty (#9965) 2022-07-22 08:12:28 -07:00
0477044d6f fix(core): FormattedString.spans is now restored (#9960) 2022-07-17 19:48:07 -07:00
7ff7233737 feat(core): maxLines support for all text components (#9884) 2022-07-09 09:02:45 -07:00
8be543bcc7 feat: testID property for use with e2e testing without interfering with a11y (#9793)
* fix(android): nested frames were sometimes not recreated (#9748)

Co-authored-by: Eduardo Speroni <edusperoni@gmail.com>

* feat: testID property for use with e2e testing without interfering with a11y

* feat: better testID support along a11y

wip

* fix: make sure we have a defined id

* feat: --env.e2e to enable testID

* chore: return if using testID

* chore: cleanup

Co-authored-by: Eduardo Speroni <edusperoni@gmail.com>
Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
2022-03-08 23:25:05 +01:00
aa1c631e6f fix(android): text-transform: capitalize behavior (#9598)
closes #7059
2022-03-01 12:32:39 -08:00
9d3977ea4f perf(ios): uifont and formatted string optimizations plus uiimage scaling (#9761) 2022-03-01 12:32:39 -08:00
2ad280deb0 fix(android): version Android text-align justify (#9620) 2021-10-20 09:24:53 -07: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
0d0d0382ad fix(android): use nativeTextViewProtected internally (#9483) 2021-09-08 16:07:39 -07:00
59d9271bce feat(webpack): improved svelte HMR (#9497)
* update svelte config to use svelte-loader

* handle null config

* fix: worker support in .svelte files & update snapshots

* fix after merge

Co-authored-by: halfnelson <dpershouse@gmail.com>
Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
2021-08-11 11:42:53 +02:00
9f582ba168 fix(android): accessibilityIdentifier (#9432)
needs to be set on `nativeTextViewProtected` for text-base components
fixes https://github.com/nativescript-community/ui-material-components/issues/304
2021-06-02 18:47:19 -07:00