diff --git a/.changescriberc b/.changescriberc index 19f4937..29df496 100644 --- a/.changescriberc +++ b/.changescriberc @@ -1,6 +1,6 @@ { "generate": { "fromPackageJson": true, - "excludeTaskList": true + "taskUrlTemplate": "https://github.com/ctinnovation/ngx-konva/issues/{taskCode}" } } \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index d0a6a29..f22091a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "@angular/platform-browser": "^16.2.0", "@angular/platform-browser-dynamic": "^16.2.0", "@angular/router": "^16.2.0", - "konva": "^9.2.3", + "konva": "^9.3.6", "lodash": "^4.17.21", "rxjs": "~7.8.0", "tslib": "^2.3.0", @@ -7944,9 +7944,9 @@ } }, "node_modules/konva": { - "version": "9.2.3", - "resolved": "https://registry.npmjs.org/konva/-/konva-9.2.3.tgz", - "integrity": "sha512-oQ6VQ6kUL9IlhOGuEKKhxqnv6g/t8jZpVuWahQQ6hCqAsO8Ydi1zFGv7ef4EOq5GoPNq/d6Fyj/3i5Y/a5NooA==", + "version": "9.3.6", + "resolved": "https://registry.npmjs.org/konva/-/konva-9.3.6.tgz", + "integrity": "sha512-dqR8EbcM0hjuilZCBP6xauQ5V3kH3m9kBcsDkqPypQuRgsXbcXUrxqYxhNbdvKZpYNW8Amq94jAD/C0NY3qfBQ==", "funding": [ { "type": "patreon", @@ -13248,4 +13248,4 @@ } } } -} +} \ No newline at end of file diff --git a/package.json b/package.json index 6c46d25..e95a62b 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "@angular/platform-browser": "^16.2.0", "@angular/platform-browser-dynamic": "^16.2.0", "@angular/router": "^16.2.0", - "konva": "^9.2.3", + "konva": "^9.3.6", "lodash": "^4.17.21", "rxjs": "~7.8.0", "tslib": "^2.3.0", diff --git a/projects/ngx-konva/README.md b/projects/ngx-konva/README.md index d1651dd..b8937c3 100644 --- a/projects/ngx-konva/README.md +++ b/projects/ngx-konva/README.md @@ -30,7 +30,7 @@ Supported Angular version: `16`. ## Installation ```bash -npm install ngx-konva konva@9.2.3 +npm install ngx-konva konva ``` Simply import `NgxKonvaModule` inside any module you need to use it in: diff --git a/projects/ngx-konva/package.json b/projects/ngx-konva/package.json index 3353e7a..72b8b5f 100644 --- a/projects/ngx-konva/package.json +++ b/projects/ngx-konva/package.json @@ -17,7 +17,7 @@ "peerDependencies": { "@angular/common": "^16.2.0", "@angular/core": "^16.2.0", - "konva": "^9.2.3" + "konva": "^9.3.6" }, "dependencies": { "lodash": "^4.17.21", @@ -25,4 +25,4 @@ "uuid": "^9.0.1" }, "sideEffects": false -} +} \ No newline at end of file diff --git a/projects/ngx-konva/src/lib/ngx-konva.module.ts b/projects/ngx-konva/src/lib/ngx-konva.module.ts index c323329..32ba5c5 100644 --- a/projects/ngx-konva/src/lib/ngx-konva.module.ts +++ b/projects/ngx-konva/src/lib/ngx-konva.module.ts @@ -1,5 +1,6 @@ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; +import 'konva/lib/Core'; import { KoGroupComponent } from './components/ko-group.component'; import { KoImageComponent } from './components/ko-image.component'; import { KoLabelComponent } from './components/ko-label.component'; diff --git a/unreleased/28.md b/unreleased/28.md new file mode 100644 index 0000000..6e1a08b --- /dev/null +++ b/unreleased/28.md @@ -0,0 +1,7 @@ +## Changed + +- Bump `konva@9.3.6` + +## Fixed + +- Fixed isDragging error by importing `konva/lib/Core` inside `NgxKonvaModule` for initialization