@knotx/plugins-selection 0.4.16 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/package.json +8 -8
package/dist/index.cjs
CHANGED
|
@@ -254,8 +254,8 @@ class Selection extends (_a = core.BasePlugin, _selected_dec = [decorators.regis
|
|
|
254
254
|
this.isDragging = false;
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
|
-
cancelAnimationFrame(this.updateFrameId);
|
|
258
|
-
this.updateFrameId = requestAnimationFrame(this.updateSelected);
|
|
257
|
+
core.cancelAnimationFrame(this.updateFrameId);
|
|
258
|
+
this.updateFrameId = core.requestAnimationFrame(this.updateSelected);
|
|
259
259
|
this.scrollingPosition = { x: 0, y: 0 };
|
|
260
260
|
});
|
|
261
261
|
__publicField(this, "updateSelected", () => {
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bem, BasePlugin, InteractionPriority } from '@knotx/core';
|
|
1
|
+
import { bem, BasePlugin, InteractionPriority, cancelAnimationFrame, requestAnimationFrame } from '@knotx/core';
|
|
2
2
|
import { register, observable, inject, subscribe, tool, OnInit, OnDestroy } from '@knotx/decorators';
|
|
3
3
|
import SelectionArea from '@knotx/viselect';
|
|
4
4
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knotx/plugins-selection",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Selection Plugin for Knotx",
|
|
5
5
|
"author": "boenfu",
|
|
6
6
|
"license": "MIT",
|
|
@@ -28,19 +28,19 @@
|
|
|
28
28
|
"dist"
|
|
29
29
|
],
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"@knotx/plugins-canvas": "0.
|
|
31
|
+
"@knotx/plugins-canvas": "0.5.0"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@knotx/viselect": "^3.9.0",
|
|
35
35
|
"rxjs": "^7.8.1",
|
|
36
|
-
"@knotx/core": "0.
|
|
37
|
-
"@knotx/decorators": "0.
|
|
36
|
+
"@knotx/core": "0.5.0",
|
|
37
|
+
"@knotx/decorators": "0.5.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@knotx/build-config": "0.
|
|
41
|
-
"@knotx/eslint-config": "0.
|
|
42
|
-
"@knotx/plugins-canvas": "0.
|
|
43
|
-
"@knotx/typescript-config": "0.
|
|
40
|
+
"@knotx/build-config": "0.5.0",
|
|
41
|
+
"@knotx/eslint-config": "0.5.0",
|
|
42
|
+
"@knotx/plugins-canvas": "0.5.0",
|
|
43
|
+
"@knotx/typescript-config": "0.5.0"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"build": "unbuild",
|