@blocksuite/global
Advanced tools
Comparing version 0.0.0-canary-20241120001453 to 0.0.0-canary-20241121001509
# @blocksuite/global | ||
## 0.0.0-canary-20241120001453 | ||
## 0.0.0-canary-20241121001509 | ||
@@ -9,2 +9,36 @@ ### Patch Changes | ||
## 0.17.33 | ||
### Patch Changes | ||
- c65c3ee: ## Feat | ||
- feat: add pdf style to attachment (#8752) | ||
- feat(playground): optimize heavy whiteboard content positioning (#8746) | ||
## Fix | ||
- fix(edgeless): frame title should be render on the top and clickable (#8755) | ||
- fix(database): use copy logic when creating a linked doc (#8640) | ||
- fix(store): remove page from draft model (#8760) | ||
- fix(edgeless): container should not contain itself (#8758) | ||
- fix(edgeless): new frame should be on the bottom layer (#8756) | ||
- fix(edgeless): only clear surface selection when switching tool (#8753) | ||
- fix(edgeless): connector clone (#8747) | ||
## Chore | ||
- chore(blocks): remove trigger key '、' from slash menu (#8768) | ||
- chore(blocks): adjust and remove some actions from keyboard-toolbar (#8767) | ||
- chore: lock file maintenance (#8659) | ||
- chore: bump icons (#8761) | ||
## Refactor | ||
- refactor(edgeless): avoid accumulated updates in batch drag (#8763) | ||
## Perf | ||
- perf(edgeless): optimize selection frame rate (#8751) | ||
## 0.17.32 | ||
@@ -11,0 +45,0 @@ |
@@ -61,5 +61,3 @@ /** | ||
export declare function pickArray<T>(target: Array<T>, keys: number[]): Array<T>; | ||
export declare function pick<T, K extends keyof T>(target: T, keys: K[]): { | ||
[key in K]: T[K]; | ||
}; | ||
export declare function pick<T, K extends keyof T>(target: T, keys: K[]): Record<K, T[K]>; | ||
export declare function pickValues<T, K extends keyof T>(target: T, keys: K[]): Array<T[K]>; | ||
@@ -66,0 +64,0 @@ export declare function lastN<T>(target: Array<T>, n: number): T[]; |
{ | ||
"name": "@blocksuite/global", | ||
"version": "0.0.0-canary-20241120001453", | ||
"version": "0.0.0-canary-20241121001509", | ||
"types": "./index.d.ts", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -142,3 +142,3 @@ /** | ||
keys: K[] | ||
): { [key in K]: T[K] } { | ||
): Record<K, T[K]> { | ||
return keys.reduce( | ||
@@ -149,3 +149,3 @@ (pre, key) => { | ||
}, | ||
{} as { [key in K]: T[K] } | ||
{} as Record<K, T[K]> | ||
); | ||
@@ -152,0 +152,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
721354
11048