@blocksuite/block-std
Advanced tools
Comparing version 0.0.0-20230702013906-50f93499-nightly to 0.0.0-20230703162815-336f855b-nightly
@@ -20,6 +20,6 @@ import { UIEventStateContext } from './base.js'; | ||
listen() { | ||
this._dispatcher.disposables.addFromEvent(document, 'keydown', this._down); | ||
this._dispatcher.disposables.addFromEvent(document, 'keyup', this._up); | ||
this._dispatcher.disposables.addFromEvent(this._dispatcher.root, 'keydown', this._down); | ||
this._dispatcher.disposables.addFromEvent(this._dispatcher.root, 'keyup', this._up); | ||
} | ||
} | ||
//# sourceMappingURL=keyboard.js.map |
{ | ||
"name": "@blocksuite/block-std", | ||
"version": "0.0.0-20230702013906-50f93499-nightly", | ||
"version": "0.0.0-20230703162815-336f855b-nightly", | ||
"description": "Std for blocksuite blocks", | ||
@@ -12,9 +12,9 @@ "main": "dist/index.js", | ||
"peerDependencies": { | ||
"@blocksuite/store": "0.0.0-20230702013906-50f93499-nightly" | ||
"@blocksuite/store": "0.0.0-20230703162815-336f855b-nightly" | ||
}, | ||
"dependencies": { | ||
"@blocksuite/global": "0.0.0-20230702013906-50f93499-nightly" | ||
"@blocksuite/global": "0.0.0-20230703162815-336f855b-nightly" | ||
}, | ||
"devDependencies": { | ||
"@blocksuite/store": "0.0.0-20230702013906-50f93499-nightly" | ||
"@blocksuite/store": "0.0.0-20230703162815-336f855b-nightly" | ||
}, | ||
@@ -21,0 +21,0 @@ "exports": { |
@@ -9,4 +9,12 @@ import { UIEventStateContext } from './base.js'; | ||
listen() { | ||
this._dispatcher.disposables.addFromEvent(document, 'keydown', this._down); | ||
this._dispatcher.disposables.addFromEvent(document, 'keyup', this._up); | ||
this._dispatcher.disposables.addFromEvent( | ||
this._dispatcher.root, | ||
'keydown', | ||
this._down | ||
); | ||
this._dispatcher.disposables.addFromEvent( | ||
this._dispatcher.root, | ||
'keyup', | ||
this._up | ||
); | ||
} | ||
@@ -13,0 +21,0 @@ |
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
262978
1459
+ Added@blocksuite/global@0.0.0-20230703162815-336f855b-nightly(transitive)
+ Added@blocksuite/store@0.0.0-20230703162815-336f855b-nightly(transitive)
+ Added@blocksuite/virgo@0.0.0-20230703162815-336f855b-nightly(transitive)
- Removed@blocksuite/global@0.0.0-20230702013906-50f93499-nightly(transitive)
- Removed@blocksuite/store@0.0.0-20230702013906-50f93499-nightly(transitive)
- Removed@blocksuite/virgo@0.0.0-20230702013906-50f93499-nightly(transitive)
Updated@blocksuite/global@0.0.0-20230703162815-336f855b-nightly