@tiptap/extension-floating-menu
Advanced tools
Comparing version 2.5.0-beta.2 to 2.5.0-beta.3
@@ -0,0 +0,0 @@ import { posToDOMRect, Extension } from '@tiptap/core'; |
@@ -7,6 +7,2 @@ (function (global, factory) { | ||
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | ||
var tippy__default = /*#__PURE__*/_interopDefaultLegacy(tippy); | ||
class FloatingMenuView { | ||
@@ -70,3 +66,3 @@ constructor({ editor, element, view, tippyOptions = {}, shouldShow, }) { | ||
} | ||
this.tippy = tippy__default["default"](editorElement, { | ||
this.tippy = tippy(editorElement, { | ||
duration: 0, | ||
@@ -170,3 +166,3 @@ getReferenceClientRect: null, | ||
exports.FloatingMenuView = FloatingMenuView; | ||
exports["default"] = FloatingMenu; | ||
exports.default = FloatingMenu; | ||
@@ -173,0 +169,0 @@ Object.defineProperty(exports, '__esModule', { value: true }); |
@@ -39,3 +39,3 @@ import { Editor } from '@tiptap/core'; | ||
} | ||
export declare type FloatingMenuViewProps = FloatingMenuPluginProps & { | ||
export type FloatingMenuViewProps = FloatingMenuPluginProps & { | ||
/** | ||
@@ -42,0 +42,0 @@ * The editor view. |
import { Extension } from '@tiptap/core'; | ||
import { FloatingMenuPluginProps } from './floating-menu-plugin.js'; | ||
export declare type FloatingMenuOptions = Omit<FloatingMenuPluginProps, 'editor' | 'element'> & { | ||
export type FloatingMenuOptions = Omit<FloatingMenuPluginProps, 'editor' | 'element'> & { | ||
/** | ||
@@ -5,0 +5,0 @@ * The DOM element that contains your menu. |
@@ -0,0 +0,0 @@ import { FloatingMenu } from './floating-menu.js'; |
{ | ||
"name": "@tiptap/extension-floating-menu", | ||
"description": "floating-menu extension for tiptap", | ||
"version": "2.5.0-beta.2", | ||
"version": "2.5.0-beta.3", | ||
"homepage": "https://tiptap.dev", | ||
@@ -32,4 +32,4 @@ "keywords": [ | ||
"devDependencies": { | ||
"@tiptap/core": "^2.5.0-beta.2", | ||
"@tiptap/pm": "^2.5.0-beta.2" | ||
"@tiptap/core": "^2.5.0-beta.3", | ||
"@tiptap/pm": "^2.5.0-beta.3" | ||
}, | ||
@@ -36,0 +36,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
205195
175
4520
1