From 830199117c90c3b927bc7a369dcaefe13cd403f0 Mon Sep 17 00:00:00 2001 From: pubuzhixing8 Date: Fri, 10 May 2024 17:18:24 +0800 Subject: [PATCH] build: release 0.57.0 --- .changeset/bright-turkeys-repair.md | 5 ----- .changeset/curvy-penguins-help.md | 27 ------------------------ .changeset/fast-hornets-hear.md | 5 ----- .changeset/popular-items-worry.md | 7 ------- .changeset/pretty-beans-sit.md | 5 ----- .changeset/rare-onions-collect.md | 9 -------- packages/common/CHANGELOG.md | 2 ++ packages/common/package.json | 2 +- packages/core/CHANGELOG.md | 12 +++++++++++ packages/core/package.json | 2 +- packages/draw/CHANGELOG.md | 8 ++++++++ packages/draw/package.json | 2 +- packages/flow/CHANGELOG.md | 32 +++++++++++++++++++++++++++++ packages/flow/package.json | 2 +- packages/layouts/CHANGELOG.md | 2 ++ packages/layouts/package.json | 2 +- packages/mind/CHANGELOG.md | 2 ++ packages/mind/package.json | 2 +- packages/text/CHANGELOG.md | 2 ++ packages/text/package.json | 2 +- 20 files changed, 67 insertions(+), 65 deletions(-) delete mode 100644 .changeset/bright-turkeys-repair.md delete mode 100644 .changeset/curvy-penguins-help.md delete mode 100644 .changeset/fast-hornets-hear.md delete mode 100644 .changeset/popular-items-worry.md delete mode 100644 .changeset/pretty-beans-sit.md delete mode 100644 .changeset/rare-onions-collect.md diff --git a/.changeset/bright-turkeys-repair.md b/.changeset/bright-turkeys-repair.md deleted file mode 100644 index bf9d6c822..000000000 --- a/.changeset/bright-turkeys-repair.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@plait/draw': minor ---- - -add display shape for flowchart diff --git a/.changeset/curvy-penguins-help.md b/.changeset/curvy-penguins-help.md deleted file mode 100644 index b1cca52a4..000000000 --- a/.changeset/curvy-penguins-help.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -'@plait/flow': minor ---- - -handle edge's g hierarchy logic - -edge 层级需求: - -1. 默认情况下 edge 的 label 部件层级应该高于其它 edge 连线 -2. 默认情况下 node 部件层级应该高于 edge 连线 -3. edge 元素处于 active(选中)/ highlight(选中关联节点)/ hovering 时给 edge 元素置于最高层,可以盖住其它 edge 的 label 和 其它任何 node 节点 - -处理思路: - -1. 默认情况下将 edge 的「连线部件」放到 lowerHost 中,保证默认情况下 edge label 和 node 节点部件的层级高于 edge 的连线 -2. 其它情况(active/highlight/hovering)将 edge 的「连线部件」放到当前 edge 元素的 elementG 中,并且提升 elementG 整体层级(放到 upperHost 中,默认放到 host 中) - -edge level requirements: - -1. By default, the edge label component level should be higher than other edge connections. -2. By default, the node component level should be higher than the edge connection -3. When the edge element is active (selected)/highlight (selected associated node)/hovering, place the edge element at the top level, which can cover other edge labels and any other node nodes. - -Processing ideas: - -1. By default, the edge's "connection component" is placed in lowerHost to ensure that the edge label and node node components are higher than the edge's connection by default. -2. In other cases (active/highlight/hovering), place the edge's "connection component" in elementG of the current edge element, and raise the overall level of elementG (put it in upperHost, by default it will be placed in host) diff --git a/.changeset/fast-hornets-hear.md b/.changeset/fast-hornets-hear.md deleted file mode 100644 index 3d5317b18..000000000 --- a/.changeset/fast-hornets-hear.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@plait/core': minor ---- - -add getBoundingRectangleByElements function diff --git a/.changeset/popular-items-worry.md b/.changeset/popular-items-worry.md deleted file mode 100644 index 4b6b53253..000000000 --- a/.changeset/popular-items-worry.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@plait/flow': minor ---- - -refactor plait/flow's rendering - -remove getComponent invoking in plait/flow diff --git a/.changeset/pretty-beans-sit.md b/.changeset/pretty-beans-sit.md deleted file mode 100644 index c207c90ad..000000000 --- a/.changeset/pretty-beans-sit.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@plait/draw': minor ---- - -init swimlane diff --git a/.changeset/rare-onions-collect.md b/.changeset/rare-onions-collect.md deleted file mode 100644 index ba1467cb3..000000000 --- a/.changeset/rare-onions-collect.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@plait/core': minor ---- - -remove get component bridge officially 🎉🎉🎉 - -- remove ELEMENT_TO_COMPONENT - -- remove getComponent method diff --git a/packages/common/CHANGELOG.md b/packages/common/CHANGELOG.md index 4a5899567..4eb5cb969 100644 --- a/packages/common/CHANGELOG.md +++ b/packages/common/CHANGELOG.md @@ -1,5 +1,7 @@ # @plait/common +## 0.57.0 + ## 0.56.2 ### Patch Changes diff --git a/packages/common/package.json b/packages/common/package.json index 9e0acd18b..a87ec10dd 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@plait/common", - "version": "0.56.2", + "version": "0.57.0", "peerDependencies": { "@angular/common": "^17.2.4", "@angular/core": "^17.2.4", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 348fbc563..026cc6f7d 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,17 @@ # plait +## 0.57.0 + +### Minor Changes + +- [#862](https://github.com/worktile/plait/pull/862) [`a1e2b94dc`](https://github.com/worktile/plait/commit/a1e2b94dc9d38fa503a62459f0fac51fa882836b) Thanks [@MissLixf](https://github.com/MissLixf)! - add getBoundingRectangleByElements function + +* [#863](https://github.com/worktile/plait/pull/863) [`61d00e03a`](https://github.com/worktile/plait/commit/61d00e03a3cfb85db97d9c1cceabf61871de93c8) Thanks [@pubuzhixing8](https://github.com/pubuzhixing8)! - remove get component bridge officially 🎉🎉🎉 + + - remove ELEMENT_TO_COMPONENT + + - remove getComponent method + ## 0.56.2 ## 0.56.1 diff --git a/packages/core/package.json b/packages/core/package.json index 299855c1d..aa399a5b3 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@plait/core", - "version": "0.56.2", + "version": "0.57.0", "peerDependencies": { "@angular/common": "^17.2.4", "@angular/core": "^17.2.4", diff --git a/packages/draw/CHANGELOG.md b/packages/draw/CHANGELOG.md index 750cbf195..1d1ec9879 100644 --- a/packages/draw/CHANGELOG.md +++ b/packages/draw/CHANGELOG.md @@ -1,5 +1,13 @@ # @plait/draw +## 0.57.0 + +### Minor Changes + +- [#865](https://github.com/worktile/plait/pull/865) [`dcb5263a9`](https://github.com/worktile/plait/commit/dcb5263a9110085a5b2e8db69be3f103937b6bce) Thanks [@MissLixf](https://github.com/MissLixf)! - add display shape for flowchart + +* [#858](https://github.com/worktile/plait/pull/858) [`35418e50e`](https://github.com/worktile/plait/commit/35418e50e0d873515c7e21f1edbb02b7ca702691) Thanks [@huanhuanwa](https://github.com/huanhuanwa)! - init swimlane + ## 0.56.2 ### Patch Changes diff --git a/packages/draw/package.json b/packages/draw/package.json index 2e2ab8da9..b83ca2c13 100644 --- a/packages/draw/package.json +++ b/packages/draw/package.json @@ -1,6 +1,6 @@ { "name": "@plait/draw", - "version": "0.56.2", + "version": "0.57.0", "peerDependencies": { "@angular/common": "^17.2.4", "@angular/core": "^17.2.4", diff --git a/packages/flow/CHANGELOG.md b/packages/flow/CHANGELOG.md index 8ef6b0392..f3894a013 100644 --- a/packages/flow/CHANGELOG.md +++ b/packages/flow/CHANGELOG.md @@ -1,5 +1,37 @@ # @plait/flow +## 0.57.0 + +### Minor Changes + +- [#857](https://github.com/worktile/plait/pull/857) [`b4e7bb954`](https://github.com/worktile/plait/commit/b4e7bb954df70d2071fc128a339532d3c9782bf9) Thanks [@pubuzhixing8](https://github.com/pubuzhixing8)! - handle edge's g hierarchy logic + + edge 层级需求: + + 1. 默认情况下 edge 的 label 部件层级应该高于其它 edge 连线 + 2. 默认情况下 node 部件层级应该高于 edge 连线 + 3. edge 元素处于 active(选中)/ highlight(选中关联节点)/ hovering 时给 edge 元素置于最高层,可以盖住其它 edge 的 label 和 其它任何 node 节点 + + 处理思路: + + 1. 默认情况下将 edge 的「连线部件」放到 lowerHost 中,保证默认情况下 edge label 和 node 节点部件的层级高于 edge 的连线 + 2. 其它情况(active/highlight/hovering)将 edge 的「连线部件」放到当前 edge 元素的 elementG 中,并且提升 elementG 整体层级(放到 upperHost 中,默认放到 host 中) + + edge level requirements: + + 1. By default, the edge label component level should be higher than other edge connections. + 2. By default, the node component level should be higher than the edge connection + 3. When the edge element is active (selected)/highlight (selected associated node)/hovering, place the edge element at the top level, which can cover other edge labels and any other node nodes. + + Processing ideas: + + 1. By default, the edge's "connection component" is placed in lowerHost to ensure that the edge label and node node components are higher than the edge's connection by default. + 2. In other cases (active/highlight/hovering), place the edge's "connection component" in elementG of the current edge element, and raise the overall level of elementG (put it in upperHost, by default it will be placed in host) + +* [#857](https://github.com/worktile/plait/pull/857) [`d9cea82d2`](https://github.com/worktile/plait/commit/d9cea82d280e48b91952a5cfa983f2f468d49e24) Thanks [@pubuzhixing8](https://github.com/pubuzhixing8)! - refactor plait/flow's rendering + + remove getComponent invoking in plait/flow + ## 0.56.2 ## 0.56.1 diff --git a/packages/flow/package.json b/packages/flow/package.json index 3c18320f1..c503413f2 100644 --- a/packages/flow/package.json +++ b/packages/flow/package.json @@ -1,6 +1,6 @@ { "name": "@plait/flow", - "version": "0.56.2", + "version": "0.57.0", "peerDependencies": { "@angular/common": "^17.2.4", "@angular/core": "^17.2.4" diff --git a/packages/layouts/CHANGELOG.md b/packages/layouts/CHANGELOG.md index 83984ed77..a990ccf1a 100644 --- a/packages/layouts/CHANGELOG.md +++ b/packages/layouts/CHANGELOG.md @@ -1,5 +1,7 @@ # layouts +## 0.57.0 + ## 0.56.2 ## 0.56.1 diff --git a/packages/layouts/package.json b/packages/layouts/package.json index ebd0ee023..65f112856 100644 --- a/packages/layouts/package.json +++ b/packages/layouts/package.json @@ -1,6 +1,6 @@ { "name": "@plait/layouts", - "version": "0.56.2", + "version": "0.57.0", "peerDependencies": { "@angular/common": "^17.2.4", "@angular/core": "^17.2.4" diff --git a/packages/mind/CHANGELOG.md b/packages/mind/CHANGELOG.md index 1c74a4067..9650f47c6 100644 --- a/packages/mind/CHANGELOG.md +++ b/packages/mind/CHANGELOG.md @@ -1,5 +1,7 @@ # mind +## 0.57.0 + ## 0.56.2 ## 0.56.1 diff --git a/packages/mind/package.json b/packages/mind/package.json index e93453828..6a4236e0f 100644 --- a/packages/mind/package.json +++ b/packages/mind/package.json @@ -1,6 +1,6 @@ { "name": "@plait/mind", - "version": "0.56.2", + "version": "0.57.0", "peerDependencies": { "@angular/common": "^17.2.4", "@angular/core": "^17.2.4" diff --git a/packages/text/CHANGELOG.md b/packages/text/CHANGELOG.md index 764fe8df7..9dfac6eb5 100644 --- a/packages/text/CHANGELOG.md +++ b/packages/text/CHANGELOG.md @@ -1,5 +1,7 @@ # text +## 0.57.0 + ## 0.56.2 ### Patch Changes diff --git a/packages/text/package.json b/packages/text/package.json index 696e52bbf..0d61aabf9 100644 --- a/packages/text/package.json +++ b/packages/text/package.json @@ -1,6 +1,6 @@ { "name": "@plait/text", - "version": "0.56.2", + "version": "0.57.0", "peerDependencies": { "@angular/common": "^17.2.4", "@angular/core": "^17.2.4",