@blocksuite/block-std
Advanced tools
Comparing version 0.0.0-20230710082350-3a26a731-nightly to 0.0.0-20230710180251-cc217754-nightly
import { BaseSelection } from '../base.js'; | ||
class BlockSelection extends BaseSelection { | ||
export class BlockSelection extends BaseSelection { | ||
equals(other) { | ||
@@ -20,3 +20,2 @@ if (other instanceof BlockSelection) { | ||
BlockSelection.type = 'block'; | ||
export { BlockSelection }; | ||
//# sourceMappingURL=block.js.map |
import { BaseSelection } from '../base.js'; | ||
class TextSelection extends BaseSelection { | ||
export class TextSelection extends BaseSelection { | ||
constructor(blockId, from, to) { | ||
@@ -32,3 +32,2 @@ super(blockId); | ||
TextSelection.type = 'text'; | ||
export { TextSelection }; | ||
//# sourceMappingURL=text.js.map |
{ | ||
"name": "@blocksuite/block-std", | ||
"version": "0.0.0-20230710082350-3a26a731-nightly", | ||
"version": "0.0.0-20230710180251-cc217754-nightly", | ||
"description": "Std for blocksuite blocks", | ||
@@ -12,9 +12,9 @@ "main": "dist/index.js", | ||
"peerDependencies": { | ||
"@blocksuite/store": "0.0.0-20230710082350-3a26a731-nightly" | ||
"@blocksuite/store": "0.0.0-20230710180251-cc217754-nightly" | ||
}, | ||
"dependencies": { | ||
"@blocksuite/global": "0.0.0-20230710082350-3a26a731-nightly" | ||
"@blocksuite/global": "0.0.0-20230710180251-cc217754-nightly" | ||
}, | ||
"devDependencies": { | ||
"@blocksuite/store": "0.0.0-20230710082350-3a26a731-nightly" | ||
"@blocksuite/store": "0.0.0-20230710180251-cc217754-nightly" | ||
}, | ||
@@ -21,0 +21,0 @@ "exports": { |
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
264844
1457
+ Added@blocksuite/global@0.0.0-20230710180251-cc217754-nightly(transitive)
+ Added@blocksuite/store@0.0.0-20230710180251-cc217754-nightly(transitive)
+ Added@blocksuite/virgo@0.0.0-20230710180251-cc217754-nightly(transitive)
- Removed@blocksuite/global@0.0.0-20230710082350-3a26a731-nightly(transitive)
- Removed@blocksuite/store@0.0.0-20230710082350-3a26a731-nightly(transitive)
- Removed@blocksuite/virgo@0.0.0-20230710082350-3a26a731-nightly(transitive)
Updated@blocksuite/global@0.0.0-20230710180251-cc217754-nightly