@blocksuite/virgo
Advanced tools
Comparing version 0.9.0 to 0.10.0
@@ -18,3 +18,3 @@ import { LitElement, type TemplateResult } from 'lit'; | ||
protected firstUpdated(): void; | ||
render(): TemplateResult<1>; | ||
render(): TemplateResult<1> | undefined; | ||
createRenderRoot(): this; | ||
@@ -21,0 +21,0 @@ } |
@@ -43,2 +43,4 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
} | ||
if (!this.isConnected) | ||
return; | ||
const rootElement = this.closest(`[${VIRGO_ROOT_ATTR}]`); | ||
@@ -45,0 +47,0 @@ assertExists(rootElement, 'v-line must be inside a v-root'); |
@@ -1,2 +0,2 @@ | ||
import { IS_IOS, IS_MAC } from '@blocksuite/global/config'; | ||
import { IS_IOS, IS_MAC } from '@blocksuite/global/env'; | ||
const SHORT_KEY_PROPERTY = IS_IOS || IS_MAC ? 'metaKey' : 'ctrlKey'; | ||
@@ -3,0 +3,0 @@ export const VKEYBOARD_PREVENT_DEFAULT = false; |
{ | ||
"name": "@blocksuite/virgo", | ||
"version": "0.9.0", | ||
"version": "0.10.0", | ||
"description": "A micro editor.", | ||
@@ -11,7 +11,7 @@ "type": "module", | ||
"devDependencies": { | ||
"lit": "^2.8.0", | ||
"yjs": "^13.6.7" | ||
"lit": "^3.0.2", | ||
"yjs": "^13.6.8" | ||
}, | ||
"peerDependencies": { | ||
"lit": "^2.7", | ||
"lit": "^3.0.2", | ||
"yjs": "^13" | ||
@@ -27,4 +27,4 @@ }, | ||
"dependencies": { | ||
"zod": "^3.22.2", | ||
"@blocksuite/global": "0.9.0" | ||
"zod": "^3.22.4", | ||
"@blocksuite/global": "0.10.0" | ||
}, | ||
@@ -31,0 +31,0 @@ "scripts": { |
@@ -48,2 +48,4 @@ import { assertExists } from '@blocksuite/global/utils'; | ||
if (!this.isConnected) return; | ||
const rootElement = this.closest( | ||
@@ -50,0 +52,0 @@ `[${VIRGO_ROOT_ATTR}]` |
@@ -1,2 +0,2 @@ | ||
import { IS_IOS, IS_MAC } from '@blocksuite/global/config'; | ||
import { IS_IOS, IS_MAC } from '@blocksuite/global/env'; | ||
@@ -3,0 +3,0 @@ import type { VRange } from '../types.js'; |
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
532798
178
8573
+ Added@blocksuite/global@0.10.0(transitive)
+ Added@lit/reactive-element@2.0.4(transitive)
+ Addedlit@3.2.1(transitive)
+ Addedlit-element@4.1.1(transitive)
+ Addedlit-html@3.2.1(transitive)
- Removed@blocksuite/global@0.9.0(transitive)
- Removed@lit/reactive-element@1.6.3(transitive)
- Removedansi-colors@4.1.3(transitive)
- Removedlit@2.8.0(transitive)
- Removedlit-element@3.3.3(transitive)
- Removedlit-html@2.8.0(transitive)
Updated@blocksuite/global@0.10.0
Updatedzod@^3.22.4