@blocknote/mantine 0.19.1 → 0.20.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.
@@ -122,7 +122,7 @@ var H = {
122
122
  className: void 0,
123
123
  style: void 0,
124
124
  attr: void 0
125
- }, I = y.createContext && /* @__PURE__ */ y.createContext(H), ve = ["attr", "size", "title"];
125
+ }, R = y.createContext && /* @__PURE__ */ y.createContext(H), ve = ["attr", "size", "title"];
126
126
  function he(e, n) {
127
127
  if (e == null) return {};
128
128
  var t = ye(e, n), o, r;
@@ -153,7 +153,7 @@ function k() {
153
153
  return e;
154
154
  }, k.apply(this, arguments);
155
155
  }
156
- function R(e, n) {
156
+ function I(e, n) {
157
157
  var t = Object.keys(e);
158
158
  if (Object.getOwnPropertySymbols) {
159
159
  var o = Object.getOwnPropertySymbols(e);
@@ -166,9 +166,9 @@ function R(e, n) {
166
166
  function P(e) {
167
167
  for (var n = 1; n < arguments.length; n++) {
168
168
  var t = arguments[n] != null ? arguments[n] : {};
169
- n % 2 ? R(Object(t), !0).forEach(function(o) {
169
+ n % 2 ? I(Object(t), !0).forEach(function(o) {
170
170
  Se(e, o, t[o]);
171
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : R(Object(t)).forEach(function(o) {
171
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : I(Object(t)).forEach(function(o) {
172
172
  Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(t, o));
173
173
  });
174
174
  }
@@ -222,7 +222,7 @@ function Ne(e) {
222
222
  xmlns: "http://www.w3.org/2000/svg"
223
223
  }), s && /* @__PURE__ */ y.createElement("title", null, s), e.children);
224
224
  };
225
- return I !== void 0 ? /* @__PURE__ */ y.createElement(I.Consumer, null, (t) => n(t)) : n(H);
225
+ return R !== void 0 ? /* @__PURE__ */ y.createElement(R.Consumer, null, (t) => n(t)) : n(H);
226
226
  }
227
227
  function Ce(e) {
228
228
  return U({ tag: "svg", attr: { viewBox: "0 0 20 20", fill: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { fillRule: "evenodd", d: "M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z", clipRule: "evenodd" }, child: [] }] })(e);
@@ -351,10 +351,10 @@ const W = ce(void 0), Pe = g((e, n) => {
351
351
  }), De = g((e, n) => {
352
352
  const { className: t, ...o } = e;
353
353
  return d(o), /* @__PURE__ */ i(b.Divider, { className: t, ref: n });
354
- }), Ie = g((e, n) => {
354
+ }), Re = g((e, n) => {
355
355
  const { className: t, children: o, ...r } = e;
356
356
  return d(r), /* @__PURE__ */ i(b.Label, { className: t, ref: n, children: o });
357
- }), Re = g((e, n) => {
357
+ }), Ie = g((e, n) => {
358
358
  const {
359
359
  className: t,
360
360
  tabs: o,
@@ -434,16 +434,7 @@ const W = ce(void 0), Pe = g((e, n) => {
434
434
  );
435
435
  }), Be = (e) => {
436
436
  const { children: n, opened: t, position: o, ...r } = e;
437
- return d(r), /* @__PURE__ */ i(
438
- oe,
439
- {
440
- withinPortal: !1,
441
- zIndex: 1e4,
442
- opened: t,
443
- position: o,
444
- children: n
445
- }
446
- );
437
+ return d(r), /* @__PURE__ */ i(oe, { withinPortal: !1, opened: t, position: o, children: n });
447
438
  }, _e = (e) => {
448
439
  const { children: n, ...t } = e;
449
440
  return d(t), /* @__PURE__ */ i(re, { children: n });
@@ -899,7 +890,7 @@ const W = ce(void 0), Pe = g((e, n) => {
899
890
  Select: tt
900
891
  },
901
892
  FilePanel: {
902
- Root: Re,
893
+ Root: Ie,
903
894
  Button: Le,
904
895
  FileInput: Ee,
905
896
  TabPanel: je,
@@ -940,7 +931,7 @@ const W = ce(void 0), Pe = g((e, n) => {
940
931
  Trigger: Fe,
941
932
  Dropdown: Oe,
942
933
  Divider: De,
943
- Label: Ie,
934
+ Label: Re,
944
935
  Item: Me
945
936
  },
946
937
  Popover: {