@blocksuite/global
Advanced tools
Comparing version 0.4.0-20230214234726-0f75778 to 0.4.0-20230215160945-c645720
@@ -38,3 +38,3 @@ export const plate = { | ||
name: 'blockHubBackground', | ||
cssProperty: '--affine-block-hub-background', | ||
cssProperty: ' --affine-hub-background', | ||
}, | ||
@@ -41,0 +41,0 @@ { |
@@ -1,2 +0,2 @@ | ||
import { BulletedListIcon, CodeBlockIcon, DividerIcon, H1Icon, H2Icon, H3Icon, H4Icon, H5Icon, H6Icon, NumberedIcon, QuoteIcon, TextIcon, TodoIcon, } from '../icons.js'; | ||
import { BulletedListIcon, CodeBlockIcon, DividerIcon, H1Icon, H2Icon, H3Icon, H4Icon, H5Icon, H6Icon, NumberedListIcon, QuoteIcon, TextIcon, TodoIcon, } from '../icons.js'; | ||
export const paragraphConfig = [ | ||
@@ -64,3 +64,3 @@ { | ||
hotkey: 'command+option+9,ctrl+shift+9', | ||
icon: NumberedIcon, | ||
icon: NumberedListIcon, | ||
}, | ||
@@ -108,3 +108,3 @@ { | ||
name: 'Heading 1', | ||
description: 'Heading in the largest font.', | ||
description: 'Headings in the largest font.', | ||
icon: H1Icon, | ||
@@ -117,3 +117,3 @@ toolTip: 'Drag to insert Heading 1', | ||
name: 'Heading 2', | ||
description: 'Heading in second largest font.', | ||
description: 'Headings in the 2nd font size.', | ||
icon: H2Icon, | ||
@@ -126,3 +126,3 @@ toolTip: 'Drag to insert Heading 2', | ||
name: 'Heading 3', | ||
description: 'Heading in third largest font.', | ||
description: 'Headings in the 3rd font size.', | ||
icon: H3Icon, | ||
@@ -135,3 +135,3 @@ toolTip: 'Drag to insert Heading 3', | ||
name: 'Heading 4', | ||
description: 'Heading in forth largest font.', | ||
description: 'Heading in the 4th font size.', | ||
icon: H4Icon, | ||
@@ -144,3 +144,3 @@ toolTip: 'Drag to insert Heading 4', | ||
name: 'Heading 5', | ||
description: 'Heading in fifth largest font.', | ||
description: 'Heading in the 5th font size.', | ||
icon: H5Icon, | ||
@@ -153,3 +153,3 @@ toolTip: 'Drag to insert Heading 5', | ||
name: 'Heading 6', | ||
description: 'Heading in sixth largest font.', | ||
description: 'Heading in the 6th font size.', | ||
icon: H6Icon, | ||
@@ -188,3 +188,3 @@ toolTip: 'Drag to insert Heading 6', | ||
name: 'Bulleted List', | ||
description: 'a simple bulleted list.', | ||
description: 'A simple bulleted list.', | ||
icon: BulletedListIcon, | ||
@@ -197,4 +197,4 @@ toolTip: 'Drag to insert Bulleted List.', | ||
name: 'Numbered List', | ||
description: 'A list with numbering.', | ||
icon: NumberedIcon, | ||
description: '1. A list with numbering.', | ||
icon: NumberedListIcon, | ||
toolTip: 'Drag to insert Numbered List.', | ||
@@ -201,0 +201,0 @@ }, |
@@ -15,4 +15,5 @@ export declare const TextIcon: import("lit-html").TemplateResult<1>; | ||
export declare const BulletedListIconLarge: import("lit-html").TemplateResult<1>; | ||
export declare const NumberedListIconLarge: import("lit-html").TemplateResult<1>; | ||
export declare const NumberedListIcon: 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>; | ||
@@ -65,2 +66,3 @@ export declare const CodeBlockIcon: import("lit-html").TemplateResult<1>; | ||
export declare const RoundedRectangleIcon: import("lit-html").TemplateResult<1>; | ||
export declare const CollapseDownIcon: import("lit-html").TemplateResult<1>; | ||
//# sourceMappingURL=icons.d.ts.map |
@@ -22,2 +22,3 @@ export type { Disposable } from './utils/disposable.js'; | ||
export declare function sleep(ms: number): Promise<void>; | ||
export declare const getDefaultPlaygroundURL: (isE2E: boolean) => URL; | ||
//# sourceMappingURL=utils.d.ts.map |
@@ -66,2 +66,3 @@ export { DisposableGroup, flattenDisposable } from './utils/disposable.js'; | ||
} | ||
export const getDefaultPlaygroundURL = (isE2E) => new URL(`http://localhost:${isE2E ? 4173 : 5173}/`); | ||
//# sourceMappingURL=utils.js.map |
{ | ||
"name": "@blocksuite/global", | ||
"version": "0.4.0-20230214234726-0f75778", | ||
"version": "0.4.0-20230215160945-c645720", | ||
"types": "./index.d.ts", | ||
@@ -26,3 +26,3 @@ "type": "module", | ||
"ansi-colors": "^4.1.3", | ||
"zod": "^3.20.2" | ||
"zod": "^3.20.6" | ||
}, | ||
@@ -29,0 +29,0 @@ "devDependencies": { |
@@ -41,3 +41,3 @@ export const plate = { | ||
name: 'blockHubBackground', | ||
cssProperty: '--affine-block-hub-background', | ||
cssProperty: ' --affine-hub-background', | ||
}, | ||
@@ -44,0 +44,0 @@ { |
@@ -13,3 +13,3 @@ import type { TemplateResult } from 'lit/html.js'; | ||
H6Icon, | ||
NumberedIcon, | ||
NumberedListIcon, | ||
QuoteIcon, | ||
@@ -94,3 +94,3 @@ TextIcon, | ||
hotkey: 'command+option+9,ctrl+shift+9', | ||
icon: NumberedIcon, | ||
icon: NumberedListIcon, | ||
}, | ||
@@ -139,3 +139,3 @@ { | ||
name: 'Heading 1', | ||
description: 'Heading in the largest font.', | ||
description: 'Headings in the largest font.', | ||
icon: H1Icon, | ||
@@ -148,3 +148,3 @@ toolTip: 'Drag to insert Heading 1', | ||
name: 'Heading 2', | ||
description: 'Heading in second largest font.', | ||
description: 'Headings in the 2nd font size.', | ||
icon: H2Icon, | ||
@@ -157,3 +157,3 @@ toolTip: 'Drag to insert Heading 2', | ||
name: 'Heading 3', | ||
description: 'Heading in third largest font.', | ||
description: 'Headings in the 3rd font size.', | ||
icon: H3Icon, | ||
@@ -166,3 +166,3 @@ toolTip: 'Drag to insert Heading 3', | ||
name: 'Heading 4', | ||
description: 'Heading in forth largest font.', | ||
description: 'Heading in the 4th font size.', | ||
icon: H4Icon, | ||
@@ -175,3 +175,3 @@ toolTip: 'Drag to insert Heading 4', | ||
name: 'Heading 5', | ||
description: 'Heading in fifth largest font.', | ||
description: 'Heading in the 5th font size.', | ||
icon: H5Icon, | ||
@@ -184,3 +184,3 @@ toolTip: 'Drag to insert Heading 5', | ||
name: 'Heading 6', | ||
description: 'Heading in sixth largest font.', | ||
description: 'Heading in the 6th font size.', | ||
icon: H6Icon, | ||
@@ -220,3 +220,3 @@ toolTip: 'Drag to insert Heading 6', | ||
name: 'Bulleted List', | ||
description: 'a simple bulleted list.', | ||
description: 'A simple bulleted list.', | ||
icon: BulletedListIcon, | ||
@@ -229,4 +229,4 @@ toolTip: 'Drag to insert Bulleted List.', | ||
name: 'Numbered List', | ||
description: 'A list with numbering.', | ||
icon: NumberedIcon, | ||
description: '1. A list with numbering.', | ||
icon: NumberedListIcon, | ||
toolTip: 'Drag to insert Numbered List.', | ||
@@ -233,0 +233,0 @@ }, |
@@ -101,1 +101,4 @@ export type { Disposable } from './utils/disposable.js'; | ||
} | ||
export const getDefaultPlaygroundURL = (isE2E: boolean): URL => | ||
new URL(`http://localhost:${isE2E ? 4173 : 5173}/`); |
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 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
329648
4204
Updatedzod@^3.20.6