@tiptap/vue-3 3.0.0-beta.2 → 3.0.0-beta.3
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/menus/index.d.cts +5 -5
- package/dist/menus/index.d.ts +5 -5
- package/package.json +9 -9
package/dist/menus/index.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { EditorState as EditorState$1, PluginKey as PluginKey$1 } from 'prosemirror-state';
|
|
2
1
|
import { EditorView as EditorView$1 } from 'prosemirror-view';
|
|
3
2
|
import * as _tiptap_core from '@tiptap/core';
|
|
4
3
|
import { Editor } from '@tiptap/core';
|
|
5
4
|
import * as _floating_ui_dom from '@floating-ui/dom';
|
|
6
5
|
import { offset, flip, shift, arrow, size, autoPlacement, hide, inline } from '@floating-ui/dom';
|
|
6
|
+
import { PluginKey as PluginKey$1, EditorState as EditorState$1 } from 'prosemirror-state';
|
|
7
7
|
import * as vue from 'vue';
|
|
8
8
|
import { PropType } from 'vue';
|
|
9
9
|
import { PluginKey, EditorState } from '@tiptap/pm/state';
|
|
@@ -123,6 +123,9 @@ declare const BubbleMenu: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
123
123
|
default: null;
|
|
124
124
|
};
|
|
125
125
|
}>> & Readonly<{}>, {
|
|
126
|
+
pluginKey: string | PluginKey$1<any>;
|
|
127
|
+
updateDelay: number | undefined;
|
|
128
|
+
resizeDelay: number | undefined;
|
|
126
129
|
options: {
|
|
127
130
|
strategy?: "absolute" | "fixed";
|
|
128
131
|
placement?: "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
@@ -135,8 +138,6 @@ declare const BubbleMenu: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
135
138
|
hide?: Parameters<typeof _floating_ui_dom.hide>[0] | boolean;
|
|
136
139
|
inline?: Parameters<typeof _floating_ui_dom.inline>[0] | boolean;
|
|
137
140
|
} | undefined;
|
|
138
|
-
updateDelay: number | undefined;
|
|
139
|
-
resizeDelay: number | undefined;
|
|
140
141
|
shouldShow: (props: {
|
|
141
142
|
editor: _tiptap_core.Editor;
|
|
142
143
|
element: HTMLElement;
|
|
@@ -146,7 +147,6 @@ declare const BubbleMenu: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
146
147
|
from: number;
|
|
147
148
|
to: number;
|
|
148
149
|
}) => boolean;
|
|
149
|
-
pluginKey: string | PluginKey$1<any>;
|
|
150
150
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
151
151
|
|
|
152
152
|
interface FloatingMenuPluginProps {
|
|
@@ -231,6 +231,7 @@ declare const FloatingMenu: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
231
231
|
default: null;
|
|
232
232
|
};
|
|
233
233
|
}>> & Readonly<{}>, {
|
|
234
|
+
pluginKey: any;
|
|
234
235
|
options: {
|
|
235
236
|
strategy?: "absolute" | "fixed";
|
|
236
237
|
placement?: "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
@@ -251,7 +252,6 @@ declare const FloatingMenu: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
251
252
|
from: number;
|
|
252
253
|
to: number;
|
|
253
254
|
}) => boolean;
|
|
254
|
-
pluginKey: any;
|
|
255
255
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
256
256
|
|
|
257
257
|
export { BubbleMenu, FloatingMenu };
|
package/dist/menus/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { EditorState as EditorState$1, PluginKey as PluginKey$1 } from 'prosemirror-state';
|
|
2
1
|
import { EditorView as EditorView$1 } from 'prosemirror-view';
|
|
3
2
|
import * as _tiptap_core from '@tiptap/core';
|
|
4
3
|
import { Editor } from '@tiptap/core';
|
|
5
4
|
import * as _floating_ui_dom from '@floating-ui/dom';
|
|
6
5
|
import { offset, flip, shift, arrow, size, autoPlacement, hide, inline } from '@floating-ui/dom';
|
|
6
|
+
import { PluginKey as PluginKey$1, EditorState as EditorState$1 } from 'prosemirror-state';
|
|
7
7
|
import * as vue from 'vue';
|
|
8
8
|
import { PropType } from 'vue';
|
|
9
9
|
import { PluginKey, EditorState } from '@tiptap/pm/state';
|
|
@@ -123,6 +123,9 @@ declare const BubbleMenu: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
123
123
|
default: null;
|
|
124
124
|
};
|
|
125
125
|
}>> & Readonly<{}>, {
|
|
126
|
+
pluginKey: string | PluginKey$1<any>;
|
|
127
|
+
updateDelay: number | undefined;
|
|
128
|
+
resizeDelay: number | undefined;
|
|
126
129
|
options: {
|
|
127
130
|
strategy?: "absolute" | "fixed";
|
|
128
131
|
placement?: "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
@@ -135,8 +138,6 @@ declare const BubbleMenu: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
135
138
|
hide?: Parameters<typeof _floating_ui_dom.hide>[0] | boolean;
|
|
136
139
|
inline?: Parameters<typeof _floating_ui_dom.inline>[0] | boolean;
|
|
137
140
|
} | undefined;
|
|
138
|
-
updateDelay: number | undefined;
|
|
139
|
-
resizeDelay: number | undefined;
|
|
140
141
|
shouldShow: (props: {
|
|
141
142
|
editor: _tiptap_core.Editor;
|
|
142
143
|
element: HTMLElement;
|
|
@@ -146,7 +147,6 @@ declare const BubbleMenu: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
146
147
|
from: number;
|
|
147
148
|
to: number;
|
|
148
149
|
}) => boolean;
|
|
149
|
-
pluginKey: string | PluginKey$1<any>;
|
|
150
150
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
151
151
|
|
|
152
152
|
interface FloatingMenuPluginProps {
|
|
@@ -231,6 +231,7 @@ declare const FloatingMenu: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
231
231
|
default: null;
|
|
232
232
|
};
|
|
233
233
|
}>> & Readonly<{}>, {
|
|
234
|
+
pluginKey: any;
|
|
234
235
|
options: {
|
|
235
236
|
strategy?: "absolute" | "fixed";
|
|
236
237
|
placement?: "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
@@ -251,7 +252,6 @@ declare const FloatingMenu: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
251
252
|
from: number;
|
|
252
253
|
to: number;
|
|
253
254
|
}) => boolean;
|
|
254
|
-
pluginKey: any;
|
|
255
255
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
256
256
|
|
|
257
257
|
export { BubbleMenu, FloatingMenu };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tiptap/vue-3",
|
|
3
3
|
"description": "Vue components for tiptap",
|
|
4
|
-
"version": "3.0.0-beta.
|
|
4
|
+
"version": "3.0.0-beta.3",
|
|
5
5
|
"homepage": "https://tiptap.dev",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"tiptap",
|
|
@@ -39,19 +39,19 @@
|
|
|
39
39
|
"dist"
|
|
40
40
|
],
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"
|
|
43
|
-
"@tiptap/
|
|
44
|
-
"
|
|
42
|
+
"vue": "^3.5.13",
|
|
43
|
+
"@tiptap/core": "3.0.0-beta.3",
|
|
44
|
+
"@tiptap/pm": "3.0.0-beta.3"
|
|
45
45
|
},
|
|
46
46
|
"optionalDependencies": {
|
|
47
|
-
"@tiptap/extension-bubble-menu": "
|
|
48
|
-
"@tiptap/extension-floating-menu": "
|
|
47
|
+
"@tiptap/extension-bubble-menu": "3.0.0-beta.3",
|
|
48
|
+
"@tiptap/extension-floating-menu": "3.0.0-beta.3"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@tiptap/core": "^3.0.0-beta.0",
|
|
52
|
-
"@tiptap/pm": "^3.0.0-beta.0",
|
|
53
51
|
"vue": "^3.0.0",
|
|
54
|
-
"@floating-ui/dom": "^1.0.0"
|
|
52
|
+
"@floating-ui/dom": "^1.0.0",
|
|
53
|
+
"@tiptap/core": "3.0.0-beta.3",
|
|
54
|
+
"@tiptap/pm": "3.0.0-beta.3"
|
|
55
55
|
},
|
|
56
56
|
"repository": {
|
|
57
57
|
"type": "git",
|