@knotx/plugins-group 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 { NodePosition, BasePlugin, NodeData } from '@knotx/core';
1
+ import { NodePosition, BasePlugin, Node } from '@knotx/core';
2
2
 
3
3
  interface GroupStyle {
4
4
  backgroundColor?: string;
@@ -64,7 +64,7 @@ declare module '@knotx/core' {
64
64
  interface PluginData {
65
65
  group: GroupAPI;
66
66
  }
67
- interface NodeData {
67
+ interface Node {
68
68
  /**
69
69
  * 所处的组
70
70
  */
@@ -91,7 +91,7 @@ declare class Group extends BasePlugin<'group'> {
91
91
  private dualRelation;
92
92
  init(): void;
93
93
  renderGroup({ node: groupNode }: {
94
- node: NodeData;
94
+ node: Node;
95
95
  }): JSX.Element | null;
96
96
  private calculateBounds;
97
97
  createGroup: GroupAPI['createGroup'];
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { NodePosition, BasePlugin, NodeData } from '@knotx/core';
1
+ import { NodePosition, BasePlugin, Node } from '@knotx/core';
2
2
 
3
3
  interface GroupStyle {
4
4
  backgroundColor?: string;
@@ -64,7 +64,7 @@ declare module '@knotx/core' {
64
64
  interface PluginData {
65
65
  group: GroupAPI;
66
66
  }
67
- interface NodeData {
67
+ interface Node {
68
68
  /**
69
69
  * 所处的组
70
70
  */
@@ -91,7 +91,7 @@ declare class Group extends BasePlugin<'group'> {
91
91
  private dualRelation;
92
92
  init(): void;
93
93
  renderGroup({ node: groupNode }: {
94
- node: NodeData;
94
+ node: Node;
95
95
  }): JSX.Element | null;
96
96
  private calculateBounds;
97
97
  createGroup: GroupAPI['createGroup'];
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { NodePosition, BasePlugin, NodeData } from '@knotx/core';
1
+ import { NodePosition, BasePlugin, Node } from '@knotx/core';
2
2
 
3
3
  interface GroupStyle {
4
4
  backgroundColor?: string;
@@ -64,7 +64,7 @@ declare module '@knotx/core' {
64
64
  interface PluginData {
65
65
  group: GroupAPI;
66
66
  }
67
- interface NodeData {
67
+ interface Node {
68
68
  /**
69
69
  * 所处的组
70
70
  */
@@ -91,7 +91,7 @@ declare class Group extends BasePlugin<'group'> {
91
91
  private dualRelation;
92
92
  init(): void;
93
93
  renderGroup({ node: groupNode }: {
94
- node: NodeData;
94
+ node: Node;
95
95
  }): JSX.Element | null;
96
96
  private calculateBounds;
97
97
  createGroup: GroupAPI['createGroup'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knotx/plugins-group",
3
- "version": "0.2.11",
3
+ "version": "0.2.13",
4
4
  "description": "Group Plugin for Knotx",
5
5
  "author": "boenfu",
6
6
  "license": "MIT",
@@ -28,20 +28,20 @@
28
28
  "dist"
29
29
  ],
30
30
  "peerDependencies": {
31
- "@knotx/jsx": "0.2.9",
32
- "@knotx/plugins-base-render": "0.2.11"
31
+ "@knotx/jsx": "0.2.11",
32
+ "@knotx/plugins-base-render": "0.2.13"
33
33
  },
34
34
  "dependencies": {
35
35
  "rxjs": "^7.8.1",
36
- "@knotx/core": "0.2.9",
37
- "@knotx/decorators": "0.2.10"
36
+ "@knotx/core": "0.2.11",
37
+ "@knotx/decorators": "0.2.12"
38
38
  },
39
39
  "devDependencies": {
40
- "@knotx/build-config": "0.2.9",
41
- "@knotx/eslint-config": "0.2.9",
42
- "@knotx/jsx": "0.2.9",
43
- "@knotx/plugins-base-render": "0.2.11",
44
- "@knotx/typescript-config": "0.2.9"
40
+ "@knotx/build-config": "0.2.11",
41
+ "@knotx/eslint-config": "0.2.11",
42
+ "@knotx/jsx": "0.2.11",
43
+ "@knotx/plugins-base-render": "0.2.13",
44
+ "@knotx/typescript-config": "0.2.11"
45
45
  },
46
46
  "scripts": {
47
47
  "build": "unbuild",