@logicflow/core 2.0.3 → 2.0.4

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.
@@ -1,10 +1,10 @@
1
1
 
2
- > @logicflow/core@2.0.2 build:dev /Users/r0ger1tlearn/WorkSpace/Github/DiDi/logicflow/packages/core
2
+ > @logicflow/core@2.0.3 build:dev /Users/didi/Desktop/github/LogicFlow/packages/core
3
3
  > rss
4
4
 
5
5
  > [build:dev] pnpm run --if-present build:less && run-p -s build:cjs build:esm
6
6
 
7
- > @logicflow/core@2.0.2 build:less /Users/r0ger1tlearn/WorkSpace/Github/DiDi/logicflow/packages/core
7
+ > @logicflow/core@2.0.3 build:less /Users/didi/Desktop/github/LogicFlow/packages/core
8
8
  > rss
9
9
 
10
10
  > [build:less] ./scripts/build-less
@@ -1,11 +1,11 @@
1
1
 
2
- > @logicflow/core@2.0.2 prebuild /Users/r0ger1tlearn/WorkSpace/Github/DiDi/logicflow/packages/core
2
+ > @logicflow/core@2.0.3 prebuild /Users/didi/Desktop/github/LogicFlow/packages/core
3
3
  > rss
4
4
 
5
5
  > [prebuild] run-s -s clean:build
6
6
  > [clean:build] rimraf dist es lib
7
7
 
8
- > @logicflow/core@2.0.2 build /Users/r0ger1tlearn/WorkSpace/Github/DiDi/logicflow/packages/core
8
+ > @logicflow/core@2.0.3 build /Users/didi/Desktop/github/LogicFlow/packages/core
9
9
  > rss
10
10
 
11
11
  > [build] run-p -s build:dev build:umd
@@ -30,4 +30,4 @@ src/index.ts -> src/LogicFlow.tsx -> src/index.ts
30
30
  src/util/index.ts -> src/util/edge.ts -> src/util/index.ts
31
31
  src/util/index.ts -> src/util/edge.ts -> src/algorithm/index.ts -> src/algorithm/outline.ts -> src/util/index.ts
32
32
  ...and 18 more
33
- created dist/index.min.js in 19.4s
33
+ created dist/index.min.js in 16s
package/CHANGELOG.md CHANGED
@@ -1,8 +1,15 @@
1
1
  # Change Log
2
2
 
3
+ ## 2.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - fix: 修复节点文本设置draggable和editable不生效问题
8
+
3
9
  ## 2.0.3
4
10
 
5
11
  ### Patch Changes: Release 2.0.3 Version
12
+
6
13
  - chore: 新增 rollup.config 将 extension less 文件打包成 css,并不在 js 中引入 less
7
14
  - 解决 BaseEdgeModel 中 setProperty 方法使用 set 时报错的 bug
8
15
  - isIe 调整为方法,解决 ssr 项目中 window is not defined 的问题 close #1524
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logicflow/core",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "LogicFlow, help you quickly create flowcharts",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -267,7 +267,7 @@ export class BaseNodeModel<P extends PropertiesType = PropertiesType>
267
267
  textConfig.draggable = text.draggable
268
268
  }
269
269
  if (!isUndefined(text.editable)) {
270
- textConfig.draggable = text.draggable
270
+ textConfig.editable = text.editable
271
271
  }
272
272
  }
273
273
  }