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
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
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 Lavrevov
8f22d97937
fix types in tests, add skia backend
2025-08-10 22:10:55 +09:00
Anton Lavrenov
a1660e1ccb
fix filters work. close #1697
2024-01-05 10:55:28 -05:00
Anton Lavrenov
7bd5c62ee3
tests refactor, clean build
2021-05-05 09:19:24 -05:00
Anton Lavrenov
59956fe944
refactor tests
2021-05-03 17:09:18 -05:00
Anton Lavrenov
c926bd623c
initial tests migration
2021-04-30 09:24:27 -05:00
Anton Lavrenov
d5481b1b72
prettier
2020-05-08 09:59:35 -05:00
Anton Lavrenov
74d3a12921
automatically change transformer on shape changes. close #391
2018-05-17 07:22:45 +09:00
Anton Lavrenov
7b6d97aaa5
build and apply prettier
2017-07-28 18:40:07 +02:00
Anton Lavrenov
59cc7b99f2
setup prettier and make all code better
2017-02-24 09:15:33 -05:00
lavrton
681b81705c
manual test for drawHitFromCache with alpha threshold
2015-04-16 09:23:55 +07:00
lavrton
28d0a6f112
test update
2015-04-14 17:14:42 +07:00
lavrton
6ad6104f4b
fix bug for drawHitFromCache + HDPI. close #48
2015-04-14 10:49:33 +07:00
lavrton
36f4ab5346
tween color properties
2015-02-16 06:31:28 +07:00
lavrton
c3511210f2
cache + pixelRatio
2015-02-14 22:12:54 +07:00
lavrton
e39d7861c3
Add new method getClientRect(). rethink caching.
2015-02-12 14:10:36 +07:00
Jovination
607ef1837b
Renaming
2015-01-27 00:07:51 -07:00
Eric Rowell
e6b44bb75d
fixed #539 and also added size() overloader
2014-03-20 20:39:40 -07:00
Eric Rowell
f8ccd574cb
made several optimizations to the Animation class. removed FRAF logic. Using performance.now when available. No longer creating a new function for every animation loop. requestAnimFrame is now called before render instead of after
2014-02-19 08:39:38 -08:00
Eric Rowell
0d7cfdee9d
added more cache and filter tests
2014-01-05 13:21:05 -08:00
Eric Rowell
1f4ff9f1d7
cleaned up isListening API. introduced new enableHitGraph config that can be used to disable the hit graph
2013-12-09 10:07:08 -08:00
Eric Rowell
50b3220812
migrated old manual test to new testing system. fixed tweening issues
2013-12-05 23:10:42 -08:00
Eric Rowell
f5d5e26e5e
fixed pixel ratio issue with buffer canvas usage
2013-11-02 22:31:09 -07:00