@react-email/editor 1.1.1 → 1.2.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.
Files changed (51) hide show
  1. package/dist/core/index.cjs +3 -3
  2. package/dist/{core-D7AzzMLI.cjs → core-x9hglA_7.cjs} +2 -2
  3. package/dist/{email-node-hLU5bGnX.cjs → email-node-BFhsqjxz.cjs} +1 -1
  4. package/dist/{event-bus-CIJ___tH.cjs → event-bus-DbKKne9G.cjs} +1 -1
  5. package/dist/{extension-BdIuM7po.cjs → extension-DadHTZr7.cjs} +2 -2
  6. package/dist/{extension-DRd-7Enf.cjs → extension-KPXoxV9s.cjs} +2 -2
  7. package/dist/extensions/index.cjs +14 -10
  8. package/dist/extensions/index.d.cts +3 -1
  9. package/dist/extensions/index.d.cts.map +1 -1
  10. package/dist/extensions/index.d.mts +3 -1
  11. package/dist/extensions/index.d.mts.map +1 -1
  12. package/dist/extensions/index.mjs +3 -3
  13. package/dist/{extensions-D0ASDGwU.cjs → extensions-OWBg5IcG.cjs} +52 -50
  14. package/dist/{extensions-P230KRxk.mjs → extensions-embyYB59.mjs} +6 -4
  15. package/dist/{extensions-P230KRxk.mjs.map → extensions-embyYB59.mjs.map} +1 -1
  16. package/dist/{columns-BItFgD76.mjs → focus-scopes-8q9tO1ue.mjs} +110 -4
  17. package/dist/focus-scopes-8q9tO1ue.mjs.map +1 -0
  18. package/dist/focus-scopes-BLTX2pJU.d.cts +31 -0
  19. package/dist/focus-scopes-BLTX2pJU.d.cts.map +1 -0
  20. package/dist/{columns-DqFvXgmK.cjs → focus-scopes-CGUz8PLF.cjs} +131 -1
  21. package/dist/focus-scopes-CKTuaMk3.d.mts +31 -0
  22. package/dist/focus-scopes-CKTuaMk3.d.mts.map +1 -0
  23. package/dist/{image-B7AFZcee.cjs → image-Td_Smj-b.cjs} +1 -1
  24. package/dist/index.cjs +6 -6
  25. package/dist/index.d.cts +1 -1
  26. package/dist/index.d.mts +1 -1
  27. package/dist/index.mjs +2 -2
  28. package/dist/plugins/index.cjs +4 -4
  29. package/dist/plugins/index.d.cts +2 -2
  30. package/dist/plugins/index.d.mts +2 -2
  31. package/dist/{root-CtxOGDXP.cjs → root--eD8m9YM.cjs} +99 -10
  32. package/dist/{root-D4oiPckX.mjs → root-BPWrOnKS.mjs} +72 -7
  33. package/dist/root-BPWrOnKS.mjs.map +1 -0
  34. package/dist/{types-BMFC8G4N.d.mts → types-ALwc36ll.d.cts} +2 -2
  35. package/dist/{types-BMFC8G4N.d.mts.map → types-ALwc36ll.d.cts.map} +1 -1
  36. package/dist/{types-CPfNU4D9.d.cts → types-B2yr4rz3.d.cts} +1 -1
  37. package/dist/{types-CPfNU4D9.d.cts.map → types-B2yr4rz3.d.cts.map} +1 -1
  38. package/dist/{types-hURXpEIO.d.cts → types-BG5XsXt9.d.mts} +2 -2
  39. package/dist/{types-hURXpEIO.d.cts.map → types-BG5XsXt9.d.mts.map} +1 -1
  40. package/dist/{types-S2DvzFom.d.mts → types-DzqGGKXD.d.mts} +1 -1
  41. package/dist/{types-S2DvzFom.d.mts.map → types-DzqGGKXD.d.mts.map} +1 -1
  42. package/dist/ui/index.cjs +14 -96
  43. package/dist/ui/index.d.cts +11 -9
  44. package/dist/ui/index.d.cts.map +1 -1
  45. package/dist/ui/index.d.mts +10 -8
  46. package/dist/ui/index.d.mts.map +1 -1
  47. package/dist/ui/index.mjs +4 -86
  48. package/dist/ui/index.mjs.map +1 -1
  49. package/package.json +2 -2
  50. package/dist/columns-BItFgD76.mjs.map +0 -1
  51. package/dist/root-D4oiPckX.mjs.map +0 -1
@@ -1,17 +1,19 @@
1
- const require_columns = require("./columns-DqFvXgmK.cjs");
2
- const require_event_bus = require("./event-bus-CIJ___tH.cjs");
1
+ const require_focus_scopes = require("./focus-scopes-CGUz8PLF.cjs");
2
+ const require_event_bus = require("./event-bus-DbKKne9G.cjs");
3
3
  const require_set_text_alignment = require("./set-text-alignment-CpGakuZ2.cjs");
4
4
  let _tiptap_react = require("@tiptap/react");
5
5
  let react = require("react");
6
- react = require_columns.__toESM(react);
6
+ react = require_focus_scopes.__toESM(react);
7
7
  let react_jsx_runtime = require("react/jsx-runtime");
8
+ let _tiptap_core = require("@tiptap/core");
8
9
  let _tiptap_pm_state = require("@tiptap/pm/state");
9
10
  let _tiptap_react_menus = require("@tiptap/react/menus");
11
+ let _radix_ui_react_slot = require("@radix-ui/react-slot");
10
12
  let _radix_ui_react_popover = require("@radix-ui/react-popover");
11
- _radix_ui_react_popover = require_columns.__toESM(_radix_ui_react_popover);
13
+ _radix_ui_react_popover = require_focus_scopes.__toESM(_radix_ui_react_popover);
12
14
  let _floating_ui_react_dom = require("@floating-ui/react-dom");
13
15
  let _tiptap_suggestion = require("@tiptap/suggestion");
14
- _tiptap_suggestion = require_columns.__toESM(_tiptap_suggestion);
16
+ _tiptap_suggestion = require_focus_scopes.__toESM(_tiptap_suggestion);
15
17
  let react_dom = require("react-dom");
16
18
  //#region src/ui/icons/align-center.tsx
17
19
  function AlignCenterIcon({ size, width, height, ...props }) {
@@ -1017,6 +1019,69 @@ function BubbleMenuButtonUnlink({ className, children, onClick, onMouseDown, onL
1017
1019
  });
1018
1020
  }
1019
1021
  //#endregion
1022
+ //#region src/ui/editor-focus-scope.tsx
1023
+ const FocusScopeContext = react.createContext(null);
1024
+ const noopFocusScope = {
1025
+ registerScope: () => {},
1026
+ unregisterScope: () => {}
1027
+ };
1028
+ function useEditorFocusScope() {
1029
+ const context = react.useContext(FocusScopeContext);
1030
+ const { editor } = (0, _tiptap_react.useCurrentEditor)();
1031
+ return context ?? editor?.extensionStorage?.focusScope ?? noopFocusScope;
1032
+ }
1033
+ /**
1034
+ * @deprecated Focus scope tracking now lives in the FocusScopes extension,
1035
+ * included by default through StarterKit. This component is kept as a
1036
+ * compatibility wrapper for editors that do not use StarterKit.
1037
+ */
1038
+ function EditorFocusScopeProvider({ children, clearSelectionOnBlur = true }) {
1039
+ const { editor } = (0, _tiptap_react.useCurrentEditor)();
1040
+ const [fallbackFocusScope, setFallbackFocusScope] = react.useState(null);
1041
+ react.useLayoutEffect(() => {
1042
+ if (!editor) return;
1043
+ if (editor.state.plugins.some((plugin) => plugin.spec.key === require_focus_scopes.focusScopePluginKey)) {
1044
+ setFallbackFocusScope(editor.extensionStorage.focusScope ?? null);
1045
+ return;
1046
+ }
1047
+ const defaultFocusPlugin = editor.state.plugins.find((plugin) => plugin.spec.key === _tiptap_core.extensions.focusEventsPluginKey);
1048
+ if (defaultFocusPlugin) editor.unregisterPlugin(_tiptap_core.extensions.focusEventsPluginKey);
1049
+ const storage = editor.extensionStorage.focusScope ?? require_focus_scopes.createFocusScopesStorage();
1050
+ editor.extensionStorage.focusScope = storage;
1051
+ editor.registerPlugin(require_focus_scopes.createFocusScopePlugin({
1052
+ editor,
1053
+ storage,
1054
+ clearSelectionOnBlur
1055
+ }));
1056
+ setFallbackFocusScope(storage);
1057
+ return () => {
1058
+ editor.unregisterPlugin(require_focus_scopes.focusScopePluginKey);
1059
+ if (!editor.isDestroyed && defaultFocusPlugin) editor.registerPlugin(defaultFocusPlugin);
1060
+ };
1061
+ }, [editor, clearSelectionOnBlur]);
1062
+ const focusScope = fallbackFocusScope ?? editor?.extensionStorage?.focusScope ?? noopFocusScope;
1063
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(FocusScopeContext.Provider, {
1064
+ value: focusScope,
1065
+ children
1066
+ });
1067
+ }
1068
+ function EditorFocusScope({ children }) {
1069
+ const context = react.useContext(FocusScopeContext);
1070
+ const { editor } = (0, _tiptap_react.useCurrentEditor)();
1071
+ const focusScope = context ?? editor?.extensionStorage?.focusScope;
1072
+ if (!focusScope) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_jsx_runtime.Fragment, { children });
1073
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_slot.Slot, {
1074
+ ref: (element) => {
1075
+ if (!element) return;
1076
+ focusScope.registerScope(element);
1077
+ return () => {
1078
+ focusScope.unregisterScope(element);
1079
+ };
1080
+ },
1081
+ children
1082
+ });
1083
+ }
1084
+ //#endregion
1020
1085
  //#region src/ui/bubble-menu/code.tsx
1021
1086
  const BubbleMenuCode = createMarkBubbleItem({
1022
1087
  name: "code",
@@ -1404,7 +1469,7 @@ function Root({ trigger, pluginKey = defaultPluginKey, hideWhenActiveNodes = [],
1404
1469
  const [isEditing, setIsEditing] = react.useState(false);
1405
1470
  const resolvedTrigger = trigger ?? bubbleMenuTriggers.textSelection(hideWhenActiveNodes, hideWhenActiveMarks);
1406
1471
  if (!editor) return null;
1407
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_tiptap_react_menus.BubbleMenu, {
1472
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(EditorFocusScope, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_tiptap_react_menus.BubbleMenu, {
1408
1473
  editor,
1409
1474
  pluginKey,
1410
1475
  "data-re-bubble-menu": "",
@@ -1427,7 +1492,7 @@ function Root({ trigger, pluginKey = defaultPluginKey, hideWhenActiveNodes = [],
1427
1492
  },
1428
1493
  children
1429
1494
  })
1430
- });
1495
+ }) });
1431
1496
  }
1432
1497
  const textPluginKey = new _tiptap_pm_state.PluginKey("textBubbleMenu");
1433
1498
  function Default({ hideWhenActiveNodes, hideWhenActiveMarks, placement, offset, onHide, className, ...rest }) {
@@ -1979,7 +2044,7 @@ function isInsideNode(editor, type) {
1979
2044
  }
1980
2045
  function isAtMaxColumnsDepth(editor) {
1981
2046
  const { from } = editor.state.selection;
1982
- return require_columns.getColumnsDepth(editor.state.doc, from) >= 3;
2047
+ return require_focus_scopes.getColumnsDepth(editor.state.doc, from) >= 3;
1983
2048
  }
1984
2049
  function updateScrollView(container, item) {
1985
2050
  const containerRect = container.getBoundingClientRect();
@@ -2441,11 +2506,11 @@ function SlashCommandRoot({ items: itemsProp, filterItems: filterItemsProp, char
2441
2506
  let content;
2442
2507
  if (children) content = children(renderProps);
2443
2508
  else content = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CommandList, { ...renderProps });
2444
- return (0, react_dom.createPortal)(/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
2509
+ return (0, react_dom.createPortal)(/* @__PURE__ */ (0, react_jsx_runtime.jsx)(EditorFocusScope, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
2445
2510
  ref: refs.setFloating,
2446
2511
  style: floatingStyles,
2447
2512
  children: content
2448
- }), document.body);
2513
+ }) }), document.body);
2449
2514
  }
2450
2515
  //#endregion
2451
2516
  Object.defineProperty(exports, "AlignCenterIcon", {
@@ -2724,6 +2789,18 @@ Object.defineProperty(exports, "DIVIDER", {
2724
2789
  return DIVIDER;
2725
2790
  }
2726
2791
  });
2792
+ Object.defineProperty(exports, "EditorFocusScope", {
2793
+ enumerable: true,
2794
+ get: function() {
2795
+ return EditorFocusScope;
2796
+ }
2797
+ });
2798
+ Object.defineProperty(exports, "EditorFocusScopeProvider", {
2799
+ enumerable: true,
2800
+ get: function() {
2801
+ return EditorFocusScopeProvider;
2802
+ }
2803
+ });
2727
2804
  Object.defineProperty(exports, "ExternalLinkIcon", {
2728
2805
  enumerable: true,
2729
2806
  get: function() {
@@ -2736,6 +2813,12 @@ Object.defineProperty(exports, "FOUR_COLUMNS", {
2736
2813
  return FOUR_COLUMNS;
2737
2814
  }
2738
2815
  });
2816
+ Object.defineProperty(exports, "FocusScopeContext", {
2817
+ enumerable: true,
2818
+ get: function() {
2819
+ return FocusScopeContext;
2820
+ }
2821
+ });
2739
2822
  Object.defineProperty(exports, "H1", {
2740
2823
  enumerable: true,
2741
2824
  get: function() {
@@ -2964,3 +3047,9 @@ Object.defineProperty(exports, "useBubbleMenuContext", {
2964
3047
  return useBubbleMenuContext;
2965
3048
  }
2966
3049
  });
3050
+ Object.defineProperty(exports, "useEditorFocusScope", {
3051
+ enumerable: true,
3052
+ get: function() {
3053
+ return useEditorFocusScope;
3054
+ }
3055
+ });
@@ -1,12 +1,14 @@
1
- import { s as getColumnsDepth } from "./columns-BItFgD76.mjs";
1
+ import { d as getColumnsDepth, i as focusScopePluginKey, n as createFocusScopePlugin, r as createFocusScopesStorage } from "./focus-scopes-8q9tO1ue.mjs";
2
2
  import { t as editorEventBus } from "./event-bus-CqrIUE24.mjs";
3
3
  import { t as setTextAlignment } from "./set-text-alignment-Bgdg7-5y.mjs";
4
4
  import { useCurrentEditor, useEditorState } from "@tiptap/react";
5
5
  import * as React$1 from "react";
6
6
  import { useCallback, useEffect, useLayoutEffect, useRef, useState } from "react";
7
7
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
8
+ import { extensions } from "@tiptap/core";
8
9
  import { PluginKey } from "@tiptap/pm/state";
9
10
  import { BubbleMenu } from "@tiptap/react/menus";
11
+ import { Slot } from "@radix-ui/react-slot";
10
12
  import * as Popover from "@radix-ui/react-popover";
11
13
  import { autoUpdate, flip, offset, shift, useFloating } from "@floating-ui/react-dom";
12
14
  import Suggestion from "@tiptap/suggestion";
@@ -1015,6 +1017,69 @@ function BubbleMenuButtonUnlink({ className, children, onClick, onMouseDown, onL
1015
1017
  });
1016
1018
  }
1017
1019
  //#endregion
1020
+ //#region src/ui/editor-focus-scope.tsx
1021
+ const FocusScopeContext = React$1.createContext(null);
1022
+ const noopFocusScope = {
1023
+ registerScope: () => {},
1024
+ unregisterScope: () => {}
1025
+ };
1026
+ function useEditorFocusScope() {
1027
+ const context = React$1.useContext(FocusScopeContext);
1028
+ const { editor } = useCurrentEditor();
1029
+ return context ?? editor?.extensionStorage?.focusScope ?? noopFocusScope;
1030
+ }
1031
+ /**
1032
+ * @deprecated Focus scope tracking now lives in the FocusScopes extension,
1033
+ * included by default through StarterKit. This component is kept as a
1034
+ * compatibility wrapper for editors that do not use StarterKit.
1035
+ */
1036
+ function EditorFocusScopeProvider({ children, clearSelectionOnBlur = true }) {
1037
+ const { editor } = useCurrentEditor();
1038
+ const [fallbackFocusScope, setFallbackFocusScope] = React$1.useState(null);
1039
+ React$1.useLayoutEffect(() => {
1040
+ if (!editor) return;
1041
+ if (editor.state.plugins.some((plugin) => plugin.spec.key === focusScopePluginKey)) {
1042
+ setFallbackFocusScope(editor.extensionStorage.focusScope ?? null);
1043
+ return;
1044
+ }
1045
+ const defaultFocusPlugin = editor.state.plugins.find((plugin) => plugin.spec.key === extensions.focusEventsPluginKey);
1046
+ if (defaultFocusPlugin) editor.unregisterPlugin(extensions.focusEventsPluginKey);
1047
+ const storage = editor.extensionStorage.focusScope ?? createFocusScopesStorage();
1048
+ editor.extensionStorage.focusScope = storage;
1049
+ editor.registerPlugin(createFocusScopePlugin({
1050
+ editor,
1051
+ storage,
1052
+ clearSelectionOnBlur
1053
+ }));
1054
+ setFallbackFocusScope(storage);
1055
+ return () => {
1056
+ editor.unregisterPlugin(focusScopePluginKey);
1057
+ if (!editor.isDestroyed && defaultFocusPlugin) editor.registerPlugin(defaultFocusPlugin);
1058
+ };
1059
+ }, [editor, clearSelectionOnBlur]);
1060
+ const focusScope = fallbackFocusScope ?? editor?.extensionStorage?.focusScope ?? noopFocusScope;
1061
+ return /* @__PURE__ */ jsx(FocusScopeContext.Provider, {
1062
+ value: focusScope,
1063
+ children
1064
+ });
1065
+ }
1066
+ function EditorFocusScope({ children }) {
1067
+ const context = React$1.useContext(FocusScopeContext);
1068
+ const { editor } = useCurrentEditor();
1069
+ const focusScope = context ?? editor?.extensionStorage?.focusScope;
1070
+ if (!focusScope) return /* @__PURE__ */ jsx(Fragment, { children });
1071
+ return /* @__PURE__ */ jsx(Slot, {
1072
+ ref: (element) => {
1073
+ if (!element) return;
1074
+ focusScope.registerScope(element);
1075
+ return () => {
1076
+ focusScope.unregisterScope(element);
1077
+ };
1078
+ },
1079
+ children
1080
+ });
1081
+ }
1082
+ //#endregion
1018
1083
  //#region src/ui/bubble-menu/code.tsx
1019
1084
  const BubbleMenuCode = createMarkBubbleItem({
1020
1085
  name: "code",
@@ -1402,7 +1467,7 @@ function Root({ trigger, pluginKey = defaultPluginKey, hideWhenActiveNodes = [],
1402
1467
  const [isEditing, setIsEditing] = React$1.useState(false);
1403
1468
  const resolvedTrigger = trigger ?? bubbleMenuTriggers.textSelection(hideWhenActiveNodes, hideWhenActiveMarks);
1404
1469
  if (!editor) return null;
1405
- return /* @__PURE__ */ jsx(BubbleMenu, {
1470
+ return /* @__PURE__ */ jsx(EditorFocusScope, { children: /* @__PURE__ */ jsx(BubbleMenu, {
1406
1471
  editor,
1407
1472
  pluginKey,
1408
1473
  "data-re-bubble-menu": "",
@@ -1425,7 +1490,7 @@ function Root({ trigger, pluginKey = defaultPluginKey, hideWhenActiveNodes = [],
1425
1490
  },
1426
1491
  children
1427
1492
  })
1428
- });
1493
+ }) });
1429
1494
  }
1430
1495
  const textPluginKey = new PluginKey("textBubbleMenu");
1431
1496
  function Default({ hideWhenActiveNodes, hideWhenActiveMarks, placement, offset, onHide, className, ...rest }) {
@@ -2439,13 +2504,13 @@ function SlashCommandRoot({ items: itemsProp, filterItems: filterItemsProp, char
2439
2504
  let content;
2440
2505
  if (children) content = children(renderProps);
2441
2506
  else content = /* @__PURE__ */ jsx(CommandList, { ...renderProps });
2442
- return createPortal(/* @__PURE__ */ jsx("div", {
2507
+ return createPortal(/* @__PURE__ */ jsx(EditorFocusScope, { children: /* @__PURE__ */ jsx("div", {
2443
2508
  ref: refs.setFloating,
2444
2509
  style: floatingStyles,
2445
2510
  children: content
2446
- }), document.body);
2511
+ }) }), document.body);
2447
2512
  }
2448
2513
  //#endregion
2449
- export { BubbleMenuAlignRight as $, BubbleMenuImageUnlink as A, AlignRightIcon as At, BubbleMenuNodeSelector as B, BubbleMenuLinkDefault as C, Columns3Icon as Ct, BubbleMenuLinkForm as D, CheckIcon as Dt, BubbleMenuLinkOpenLink as E, ChevronDownIcon as Et, RootWithDefault as F, BubbleMenuItalic as G, NodeSelectorRoot as H, BubbleMenuUppercase as I, BubbleMenuButtonUnlink as J, BubbleMenuItemGroup as K, BubbleMenuUnderline as L, BubbleMenuImageForm as M, AlignCenterIcon as Mt, BubbleMenuImageEditLink as N, BubbleMenuLinkEditLink as O, CaseUpperIcon as Ot, BubbleMenuButtonDefault as P, BubbleMenuBold as Q, bubbleMenuTriggers as R, BubbleMenuSeparator as S, Columns4Icon as St, BubbleMenuLinkToolbar as T, CodeIcon as Tt, NodeSelectorTrigger as U, NodeSelectorContent as V, BubbleMenuLinkSelector as W, BubbleMenuButtonForm as X, BubbleMenuButtonToolbar as Y, BubbleMenuButtonEditLink as Z, TWO_COLUMNS as _, ItalicIcon as _t, BUTTON as a, UnderlineIcon as at, isInsideNode as b, Heading1Icon as bt, FOUR_COLUMNS as c, StrikethroughIcon as ct, H3 as d, Rows2Icon as dt, BubbleMenuAlignLeft as et, NUMBERED_LIST as f, PencilIcon as ft, THREE_COLUMNS as g, LinkIcon as gt, TEXT as h, ListIcon as ht, BULLET_LIST as i, UnlinkIcon as it, BubbleMenuImageToolbar as j, AlignLeftIcon as jt, BubbleMenuImageDefault as k, BoldIcon as kt, H1 as l, SquareCodeIcon as lt, SECTION as m, ListOrderedIcon as mt, filterAndRankItems as n, BubbleMenuItem as nt, CODE as o, TextQuoteIcon as ot, QUOTE as p, MousePointerIcon as pt, BubbleMenuCode as q, scoreItem as r, useBubbleMenuContext as rt, DIVIDER as s, TextIcon as st, SlashCommandRoot as t, BubbleMenuAlignCenter as tt, H2 as u, SplitSquareVerticalIcon as ut, defaultSlashCommands as v, Heading3Icon as vt, BubbleMenuLinkUnlink as w, Columns2Icon as wt, BubbleMenu$1 as x, ExternalLinkIcon as xt, isAtMaxColumnsDepth as y, Heading2Icon as yt, BubbleMenuStrike as z };
2514
+ export { BubbleMenuButtonToolbar as $, BubbleMenuImageUnlink as A, ChevronDownIcon as At, BubbleMenuNodeSelector as B, BubbleMenuLinkDefault as C, Heading2Icon as Ct, BubbleMenuLinkForm as D, Columns3Icon as Dt, BubbleMenuLinkOpenLink as E, Columns4Icon as Et, RootWithDefault as F, AlignLeftIcon as Ft, BubbleMenuItalic as G, NodeSelectorRoot as H, BubbleMenuUppercase as I, AlignCenterIcon as It, EditorFocusScope as J, BubbleMenuItemGroup as K, BubbleMenuUnderline as L, BubbleMenuImageForm as M, CaseUpperIcon as Mt, BubbleMenuImageEditLink as N, BoldIcon as Nt, BubbleMenuLinkEditLink as O, Columns2Icon as Ot, BubbleMenuButtonDefault as P, AlignRightIcon as Pt, BubbleMenuButtonUnlink as Q, bubbleMenuTriggers as R, BubbleMenuSeparator as S, Heading3Icon as St, BubbleMenuLinkToolbar as T, ExternalLinkIcon as Tt, NodeSelectorTrigger as U, NodeSelectorContent as V, BubbleMenuLinkSelector as W, FocusScopeContext as X, EditorFocusScopeProvider as Y, useEditorFocusScope as Z, TWO_COLUMNS as _, MousePointerIcon as _t, BUTTON as a, BubbleMenuAlignCenter as at, isInsideNode as b, LinkIcon as bt, FOUR_COLUMNS as c, UnlinkIcon as ct, H3 as d, TextIcon as dt, BubbleMenuButtonForm as et, NUMBERED_LIST as f, StrikethroughIcon as ft, THREE_COLUMNS as g, PencilIcon as gt, TEXT as h, Rows2Icon as ht, BULLET_LIST as i, BubbleMenuAlignLeft as it, BubbleMenuImageToolbar as j, CheckIcon as jt, BubbleMenuImageDefault as k, CodeIcon as kt, H1 as l, UnderlineIcon as lt, SECTION as m, SplitSquareVerticalIcon as mt, filterAndRankItems as n, BubbleMenuBold as nt, CODE as o, BubbleMenuItem as ot, QUOTE as p, SquareCodeIcon as pt, BubbleMenuCode as q, scoreItem as r, BubbleMenuAlignRight as rt, DIVIDER as s, useBubbleMenuContext as st, SlashCommandRoot as t, BubbleMenuButtonEditLink as tt, H2 as u, TextQuoteIcon as ut, defaultSlashCommands as v, ListOrderedIcon as vt, BubbleMenuLinkUnlink as w, Heading1Icon as wt, BubbleMenu$1 as x, ItalicIcon as xt, isAtMaxColumnsDepth as y, ListIcon as yt, BubbleMenuStrike as z };
2450
2515
 
2451
- //# sourceMappingURL=root-D4oiPckX.mjs.map
2516
+ //# sourceMappingURL=root-BPWrOnKS.mjs.map