@tiptap/vue-3 3.0.0-beta.1 → 3.0.0-beta.2

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
+ import { EditorState as EditorState$1, PluginKey as PluginKey$1 } from 'prosemirror-state';
1
2
  import { EditorView as EditorView$1 } from 'prosemirror-view';
2
3
  import * as _tiptap_core from '@tiptap/core';
3
4
  import { Editor } from '@tiptap/core';
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,8 @@ 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
+ updateDelay: number | undefined;
139
+ resizeDelay: number | undefined;
141
140
  shouldShow: (props: {
142
141
  editor: _tiptap_core.Editor;
143
142
  element: HTMLElement;
@@ -147,6 +146,7 @@ declare const BubbleMenu: vue.DefineComponent<vue.ExtractPropTypes<{
147
146
  from: number;
148
147
  to: number;
149
148
  }) => boolean;
149
+ pluginKey: string | PluginKey$1<any>;
150
150
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
151
151
 
152
152
  interface FloatingMenuPluginProps {
@@ -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";
@@ -252,6 +251,7 @@ declare const FloatingMenu: vue.DefineComponent<vue.ExtractPropTypes<{
252
251
  from: number;
253
252
  to: number;
254
253
  }) => boolean;
254
+ pluginKey: any;
255
255
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
256
256
 
257
257
  export { BubbleMenu, FloatingMenu };
@@ -1,9 +1,9 @@
1
+ import { EditorState as EditorState$1, PluginKey as PluginKey$1 } from 'prosemirror-state';
1
2
  import { EditorView as EditorView$1 } from 'prosemirror-view';
2
3
  import * as _tiptap_core from '@tiptap/core';
3
4
  import { Editor } from '@tiptap/core';
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,8 @@ 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
+ updateDelay: number | undefined;
139
+ resizeDelay: number | undefined;
141
140
  shouldShow: (props: {
142
141
  editor: _tiptap_core.Editor;
143
142
  element: HTMLElement;
@@ -147,6 +146,7 @@ declare const BubbleMenu: vue.DefineComponent<vue.ExtractPropTypes<{
147
146
  from: number;
148
147
  to: number;
149
148
  }) => boolean;
149
+ pluginKey: string | PluginKey$1<any>;
150
150
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
151
151
 
152
152
  interface FloatingMenuPluginProps {
@@ -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";
@@ -252,6 +251,7 @@ declare const FloatingMenu: vue.DefineComponent<vue.ExtractPropTypes<{
252
251
  from: number;
253
252
  to: number;
254
253
  }) => 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.1",
4
+ "version": "3.0.0-beta.2",
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-beta.1",
43
- "@tiptap/pm": "^3.0.0-beta.1",
42
+ "@tiptap/core": "^3.0.0-beta.2",
43
+ "@tiptap/pm": "^3.0.0-beta.2",
44
44
  "vue": "^3.5.13"
45
45
  },
46
46
  "optionalDependencies": {
47
- "@tiptap/extension-bubble-menu": "^3.0.0-beta.1",
48
- "@tiptap/extension-floating-menu": "^3.0.0-beta.1"
47
+ "@tiptap/extension-bubble-menu": "^3.0.0-beta.2",
48
+ "@tiptap/extension-floating-menu": "^3.0.0-beta.2"
49
49
  },
50
50
  "peerDependencies": {
51
51
  "@tiptap/core": "^3.0.0-beta.0",