@knotx/plugins-bounding 0.2.11 → 0.2.13

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
@@ -1,4 +1,4 @@
1
- import { HorizontalAlignment, VerticalAlignment, BasePlugin, NodeData, NodeOperation, InteractionPriority } from '@knotx/core';
1
+ import { HorizontalAlignment, VerticalAlignment, BasePlugin, Node, NodeOperation, InteractionPriority } from '@knotx/core';
2
2
 
3
3
  declare module '@knotx/core' {
4
4
  interface PluginData {
@@ -80,8 +80,8 @@ interface BoundingConfig {
80
80
  declare class Bounding extends BasePlugin<'bounding', BoundingConfig> {
81
81
  name: "bounding";
82
82
  private config;
83
- nodes: NodeData[];
84
- getNode: (id: string) => NodeData | undefined;
83
+ nodes: Node[];
84
+ getNode: (id: string) => Node | undefined;
85
85
  dispatchNodeOperation: (operation: NodeOperation) => void;
86
86
  startInteraction: (pluginId: string, type: string, priority: InteractionPriority) => void;
87
87
  endInteraction: (pluginId: string, type: string) => void;
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { HorizontalAlignment, VerticalAlignment, BasePlugin, NodeData, NodeOperation, InteractionPriority } from '@knotx/core';
1
+ import { HorizontalAlignment, VerticalAlignment, BasePlugin, Node, NodeOperation, InteractionPriority } from '@knotx/core';
2
2
 
3
3
  declare module '@knotx/core' {
4
4
  interface PluginData {
@@ -80,8 +80,8 @@ interface BoundingConfig {
80
80
  declare class Bounding extends BasePlugin<'bounding', BoundingConfig> {
81
81
  name: "bounding";
82
82
  private config;
83
- nodes: NodeData[];
84
- getNode: (id: string) => NodeData | undefined;
83
+ nodes: Node[];
84
+ getNode: (id: string) => Node | undefined;
85
85
  dispatchNodeOperation: (operation: NodeOperation) => void;
86
86
  startInteraction: (pluginId: string, type: string, priority: InteractionPriority) => void;
87
87
  endInteraction: (pluginId: string, type: string) => void;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { HorizontalAlignment, VerticalAlignment, BasePlugin, NodeData, NodeOperation, InteractionPriority } from '@knotx/core';
1
+ import { HorizontalAlignment, VerticalAlignment, BasePlugin, Node, NodeOperation, InteractionPriority } from '@knotx/core';
2
2
 
3
3
  declare module '@knotx/core' {
4
4
  interface PluginData {
@@ -80,8 +80,8 @@ interface BoundingConfig {
80
80
  declare class Bounding extends BasePlugin<'bounding', BoundingConfig> {
81
81
  name: "bounding";
82
82
  private config;
83
- nodes: NodeData[];
84
- getNode: (id: string) => NodeData | undefined;
83
+ nodes: Node[];
84
+ getNode: (id: string) => Node | undefined;
85
85
  dispatchNodeOperation: (operation: NodeOperation) => void;
86
86
  startInteraction: (pluginId: string, type: string, priority: InteractionPriority) => void;
87
87
  endInteraction: (pluginId: string, type: string) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knotx/plugins-bounding",
3
- "version": "0.2.11",
3
+ "version": "0.2.13",
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.10",
32
- "@knotx/plugins-canvas": "0.2.11"
31
+ "@knotx/jsx": "0.2.11",
32
+ "@knotx/plugins-canvas": "0.2.13"
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.10",
42
- "@knotx/decorators": "0.2.11",
43
- "@knotx/render": "0.2.10"
41
+ "@knotx/core": "0.2.12",
42
+ "@knotx/decorators": "0.2.13",
43
+ "@knotx/render": "0.2.12"
44
44
  },
45
45
  "devDependencies": {
46
- "@knotx/build-config": "0.2.10",
47
- "@knotx/eslint-config": "0.2.10",
48
- "@knotx/jsx": "0.2.10",
49
- "@knotx/plugins-canvas": "0.2.11",
50
- "@knotx/typescript-config": "0.2.10"
46
+ "@knotx/build-config": "0.2.11",
47
+ "@knotx/eslint-config": "0.2.11",
48
+ "@knotx/jsx": "0.2.11",
49
+ "@knotx/plugins-canvas": "0.2.13",
50
+ "@knotx/typescript-config": "0.2.11"
51
51
  },
52
52
  "scripts": {
53
53
  "build": "unbuild",