@knotx/plugins-group 0.0.0 → 0.0.2

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.cjs CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  const jsxRuntime = require('@knotx/jsx/jsx-runtime');
4
4
  const core = require('@knotx/core');
5
- const data = require('@knotx/data');
6
5
  const decorators = require('@knotx/decorators');
7
6
  const rxjs = require('rxjs');
8
7
  require('@knotx/plugins-base-render');
@@ -86,7 +85,7 @@ const _Group = class _Group extends (_a = core.BasePlugin, _getNode_dec = [decor
86
85
  __publicField(this, "dispatchNodeOperation", __runInitializers(_init, 16, this)), __runInitializers(_init, 19, this);
87
86
  __publicField(this, "addNodePipe", __runInitializers(_init, 20, this)), __runInitializers(_init, 23, this);
88
87
  __publicField(this, "registerNodeLevelGetter", __runInitializers(_init, 24, this)), __runInitializers(_init, 27, this);
89
- __publicField(this, "dualRelation", new data.DualRelation());
88
+ __publicField(this, "dualRelation", new core.DualRelation());
90
89
  __publicField(this, "subscriptions", []);
91
90
  __publicField(this, "createGroup", __runInitializers(_init, 28, this, ({ id: groupId, nodeIds, config, data = {} }) => {
92
91
  const { autoBounds = true, padding = _Group.DEFAULT_GROUP_PADDING, style = _Group.DEFAULT_GROUP_STYLE } = config || {};
package/dist/index.mjs CHANGED
@@ -1,6 +1,5 @@
1
1
  import { jsx } from '@knotx/jsx/jsx-runtime';
2
- import { isDraftOperation, isInitOperation, bem, BasePlugin } from '@knotx/core';
3
- import { DualRelation } from '@knotx/data';
2
+ import { DualRelation, isDraftOperation, isInitOperation, bem, BasePlugin } from '@knotx/core';
4
3
  import { inject, nodeType, register, OnInit, OnDestroy } from '@knotx/decorators';
5
4
  import { skip, pipe, tap, map } from 'rxjs';
6
5
  import '@knotx/plugins-base-render';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@knotx/plugins-group",
3
3
  "type": "module",
4
- "version": "0.0.0",
4
+ "version": "0.0.2",
5
5
  "description": "Group Plugin for Knotx",
6
6
  "author": "boenfu",
7
7
  "license": "MIT",
@@ -30,16 +30,15 @@
30
30
  ],
31
31
  "dependencies": {
32
32
  "rxjs": "^7.8.1",
33
- "@knotx/core": "0.0.0",
34
- "@knotx/decorators": "0.0.0",
35
- "@knotx/data": "0.0.0",
36
- "@knotx/plugins-base-render": "0.0.0"
33
+ "@knotx/decorators": "0.0.2",
34
+ "@knotx/plugins-base-render": "0.0.2",
35
+ "@knotx/core": "0.0.2"
37
36
  },
38
37
  "devDependencies": {
39
- "@knotx/build-config": "0.0.0",
40
- "@knotx/eslint-config": "0.0.0",
41
- "@knotx/typescript-config": "0.0.0",
42
- "@knotx/jsx": "0.0.0"
38
+ "@knotx/build-config": "0.0.2",
39
+ "@knotx/eslint-config": "0.0.2",
40
+ "@knotx/typescript-config": "0.0.2",
41
+ "@knotx/jsx": "0.0.2"
43
42
  },
44
43
  "scripts": {
45
44
  "build": "unbuild --failOnWarn=false",