@knotx/plugins-drag 0.4.13 → 0.4.14

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/README.en.md CHANGED
@@ -27,10 +27,6 @@ The core implementation principles of the Drag plugin:
27
27
  - `@knotx/core`: Provides base plugin architecture
28
28
  - `@knotx/decorators`: Provides decorator support
29
29
  - `interactjs`: Provides drag interaction functionality
30
- - `@interactjs/actions`: InteractJS action modules
31
- - `@interactjs/core`: InteractJS core module
32
- - `@interactjs/modifiers`: InteractJS modifier modules
33
- - `@interactjs/types`: InteractJS type definitions
34
30
  - `rxjs`: Provides reactive programming support
35
31
 
36
32
  ### Plugin Dependencies
package/README.md CHANGED
@@ -27,10 +27,6 @@ Drag 插件的核心实现原理:
27
27
  - `@knotx/core`:提供基础插件架构
28
28
  - `@knotx/decorators`:提供装饰器支持
29
29
  - `interactjs`:提供拖拽交互功能
30
- - `@interactjs/actions`:InteractJS 动作模块
31
- - `@interactjs/core`:InteractJS 核心模块
32
- - `@interactjs/modifiers`:InteractJS 修饰器模块
33
- - `@interactjs/types`:InteractJS 类型定义
34
30
  - `rxjs`:提供响应式编程支持
35
31
 
36
32
  ### 插件依赖
package/dist/index.d.cts CHANGED
@@ -1,7 +1,6 @@
1
- import { DraggableOptions as DraggableOptions$1 } from '@interactjs/actions/drag/plugin';
2
1
  import { Node, BasePlugin, Engine, PluginData } from '@knotx/core';
3
2
 
4
- type DraggableOptions = Omit<DraggableOptions$1, 'listeners'>;
3
+ type DraggableOptions = Omit<Interact.Options['drag'], 'listeners'>;
5
4
  interface DragTransformerContext {
6
5
  nodeId: string;
7
6
  node: Node;
package/dist/index.d.mts CHANGED
@@ -1,7 +1,6 @@
1
- import { DraggableOptions as DraggableOptions$1 } from '@interactjs/actions/drag/plugin';
2
1
  import { Node, BasePlugin, Engine, PluginData } from '@knotx/core';
3
2
 
4
- type DraggableOptions = Omit<DraggableOptions$1, 'listeners'>;
3
+ type DraggableOptions = Omit<Interact.Options['drag'], 'listeners'>;
5
4
  interface DragTransformerContext {
6
5
  nodeId: string;
7
6
  node: Node;
package/dist/index.d.ts CHANGED
@@ -1,7 +1,6 @@
1
- import { DraggableOptions as DraggableOptions$1 } from '@interactjs/actions/drag/plugin';
2
1
  import { Node, BasePlugin, Engine, PluginData } from '@knotx/core';
3
2
 
4
- type DraggableOptions = Omit<DraggableOptions$1, 'listeners'>;
3
+ type DraggableOptions = Omit<Interact.Options['drag'], 'listeners'>;
5
4
  interface DragTransformerContext {
6
5
  nodeId: string;
7
6
  node: Node;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knotx/plugins-drag",
3
- "version": "0.4.13",
3
+ "version": "0.4.14",
4
4
  "description": "Drag Plugin for Knotx",
5
5
  "author": "boenfu",
6
6
  "license": "MIT",
@@ -28,25 +28,21 @@
28
28
  "dist"
29
29
  ],
30
30
  "peerDependencies": {
31
- "@knotx/jsx": "0.4.13",
32
- "@knotx/plugins-canvas": "0.4.13"
31
+ "@knotx/jsx": "0.4.14",
32
+ "@knotx/plugins-canvas": "0.4.14"
33
33
  },
34
34
  "dependencies": {
35
- "@interactjs/actions": "^1.10.27",
36
- "@interactjs/core": "^1.10.27",
37
- "@interactjs/modifiers": "^1.10.27",
38
- "@interactjs/types": "^1.10.27",
39
35
  "interactjs": "^1.10.27",
40
36
  "rxjs": "^7.8.1",
41
- "@knotx/core": "0.4.13",
42
- "@knotx/decorators": "0.4.13"
37
+ "@knotx/core": "0.4.14",
38
+ "@knotx/decorators": "0.4.14"
43
39
  },
44
40
  "devDependencies": {
45
- "@knotx/build-config": "0.4.13",
46
- "@knotx/eslint-config": "0.4.13",
47
- "@knotx/jsx": "0.4.13",
48
- "@knotx/plugins-canvas": "0.4.13",
49
- "@knotx/typescript-config": "0.4.13"
41
+ "@knotx/build-config": "0.4.14",
42
+ "@knotx/eslint-config": "0.4.14",
43
+ "@knotx/jsx": "0.4.14",
44
+ "@knotx/plugins-canvas": "0.4.14",
45
+ "@knotx/typescript-config": "0.4.14"
50
46
  },
51
47
  "scripts": {
52
48
  "build": "unbuild",