@knotx/plugins-bounding 0.2.4 → 0.2.6
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.d.cts +6 -1
- package/dist/index.d.mts +6 -1
- package/dist/index.d.ts +6 -1
- package/package.json +11 -11
package/dist/index.d.cts
CHANGED
|
@@ -91,7 +91,12 @@ declare class Bounding extends BasePlugin<'bounding', BoundingConfig> {
|
|
|
91
91
|
private resizeHandleClassName;
|
|
92
92
|
private connectHandleClassName;
|
|
93
93
|
private boundingBoxClassName;
|
|
94
|
-
|
|
94
|
+
getResizeHandleAttributes: (nodeId: string, position: string) => {
|
|
95
|
+
className: string;
|
|
96
|
+
'data-plugin-id': string;
|
|
97
|
+
'data-resize-target': string;
|
|
98
|
+
'data-resize-handle-position': string;
|
|
99
|
+
};
|
|
95
100
|
init(config: BoundingConfig): void;
|
|
96
101
|
destroy(): void;
|
|
97
102
|
render(): JSX.Element;
|
package/dist/index.d.mts
CHANGED
|
@@ -91,7 +91,12 @@ declare class Bounding extends BasePlugin<'bounding', BoundingConfig> {
|
|
|
91
91
|
private resizeHandleClassName;
|
|
92
92
|
private connectHandleClassName;
|
|
93
93
|
private boundingBoxClassName;
|
|
94
|
-
|
|
94
|
+
getResizeHandleAttributes: (nodeId: string, position: string) => {
|
|
95
|
+
className: string;
|
|
96
|
+
'data-plugin-id': string;
|
|
97
|
+
'data-resize-target': string;
|
|
98
|
+
'data-resize-handle-position': string;
|
|
99
|
+
};
|
|
95
100
|
init(config: BoundingConfig): void;
|
|
96
101
|
destroy(): void;
|
|
97
102
|
render(): JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -91,7 +91,12 @@ declare class Bounding extends BasePlugin<'bounding', BoundingConfig> {
|
|
|
91
91
|
private resizeHandleClassName;
|
|
92
92
|
private connectHandleClassName;
|
|
93
93
|
private boundingBoxClassName;
|
|
94
|
-
|
|
94
|
+
getResizeHandleAttributes: (nodeId: string, position: string) => {
|
|
95
|
+
className: string;
|
|
96
|
+
'data-plugin-id': string;
|
|
97
|
+
'data-resize-target': string;
|
|
98
|
+
'data-resize-handle-position': string;
|
|
99
|
+
};
|
|
95
100
|
init(config: BoundingConfig): void;
|
|
96
101
|
destroy(): void;
|
|
97
102
|
render(): JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knotx/plugins-bounding",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
4
4
|
"description": "Bounding Plugin for Knotx",
|
|
5
5
|
"author": "boenfu",
|
|
6
6
|
"license": "MIT",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"dist"
|
|
29
29
|
],
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"@knotx/jsx": "0.2.
|
|
32
|
-
"@knotx/plugins-canvas": "0.2.
|
|
31
|
+
"@knotx/jsx": "0.2.6",
|
|
32
|
+
"@knotx/plugins-canvas": "0.2.6"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@interactjs/actions": "^1.10.27",
|
|
@@ -38,16 +38,16 @@
|
|
|
38
38
|
"@interactjs/types": "^1.10.27",
|
|
39
39
|
"interactjs": "^1.10.27",
|
|
40
40
|
"rxjs": "^7.8.1",
|
|
41
|
-
"@knotx/core": "0.2.
|
|
42
|
-
"@knotx/decorators": "0.2.
|
|
43
|
-
"@knotx/render": "0.2.
|
|
41
|
+
"@knotx/core": "0.2.6",
|
|
42
|
+
"@knotx/decorators": "0.2.6",
|
|
43
|
+
"@knotx/render": "0.2.6"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@knotx/build-config": "0.2.
|
|
47
|
-
"@knotx/eslint-config": "0.2.
|
|
48
|
-
"@knotx/jsx": "0.2.
|
|
49
|
-
"@knotx/plugins-canvas": "0.2.
|
|
50
|
-
"@knotx/typescript-config": "0.2.
|
|
46
|
+
"@knotx/build-config": "0.2.6",
|
|
47
|
+
"@knotx/eslint-config": "0.2.6",
|
|
48
|
+
"@knotx/jsx": "0.2.6",
|
|
49
|
+
"@knotx/plugins-canvas": "0.2.6",
|
|
50
|
+
"@knotx/typescript-config": "0.2.6"
|
|
51
51
|
},
|
|
52
52
|
"scripts": {
|
|
53
53
|
"build": "unbuild",
|