@prosekit/extensions
Advanced tools
Comparing version 0.6.0 to 0.6.1
@@ -144,7 +144,5 @@ import { Attrs } from '@prosekit/pm/model'; | ||
export declare function defineBlockquote(): Extension< { | ||
Nodes: any; | ||
Marks: any; | ||
Commands: { | ||
[x: string]: any; | ||
}; | ||
Nodes: "blockquote"; | ||
Marks: never; | ||
Commands: never; | ||
}>; | ||
@@ -168,6 +166,6 @@ | ||
export declare function defineBold(): Extension< { | ||
Nodes: any; | ||
Marks: any; | ||
Nodes: never; | ||
Marks: "bold"; | ||
Commands: { | ||
[x: string]: any; | ||
toggleBold: []; | ||
}; | ||
@@ -198,6 +196,6 @@ }>; | ||
export declare function defineCode(): Extension< { | ||
Nodes: any; | ||
Marks: any; | ||
Nodes: never; | ||
Marks: "code"; | ||
Commands: { | ||
[x: string]: any; | ||
toggleCode: []; | ||
}; | ||
@@ -218,6 +216,9 @@ }>; | ||
declare function defineCodeBlock(): Extension< { | ||
Nodes: any; | ||
Marks: any; | ||
Nodes: "codeBlock"; | ||
Marks: never; | ||
Commands: { | ||
[x: string]: any; | ||
setCodeBlock: [attrs?: CodeBlockAttrs | undefined]; | ||
insertCodeBlock: [attrs?: CodeBlockAttrs | undefined]; | ||
toggleCodeBlock: [attrs?: CodeBlockAttrs | undefined]; | ||
setCodeBlockAttrs: [attrs: CodeBlockAttrs]; | ||
}; | ||
@@ -348,6 +349,8 @@ }>; | ||
export declare function defineHeading(): Extension< { | ||
Nodes: any; | ||
Marks: any; | ||
Nodes: "heading"; | ||
Marks: never; | ||
Commands: { | ||
[x: string]: any; | ||
setHeading: [attrs?: HeadingAttrs | undefined]; | ||
insertHeading: [attrs?: HeadingAttrs | undefined]; | ||
toggleHeading: [attrs?: HeadingAttrs | undefined]; | ||
}; | ||
@@ -418,6 +421,6 @@ }>; | ||
export declare function defineItalic(): Extension< { | ||
Nodes: any; | ||
Marks: any; | ||
Nodes: never; | ||
Marks: "italic"; | ||
Commands: { | ||
[x: string]: any; | ||
toggleItalic: []; | ||
}; | ||
@@ -448,6 +451,9 @@ }>; | ||
export declare function defineLink(): Extension< { | ||
Nodes: any; | ||
Marks: any; | ||
Nodes: never; | ||
Marks: "link"; | ||
Commands: { | ||
[x: string]: any; | ||
addLink: [attrs: LinkAttrs]; | ||
removeLink: []; | ||
toggleLink: [attrs: LinkAttrs]; | ||
expandLink: []; | ||
}; | ||
@@ -492,6 +498,14 @@ }>; | ||
export declare function defineList(): Extension<{ | ||
Nodes: any; | ||
Marks: any; | ||
Nodes: "list"; | ||
Marks: never; | ||
Commands: { | ||
[x: string]: any; | ||
dedentList: [options?: DedentListOptions | undefined]; | ||
indentList: [options?: IndentListOptions | undefined]; | ||
moveList: [direction: "up" | "down"]; | ||
splitList: []; | ||
toggleCollapsed: [(ToggleCollapsedOptions | undefined)?]; | ||
toggleList: [attrs: ListAttributes]; | ||
unwrapList: [options?: UnwrapListOptions | undefined]; | ||
wrapInList: [getAttrs: ListAttributes | ((range: NodeRange) => ListAttributes | null)]; | ||
insertList: [attrs?: ListAttributes | undefined]; | ||
}; | ||
@@ -627,6 +641,6 @@ }>; | ||
export declare function defineStrike(): Extension< { | ||
Nodes: any; | ||
Marks: any; | ||
Nodes: never; | ||
Marks: "strike"; | ||
Commands: { | ||
[x: string]: any; | ||
toggleStrike: []; | ||
}; | ||
@@ -657,6 +671,11 @@ }>; | ||
export declare function defineTable(): Extension< { | ||
Nodes: any; | ||
Marks: any; | ||
Nodes: "table" | "tableRow" | "tableCell" | "tableHeaderCell"; | ||
Marks: never; | ||
Commands: { | ||
[x: string]: any; | ||
insertTable: [{ | ||
row: number; | ||
col: number; | ||
header: boolean; | ||
}]; | ||
exitTable: []; | ||
}; | ||
@@ -731,6 +750,6 @@ }>; | ||
export declare function defineTextAlign(options: TextAlignOptions): Extension<{ | ||
Nodes: any; | ||
Marks: any; | ||
Nodes: never; | ||
Marks: never; | ||
Commands: { | ||
[x: string]: any; | ||
setTextAlign: [value: string | null]; | ||
}; | ||
@@ -793,6 +812,6 @@ }>; | ||
export declare function defineUnderline(): Extension< { | ||
Nodes: any; | ||
Marks: any; | ||
Nodes: never; | ||
Marks: "underline"; | ||
Commands: { | ||
[x: string]: any; | ||
toggleUnderline: []; | ||
}; | ||
@@ -799,0 +818,0 @@ }>; |
{ | ||
"name": "@prosekit/extensions", | ||
"type": "module", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"private": false, | ||
@@ -179,3 +179,3 @@ "author": { | ||
"shiki": "^1.9.0", | ||
"@prosekit/core": "^0.6.0", | ||
"@prosekit/core": "^0.6.1", | ||
"@prosekit/pm": "^0.1.5" | ||
@@ -182,0 +182,0 @@ }, |
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
106625
3072
Updated@prosekit/core@^0.6.1