@blocksuite/global
Advanced tools
Comparing version 0.0.0-canary-20241024001413 to 0.0.0-canary-20241025001424
# @blocksuite/global | ||
## 0.0.0-canary-20241024001413 | ||
## 0.0.0-canary-20241025001424 | ||
@@ -9,2 +9,45 @@ ### Patch Changes | ||
## 0.17.20 | ||
### Patch Changes | ||
- 99d69d5: ## Feat | ||
- feat(blocks): add more html transformer apis (#8573) | ||
- feat(blocks): support more markdown transformer api (#8564) | ||
- feat(blocks): add abort controller to peekviewservice (#8558) | ||
- feat: add docLinkMiddleware for linked doc export (#8553) | ||
## Fix | ||
- fix: mind map dragging issue (#8563) | ||
- fix(database): can't use horizontal scrollbar (#8576) | ||
- fix: note width is less than minimum width after resize and arrange (#8550) | ||
- fix: newly created note alignments cannot be stored persistently (#8551) | ||
- fix: inline range calculation not expected (#8552) | ||
- fix(database): avoid filter bar flickering (#8562) | ||
- fix(database): drag and drop block into database block (#8561) | ||
- fix(blocks): split paragraphs based on newlines (#8556) | ||
- fix(database): incorrect delete row logic (#8544) | ||
- fix: note height less than minimum height (#8542) | ||
## Chore | ||
- chore: add changelog generating script (#8582) | ||
- chore: optimize zip transformer api (#8580) | ||
- chore: adjust attachment click events, like image, to support opening in peek view (#8579) | ||
- chore: remove useless import (#8571) | ||
## Refactor | ||
- refactor: convert built-in component to widget (#8577) | ||
- refactor: migrating legacy tools (#8471) | ||
- refactor: edgeless tool manager (#8438) | ||
- refactor(playground): organize export and import menu items into submenus in the debug menu (#8557) | ||
- refactor: combine unsafeCSS and cssVar (#8545) | ||
## Perf | ||
- perf(edgeless): use css var to place collaboration cursors-n-selections on board zoom change (#8543) | ||
## 0.17.19 | ||
@@ -11,0 +54,0 @@ |
@@ -10,2 +10,3 @@ export declare const IS_WEB: boolean; | ||
export declare const IS_WINDOWS: boolean; | ||
export declare const IS_MOBILE: boolean; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -15,2 +15,3 @@ const agent = globalThis.navigator?.userAgent ?? ''; | ||
export const IS_WINDOWS = /Win/.test(platform); | ||
export const IS_MOBILE = IS_IOS || IS_IPAD || IS_ANDROID; | ||
//# sourceMappingURL=index.js.map |
@@ -17,4 +17,6 @@ export interface BlockSuiteFlags { | ||
enable_shape_shadow_blur: boolean; | ||
enable_new_dnd: boolean; | ||
readonly: Record<string, boolean>; | ||
} | ||
export * from './virtual-keyboard.js'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export {}; | ||
export * from './virtual-keyboard.js'; | ||
//# sourceMappingURL=index.js.map |
@@ -17,2 +17,4 @@ type DisposeCallback = () => void; | ||
addFromEvent<N extends keyof HTMLElementEventMap>(element: HTMLElement, eventName: N, handler: (e: HTMLElementEventMap[N]) => void, eventOptions?: boolean | AddEventListenerOptions): void; | ||
addFromEvent<N extends keyof VisualViewportEventMap>(element: VisualViewport, eventName: N, handler: (e: VisualViewportEventMap[N]) => void, eventOptions?: boolean | AddEventListenerOptions): void; | ||
addFromEvent<N extends keyof VirtualKeyboardEventMap>(element: VirtualKeyboard, eventName: N, handler: (e: VirtualKeyboardEventMap[N]) => void, eventOptions?: boolean | AddEventListenerOptions): void; | ||
dispose(): void; | ||
@@ -19,0 +21,0 @@ } |
{ | ||
"name": "@blocksuite/global", | ||
"version": "0.0.0-canary-20241024001413", | ||
"version": "0.0.0-canary-20241025001424", | ||
"types": "./index.d.ts", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -28,1 +28,3 @@ const agent = globalThis.navigator?.userAgent ?? ''; | ||
export const IS_WINDOWS = /Win/.test(platform); | ||
export const IS_MOBILE = IS_IOS || IS_IPAD || IS_ANDROID; |
@@ -17,3 +17,5 @@ export interface BlockSuiteFlags { | ||
enable_shape_shadow_blur: boolean; | ||
enable_new_dnd: boolean; | ||
readonly: Record<string, boolean>; | ||
} | ||
export * from './virtual-keyboard.js'; |
@@ -48,5 +48,17 @@ type DisposeCallback = () => void; | ||
): void; | ||
addFromEvent<N extends keyof VisualViewportEventMap>( | ||
element: VisualViewport, | ||
eventName: N, | ||
handler: (e: VisualViewportEventMap[N]) => void, | ||
eventOptions?: boolean | AddEventListenerOptions | ||
): void; | ||
addFromEvent<N extends keyof VirtualKeyboardEventMap>( | ||
element: VirtualKeyboard, | ||
eventName: N, | ||
handler: (e: VirtualKeyboardEventMap[N]) => void, | ||
eventOptions?: boolean | AddEventListenerOptions | ||
): void; | ||
addFromEvent( | ||
target: HTMLElement | Window | Document, | ||
target: HTMLElement | Window | Document | VisualViewport | VirtualKeyboard, | ||
type: string, | ||
@@ -53,0 +65,0 @@ handler: (e: Event) => void, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
709692
243
11009