@knotx/plugins-bounding 0.2.3 → 0.2.5

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 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
- private getResizeHandleAttributes;
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
- private getResizeHandleAttributes;
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
- private getResizeHandleAttributes;
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",
3
+ "version": "0.2.5",
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.3",
32
- "@knotx/plugins-canvas": "0.2.3"
31
+ "@knotx/jsx": "0.2.5",
32
+ "@knotx/plugins-canvas": "0.2.5"
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.3",
42
- "@knotx/render": "0.2.3",
43
- "@knotx/decorators": "0.2.3"
41
+ "@knotx/core": "0.2.5",
42
+ "@knotx/decorators": "0.2.5",
43
+ "@knotx/render": "0.2.5"
44
44
  },
45
45
  "devDependencies": {
46
- "@knotx/build-config": "0.2.3",
47
- "@knotx/eslint-config": "0.2.3",
48
- "@knotx/jsx": "0.2.3",
49
- "@knotx/plugins-canvas": "0.2.3",
50
- "@knotx/typescript-config": "0.2.3"
46
+ "@knotx/build-config": "0.2.5",
47
+ "@knotx/eslint-config": "0.2.5",
48
+ "@knotx/jsx": "0.2.5",
49
+ "@knotx/plugins-canvas": "0.2.5",
50
+ "@knotx/typescript-config": "0.2.5"
51
51
  },
52
52
  "scripts": {
53
53
  "build": "unbuild",