Releases: webfactorymk/ng2-canvas-whiteboard
Merges PR to add variables for fillColorPickerText and strokeColorPickerText
Export all shapes so they can be unregistered, add 2 separate inputs for showing each colorPicker
Exports all existing canvas shapes, so that they can be easily unregistered from the canvas. (see README for unregistering the shapes).
Also, this version introduces two new Inputs, strokeColorPickerEnabled: boolean
and fillColorPickerEnabled: boolean
, also deprecates the colorPickerEnabled
Input.
For the sake of reverse-compat, the colorPickerEnabled
input is still there and it will be used in combination with the two new variables. (ex: colorPickerEnabled || fillColorPickerEnabled
).
Export all shapes so they can be unregistered, add 2 separate inputs for showing each colorPicker
Exports all existing canvas shapes, so that they can be easily unregistered from the canvas. (see README for unregistering the shapes).
Also, this version introduces two new Inputs, strokeColorPickerEnabled: boolean
and fillColorPickerEnabled: boolean
, also deprecates the colorPickerEnabled
Input.
For the sake of reverse-compat, the colorPickerEnabled
input is still there and it will be used in combination with the two new variables. (ex: colorPickerEnabled || fillColorPickerEnabled
).
Upgrade to Angular 10. Use ng-packagr as build tool, switch to angular-workspace
This version upgrades the library to have a peerDependency of angular 10. It also switches to an angular-workspace project for better maintainability and uses ng-packagr to build the library.
There is also one more package which serves as an example project which everyone can check out.
Even though no functionality should break, this is marked as a major version since there are changes in how the library is built.
Bump lodash from 4.17.11 to 4.17.13
Fixes to rxjs imports, @ViewChild static: true to canvases to support Angular8/9
Merged pull request from #55
Fix bug with production build minifying name of constructor for shape names
Add a method for exposing a copy of the update history
Angular v. < 6 - Add a method for exposing a copy of the update history
Remove karma test packages from package.json
These packages were removed because of a potential high risk security vulnerability in a package called parsejson
.