Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@blocksuite/global

Package Overview
Dependencies
Maintainers
0
Versions
1152
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blocksuite/global - npm Package Compare versions

Comparing version 0.17.20 to 0.17.21

dist/types/virtual-keyboard.d.ts

25

CHANGELOG.md
# @blocksuite/global
## 0.17.21
### Patch Changes
- 24db578: ## Feat
- feat(blocks): mobile keyboard toolbar widget (#8585)
- feat: add mobile detection and virtual keyboard support (#8584)
- feat(blocks): handle event only when nav.clipboard is available (#8587)
- feat: add new dnd (#8524)
## Fix
- fix(edgeless): delete at the start of edgeless text (#8574)
## Chore
- chore: organize edgeless spec exports (#8595)
- chore: Lock file maintenance (#8569)
## Refactor
- refactor(blocks): extract insert inline latex to command (#8594)
- refactor(blocks): remove hover state after button pressed in mobile (#8586)
## 0.17.20

@@ -4,0 +29,0 @@

1

dist/env/index.d.ts

@@ -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

2

dist/types/index.js

@@ -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.17.20",
"version": "0.17.21",
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc