@blocknote/xl-multi-column 0.26.0 → 0.27.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.
@@ -3,7 +3,7 @@ var Y = (o, e, t) => e in o ? F(o, e, { enumerable: !0, configurable: !0, writab
3
3
  var p = (o, e, t) => Y(o, typeof e != "symbol" ? e + "" : e, t);
4
4
  import { getNodeById as E, createStronglyTypedTiptapNode as R, createBlockSpecFromStronglyTypedTiptapNode as j, BlockNoteSchema as z, getBlockInfo as Z, nodeToBlock as S, UniqueID as q, getNearestBlockPos as $, insertOrUpdateBlock as O } from "@blocknote/core";
5
5
  import { Extension as J } from "@tiptap/core";
6
- import { PluginKey as Q, Plugin as H } from "prosemirror-state";
6
+ import { Plugin as H, PluginKey as Q } from "prosemirror-state";
7
7
  import { DecorationSet as D, Decoration as B } from "prosemirror-view";
8
8
  import { dropPoint as ee } from "prosemirror-transform";
9
9
  import { jsx as T } from "react/jsx-runtime";
@@ -819,7 +819,7 @@ function Oe(o, e) {
819
819
  if (typeof o != "object" || !o) return o;
820
820
  var t = o[Symbol.toPrimitive];
821
821
  if (t !== void 0) {
822
- var n = t.call(o, e || "default");
822
+ var n = t.call(o, e);
823
823
  if (typeof n != "object") return n;
824
824
  throw new TypeError("@@toPrimitive must return a primitive value.");
825
825
  }
@@ -859,10 +859,10 @@ function De(o) {
859
859
  return I !== void 0 ? /* @__PURE__ */ v.createElement(I.Consumer, null, (t) => e(t)) : e(X);
860
860
  }
861
861
  function Be(o) {
862
- return G({ tag: "svg", attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M3 3m0 1a1 1 0 0 1 1 -1h16a1 1 0 0 1 1 1v16a1 1 0 0 1 -1 1h-16a1 1 0 0 1 -1 -1zm9 -1v18" }, child: [] }] })(o);
862
+ return G({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M3 3m0 1a1 1 0 0 1 1 -1h16a1 1 0 0 1 1 1v16a1 1 0 0 1 -1 1h-16a1 1 0 0 1 -1 -1zm9 -1v18" }, child: [] }] })(o);
863
863
  }
864
864
  function Te(o) {
865
- return G({ tag: "svg", attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M3 3m0 1a1 1 0 0 1 1 -1h16a1 1 0 0 1 1 1v16a1 1 0 0 1 -1 1h-16a1 1 0 0 1 -1 -1zm6 -1v18m6 -18v18" }, child: [] }] })(o);
865
+ return G({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M3 3m0 1a1 1 0 0 1 1 -1h16a1 1 0 0 1 1 1v16a1 1 0 0 1 -1 1h-16a1 1 0 0 1 -1 -1zm6 -1v18m6 -18v18" }, child: [] }] })(o);
866
866
  }
867
867
  function Ne(o) {
868
868
  return "column" in o.schema.blockSchema && o.schema.blockSchema.columnList === M.blockSchema.columnList && "column" in o.schema.blockSchema && o.schema.blockSchema.column === M.blockSchema.column;