@domternal/vanilla 0.8.0 → 0.9.0

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.ts CHANGED
@@ -1,5 +1,4 @@
1
- import { PluginKey, IconSet, Editor, AnyExtension, Content, FocusPosition, JSONContent, ToolbarController, ToolbarLayoutEntry, ToolbarButton, ToolbarDropdown, BubbleMenuOptions, FloatingMenuController, FloatingMenuItemsOverride } from '@domternal/core';
2
- import { FloatingMenuOptions, FloatingMenuKeymap } from '@domternal/extension-block-menu';
1
+ import { PluginKey, IconSet, Editor, AnyExtension, Content, FocusPosition, JSONContent, ToolbarController, ToolbarLayoutEntry, ToolbarButton, ToolbarDropdown, BubbleMenuOptions, FloatingMenuController, FloatingMenuOptions, FloatingMenuItemsOverride, FloatingMenuKeymap } from '@domternal/core';
3
2
 
4
3
  /**
5
4
  * SSR-safe environment check.
@@ -692,7 +691,7 @@ interface DomternalFloatingMenuOptions extends CustomContentOption {
692
691
  * `addFloatingMenuItems()` hook) in groups, with roving-tabindex keyboard
693
692
  * navigation and `requireExplicitTrigger` support for Notion-style flow.
694
693
  *
695
- * Mounts `createFloatingMenuPlugin` from `@domternal/extension-block-menu`
694
+ * Mounts `createFloatingMenuPlugin` from `@domternal/core`
696
695
  * for visibility + positioning. The plugin moves the host element inside
697
696
  * `.dm-editor` automatically so it scrolls with the editor.
698
697
  *
package/dist/index.js CHANGED
@@ -1,5 +1,4 @@
1
- import { Document, Paragraph, Text, BaseKeymap, History, PluginKey, defaultIcons, Editor, ToolbarController, positionFloatingOnce, defaultBubbleContexts, createBubbleMenuPlugin, FloatingMenuController, positionFloating } from '@domternal/core';
2
- import { createFloatingMenuPlugin } from '@domternal/extension-block-menu';
1
+ import { Document, Paragraph, Text, BaseKeymap, History, PluginKey, defaultIcons, Editor, ToolbarController, positionFloatingOnce, defaultBubbleContexts, createBubbleMenuPlugin, createFloatingMenuPlugin, FloatingMenuController, positionFloating } from '@domternal/core';
3
2
 
4
3
  // src/shared/isBrowser.ts
5
4
  var isBrowser = typeof window !== "undefined" && typeof document !== "undefined";