Commit Graph

818 Commits

Author SHA1 Message Date
Anton Lavrevov
ea6dcf186b Fixed internal calculations for TextPath to return correct width and height 2025-09-10 13:53:10 -05:00
Anton Lavrevov
3b362661b4 fixed line-through render for center/right aligned text. close #1971 2025-09-09 09:59:38 -05:00
Anton Lavrevov
4618b15ed4 formatting 2025-08-24 05:54:31 -05:00
copilot-swe-agent[bot]
ad7cdc1c1f Fix transformer back drag behavior with non-draggable nodes
Co-authored-by: lavrton <1443320+lavrton@users.noreply.github.com>
2025-08-24 10:37:44 +00:00
Anton Lavrevov
9ce95d98e2 Render line-through on top of text. close #1917 2025-08-24 05:19:41 -05:00
Anton Lavrevov
5c3a6a1769 Enhance Path tests with regression for getPointAtLength. close #1879 2025-08-23 16:31:45 -05:00
Anton Lavrevov
4a7ae3b671 Better svg parsing. fix #1549 2025-08-23 14:22:39 -05:00
Anton Lavrevov
2b9bfdb167 Merge branch 'refactor-typescript-part1' of github.com:nathan-muir/konva into nathan-muir-refactor-typescript-part1 2025-08-23 04:39:30 -05:00
Anton Lavrevov
62d67e964c fixed test restore all tests 2025-08-23 03:20:33 -05:00
Anton Lavrevov
6d242c406d Merge branch 'master' of github.com:konvajs/konva 2025-08-23 03:18:14 -05:00
Anton Lavrevov
a15dd097b4 Add Brightness filter and enhance filter handling
- Introduced a new Brightness filter for CSS-compatible brightness adjustments.
- Updated the Node class to support mixed filter types (function filters and CSS filter strings).
- Enhanced filter application logic to check for CSS filter support and fallback to function filters when necessary.
- Added unit tests for new filter comparisons against native CSS filters.
- Updated documentation for filter usage and examples.
2025-08-23 02:50:50 -05:00
Anton Lavrevov
af90006490 Fixed TextPath render on right align on some fonts. close #1953 2025-08-22 07:00:34 -05:00
Nathan Muir
9aac5b4ebf refactor: enable typescript option verbatimModuleSyntax 2025-08-20 17:50:17 +12:00
Nathan Muir
42e70ee82e refactor: remove custom typescript settings for tests 2025-08-20 17:47:42 +12:00
Nathan Muir
758adcd502 refactor: remove rename-imports scripts
Update approach of dealing with file extensions differences between typescript & node.

Leverages `rewriteRelativeImportExtensions` that was added in typescript 5.7 [1], and that is recommended path by node to run typescript in the future [2]

[1] https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-7.html#path-rewriting-for-relative-paths

[2] https://nodejs.org/api/typescript.html#type-stripping
2025-08-20 17:12:52 +12:00
Anton Lavrenov
0aff4cc1f5 Merge pull request #1961 from nathan-muir/fix-tests
test: remove `it.only()` causing only a single test to run
2025-08-19 10:11:45 -05:00
Nathan Muir
6ccb8d2048 test: remove it.only() causing only a single test to run 2025-08-19 21:12:41 +12:00
Nathan Muir
e50a3ea0dc chore: apply prettier formatting 2025-08-19 14:15:35 +12:00
Anton Lavrenov
0ac2ecf89b Merge pull request #1959 from nathan-muir/feat-miter-limit
feat: add support for miter-limit
2025-08-18 20:48:09 -05:00
Nathan Muir
fc227431cc feat: add support for miter-limit 2025-08-19 12:04:18 +12:00
Anton Lavrevov
4cad96ff73 Avoid crash when node inside transformer was destroyed. close #1957 2025-08-18 23:47:44 +09:00
Anton Lavrevov
c621b39f99 fixed mouseup + click events order when clicked on empty area of stage. close #1954 2025-08-17 00:26:42 +09:00
Anton Lavrevov
e7eb3e9a3f relaxed test 2025-08-13 21:56:24 +09:00
Anton Lavrevov
78d7939a26 try to fix a test for github actions 2025-08-13 21:50:30 +09:00
Anton Lavrevov
24b406f2ca restore all tests 2025-08-13 11:03:40 +09:00
Anton Lavrevov
bfee151fbf Merge branch 'master' of github.com:konvajs/konva 2025-08-12 22:23:43 +09:00
Anton Lavrevov
b059956e24 enable better text render, partial test fix 2025-08-12 22:23:33 +09:00
Anton Lavrenov
7b9ccd18ba Merge pull request #1940 from Caden-Hornyak/feature/regular-polygon-corner-radius
Some checks failed
Test Browser / build (20.x) (push) Has been cancelled
Test NodeJS / build (23.x) (push) Has been cancelled
Add corner radius for Regular Polygon
2025-08-11 06:54:12 -05:00
Anton Lavrenov
553245c074 Merge pull request #1950 from Caden-Hornyak/fix/corner-radius-negative-dimensions
Fixed corner radius for Konva.Rect negative width/height
2025-08-11 06:38:15 -05:00
Anton Lavrevov
8f22d97937 fix types in tests, add skia backend 2025-08-10 22:10:55 +09:00
Anton Lavrevov
d2ecf2064e new charRenderFunc property for Konva.text, clean tests 2025-08-09 10:49:46 +09:00
Caden Hornyak
c398aedb0a Merge branch 'konvajs:master' into feature/regular-polygon-corner-radius 2025-07-23 12:44:47 -07:00
Caden Hornyak
33e5ddf4ae Merge branch 'konvajs:master' into fix/corner-radius-negative-dimensions 2025-07-23 12:44:20 -07:00
CadenH
18956ae62b Fixed negative polygon radius corner radius bug 2025-07-23 12:39:32 -07:00
CadenH
eb70aaf7d2 fixed negative width/height corner radius 2025-07-23 11:32:25 -07:00
Anton Lavrevov
750484b0ad Fixed possible crash on node.to() method. close #1944 2025-07-08 14:20:25 -05:00
progfay
cb8760771e add test for Stage pointerleave 2025-07-04 12:18:39 +09:00
CadenH
1adf506a93 changed const to var 2025-06-30 16:08:17 -07:00
CadenH
089766c7ae fixed bugged test 2025-06-30 13:10:28 -07:00
CadenH
5155a240a3 add corner radius for regular polygon 2025-06-30 01:24:21 -07:00
Anton Lavrenov
cdd61d7179 fix pointerleave bubbling 2025-06-05 16:13:49 -05:00
tbo47
88e3d2a088 var let const 2025-04-04 13:01:18 +00:00
Anton Lavrevov
a29157a528 FINALLY FIX THAT DAMN NODE TEST! 2025-04-03 17:21:13 -05:00
Anton Lavrevov
2e08f7319f fix caching when buffer is used. close #1886
fix svg length calculation. close #1869
2025-04-03 13:03:06 -05:00
Anton Lavrevov
f32a416e03 Fixed tween destroy memory leak. close #1898 2025-03-28 13:08:04 -05:00
Anton Lavrevov
fd77f305d1 fix buffer usage in export for stage and layer. fix #1903 2025-03-28 12:52:40 -05:00
Anton Lavrevov
bdd43b239c fix test 2025-03-20 14:27:08 -05:00
Anton Lavrevov
1fb391d551 better text calculations on ellipsis config 2025-03-20 14:26:01 -05:00
Anton Lavrevov
9b989b41aa Enhance Transformer event handling and add unit test for cleanup of subscriptions. Ensure event listeners are properly managed on transformer destruction. fix #1872
Some checks are pending
Test Browser / build (23.x) (push) Waiting to run
Test NodeJS / build (23.x) (push) Waiting to run
2025-01-22 09:02:12 -05:00
Anton Lavrevov
adba0073e3 fixes in emoji rendering 2024-12-23 12:29:30 -05:00