Commit Graph

487 Commits

Author SHA1 Message Date
Dimitris-Rafail Katsampas
4b87a35e51 feat(core): flexibility using multiple RootLayouts (#10684) 2025-02-02 09:42:31 -08:00
Dimitris-Rafail Katsampas
79a0306f32 fix(ios): prevent animator from animating colors on shadow layer (#10686) 2025-02-02 07:20:02 -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
03cca58712 fix(core): safety-checks to prevent potential navigation exceptions (#10683)
Plus coding conventions and notes updates. [skip ci]
2025-01-31 13:59:26 -08:00
Dimitris-Rafail Katsampas
9bd147c9d0 fix(core): avoid splicing arrays using a negative start index (#10679) 2025-01-29 16:57:32 -08:00
Nathan Walker
20fc1cc1d4 feat: apple view filtering (#10681)
[skip ci]
2025-01-29 16:56:54 -08:00
Dimitris-Rafail Katsampas
e6beb1d816 fix(core): pseudo-class handlers failing to unsubscribe listeners (#10680) 2025-01-29 11:26:59 -08:00
Dimitris - Rafail Katsampas
4902e27818 perf: Avoid creating new typeface instances for system fonts 2025-01-28 23:26:24 -08:00
Dimitris - Rafail Katsampas
30da2752ad chore: Added comment 2025-01-28 23:26:24 -08:00
Dimitris - Rafail Katsampas
045986de8f fix: Corrected font-weight support for span 2025-01-28 23:26:24 -08:00
Dimitris - Rafail Katsampas
b12c41532a chore: Minor variable naming changes 2025-01-28 23:26:24 -08:00
Dimitris - Rafail Katsampas
f776ab950f chore: Minor comment change 2025-01-28 23:26:24 -08:00
Dimitris - Rafail Katsampas
6968997d9d chore: Proper variable naming for font variation 2025-01-28 23:26:24 -08:00
Dimitris - Rafail Katsampas
8726d026fe fix: Added asset path fallback null value inside an else clause 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
e545f5869c fix(ios): corrected rotate animation (#10676)
[skip ci]
2025-01-25 11:38:07 -08:00
Dimitris-Rafail Katsampas
a531232fbb fix(ios): invalid transform if set before any layout (#10675)
[skip ci]
2025-01-25 11:36:42 -08:00
Dimitris-Rafail Katsampas
0eb2745589 fix(ios): safe area memory leak on iOS 10 and older versions (#10673) 2025-01-22 15:59:31 -08:00
Dimitris-Rafail Katsampas
5f8fb2c36a fix(ios): frame backstack disposal handling (#10672) 2025-01-22 14:22:36 -08:00
Dimitris-Rafail Katsampas
1e86ed9da8 fix(ios): background styles after frame changed by safe area (#10661) 2025-01-12 19:51:33 -08:00
Dimitris-Rafail Katsampas
f970455007 feat(core): support for simultaneous pseudo states (#10656) 2025-01-12 19:18:08 -08:00
Dimitris-Rafail Katsampas
a883a79e3b fix(core): provided image source can be unintentionally disposed (#10654) 2025-01-12 18:12:06 -08:00
Dimitris-Rafail Katsampas
5e85d8873c feat(ios): background-image support for action bar (#10645) 2025-01-12 17:57:28 -08:00
Ammar Ahmed
24ad6e45b1 docs(core): fix types & improve jsdoc comments (#10620) 2025-01-12 12:38:28 -08:00
Nathan Walker
3dec0a5e99 chore: use vitest for unit testing plus workspace updates (#10662) 2025-01-12 11:52:13 -08:00
Dimitris-Rafail Katsampas
750d2ee455 fix(core): frame ignored event listeners in xml markup (#10646) 2024-11-18 19:50:21 -08:00
Dimitris-Rafail Katsampas
712a9f4848 revert: "perf: disable accessibility for layout views" (#10649) 2024-11-18 19:49:44 -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
4f367483ef fix(android): background color is not applied to certain views (#10652) 2024-11-18 19:45:30 -08:00
Dimitris-Rafail Katsampas
ec7fa5d05e fix(core): proper line-height calculation (#10642) 2024-10-31 14:40:23 -07:00
Dimitris-Rafail Katsampas
4f46815b27 fix(ios): anti-aliasing for accurate borders (#10619) 2024-10-31 09:16:44 -07:00
Dimitris-Rafail Katsampas
a320ca1fb3 revert: "perf(core): avoid setting the same value to view properties" (#10618)
Revert "perf(core): avoid setting the same value to view properties (#10602)"

This reverts commit 499fe8dc82.
2024-10-23 13:14:04 -07:00
Igor Randjelovic
050601232a fix(layout): prevent negative width/height values (#10616) 2024-09-03 08:59:03 -07:00
Eduardo Speroni
ba3316e749 fix(ios): popover delegate should ignore non-native views (#10609) 2024-08-29 09:29:49 -07:00
Dimitris-Rafail Katsampas
6104b5bfa3 feat(core): added css class for styling dialog nested elements (#10605) 2024-08-22 19:06:22 -07:00
Dimitris-Rafail Katsampas
dca77183d1 fix(ios): proper cleanup of reused listview cell content (#10603) 2024-08-07 22:50:48 -07:00
Dimitris-Rafail Katsampas
499fe8dc82 perf(core): avoid setting the same value to view properties (#10602) 2024-08-07 17:28:15 -07:00
Dimitris-Rafail Katsampas
75c8e941a0 fix(ios): proper drawing bounds for colored borders (#10600) 2024-08-05 15:42:13 -07:00
Dimitris-Rafail Katsampas
f7b9d06e91 fix(android): RootLayout shade cover null color handling (#10599) 2024-08-05 15:40:46 -07:00
Dimitris-Rafail Katsampas
89fa6ec84d fix(android): layout change listeners are ignored when using addEventListener (#10597) 2024-08-05 15:07:37 -07:00
Igor Randjelovic
a703d9a7a1 chore: cleanup log (#10586) 2024-07-14 09:34:08 -07:00
Eduardo Speroni
6041b2d083 fix(gestures): lowercase gesture handling and add deprecation notice when using non-string events (#10581) 2024-07-10 19:05:10 -07:00
Nathan Walker
7f2d51e7d0 revert: "perf: improve attribute selectors by adding single listeners (#10384)" 2024-07-04 10:33:45 -07:00
farfromrefuge
7e9be32e28 fix(android): prevent error while opening modal from background (#10570)
It is a known android "issue" that you cant commit/show a fragment while in background. The reason is, as explained [here](https://medium.com/@113408/avoid-fragment-illegalstateexception-can-not-perform-this-action-after-onsaveinstancestate-ba76ae4f00fe) or [here](https://stackoverflow.com/questions/15729138/on-showing-dialog-i-get-can-not-perform-this-action-after-onsaveinstancestate), that `onSaveInstanceState` is already called so any operation before activity start would be with state loss.
There are 2 solutions in this case:
* use `commitAllowingStateLoss`, `dismissAllowingStateLoss` ... but then you loose state ... This is what we are doing in N in many cases. We can do this with `show` too but we would need to override the `DialogFragment.show` method.
* delay the action until the activity is resumed.

This PR uses the second solution. We could add an option to `showModal` to use the first solution. The user experience is different. Solution 1:  when the app is resumed the modal is already shown and layed out. Solution 2: you see the modal opening on app resume
2024-07-03 12:23:01 -07:00
Nathan Walker
80f3ff2042 feat(ios): SF Symbol scale support via iosSymbolScale (#10569) 2024-07-02 16:26:40 -07:00
Vladimir Mutafov
779d79285d feat(core): ability to embed into platform host projects (#10465) 2024-07-01 16:47:33 -07:00
Dimitris-Rafail Katsampas
9fd361c2e6 feat(core): css media query support (#10530) 2024-07-01 09:28:59 -07:00
farfromrefuge
6dd441d6ba perf(android): gridlayout with less JNI calls (#10402) 2024-07-01 09:20:14 -07:00
farfromrefuge
7036f12b5c fix(android): prevent error on navigation back after using page transition (#10439) 2024-06-28 16:15:40 -07:00
Dimitris-Rafail Katsampas
4abcb216da feat(android): background color/image handling improvements (#10451) 2024-06-28 15:07:10 -07:00