Commit e517688
authored
[task] Setup the stroke effect (#122)
* Setup the text stroke effect
commit 6dd0e95
Author: Can Undeger <[email protected]>
Date: Wed Nov 19 16:26:35 2025 -0500
Add some logs to android
commit 36d4caf
Author: Can Undeger <[email protected]>
Date: Tue Nov 18 13:03:23 2025 -0500
Upgrade to 0.81.4
commit c5c665d
Author: Can Undeger <[email protected]>
Date: Tue Nov 18 12:35:50 2025 -0500
Make it so that the stroke as well as gradient are applied
commit 62fb685
Author: Can Undeger <[email protected]>
Date: Mon Nov 17 11:32:45 2025 -0500
Fix stroke fill color
commit da021f8
Author: Can Undeger <[email protected]>
Date: Wed Nov 12 18:33:19 2025 -0500
Fix the gradient angle on ios
commit 5d32321
Author: Can Undeger <[email protected]>
Date: Wed Nov 12 18:00:34 2025 -0500
Add logging for the gradient angle
commit ccf1a88
Author: Can Undeger <[email protected]>
Date: Wed Nov 12 15:37:18 2025 -0500
Fix ios text stroke once more
commit 10d126e
Author: Can Undeger <[email protected]>
Date: Wed Nov 12 12:42:18 2025 -0500
Attempt to fix stroke on ios
commit c5306e6
Author: Can Undeger <[email protected]>
Date: Wed Nov 12 12:25:40 2025 -0500
Fix the upside down text issue
commit 08b7142
Author: Can Undeger <[email protected]>
Date: Mon Nov 10 16:21:04 2025 -0500
Add the gradient angle prop
commit cf0d9e2
Author: Can Undeger <[email protected]>
Date: Sun Nov 9 15:21:01 2025 -0500
Fix the ios build
commit 2638b95
Author: Can Undeger <[email protected]>
Date: Sun Nov 9 15:08:04 2025 -0500
FIX COLOR NOT WORKING
commit e5e7ec9
Author: Can Undeger <[email protected]>
Date: Sun Nov 9 14:30:43 2025 -0500
Update the ios stroke implementation
commit e7ade51
Author: Can Undeger <[email protected]>
Date: Sun Nov 9 13:25:55 2025 -0500
Add logging for text stroke
commit 8a330ba
Author: Can Undeger <[email protected]>
Date: Sun Nov 9 13:23:11 2025 -0500
Update the text stroke on ios
commit 4fa7fec
Author: Can Undeger <[email protected]>
Date: Sun Nov 9 13:15:22 2025 -0500
Fix stroke color conversion
commit 0986441
Author: Can Undeger <[email protected]>
Date: Fri Nov 7 11:33:32 2025 -0500
Try to fix the android build
commit d88e464
Author: Can Undeger <[email protected]>
Date: Wed Nov 5 16:47:27 2025 -0500
Have a proper outer stroke on android
commit bb912df
Author: Can Undeger <[email protected]>
Date: Wed Nov 5 15:54:43 2025 -0500
Another attempt to fix the ios stroke
commit ff262dd
Author: Can Undeger <[email protected]>
Date: Wed Nov 5 15:22:39 2025 -0500
Fix the stroke on ios
commit cc05034
Author: Can Undeger <[email protected]>
Date: Wed Nov 5 14:26:17 2025 -0500
Fix android and ios
commit 95ffe8d
Author: Can Undeger <[email protected]>
Date: Wed Nov 5 13:22:21 2025 -0500
Fix the android build
commit a89930e
Author: Can Undeger <[email protected]>
Date: Wed Nov 5 13:13:59 2025 -0500
Optimize the stroke effect
commit 6cbb176
Author: Can Undeger <[email protected]>
Date: Wed Nov 5 12:54:04 2025 -0500
Fix android logging issue
commit a67cea7
Author: Can Undeger <[email protected]>
Date: Wed Nov 5 12:30:39 2025 -0500
Add some logging for the stroke effect
commit e00e481
Author: Can Undeger <[email protected]>
Date: Wed Nov 5 11:26:54 2025 -0500
Dont eat into the text with the stroke effect
commit 10c3f78
Author: Can Undeger <[email protected]>
Date: Tue Nov 4 16:17:07 2025 -0500
LwqCreate the stroke effect for the text component
* Fix the text ellipsis issue on android
* Clean up the text stroke effect
* Fix text container size
* Fix double stroke effect accounting
* Fix ios text stroke layout size calculation
* Fix the container size calculation for text with stroke effect1 parent b585c65 commit e517688
File tree
17 files changed
+474
-19
lines changed- packages/react-native
- Libraries
- Components/View
- Text
- BaseText
- Text
- ReactAndroid/src/main/java/com/facebook/react/views/text
- internal/span
- ReactCommon/react/renderer
- attributedstring
- components/text
17 files changed
+474
-19
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| 209 | + | |
| 210 | + | |
209 | 211 | | |
210 | 212 | | |
211 | 213 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
57 | 61 | | |
58 | 62 | | |
59 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
56 | 60 | | |
57 | 61 | | |
58 | 62 | | |
| |||
Lines changed: 31 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| |||
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
| 52 | + | |
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
| |||
90 | 93 | | |
91 | 94 | | |
92 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
93 | 100 | | |
94 | 101 | | |
95 | 102 | | |
| |||
210 | 217 | | |
211 | 218 | | |
212 | 219 | | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
213 | 229 | | |
214 | 230 | | |
215 | 231 | | |
| |||
303 | 319 | | |
304 | 320 | | |
305 | 321 | | |
306 | | - | |
| 322 | + | |
307 | 323 | | |
308 | 324 | | |
309 | 325 | | |
| |||
312 | 328 | | |
313 | 329 | | |
314 | 330 | | |
315 | | - | |
316 | | - | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
317 | 342 | | |
318 | 343 | | |
319 | 344 | | |
| |||
397 | 422 | | |
398 | 423 | | |
399 | 424 | | |
| 425 | + | |
400 | 426 | | |
401 | 427 | | |
402 | 428 | | |
| |||
414 | 440 | | |
415 | 441 | | |
416 | 442 | | |
| 443 | + | |
| 444 | + | |
417 | 445 | | |
418 | 446 | | |
419 | 447 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
226 | 241 | | |
227 | 242 | | |
228 | 243 | | |
| |||
Lines changed: 42 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
408 | | - | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | | - | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
413 | 428 | | |
414 | | - | |
| 429 | + | |
415 | 430 | | |
416 | 431 | | |
417 | 432 | | |
| |||
441 | 456 | | |
442 | 457 | | |
443 | 458 | | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
444 | 480 | | |
445 | 481 | | |
446 | 482 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
119 | 120 | | |
120 | 121 | | |
121 | 122 | | |
122 | | - | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
126 | 205 | | |
127 | 206 | | |
128 | 207 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
| |||
63 | 66 | | |
64 | 67 | | |
65 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
66 | 72 | | |
67 | 73 | | |
68 | 74 | | |
| |||
0 commit comments