@knotx/plugins-bounding 0.2.11 → 0.2.12
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 +3 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/package.json +11 -11
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HorizontalAlignment, VerticalAlignment, BasePlugin,
|
|
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:
|
|
84
|
-
getNode: (id: string) =>
|
|
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,
|
|
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:
|
|
84
|
-
getNode: (id: string) =>
|
|
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,
|
|
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:
|
|
84
|
-
getNode: (id: string) =>
|
|
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.
|
|
3
|
+
"version": "0.2.12",
|
|
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.11",
|
|
32
|
+
"@knotx/plugins-canvas": "0.2.12"
|
|
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.11",
|
|
42
|
+
"@knotx/decorators": "0.2.12",
|
|
43
|
+
"@knotx/render": "0.2.11"
|
|
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.11",
|
|
47
|
+
"@knotx/eslint-config": "0.2.11",
|
|
48
|
+
"@knotx/jsx": "0.2.11",
|
|
49
|
+
"@knotx/plugins-canvas": "0.2.12",
|
|
50
|
+
"@knotx/typescript-config": "0.2.11"
|
|
51
51
|
},
|
|
52
52
|
"scripts": {
|
|
53
53
|
"build": "unbuild",
|