@blocksuite/global
Advanced tools
Comparing version 0.4.0-20230206205011-523956a to 0.4.0-20230207201257-d147e8c
@@ -0,3 +1,3 @@ | ||
export * from './consts/affine-style-consts.js'; | ||
export * from './consts/blockhub.js'; | ||
export * from './consts/affine-style-consts.js'; | ||
export declare const BLOCK_ID_ATTR: "data-block-id"; | ||
@@ -4,0 +4,0 @@ export declare const BLOCK_SERVICE_LOADING_ATTR: "data-service-loading"; |
@@ -0,3 +1,3 @@ | ||
export * from './consts/affine-style-consts.js'; | ||
export * from './consts/blockhub.js'; | ||
export * from './consts/affine-style-consts.js'; | ||
export const BLOCK_ID_ATTR = 'data-block-id'; | ||
@@ -4,0 +4,0 @@ export const BLOCK_SERVICE_LOADING_ATTR = 'data-service-loading'; |
@@ -33,2 +33,13 @@ /** | ||
export declare const ArrowDownIcon: import("lit-html").TemplateResult<2>; | ||
export declare const SelectIcon: import("lit-html").TemplateResult<2>; | ||
export declare const ShapeIcon: import("lit-html").TemplateResult<2>; | ||
export declare const ImageIcon: import("lit-html").TemplateResult<2>; | ||
export declare const ConnectorIcon: import("lit-html").TemplateResult<2>; | ||
export declare const PenIcon: import("lit-html").TemplateResult<2>; | ||
export declare const HandIcon: import("lit-html").TemplateResult<2>; | ||
export declare const SquareIcon: import("lit-html").TemplateResult<2>; | ||
export declare const EllipseIcon: import("lit-html").TemplateResult<2>; | ||
export declare const DiamondIcon: import("lit-html").TemplateResult<2>; | ||
export declare const TriangleIcon: import("lit-html").TemplateResult<2>; | ||
export declare const RoundedRectangleIcon: import("lit-html").TemplateResult<2>; | ||
//# sourceMappingURL=icons.d.ts.map |
@@ -0,3 +1,3 @@ | ||
export * from './consts.js'; | ||
export * from './icons.js'; | ||
export * from './consts.js'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -0,3 +1,3 @@ | ||
export * from './consts.js'; | ||
export * from './icons.js'; | ||
export * from './consts.js'; | ||
//# sourceMappingURL=index.js.map |
@@ -1,5 +0,5 @@ | ||
export { isFirefox, isWeb, caretRangeFromPoint } from './utils/web.js'; | ||
export { Signal } from './utils/signal.js'; | ||
export type { Disposable } from './utils/disposable.js'; | ||
export { DisposableGroup, flattenDisposable } from './utils/disposable.js'; | ||
export { Signal } from './utils/signal.js'; | ||
export { caretRangeFromPoint, isFirefox, isWeb } from './utils/web.js'; | ||
export declare const SYS_KEYS: Set<string>; | ||
@@ -6,0 +6,0 @@ export declare function isPrimitive(a: unknown): a is null | undefined | boolean | number | string; |
@@ -1,4 +0,4 @@ | ||
export { isFirefox, isWeb, caretRangeFromPoint } from './utils/web.js'; | ||
export { DisposableGroup, flattenDisposable } from './utils/disposable.js'; | ||
export { Signal } from './utils/signal.js'; | ||
export { DisposableGroup, flattenDisposable } from './utils/disposable.js'; | ||
export { caretRangeFromPoint, isFirefox, isWeb } from './utils/web.js'; | ||
export const SYS_KEYS = new Set(['id', 'flavour', 'children']); | ||
@@ -5,0 +5,0 @@ // https://stackoverflow.com/questions/31538010/test-if-a-variable-is-a-primitive-rather-than-an-object |
@@ -76,2 +76,3 @@ // eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
enable_append_flavor_slash: boolean; | ||
enable_edgeless_toolbar: boolean; | ||
readonly: Record<string, boolean>; | ||
@@ -95,2 +96,3 @@ }; | ||
CodeBlockModel, | ||
DatabaseBlockModel, | ||
DividerBlockModel, | ||
@@ -103,3 +105,2 @@ EmbedBlockModel, | ||
SurfaceBlockModel, | ||
DatabaseBlockModel, | ||
} from '@blocksuite/blocks/models'; | ||
@@ -106,0 +107,0 @@ |
{ | ||
"name": "@blocksuite/global", | ||
"version": "0.4.0-20230206205011-523956a", | ||
"version": "0.4.0-20230207201257-d147e8c", | ||
"types": "./index.d.ts", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -0,3 +1,3 @@ | ||
export * from './consts/affine-style-consts.js'; | ||
export * from './consts/blockhub.js'; | ||
export * from './consts/affine-style-consts.js'; | ||
@@ -4,0 +4,0 @@ export const BLOCK_ID_ATTR = 'data-block-id' as const; |
import type { TemplateResult } from 'lit/html.js'; | ||
import { | ||
@@ -3,0 +4,0 @@ BulletedListIcon, |
@@ -0,2 +1,2 @@ | ||
export * from './consts.js'; | ||
export * from './icons.js'; | ||
export * from './consts.js'; |
import color from 'ansi-colors'; | ||
import { assertEquals, assertExists } from './utils.js'; | ||
@@ -3,0 +4,0 @@ |
@@ -1,5 +0,5 @@ | ||
export { isFirefox, isWeb, caretRangeFromPoint } from './utils/web.js'; | ||
export { Signal } from './utils/signal.js'; | ||
export type { Disposable } from './utils/disposable.js'; | ||
export { DisposableGroup, flattenDisposable } from './utils/disposable.js'; | ||
export { Signal } from './utils/signal.js'; | ||
export { caretRangeFromPoint, isFirefox, isWeb } from './utils/web.js'; | ||
export const SYS_KEYS = new Set(['id', 'flavour', 'children']); | ||
@@ -6,0 +6,0 @@ |
@@ -1,2 +0,1 @@ | ||
import { describe, expect, test, vi } from 'vitest'; | ||
import { | ||
@@ -7,2 +6,3 @@ debug, | ||
} from '@blocksuite/global/debug'; | ||
import { describe, expect, test, vi } from 'vitest'; | ||
@@ -9,0 +9,0 @@ const LOG_TAG = 'tag'; |
@@ -1,3 +0,3 @@ | ||
import { describe, test, expect, vi } from 'vitest'; | ||
import { Signal } from '@blocksuite/global/utils'; | ||
import { describe, expect, test, vi } from 'vitest'; | ||
describe('signal', () => { | ||
@@ -4,0 +4,0 @@ test('init', () => { |
@@ -1,3 +0,3 @@ | ||
import { describe, test, expect } from 'vitest'; | ||
import { isEqual } from '@blocksuite/global/utils'; | ||
import { describe, expect, test } from 'vitest'; | ||
@@ -4,0 +4,0 @@ describe('isEqual', () => { |
import { fileURLToPath } from 'node:url'; | ||
import { defineConfig } from 'vitest/config'; | ||
@@ -3,0 +4,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 too big to display
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 too big to display
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
273137
3285