Skip to content

Commit

Permalink
build: release 0.57.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pubuzhixing8 committed May 10, 2024
1 parent 701771c commit 8301991
Show file tree
Hide file tree
Showing 20 changed files with 67 additions and 65 deletions.
5 changes: 0 additions & 5 deletions .changeset/bright-turkeys-repair.md

This file was deleted.

27 changes: 0 additions & 27 deletions .changeset/curvy-penguins-help.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fast-hornets-hear.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/popular-items-worry.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/pretty-beans-sit.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/rare-onions-collect.md

This file was deleted.

2 changes: 2 additions & 0 deletions packages/common/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @plait/common

## 0.57.0

## 0.56.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
12 changes: 12 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
8 changes: 8 additions & 0 deletions packages/draw/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/draw/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
32 changes: 32 additions & 0 deletions packages/flow/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/flow/package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 2 additions & 0 deletions packages/layouts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# layouts

## 0.57.0

## 0.56.2

## 0.56.1
Expand Down
2 changes: 1 addition & 1 deletion packages/layouts/package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 2 additions & 0 deletions packages/mind/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# mind

## 0.57.0

## 0.56.2

## 0.56.1
Expand Down
2 changes: 1 addition & 1 deletion packages/mind/package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 2 additions & 0 deletions packages/text/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# text

## 0.57.0

## 0.56.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/text/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 8301991

Please sign in to comment.