From 200d42b04126c638ad9a52fac2bfa5f2f7f8cd2d Mon Sep 17 00:00:00 2001 From: Fabien Winkler Date: Mon, 11 Dec 2023 11:59:30 +0100 Subject: [PATCH] chore(release): 1.2.0 --- CHANGELOG.md | 34 ++++++++++++++++++++++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 37 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 47cd68c..e145ff6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,40 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [1.2.0](https://github.com/fabwcie/drawer/compare/v1.1.6...v1.2.0) (2023-12-11) + + +### ⚠ BREAKING CHANGES + +* add bgcolor to export png + +### Features + +* add bgcolor to export png ([9fe1219](https://github.com/fabwcie/drawer/commits/9fe1219ed1d76cc2310abab7531a9e2c25d5520d)) +* add bgColor to settings modal ([e245821](https://github.com/fabwcie/drawer/commits/e245821402c7a224bac72aaddf7c81b55610fbd9)) +* add close button ([a2148c5](https://github.com/fabwcie/drawer/commits/a2148c51481eb9986bb72311971ec98959c872e9)) +* add ellipse draw shape ([06302d1](https://github.com/fabwcie/drawer/commits/06302d17fe1d17c93a5f03d7fcb372093555e7d2)) +* add expand / fullscreen buttons ([6063274](https://github.com/fabwcie/drawer/commits/6063274e66613572cc621c5ba76b95233c7f6d64)) +* add setSize method / rename setSize to setCanvasSize ([35428e5](https://github.com/fabwcie/drawer/commits/35428e5979a9b4d446b42666b1f3da0018825dca)) +* manage eraserwidth / add fullscreen ([daf17bb](https://github.com/fabwcie/drawer/commits/daf17bb392f8f531ac7f32e16f05f909c3a43b80)) + + +### Bug Fixes + +* append menu to container and fix position ([d962dfe](https://github.com/fabwcie/drawer/commits/d962dfeaa3caf5ae6b74a031d907c2ab69ee2f2a)) +* append modal to container and fix position ([e35773a](https://github.com/fabwcie/drawer/commits/e35773ab2654a3f9cf5b6a25dae242ec366a0053)) +* bgcolor on canvas instead css ([13d6111](https://github.com/fabwcie/drawer/commits/13d61111ae5105ab1ef01372f8d4b1a5e602ba75)) +* change tool with draw group btn ([c3bc1ad](https://github.com/fabwcie/drawer/commits/c3bc1ad2e4a11464d0ba21a5824900f2eaa216e7)) +* eraser size configurable ([30e6a36](https://github.com/fabwcie/drawer/commits/30e6a3698038fc40e9db4cca465c93d2440901cf)) +* error on drawhand ([2f19588](https://github.com/fabwcie/drawer/commits/2f19588b4f830e0825481539d1eda7f47ea4bd11)) +* non nullable active btn ([9d78d89](https://github.com/fabwcie/drawer/commits/9d78d8948074c4c5c4330641aaecb6a1b3c16636)) +* remove `init` method ([d9aa0ac](https://github.com/fabwcie/drawer/commits/d9aa0ac00b4639589e2b2756ac27d9dce18ca510)) +* remove auto resize text zone (useless and lot of lag) ([20575e8](https://github.com/fabwcie/drawer/commits/20575e83dba41f50184368b073c6f99e78ac3352)) +* remove change event from upload button ([b18edb1](https://github.com/fabwcie/drawer/commits/b18edb1868fa5d0e1d78a6b005ee7805c9d2a1e9)) +* restore last state canvas / cssgrid ([5a6e4d4](https://github.com/fabwcie/drawer/commits/5a6e4d4f1975f96b740ce44e5fb88e8c2d2b6e82)) +* tabindex input ([af03b51](https://github.com/fabwcie/drawer/commits/af03b511bfd82a05ff2e390dfcf9f096f543bf04)) +* throw DrawerError instead Error ([8c4c5ec](https://github.com/fabwcie/drawer/commits/8c4c5ec2c1c65434b5d69a4b3ce54ced8fc8aced)) + ### [1.1.6](https://github.com/fabwcie/drawer/compare/v1.1.5...v1.1.6) (2023-10-12) ### [1.1.5](https://github.com/fabwcie/drawer/compare/v1.1.4...v1.1.5) (2023-10-12) diff --git a/package-lock.json b/package-lock.json index b6d6bb2..277d17b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@fabwcie/drawer", - "version": "1.1.6", + "version": "1.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@fabwcie/drawer", - "version": "1.1.6", + "version": "1.2.0", "license": "Apache-2.0", "dependencies": { "@melloware/coloris": "^0.21.1" diff --git a/package.json b/package.json index 8ec0540..8488f1b 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "description": "Canvas drawer for free hand drawing and more utility tools.", "author": "Winkler Fabien ", "contributors": [], - "version": "1.1.6", + "version": "1.2.0", "type": "module", "main": "src/Drawer.ts", "types": "./dist/index.d.ts",