@blocksuite/global
Advanced tools
Comparing version 0.0.0-canary-20241212001527 to 0.0.0-canary-20241213001537
# @blocksuite/global | ||
## 0.0.0-canary-20241212001527 | ||
## 0.0.0-canary-20241213001537 | ||
@@ -9,2 +9,88 @@ ### Patch Changes | ||
## 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 | ||
### Patch Changes | ||
- d925364: Blocksuite patch release. | ||
## Feat | ||
- feat: add from entity api for dnd (#8946) | ||
- feat: make block to snapshot a sync method (#8943) | ||
- feat(database): enhance filter functionality with default values (#8932) | ||
- feat: bring back the ability to drag blocks from note to edgeless (#8914) | ||
- feat(blocks): responsive ui for embed doc (#8900) | ||
- feat(edgeless): unlock and unlock button (#8826) | ||
- feat(edgeless): impl lock interface for edgeless element and block (#8825) | ||
- feat(edgeless): add lock property to edgeless block and element (#8824) | ||
- feat(blocks): support embed linked doc and synced doc html block adapter (#8907) | ||
- feat(blocks): support database html block adapter (#8898) | ||
## Fix | ||
- fix(blocks): inconsistent language list behavior on hover in Firefox (#8944) | ||
- fix(database): adjust detail panel layout for better responsiveness (#8945) | ||
- fix(database): move cursor in kanban card title by arrow keys (#8893) | ||
- fix(blocks): show keyboard toolbar when focus on title and hide on scrolling (#8939) | ||
- fix(blocks): missing aliases when duplicating linked doc block on edgeless (#8930) | ||
- fix: remove vitest extension from recommendation list (#8936) | ||
- fix(blocks): should prevent default if drop event is handled (#8929) | ||
- fix(blocks): missing aliases when converting from embed to card (#8928) | ||
- fix(blocks): should show original doc title when hovering title button (#8925) | ||
- fix(blocks): hide the thumb for bookmark if its width is less than 375 (#8922) | ||
- fix(blocks): button styling when disabled on embed card edit popup (#8924) | ||
- fix(edgeless): undefined telemetry service (#8918) | ||
- fix(database): add group call frequency is incorrect (#8916) | ||
- fix(database): adjust padding for mobile menu to accommodate safe area insets (#8915) | ||
## Chore | ||
- chore(edgeless): telemetry for edgeless lock feature (#8933) | ||
- chore(blocks): use rest params in parsed result (#8908) | ||
- chore: lock file maintenance (#8919) | ||
- chore: lock file maintenance (#8894) | ||
## Refactor | ||
- refactor: adapter types and utils (#8934) | ||
- refactor: make notion text adapter as an extension (#8926) | ||
## Perf | ||
- perf(std): cache dom rect for pointer controller (#8940) | ||
## Test | ||
- test(database): add sorting functionality tests for multiple rules (#8917) | ||
- test(edgeless): fix lock flaky test by adding waitNextFrame (#8937) | ||
- test(edgeless): edgeless element lock feature tests (#8867) | ||
## 0.18.5 | ||
@@ -11,0 +97,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.0.0-canary-20241212001527", | ||
"version": "0.0.0-canary-20241213001537", | ||
"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
732443
11065