@tiptap/vue-3 3.0.0-next.5 → 3.0.0-next.6

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.
@@ -1,9 +1,9 @@
1
1
  import { EditorView as EditorView$1 } from 'prosemirror-view';
2
2
  import * as _tiptap_core from '@tiptap/core';
3
3
  import { Editor } from '@tiptap/core';
4
+ import { PluginKey as PluginKey$1, EditorState as EditorState$1 } from 'prosemirror-state';
4
5
  import * as _floating_ui_dom from '@floating-ui/dom';
5
6
  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,9 +123,6 @@ 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;
129
126
  options: {
130
127
  strategy?: "absolute" | "fixed";
131
128
  placement?: "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
@@ -138,6 +135,9 @@ declare const BubbleMenu: vue.DefineComponent<vue.ExtractPropTypes<{
138
135
  hide?: Parameters<typeof _floating_ui_dom.hide>[0] | boolean;
139
136
  inline?: Parameters<typeof _floating_ui_dom.inline>[0] | boolean;
140
137
  } | undefined;
138
+ pluginKey: string | PluginKey$1<any>;
139
+ updateDelay: number | undefined;
140
+ resizeDelay: number | undefined;
141
141
  shouldShow: (props: {
142
142
  editor: _tiptap_core.Editor;
143
143
  element: HTMLElement;
@@ -231,7 +231,6 @@ declare const FloatingMenu: vue.DefineComponent<vue.ExtractPropTypes<{
231
231
  default: null;
232
232
  };
233
233
  }>> & Readonly<{}>, {
234
- pluginKey: any;
235
234
  options: {
236
235
  strategy?: "absolute" | "fixed";
237
236
  placement?: "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
@@ -244,6 +243,7 @@ declare const FloatingMenu: vue.DefineComponent<vue.ExtractPropTypes<{
244
243
  hide?: Parameters<typeof _floating_ui_dom.hide>[0] | boolean;
245
244
  inline?: Parameters<typeof _floating_ui_dom.inline>[0] | boolean;
246
245
  } | undefined;
246
+ pluginKey: any;
247
247
  shouldShow: (props: {
248
248
  editor: _tiptap_core.Editor;
249
249
  view: EditorView$1;
@@ -1,9 +1,9 @@
1
1
  import { EditorView as EditorView$1 } from 'prosemirror-view';
2
2
  import * as _tiptap_core from '@tiptap/core';
3
3
  import { Editor } from '@tiptap/core';
4
+ import { PluginKey as PluginKey$1, EditorState as EditorState$1 } from 'prosemirror-state';
4
5
  import * as _floating_ui_dom from '@floating-ui/dom';
5
6
  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,9 +123,6 @@ 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;
129
126
  options: {
130
127
  strategy?: "absolute" | "fixed";
131
128
  placement?: "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
@@ -138,6 +135,9 @@ declare const BubbleMenu: vue.DefineComponent<vue.ExtractPropTypes<{
138
135
  hide?: Parameters<typeof _floating_ui_dom.hide>[0] | boolean;
139
136
  inline?: Parameters<typeof _floating_ui_dom.inline>[0] | boolean;
140
137
  } | undefined;
138
+ pluginKey: string | PluginKey$1<any>;
139
+ updateDelay: number | undefined;
140
+ resizeDelay: number | undefined;
141
141
  shouldShow: (props: {
142
142
  editor: _tiptap_core.Editor;
143
143
  element: HTMLElement;
@@ -231,7 +231,6 @@ declare const FloatingMenu: vue.DefineComponent<vue.ExtractPropTypes<{
231
231
  default: null;
232
232
  };
233
233
  }>> & Readonly<{}>, {
234
- pluginKey: any;
235
234
  options: {
236
235
  strategy?: "absolute" | "fixed";
237
236
  placement?: "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
@@ -244,6 +243,7 @@ declare const FloatingMenu: vue.DefineComponent<vue.ExtractPropTypes<{
244
243
  hide?: Parameters<typeof _floating_ui_dom.hide>[0] | boolean;
245
244
  inline?: Parameters<typeof _floating_ui_dom.inline>[0] | boolean;
246
245
  } | undefined;
246
+ pluginKey: any;
247
247
  shouldShow: (props: {
248
248
  editor: _tiptap_core.Editor;
249
249
  view: EditorView$1;
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-next.5",
4
+ "version": "3.0.0-next.6",
5
5
  "homepage": "https://tiptap.dev",
6
6
  "keywords": [
7
7
  "tiptap",
@@ -39,13 +39,13 @@
39
39
  "dist"
40
40
  ],
41
41
  "devDependencies": {
42
- "@tiptap/core": "^3.0.0-next.5",
43
- "@tiptap/pm": "^3.0.0-next.5",
42
+ "@tiptap/core": "^3.0.0-next.6",
43
+ "@tiptap/pm": "^3.0.0-next.6",
44
44
  "vue": "^3.5.13"
45
45
  },
46
46
  "optionalDependencies": {
47
- "@tiptap/extension-bubble-menu": "^3.0.0-next.5",
48
- "@tiptap/extension-floating-menu": "^3.0.0-next.5"
47
+ "@tiptap/extension-bubble-menu": "^3.0.0-next.6",
48
+ "@tiptap/extension-floating-menu": "^3.0.0-next.6"
49
49
  },
50
50
  "peerDependencies": {
51
51
  "@tiptap/core": "^3.0.0-next.4",