@blocksuite/lit
Advanced tools
Comparing version 0.0.0-20230619093341-b1b8714a-nightly to 0.0.0-20230620053632-def836c5-nightly
@@ -13,13 +13,13 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
__decorate([ | ||
property() | ||
property({ attribute: false }) | ||
], BlockElement.prototype, "root", void 0); | ||
__decorate([ | ||
property() | ||
property({ attribute: false }) | ||
], BlockElement.prototype, "model", void 0); | ||
__decorate([ | ||
property() | ||
property({ attribute: false }) | ||
], BlockElement.prototype, "content", void 0); | ||
__decorate([ | ||
property() | ||
property({ attribute: false }) | ||
], BlockElement.prototype, "page", void 0); | ||
//# sourceMappingURL=block-element.js.map |
@@ -71,9 +71,9 @@ /* eslint-disable lit/binding-positions, lit/no-invalid-html */ | ||
__decorate([ | ||
property() | ||
property({ attribute: false }) | ||
], BlockSuiteRoot.prototype, "componentMap", void 0); | ||
__decorate([ | ||
property() | ||
property({ attribute: false }) | ||
], BlockSuiteRoot.prototype, "page", void 0); | ||
__decorate([ | ||
property() | ||
property({ attribute: false }) | ||
], BlockSuiteRoot.prototype, "blockIdAttr", void 0); | ||
@@ -80,0 +80,0 @@ BlockSuiteRoot = __decorate([ |
{ | ||
"name": "@blocksuite/lit", | ||
"version": "0.0.0-20230619093341-b1b8714a-nightly", | ||
"version": "0.0.0-20230620053632-def836c5-nightly", | ||
"description": "Lit renderer for blocksuite store", | ||
@@ -12,3 +12,3 @@ "main": "dist/index.js", | ||
"peerDependencies": { | ||
"@blocksuite/store": "0.0.0-20230619093341-b1b8714a-nightly", | ||
"@blocksuite/store": "0.0.0-20230620053632-def836c5-nightly", | ||
"@blocksuite/block-std": "0.6.0" | ||
@@ -18,6 +18,6 @@ }, | ||
"lit": "^2.7.3", | ||
"@blocksuite/global": "0.0.0-20230619093341-b1b8714a-nightly" | ||
"@blocksuite/global": "0.0.0-20230620053632-def836c5-nightly" | ||
}, | ||
"devDependencies": { | ||
"@blocksuite/store": "0.0.0-20230619093341-b1b8714a-nightly", | ||
"@blocksuite/store": "0.0.0-20230620053632-def836c5-nightly", | ||
"@blocksuite/block-std": "0.6.0" | ||
@@ -24,0 +24,0 @@ }, |
@@ -13,13 +13,13 @@ import type { BaseBlockModel } from '@blocksuite/store'; | ||
) { | ||
@property() | ||
@property({ attribute: false }) | ||
root!: BlockSuiteRoot; | ||
@property() | ||
@property({ attribute: false }) | ||
model!: Model; | ||
@property() | ||
@property({ attribute: false }) | ||
content!: TemplateResult; | ||
@property() | ||
@property({ attribute: false }) | ||
page!: Page; | ||
} |
@@ -16,9 +16,9 @@ /* eslint-disable lit/binding-positions, lit/no-invalid-html */ | ||
export class BlockSuiteRoot extends ShadowlessElement { | ||
@property() | ||
@property({ attribute: false }) | ||
componentMap!: Map<BlockSchemaType, StaticValue>; | ||
@property() | ||
@property({ attribute: false }) | ||
page!: Page; | ||
@property() | ||
@property({ attribute: false }) | ||
blockIdAttr = 'data-block-id'; | ||
@@ -25,0 +25,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
205191
+ Added@blocksuite/global@0.0.0-20230620053632-def836c5-nightly(transitive)
+ Added@blocksuite/store@0.0.0-20230620053632-def836c5-nightly(transitive)
+ Added@blocksuite/virgo@0.0.0-20230620053632-def836c5-nightly(transitive)
- Removed@blocksuite/global@0.0.0-20230619093341-b1b8714a-nightly(transitive)
- Removed@blocksuite/store@0.0.0-20230619093341-b1b8714a-nightly(transitive)
- Removed@blocksuite/virgo@0.0.0-20230619093341-b1b8714a-nightly(transitive)
Updated@blocksuite/global@0.0.0-20230620053632-def836c5-nightly