@blocksuite/global
Advanced tools
Comparing version 0.0.0-canary-20241216023618 to 0.0.0-canary-20241217001530
142
CHANGELOG.md
# @blocksuite/global | ||
## 0.0.0-canary-20241216023618 | ||
## 0.0.0-canary-20241217001530 | ||
@@ -9,2 +9,142 @@ ### Patch Changes | ||
## 0.19.1 | ||
### Patch Changes | ||
- ded71c4: chore: release blocksuite | ||
## Feat | ||
- feat(edgeless): release frame by clicking ungroup button (#8984) | ||
## Fix | ||
- fix(edgeless): new inner frame should be inside parent frame (#8985) | ||
- fix(inline): range in different document (#8986) | ||
- fix(blocks): focus ai input after position updated (#8981) | ||
- fix(edgeless): export template job and image upload api (#8980) | ||
- fix: preview won't disappear after drag end (#8979) | ||
- fix: corner cases of dnd (#8978) | ||
- fix(blocks): doc link import/export handling (#8976) | ||
## Chore | ||
- chore(blocks): add image file upload entries to keyboard toolbar (#8987) | ||
- chore(blocks): set readonly to database on mobile (#8975) | ||
- chore: lock file maintenance (#8983) | ||
- chore: lock file maintenance (#8982) | ||
- chore: remove legacy versions in transformer and adapter (#8974) | ||
## 0.19.0 | ||
### Minor Changes | ||
- d7ec057: Blocksuite minor release. | ||
## Feat | ||
- feat: enable new dnd by default (#8970) | ||
- feat: should insert bookmark when drop frame and group (#8969) | ||
- feat(blocks): add block adapters for note block (#8963) | ||
## Fix | ||
- fix: note dnd preview (#8968) | ||
- fix: attachment, bookmark and embed blocks should be draggable (#8967) | ||
- fix: should copy embed doc when dnd (#8966) | ||
- fix(std): undefined editor during rect polling on mobile (#8965) | ||
- fix(blocks): fix incorrect font family in mobile widgets (#8961) | ||
- fix(blocks): at menu styles (#8962) | ||
## Refactor | ||
- refactor: optimize code of new drag event watcher (#8971) | ||
- refactor(playground): remove `mockPeekViewExtension` (#8964) | ||
## 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 +151,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-20241216023618", | ||
"version": "0.0.0-canary-20241217001530", | ||
"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
734053
11065