@blocksuite/virgo
Advanced tools
Comparing version 0.5.0-20230321222249-433f06e to 0.5.0-20230322104334-714fb62
@@ -14,3 +14,3 @@ import type { TemplateResult } from 'lit'; | ||
export type VRangeUpdatedProp = [ | ||
range: VRange | null, | ||
range: VRange, | ||
type: 'native' | 'input' | 'other' | ||
@@ -17,0 +17,0 @@ ]; |
@@ -181,2 +181,3 @@ import { assertExists, Slot } from '@blocksuite/global/utils'; | ||
})); | ||
this.rootElement.focus(); | ||
this.slots.updated.emit(); | ||
@@ -183,0 +184,0 @@ }; |
{ | ||
"name": "@blocksuite/virgo", | ||
"version": "0.5.0-20230321222249-433f06e", | ||
"version": "0.5.0-20230322104334-714fb62", | ||
"description": "A micro editor.", | ||
@@ -26,3 +26,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@blocksuite/global": "0.5.0-20230321222249-433f06e", | ||
"@blocksuite/global": "0.5.0-20230322104334-714fb62", | ||
"zod": "^3.21.4" | ||
@@ -29,0 +29,0 @@ }, |
@@ -23,3 +23,3 @@ import type { TemplateResult } from 'lit'; | ||
export type VRangeUpdatedProp = [ | ||
range: VRange | null, | ||
range: VRange, | ||
type: 'native' | 'input' | 'other' | ||
@@ -26,0 +26,0 @@ ]; |
@@ -249,2 +249,3 @@ import type { NullablePartial } from '@blocksuite/global/types'; | ||
this._rootElement.replaceChildren(...lines); | ||
await Promise.all( | ||
@@ -256,2 +257,4 @@ lines.map(async line => { | ||
this.rootElement.focus(); | ||
this.slots.updated.emit(); | ||
@@ -258,0 +261,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
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
412659
5767
+ Added@blocksuite/global@0.5.0-20230322104334-714fb62(transitive)
- Removed@blocksuite/global@0.5.0-20230321222249-433f06e(transitive)