drag&drop refactor, update docs

This commit is contained in:
Anton Lavrenov
2019-01-25 00:20:15 -05:00
parent 11d805795a
commit a0b2f027ba
13 changed files with 2171 additions and 951 deletions

View File

@@ -6,21 +6,25 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## [new version][unreleased]
### Added
* Show a warning when a stage has too many layers.
* Show a warning when a stage has too many layers
* Show a warning on duplicate ids
* Show a warning on weird class in `Node.create` parsing from JSON
### Changed
* Fixes inconsistent `layer.setSize()` method. Now it has same arguments as any container.
* Full rewrite to Typescript with tons of refactoring and small optimizations. The public API should be 100% the same
* Fixed `patternImage` and `radialGradient` for `Konva.Text`
* `Konva.Util._isObject` is renamed to `Konva.Util._isPlainObject`.
* changed behavior of `removeId`.
* A bit changed behavior of `removeId` (private method), not it doesn't clear node ref, of id is changed.
* simplified `batchDraw` method (it doesn't use `Konva.Animation`) now.
* `id` and `name` properties defaults are empty strings, not `undefined`
### Removed
* `Konva.Util.addMethods`
* `Konva.Util._removeLastLetter`
* `Konva.Util._getImage`
* `Konv.Util._getRGBAString`
* Removed polyfill for `requestAnimationFrame`.
### Fixed