@blocksuite/affine-model
Advanced tools
Comparing version 0.0.0-canary-20240910001314 to 0.0.0-canary-20240910102005
@@ -0,1 +1,2 @@ | ||
import { LineColor } from './line.js'; | ||
export declare enum ConnectorEndpoint { | ||
@@ -13,2 +14,4 @@ Front = "Front", | ||
export declare const PointStyleMap: Record<PointStyle, "Arrow" | "Circle" | "Diamond" | "None" | "Triangle">; | ||
export declare const DEFAULT_CONNECTOR_COLOR = LineColor.Grey; | ||
export declare const DEFAULT_CONNECTOR_TEXT_COLOR = LineColor.Black; | ||
export declare const DEFAULT_FRONT_END_POINT_STYLE = PointStyle.None; | ||
@@ -15,0 +18,0 @@ export declare const DEFAULT_REAR_END_POINT_STYLE = PointStyle.Arrow; |
import { createEnumMap } from '../utils/enum.js'; | ||
import { LineColor } from './line.js'; | ||
export var ConnectorEndpoint; | ||
@@ -16,2 +17,4 @@ (function (ConnectorEndpoint) { | ||
export const PointStyleMap = createEnumMap(PointStyle); | ||
export const DEFAULT_CONNECTOR_COLOR = LineColor.Grey; | ||
export const DEFAULT_CONNECTOR_TEXT_COLOR = LineColor.Black; | ||
export const DEFAULT_FRONT_END_POINT_STYLE = PointStyle.None; | ||
@@ -18,0 +21,0 @@ export const DEFAULT_REAR_END_POINT_STYLE = PointStyle.Arrow; |
@@ -0,3 +1,5 @@ | ||
export * from './brush.js'; | ||
export * from './connector.js'; | ||
export * from './doc.js'; | ||
export * from './frame.js'; | ||
export * from './line.js'; | ||
@@ -4,0 +6,0 @@ export * from './mindmap.js'; |
@@ -0,3 +1,5 @@ | ||
export * from './brush.js'; | ||
export * from './connector.js'; | ||
export * from './doc.js'; | ||
export * from './frame.js'; | ||
export * from './line.js'; | ||
@@ -4,0 +6,0 @@ export * from './mindmap.js'; |
@@ -26,5 +26,2 @@ import { z } from 'zod'; | ||
export declare const LineColorsSchema: z.ZodNativeEnum<typeof LineColor>; | ||
export declare const DEFAULT_TEXT_COLOR = LineColor.Blue; | ||
export declare const DEFAULT_BRUSH_COLOR = LineColor.Blue; | ||
export declare const DEFAULT_CONNECTOR_COLOR = LineColor.Grey; | ||
//# sourceMappingURL=line.d.ts.map |
@@ -43,5 +43,2 @@ import { z } from 'zod'; | ||
export const LineColorsSchema = z.nativeEnum(LineColor); | ||
export const DEFAULT_TEXT_COLOR = LineColor.Blue; | ||
export const DEFAULT_BRUSH_COLOR = LineColor.Blue; | ||
export const DEFAULT_CONNECTOR_COLOR = LineColor.Grey; | ||
//# sourceMappingURL=line.js.map |
@@ -0,1 +1,2 @@ | ||
import { LineColor } from './line.js'; | ||
export declare enum ColorScheme { | ||
@@ -54,2 +55,3 @@ Dark = "dark", | ||
} | ||
export declare const DEFAULT_TEXT_COLOR = LineColor.Blue; | ||
//# sourceMappingURL=text.d.ts.map |
import { createEnumMap } from '../utils/enum.js'; | ||
import { LineColor } from './line.js'; | ||
export var ColorScheme; | ||
@@ -51,2 +52,3 @@ (function (ColorScheme) { | ||
})(TextResizing || (TextResizing = {})); | ||
export const DEFAULT_TEXT_COLOR = LineColor.Blue; | ||
//# sourceMappingURL=text.js.map |
{ | ||
"name": "@blocksuite/affine-model", | ||
"version": "0.0.0-canary-20240910001314", | ||
"version": "0.0.0-canary-20240910102005", | ||
"description": "Default BlockSuite editable blocks.", | ||
"type": "module", | ||
"repository": "toeverything/blocksuite", | ||
"scripts": { | ||
"build": "tsc", | ||
"test:unit": "nx vite:test --run --passWithNoTests", | ||
"test:unit:coverage": "nx vite:test --run --coverage", | ||
"test:e2e": "playwright test" | ||
}, | ||
"keywords": [], | ||
@@ -11,7 +17,7 @@ "author": "toeverything", | ||
"dependencies": { | ||
"zod": "^3.23.8", | ||
"@blocksuite/global": "0.0.0-canary-20240910001314", | ||
"@blocksuite/inline": "0.0.0-canary-20240910001314", | ||
"@blocksuite/block-std": "0.0.0-canary-20240910001314", | ||
"@blocksuite/store": "0.0.0-canary-20240910001314" | ||
"@blocksuite/block-std": "0.0.0-canary-20240910102005", | ||
"@blocksuite/global": "0.0.0-canary-20240910102005", | ||
"@blocksuite/inline": "0.0.0-canary-20240910102005", | ||
"@blocksuite/store": "0.0.0-canary-20240910102005", | ||
"zod": "^3.23.8" | ||
}, | ||
@@ -25,3 +31,11 @@ "exports": { | ||
"publishConfig": { | ||
"access": "public" | ||
"access": "public", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"import": "./dist/index.js", | ||
"types": "./dist/index.d.ts" | ||
} | ||
} | ||
}, | ||
@@ -34,10 +48,4 @@ "files": [ | ||
], | ||
"scripts": { | ||
"build": "tsc", | ||
"test:unit": "nx vite:test --run --passWithNoTests", | ||
"test:unit:coverage": "nx vite:test --run --coverage", | ||
"test:e2e": "playwright test" | ||
}, | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts" | ||
} |
import { createEnumMap } from '../utils/enum.js'; | ||
import { LineColor } from './line.js'; | ||
@@ -18,4 +19,10 @@ export enum ConnectorEndpoint { | ||
export const DEFAULT_CONNECTOR_COLOR = LineColor.Grey; | ||
export const DEFAULT_CONNECTOR_TEXT_COLOR = LineColor.Black; | ||
export const DEFAULT_FRONT_END_POINT_STYLE = PointStyle.None; | ||
export const DEFAULT_REAR_END_POINT_STYLE = PointStyle.Arrow; | ||
export const CONNECTOR_LABEL_MAX_WIDTH = 280; | ||
@@ -22,0 +29,0 @@ |
@@ -0,3 +1,5 @@ | ||
export * from './brush.js'; | ||
export * from './connector.js'; | ||
export * from './doc.js'; | ||
export * from './frame.js'; | ||
export * from './line.js'; | ||
@@ -4,0 +6,0 @@ export * from './mindmap.js'; |
@@ -47,7 +47,1 @@ import { z } from 'zod'; | ||
export const LineColorsSchema = z.nativeEnum(LineColor); | ||
export const DEFAULT_TEXT_COLOR = LineColor.Blue; | ||
export const DEFAULT_BRUSH_COLOR = LineColor.Blue; | ||
export const DEFAULT_CONNECTOR_COLOR = LineColor.Grey; |
import { createEnumMap } from '../utils/enum.js'; | ||
import { LineColor } from './line.js'; | ||
@@ -68,1 +69,3 @@ export enum ColorScheme { | ||
} | ||
export const DEFAULT_TEXT_COLOR = LineColor.Blue; |
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
442
7953
559152
+ Added@blocksuite/block-std@0.0.0-canary-20240910102005(transitive)
+ Added@blocksuite/global@0.0.0-canary-20240910102005(transitive)
+ Added@blocksuite/inline@0.0.0-canary-20240910102005(transitive)
+ Added@blocksuite/store@0.0.0-canary-20240910102005(transitive)
+ Added@blocksuite/sync@0.0.0-canary-20240910102005(transitive)
- Removed@blocksuite/block-std@0.0.0-canary-20240910001314(transitive)
- Removed@blocksuite/global@0.0.0-canary-20240910001314(transitive)
- Removed@blocksuite/inline@0.0.0-canary-20240910001314(transitive)
- Removed@blocksuite/store@0.0.0-canary-20240910001314(transitive)
- Removed@blocksuite/sync@0.0.0-canary-20240910001314(transitive)