@tiptap/extension-drag-handle-vue-2 3.0.0-beta.25 → 3.0.0-beta.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/package.json +7 -7
package/dist/index.d.cts
CHANGED
|
@@ -1360,8 +1360,9 @@ interface MarkViewRendererProps {
|
|
|
1360
1360
|
* The HTML attributes that should be added to the mark's DOM element.
|
|
1361
1361
|
*/
|
|
1362
1362
|
HTMLAttributes: Record<string, any>;
|
|
1363
|
+
updateAttributes: (attrs: Record<string, any>) => void;
|
|
1363
1364
|
}
|
|
1364
|
-
type MarkViewRenderer = (props:
|
|
1365
|
+
type MarkViewRenderer<Props = MarkViewRendererProps> = (props: Props) => MarkView;
|
|
1365
1366
|
type UnionCommands<T = Command> = UnionToIntersection<ValuesOf<Pick<Commands<T>, KeysWithTypeOf<Commands<T>, object>>>>;
|
|
1366
1367
|
type RawCommands = {
|
|
1367
1368
|
[Item in keyof UnionCommands]: UnionCommands<Command>[Item];
|
package/dist/index.d.ts
CHANGED
|
@@ -1360,8 +1360,9 @@ interface MarkViewRendererProps {
|
|
|
1360
1360
|
* The HTML attributes that should be added to the mark's DOM element.
|
|
1361
1361
|
*/
|
|
1362
1362
|
HTMLAttributes: Record<string, any>;
|
|
1363
|
+
updateAttributes: (attrs: Record<string, any>) => void;
|
|
1363
1364
|
}
|
|
1364
|
-
type MarkViewRenderer = (props:
|
|
1365
|
+
type MarkViewRenderer<Props = MarkViewRendererProps> = (props: Props) => MarkView;
|
|
1365
1366
|
type UnionCommands<T = Command> = UnionToIntersection<ValuesOf<Pick<Commands<T>, KeysWithTypeOf<Commands<T>, object>>>>;
|
|
1366
1367
|
type RawCommands = {
|
|
1367
1368
|
[Item in keyof UnionCommands]: UnionCommands<Command>[Item];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tiptap/extension-drag-handle-vue-2",
|
|
3
3
|
"description": "drag handle extension for tiptap with vue 2",
|
|
4
|
-
"version": "3.0.0-beta.
|
|
4
|
+
"version": "3.0.0-beta.26",
|
|
5
5
|
"homepage": "https://tiptap.dev",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"tiptap",
|
|
@@ -37,16 +37,16 @@
|
|
|
37
37
|
],
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"vue": "^2.0.0",
|
|
40
|
-
"@tiptap/extension-drag-handle": "3.0.0-beta.
|
|
41
|
-
"@tiptap/pm": "3.0.0-beta.
|
|
42
|
-
"@tiptap/vue-2": "3.0.0-beta.
|
|
40
|
+
"@tiptap/extension-drag-handle": "3.0.0-beta.26",
|
|
41
|
+
"@tiptap/pm": "3.0.0-beta.26",
|
|
42
|
+
"@tiptap/vue-2": "3.0.0-beta.26"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"vue": "^2.0.0",
|
|
46
46
|
"vue-ts-types": "1.6.2",
|
|
47
|
-
"@tiptap/extension-drag-handle": "3.0.0-beta.
|
|
48
|
-
"@tiptap/pm": "3.0.0-beta.
|
|
49
|
-
"@tiptap/vue-2": "3.0.0-beta.
|
|
47
|
+
"@tiptap/extension-drag-handle": "3.0.0-beta.26",
|
|
48
|
+
"@tiptap/pm": "3.0.0-beta.26",
|
|
49
|
+
"@tiptap/vue-2": "3.0.0-beta.26"
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
52
|
"build": "tsup",
|