@flowgram.ai/free-lines-plugin 0.1.0-alpha.15 → 0.1.0-alpha.16

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.mts CHANGED
@@ -1,11 +1,10 @@
1
1
  import React, { FC, ReactNode } from 'react';
2
- import { WorkflowPortEntity, WorkflowLineEntity, LineRenderType, WorkflowLineRenderContributionFactory, WorkflowHoverService, WorkflowSelectService, WorkflowDocument, LineCenterPoint, WorkflowLineRenderContribution, LineType, LinePoint } from '@flowgram.ai/free-layout-core';
2
+ import { WorkflowPortEntity, WorkflowLineEntity, LineRenderType, WorkflowLineRenderContributionFactory, WorkflowHoverService, WorkflowSelectService, WorkflowDocument, LinePointLocation, LineCenterPoint, WorkflowLineRenderContribution, LineType, LinePoint } from '@flowgram.ai/free-layout-core';
3
3
  import * as _flowgram_ai_core from '@flowgram.ai/core';
4
4
  import { Layer, TransformData } from '@flowgram.ai/core';
5
5
  import { FlowRendererRegistry } from '@flowgram.ai/renderer';
6
6
  import { StackingContextManager } from '@flowgram.ai/free-stack-plugin';
7
7
  import { IPoint, Rectangle } from '@flowgram.ai/utils';
8
- import { LinePointLocation } from '@flowgram.ai/free-layout-core/src';
9
8
  import { Bezier } from 'bezier-js';
10
9
 
11
10
  /**
package/dist/index.d.ts CHANGED
@@ -1,11 +1,10 @@
1
1
  import React, { FC, ReactNode } from 'react';
2
- import { WorkflowPortEntity, WorkflowLineEntity, LineRenderType, WorkflowLineRenderContributionFactory, WorkflowHoverService, WorkflowSelectService, WorkflowDocument, LineCenterPoint, WorkflowLineRenderContribution, LineType, LinePoint } from '@flowgram.ai/free-layout-core';
2
+ import { WorkflowPortEntity, WorkflowLineEntity, LineRenderType, WorkflowLineRenderContributionFactory, WorkflowHoverService, WorkflowSelectService, WorkflowDocument, LinePointLocation, LineCenterPoint, WorkflowLineRenderContribution, LineType, LinePoint } from '@flowgram.ai/free-layout-core';
3
3
  import * as _flowgram_ai_core from '@flowgram.ai/core';
4
4
  import { Layer, TransformData } from '@flowgram.ai/core';
5
5
  import { FlowRendererRegistry } from '@flowgram.ai/renderer';
6
6
  import { StackingContextManager } from '@flowgram.ai/free-stack-plugin';
7
7
  import { IPoint, Rectangle } from '@flowgram.ai/utils';
8
- import { LinePointLocation } from '@flowgram.ai/free-layout-core/src';
9
8
  import { Bezier } from 'bezier-js';
10
9
 
11
10
  /**
package/dist/index.js CHANGED
@@ -36,8 +36,8 @@ var __decorateClass = (decorators, target, key, kind) => {
36
36
  };
37
37
 
38
38
  // src/index.ts
39
- var src_exports = {};
40
- __export(src_exports, {
39
+ var index_exports = {};
40
+ __export(index_exports, {
41
41
  LINE_OFFSET: () => LINE_OFFSET,
42
42
  LINE_PADDING: () => LINE_PADDING,
43
43
  LinesLayer: () => WorkflowLinesLayer,
@@ -48,7 +48,7 @@ __export(src_exports, {
48
48
  WorkflowStraightLineContribution: () => WorkflowStraightLineContribution,
49
49
  createFreeLinesPlugin: () => createFreeLinesPlugin
50
50
  });
51
- module.exports = __toCommonJS(src_exports);
51
+ module.exports = __toCommonJS(index_exports);
52
52
 
53
53
  // src/components/workflow-port-render/index.tsx
54
54
  var import_react_dom = __toESM(require("react-dom"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowgram.ai/free-lines-plugin",
3
- "version": "0.1.0-alpha.15",
3
+ "version": "0.1.0-alpha.16",
4
4
  "homepage": "https://flowgram.ai/",
5
5
  "repository": "https://github.com/bytedance/flowgram.ai",
6
6
  "license": "MIT",
@@ -20,11 +20,11 @@
20
20
  "clsx": "^1.1.1",
21
21
  "inversify": "^6.0.1",
22
22
  "reflect-metadata": "~0.2.2",
23
- "@flowgram.ai/core": "0.1.0-alpha.15",
24
- "@flowgram.ai/free-layout-core": "0.1.0-alpha.15",
25
- "@flowgram.ai/renderer": "0.1.0-alpha.15",
26
- "@flowgram.ai/utils": "0.1.0-alpha.15",
27
- "@flowgram.ai/free-stack-plugin": "0.1.0-alpha.15"
23
+ "@flowgram.ai/core": "0.1.0-alpha.16",
24
+ "@flowgram.ai/free-stack-plugin": "0.1.0-alpha.16",
25
+ "@flowgram.ai/renderer": "0.1.0-alpha.16",
26
+ "@flowgram.ai/utils": "0.1.0-alpha.16",
27
+ "@flowgram.ai/free-layout-core": "0.1.0-alpha.16"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/bezier-js": "4.1.3",
@@ -32,21 +32,21 @@
32
32
  "@types/react": "^18",
33
33
  "@types/react-dom": "^18",
34
34
  "@types/styled-components": "^5",
35
- "@vitest/coverage-v8": "^0.32.0",
35
+ "@vitest/coverage-v8": "^3.2.4",
36
36
  "eslint": "^8.54.0",
37
37
  "react": "^18",
38
38
  "react-dom": "^18",
39
39
  "styled-components": "^5",
40
40
  "tsup": "^8.0.1",
41
41
  "typescript": "^5.8.3",
42
- "vitest": "^0.34.6",
43
- "@flowgram.ai/eslint-config": "0.1.0-alpha.15",
44
- "@flowgram.ai/ts-config": "0.1.0-alpha.15"
42
+ "vitest": "^3.2.4",
43
+ "@flowgram.ai/eslint-config": "0.1.0-alpha.16",
44
+ "@flowgram.ai/ts-config": "0.1.0-alpha.16"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "react": ">=16.8",
48
48
  "react-dom": ">=16.8",
49
- "styled-components": ">=4"
49
+ "styled-components": ">=5"
50
50
  },
51
51
  "publishConfig": {
52
52
  "access": "public",