@blocksuite/virgo
Advanced tools
Comparing version 0.4.0-20230206205011-523956a to 0.4.0-20230207201257-d147e8c
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
}; | ||
import { LitElement, html } from 'lit'; | ||
import { html, LitElement } from 'lit'; | ||
import { customElement, property } from 'lit/decorators.js'; | ||
import { styleMap } from 'lit/directives/style-map.js'; | ||
import { ZERO_WIDTH_SPACE } from '../constant.js'; | ||
import { VirgoUnitText } from './virgo-unit-text.js'; | ||
import { ZERO_WIDTH_SPACE } from '../constant.js'; | ||
function virgoTextStyles(props) { | ||
@@ -14,0 +14,0 @@ let textDecorations = ''; |
@@ -0,5 +1,5 @@ | ||
export * from './base-text.js'; | ||
export * from './virgo-line.js'; | ||
export * from './virgo-unit-text.js'; | ||
export * from './base-text.js'; | ||
export * from './optional/inline-code.js'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -0,6 +1,6 @@ | ||
export * from './base-text.js'; | ||
export * from './virgo-line.js'; | ||
export * from './virgo-unit-text.js'; | ||
export * from './base-text.js'; | ||
// optional elements | ||
export * from './optional/inline-code.js'; | ||
//# sourceMappingURL=index.js.map |
@@ -7,6 +7,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
}; | ||
import { LitElement, html } from 'lit'; | ||
import { property, customElement } from 'lit/decorators.js'; | ||
import { html, LitElement } from 'lit'; | ||
import { customElement, property } from 'lit/decorators.js'; | ||
import { ZERO_WIDTH_SPACE } from '../../constant.js'; | ||
import { VirgoUnitText } from '../virgo-unit-text.js'; | ||
import { ZERO_WIDTH_SPACE } from '../../constant.js'; | ||
let InlineCode = class InlineCode extends LitElement { | ||
@@ -13,0 +13,0 @@ constructor() { |
@@ -1,6 +0,6 @@ | ||
export * from './virgo.js'; | ||
export * from './components/index.js'; | ||
export * from './constant.js'; | ||
export * from './types.js'; | ||
export * from './utils/index.js'; | ||
export * from './components/index.js'; | ||
export * from './virgo.js'; | ||
//# sourceMappingURL=index.d.ts.map |
/// <reference types="@blocksuite/global" /> | ||
export * from './virgo.js'; | ||
export * from './components/index.js'; | ||
export * from './constant.js'; | ||
export * from './types.js'; | ||
export * from './utils/index.js'; | ||
export * from './components/index.js'; | ||
export * from './virgo.js'; | ||
//# sourceMappingURL=index.js.map |
@@ -0,3 +1,3 @@ | ||
import { Signal } from '@blocksuite/global/utils'; | ||
import type * as Y from 'yjs'; | ||
import { Signal } from '@blocksuite/global/utils'; | ||
import type { DeltaInsert, TextAttributes, TextElement } from './types.js'; | ||
@@ -4,0 +4,0 @@ export interface VRange { |
@@ -0,6 +1,6 @@ | ||
import { assertExists, Signal } from '@blocksuite/global/utils'; | ||
import { BaseText } from './components/base-text.js'; | ||
import { VirgoLine } from './components/virgo-line.js'; | ||
import { ZERO_WIDTH_SPACE } from './constant.js'; | ||
import { assertExists, Signal } from '@blocksuite/global/utils'; | ||
import { deltaInsersToChunks } from './utils/convert.js'; | ||
import { VirgoLine } from './components/virgo-line.js'; | ||
import { BaseText } from './components/base-text.js'; | ||
import { baseRenderElement } from './utils/render.js'; | ||
@@ -7,0 +7,0 @@ export class VEditor { |
{ | ||
"name": "@blocksuite/virgo", | ||
"version": "0.4.0-20230206205011-523956a", | ||
"version": "0.4.0-20230207201257-d147e8c", | ||
"description": "A micro editor.", | ||
@@ -11,3 +11,3 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"yjs": "^13.5.44", | ||
"yjs": "^13.5.45", | ||
"lit": "^2.6.1" | ||
@@ -27,3 +27,3 @@ }, | ||
"dependencies": { | ||
"@blocksuite/global": "0.4.0-20230206205011-523956a" | ||
"@blocksuite/global": "0.4.0-20230207201257-d147e8c" | ||
}, | ||
@@ -30,0 +30,0 @@ "scripts": { |
@@ -1,7 +0,8 @@ | ||
import { LitElement, html } from 'lit'; | ||
import { html, LitElement } from 'lit'; | ||
import { customElement, property } from 'lit/decorators.js'; | ||
import { styleMap } from 'lit/directives/style-map.js'; | ||
import { ZERO_WIDTH_SPACE } from '../constant.js'; | ||
import type { BaseArrtiubtes, DeltaInsert } from '../types.js'; | ||
import { styleMap } from 'lit/directives/style-map.js'; | ||
import { VirgoUnitText } from './virgo-unit-text.js'; | ||
import { ZERO_WIDTH_SPACE } from '../constant.js'; | ||
@@ -8,0 +9,0 @@ function virgoTextStyles(props: BaseArrtiubtes): ReturnType<typeof styleMap> { |
@@ -0,6 +1,6 @@ | ||
export * from './base-text.js'; | ||
export * from './virgo-line.js'; | ||
export * from './virgo-unit-text.js'; | ||
export * from './base-text.js'; | ||
// optional elements | ||
export * from './optional/inline-code.js'; |
@@ -1,6 +0,7 @@ | ||
import { LitElement, html } from 'lit'; | ||
import { property, customElement } from 'lit/decorators.js'; | ||
import { html, LitElement } from 'lit'; | ||
import { customElement, property } from 'lit/decorators.js'; | ||
import { ZERO_WIDTH_SPACE } from '../../constant.js'; | ||
import type { BaseArrtiubtes, DeltaInsert } from '../../types.js'; | ||
import { VirgoUnitText } from '../virgo-unit-text.js'; | ||
import { ZERO_WIDTH_SPACE } from '../../constant.js'; | ||
@@ -7,0 +8,0 @@ export interface InlineCodeAttributes { |
import { html, LitElement } from 'lit'; | ||
import { customElement, property } from 'lit/decorators.js'; | ||
import type { TextElement } from '../types.js'; | ||
@@ -4,0 +5,0 @@ |
import { html, LitElement } from 'lit'; | ||
import { customElement, property } from 'lit/decorators.js'; | ||
import { ZERO_WIDTH_SPACE } from '../constant.js'; | ||
@@ -4,0 +5,0 @@ import type { BaseArrtiubtes, DeltaInsert } from '../types.js'; |
/// <reference types="@blocksuite/global" /> | ||
export * from './virgo.js'; | ||
export * from './components/index.js'; | ||
export * from './constant.js'; | ||
export * from './types.js'; | ||
export * from './utils/index.js'; | ||
export * from './components/index.js'; | ||
export * from './virgo.js'; |
@@ -0,8 +1,9 @@ | ||
import { assertExists, Signal } from '@blocksuite/global/utils'; | ||
import type * as Y from 'yjs'; | ||
import { BaseText } from './components/base-text.js'; | ||
import { VirgoLine } from './components/virgo-line.js'; | ||
import { ZERO_WIDTH_SPACE } from './constant.js'; | ||
import { assertExists, Signal } from '@blocksuite/global/utils'; | ||
import type { DeltaInsert, TextAttributes, TextElement } from './types.js'; | ||
import { deltaInsersToChunks } from './utils/convert.js'; | ||
import { VirgoLine } from './components/virgo-line.js'; | ||
import { BaseText } from './components/base-text.js'; | ||
import { baseRenderElement } from './utils/render.js'; | ||
@@ -9,0 +10,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
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
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
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
204183
74
2835
+ Added@blocksuite/global@0.4.0-20230207201257-d147e8c(transitive)
- Removed@blocksuite/global@0.4.0-20230206205011-523956a(transitive)