Commit Graph

39 Commits

Author SHA1 Message Date
Dimitris-Rafail Katsampas
2377b6ae98 chore(core): setNative type handling (#10768) 2025-07-20 17:23:11 -07:00
Nathan Walker
eab726b5d6 chore: TypeScript 5.8, nx migrate, dep updates (#10759) 2025-07-07 16:29:09 -07:00
Dimitris-Rafail Katsampas
2d71ada46d feat(core): CSS wide keywords (#10709) 2025-02-25 19:15:47 -08:00
Dimitris-Rafail Katsampas
04aa2bacbc fix(core): corrected background color between Label and nested spans (#10701) 2025-02-20 11:37:50 -08:00
Dimitris-Rafail Katsampas
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
Dimitris - Rafail Katsampas
045986de8f fix: Corrected font-weight support for span 2025-01-28 23:26:24 -08:00
Dimitris - Rafail Katsampas
a21d4f94ac fix(android): Span should accept all font weight types 2025-01-28 23:26:24 -08:00
Dimitris-Rafail Katsampas
4e54c676a3 revert: "fix(core): Proper line-height calculation" (#10647) 2024-11-18 19:48:51 -08:00
Dimitris-Rafail Katsampas
ec7fa5d05e fix(core): proper line-height calculation (#10642) 2024-10-31 14:40:23 -07:00
Dimitris-Rafail Katsampas
873f711a6b revert: "fix(android): proper change of input interaction mode programmatically (#10434) (#10512)
This reverts commit 07d2129f9c.
2024-04-14 17:07:25 -07:00
Dimitris-Rafail Katsampas
07d2129f9c fix(android): proper change of input interaction mode programmatically (#10434) 2023-11-24 22:54:57 -08:00
Dimitris-Rafail Katsampas
2cf166da59 fix(ios): font variation settings not applied to labels (#10429) 2023-11-22 08:38:10 -08:00
Nathan Walker
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
Canmert
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
Dimitris-Rafail Katsampas
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
Nathan Walker
8d25d251cd feat(css): support for text-overflow (#10369) 2023-08-27 15:32:09 -07:00
Nathan Walker
82d60ae057 fix(core): circular imports of SDK_VERSION 2022-11-30 09:14:10 -08:00
Nathan Walker
b147612e06 test: standardized jest unit testing (#10047) 2022-11-28 14:32:25 -08:00
felixkrautschuk
6c60eab870 fix(core): ellipsis at the end for Labels with maxLines (#10005) 2022-11-18 10:29:05 -08:00
farfromrefuge
abd722cd3d perf(core): android sdk check (#10084) 2022-11-12 10:09:45 -08:00
Dimitris-Rafail Katsampas
57657075ca fix(android): tappable spans aren't visible on single-line labels (#10055) 2022-11-07 08:52:24 -08:00
Dimitris-Rafail Katsampas
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
farfromrefuge
7ff7233737 feat(core): maxLines support for all text components (#9884) 2022-07-09 09:02:45 -07:00
Nathan Walker
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
Kinshuk Dua
aa1c631e6f fix(android): text-transform: capitalize behavior (#9598)
closes #7059
2022-03-01 12:32:39 -08:00
Juan de Dios Martínez Vallejo
2ad280deb0 fix(android): version Android text-align justify (#9620) 2021-10-20 09:24:53 -07:00
Juan de Dios Martínez Vallejo
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
farfromrefuge
0d0d0382ad fix(android): use nativeTextViewProtected internally (#9483) 2021-09-08 16:07:39 -07:00
farfromrefuge
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
Martin Guillon
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
Martin Guillon
b29e1452bd feat(text-base): allow subclass to override createFormattedTextNative (#9334) 2021-04-18 10:49:00 -07:00
Igor Randjelovic
7c60735d14 chore: cleanup background handling 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
733050995c fix(core): type collisions with namespace (#8809) 2021-04-06 11:18:36 -07:00
William Tjondrosuharto
19ce9fc2bf chore: box shadow updates (#9220) 2021-04-06 11:18:36 -07:00
Tiago Alves
a6b1bde655 feat(core): text-shadow support (#8991) 2021-04-06 11:18:36 -07:00
Martin Guillon
c1f231d88e chore: fix eslint issues (#9017) 2020-11-11 08:46:36 -08:00
Nathan Walker
2243660080 feat(core): TypeScript 4 + cleanup (#8967) 2020-10-19 09:28:05 -07:00
Nathan Walker
020ad4da37 chore(core): monorepo, esm targeting, improved management (#8707) 2020-08-25 20:00:59 -07:00