@blocksuite/global
Advanced tools
Comparing version 0.18.6 to 0.18.7
# @blocksuite/global | ||
## 0.18.7 | ||
### Patch Changes | ||
- 1057773: Blocksuite patch release. | ||
## Feat | ||
- feat(edgeless): rewrite mind map drag indicator (#8805) | ||
- feat: remove data transfer from dnd api (#8955) | ||
## Fix | ||
- fix: dnd from entity api (#8958) | ||
- fix(std): edge case on pointer controller (#8954) | ||
- fix: indent behavior (#8941) | ||
- fix(edgeless): add index reorder buttong for frame block (#8951) | ||
## Chore | ||
- chore: run headless vitest locally by default (#8957) | ||
- chore(blocks): disable image peekview on mobile (#8952) | ||
## Refactor | ||
- refactor(database): refactor addRow functionality in kanban and table views (#8956) | ||
- refactor: notion html adapter (#8947) | ||
## 0.18.6 | ||
@@ -4,0 +32,0 @@ |
@@ -59,2 +59,3 @@ import type { SerializedXYWH, XYWH } from '../xywh.js'; | ||
isVerticalCross(bound: Bound): boolean; | ||
moveDelta(dx: number, dy: number): Bound; | ||
serialize(): SerializedXYWH; | ||
@@ -61,0 +62,0 @@ toRelative([x, y]: IVec): IVec; |
@@ -190,2 +190,5 @@ import { getIBoundFromPoints } from '../bound.js'; | ||
} | ||
moveDelta(dx, dy) { | ||
return new Bound(this.x + dx, this.y + dy, this.w, this.h); | ||
} | ||
serialize() { | ||
@@ -192,0 +195,0 @@ return serializeXYWH(this.x, this.y, this.w, this.h); |
{ | ||
"name": "@blocksuite/global", | ||
"version": "0.18.6", | ||
"version": "0.18.7", | ||
"types": "./index.d.ts", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -279,2 +279,6 @@ import type { SerializedXYWH, XYWH } from '../xywh.js'; | ||
moveDelta(dx: number, dy: number) { | ||
return new Bound(this.x + dx, this.y + dy, this.w, this.h); | ||
} | ||
serialize(): SerializedXYWH { | ||
@@ -281,0 +285,0 @@ return serializeXYWH(this.x, this.y, this.w, this.h); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
732340
11065