@blocksuite/global
Advanced tools
Comparing version 0.4.0-20230208200347-b55e9fe to 0.4.0-20230209191848-0a912e3
@@ -19,2 +19,3 @@ export * from './consts/affine-style-consts.js'; | ||
ENTER: string; | ||
TAB: string; | ||
}; | ||
@@ -21,0 +22,0 @@ export declare const MOVE_DETECT_THRESHOLD = 2; |
@@ -19,2 +19,3 @@ export * from './consts/affine-style-consts.js'; | ||
ENTER: 'enter', | ||
TAB: 'tab', | ||
}; | ||
@@ -21,0 +22,0 @@ export const MOVE_DETECT_THRESHOLD = 2; |
@@ -7,3 +7,3 @@ import type { TemplateResult } from 'lit/html.js'; | ||
hotkey: string | null; | ||
icon: TemplateResult<2>; | ||
icon: TemplateResult<1>; | ||
}; | ||
@@ -15,3 +15,3 @@ export declare const paragraphConfig: ({ | ||
hotkey: string; | ||
icon: TemplateResult<2>; | ||
icon: TemplateResult<1>; | ||
} | { | ||
@@ -22,3 +22,3 @@ flavour: "affine:list"; | ||
hotkey: string; | ||
icon: TemplateResult<2>; | ||
icon: TemplateResult<1>; | ||
} | { | ||
@@ -29,3 +29,3 @@ flavour: "affine:list"; | ||
hotkey: null; | ||
icon: TemplateResult<2>; | ||
icon: TemplateResult<1>; | ||
} | { | ||
@@ -36,3 +36,3 @@ flavour: "affine:code"; | ||
hotkey: string; | ||
icon: TemplateResult<2>; | ||
icon: TemplateResult<1>; | ||
} | { | ||
@@ -43,3 +43,3 @@ flavour: "affine:paragraph"; | ||
hotkey: null; | ||
icon: TemplateResult<2>; | ||
icon: TemplateResult<1>; | ||
})[]; | ||
@@ -51,3 +51,3 @@ export declare const BLOCKHUB_TEXT_ITEMS: ({ | ||
description: string; | ||
icon: TemplateResult<2>; | ||
icon: TemplateResult<1>; | ||
toolTip: string; | ||
@@ -59,3 +59,3 @@ } | { | ||
description: string; | ||
icon: TemplateResult<2>; | ||
icon: TemplateResult<1>; | ||
toolTip: string; | ||
@@ -68,5 +68,5 @@ })[]; | ||
description: string; | ||
icon: TemplateResult<2>; | ||
icon: TemplateResult<1>; | ||
toolTip: string; | ||
}[]; | ||
//# sourceMappingURL=blockhub.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import { BulletedListIcon, CodeIcon, DividerIcon, H1Icon, H2Icon, H3Icon, H4Icon, H5Icon, H6Icon, NumberedIcon, QuoteIcon, TextIcon, TodoIcon, } from '../icons.js'; | ||
import { BulletedListIcon, CodeBlockIcon, DividerIcon, H1Icon, H2Icon, H3Icon, H4Icon, H5Icon, H6Icon, NumberedIcon, QuoteIcon, TextIcon, TodoIcon, } from '../icons.js'; | ||
export const paragraphConfig = [ | ||
@@ -78,3 +78,3 @@ { | ||
hotkey: 'command+option+c,ctrl+alt+c', | ||
icon: CodeIcon, | ||
icon: CodeBlockIcon, | ||
}, | ||
@@ -154,6 +154,6 @@ { | ||
flavour: 'affine:code', | ||
type: 'code', | ||
type: null, | ||
name: 'Code Block', | ||
description: 'Capture a code snippet.', | ||
icon: CodeIcon, | ||
icon: CodeBlockIcon, | ||
toolTip: 'Drag to insert Code Block', | ||
@@ -160,0 +160,0 @@ }, |
@@ -0,1 +1,2 @@ | ||
export declare const TextIcon: import("lit-html").TemplateResult<1>; | ||
/** | ||
@@ -5,41 +6,46 @@ * When icons with same shape with have multiple sizes, mark them as Small, _, Large size | ||
*/ | ||
export declare const TextIcon: import("lit-html").TemplateResult<2>; | ||
export declare const TextIconLarge: import("lit-html").TemplateResult<2>; | ||
export declare const H1Icon: import("lit-html").TemplateResult<2>; | ||
export declare const H2Icon: import("lit-html").TemplateResult<2>; | ||
export declare const H3Icon: import("lit-html").TemplateResult<2>; | ||
export declare const H4Icon: import("lit-html").TemplateResult<2>; | ||
export declare const H5Icon: import("lit-html").TemplateResult<2>; | ||
export declare const H6Icon: import("lit-html").TemplateResult<2>; | ||
export declare const BulletedListIcon: import("lit-html").TemplateResult<2>; | ||
export declare const BulletedListIconLarge: import("lit-html").TemplateResult<2>; | ||
export declare const DatabaseTableViewIcon: import("lit-html").TemplateResult<2>; | ||
export declare const NumberedIcon: import("lit-html").TemplateResult<2>; | ||
export declare const TodoIcon: import("lit-html").TemplateResult<2>; | ||
export declare const CodeIcon: import("lit-html").TemplateResult<2>; | ||
export declare const QuoteIcon: import("lit-html").TemplateResult<2>; | ||
export declare const CalloutIcon: import("lit-html").TemplateResult<2>; | ||
export declare const BoldIcon: import("lit-html").TemplateResult<2>; | ||
export declare const ItalicIcon: import("lit-html").TemplateResult<2>; | ||
export declare const UnderlineIcon: import("lit-html").TemplateResult<2>; | ||
export declare const StrikethroughIcon: import("lit-html").TemplateResult<2>; | ||
export declare const InlineCodeIcon: import("lit-html").TemplateResult<2>; | ||
export declare const LinkIcon: import("lit-html").TemplateResult<2>; | ||
export declare const DividerIcon: import("lit-html").TemplateResult<2>; | ||
export declare const CrossIcon: import("lit-html").TemplateResult<2>; | ||
export declare const BlockHubIcon: import("lit-html").TemplateResult<2>; | ||
export declare const RectIcon: import("lit-html").TemplateResult<2>; | ||
export declare const CopyIcon: import("lit-html").TemplateResult<2>; | ||
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>; | ||
export declare const TextIconLarge: import("lit-html").TemplateResult<1>; | ||
export declare const H1Icon: import("lit-html").TemplateResult<1>; | ||
export declare const H2Icon: import("lit-html").TemplateResult<1>; | ||
export declare const H3Icon: import("lit-html").TemplateResult<1>; | ||
export declare const H4Icon: import("lit-html").TemplateResult<1>; | ||
export declare const H5Icon: import("lit-html").TemplateResult<1>; | ||
export declare const H6Icon: import("lit-html").TemplateResult<1>; | ||
export declare const BulletedListIcon: import("lit-html").TemplateResult<1>; | ||
export declare const BulletedListIconLarge: import("lit-html").TemplateResult<1>; | ||
export declare const DatabaseTableViewIcon: import("lit-html").TemplateResult<1>; | ||
export declare const NumberedIcon: import("lit-html").TemplateResult<1>; | ||
export declare const TodoIcon: import("lit-html").TemplateResult<1>; | ||
export declare const CodeBlockIcon: import("lit-html").TemplateResult<1>; | ||
export declare const QuoteIcon: import("lit-html").TemplateResult<1>; | ||
export declare const DividerIcon: import("lit-html").TemplateResult<1>; | ||
export declare const BoldIcon: import("lit-html").TemplateResult<1>; | ||
export declare const ItalicIcon: import("lit-html").TemplateResult<1>; | ||
export declare const UnderlineIcon: import("lit-html").TemplateResult<1>; | ||
export declare const StrikethroughIcon: import("lit-html").TemplateResult<1>; | ||
export declare const InlineCodeIcon: import("lit-html").TemplateResult<1>; | ||
export declare const LinkIcon: import("lit-html").TemplateResult<1>; | ||
export declare const CopyIcon: import("lit-html").TemplateResult<1>; | ||
export declare const PasteIcon: import("lit-html").TemplateResult<1>; | ||
export declare const DuplicateIcon: import("lit-html").TemplateResult<1>; | ||
export declare const DeleteIcon: import("lit-html").TemplateResult<1>; | ||
export declare const TodayIcon: import("lit-html").TemplateResult<1>; | ||
export declare const TomorrowIcon: import("lit-html").TemplateResult<1>; | ||
export declare const YesterdayIcon: import("lit-html").TemplateResult<1>; | ||
export declare const NowIcon: import("lit-html").TemplateResult<1>; | ||
export declare const CrossIcon: import("lit-html").TemplateResult<1>; | ||
export declare const BlockHubIcon: import("lit-html").TemplateResult<1>; | ||
export declare const RectIcon: import("lit-html").TemplateResult<1>; | ||
export declare const ArrowDownIcon: import("lit-html").TemplateResult<1>; | ||
export declare const SelectIcon: import("lit-html").TemplateResult<1>; | ||
export declare const ShapeIcon: import("lit-html").TemplateResult<1>; | ||
export declare const ImageIcon: import("lit-html").TemplateResult<1>; | ||
export declare const ConnectorIcon: import("lit-html").TemplateResult<1>; | ||
export declare const PenIcon: import("lit-html").TemplateResult<1>; | ||
export declare const HandIcon: import("lit-html").TemplateResult<1>; | ||
export declare const SquareIcon: import("lit-html").TemplateResult<1>; | ||
export declare const EllipseIcon: import("lit-html").TemplateResult<1>; | ||
export declare const DiamondIcon: import("lit-html").TemplateResult<1>; | ||
export declare const TriangleIcon: import("lit-html").TemplateResult<1>; | ||
export declare const RoundedRectangleIcon: import("lit-html").TemplateResult<1>; | ||
//# sourceMappingURL=icons.d.ts.map |
@@ -72,6 +72,2 @@ // eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
enable_slash_menu: boolean; | ||
/** | ||
* @deprecated Will be removed after slash menu is stable | ||
*/ | ||
enable_append_flavor_slash: boolean; | ||
enable_edgeless_toolbar: boolean; | ||
@@ -78,0 +74,0 @@ readonly: Record<string, boolean>; |
{ | ||
"name": "@blocksuite/global", | ||
"version": "0.4.0-20230208200347-b55e9fe", | ||
"version": "0.4.0-20230209191848-0a912e3", | ||
"types": "./index.d.ts", | ||
@@ -11,2 +11,3 @@ "type": "module", | ||
"./debug": "./dist/debug.js", | ||
"./error": "./dist/error.js", | ||
"./config": "./dist/config/index.js" | ||
@@ -13,0 +14,0 @@ }, |
@@ -22,2 +22,3 @@ export * from './consts/affine-style-consts.js'; | ||
ENTER: 'enter', | ||
TAB: 'tab', | ||
}; | ||
@@ -24,0 +25,0 @@ |
@@ -5,3 +5,3 @@ import type { TemplateResult } from 'lit/html.js'; | ||
BulletedListIcon, | ||
CodeIcon, | ||
CodeBlockIcon, | ||
DividerIcon, | ||
@@ -29,3 +29,3 @@ H1Icon, | ||
hotkey: string | null; | ||
icon: TemplateResult<2>; | ||
icon: TemplateResult<1>; | ||
}; | ||
@@ -53,3 +53,2 @@ | ||
hotkey: 'command+option+2,ctrl+shift+2', | ||
icon: H2Icon, | ||
@@ -111,3 +110,3 @@ }, | ||
hotkey: 'command+option+c,ctrl+alt+c', | ||
icon: CodeIcon, | ||
icon: CodeBlockIcon, | ||
}, | ||
@@ -188,6 +187,6 @@ { | ||
flavour: 'affine:code', | ||
type: 'code', | ||
type: null, | ||
name: 'Code Block', | ||
description: 'Capture a code snippet.', | ||
icon: CodeIcon, | ||
icon: CodeBlockIcon, | ||
toolTip: 'Drag to insert Code Block', | ||
@@ -194,0 +193,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 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
304497
79
3859