@fileverse-dev/ddoc 3.0.30-patch-1 → 3.0.31

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.
@@ -1,4 +1,4 @@
1
- import { B as p, g as m, s as w, d as k, i as b, l as L, a as O, c as E, b as x, e as R, H as y, f as M } from "./index-CLeQ_KNN.mjs";
1
+ import { B as p, g as m, s as w, d as k, i as b, l as L, a as O, c as E, b as x, e as R, H as y, f as M } from "./index-Bv75mfCH.mjs";
2
2
  class S extends p {
3
3
  constructor({ callbackSelector: r, cause: a, data: n, extraData: i, sender: f, urls: t }) {
4
4
  var o;
@@ -93963,7 +93963,7 @@ async function SF(e, t) {
93963
93963
  });
93964
93964
  return te === "0x" ? { data: void 0 } : { data: te };
93965
93965
  } catch (O) {
93966
- const B = IKt(O), { offchainLookup: U, offchainLookupSignature: $ } = await import("./ccip-BKtwD0Oe.mjs");
93966
+ const B = IKt(O), { offchainLookup: U, offchainLookupSignature: $ } = await import("./ccip-DSaSjaSp.mjs");
93967
93967
  if (e.ccipRead !== !1 && (B == null ? void 0 : B.slice(0, 10)) === $ && x)
93968
93968
  return { data: await U(e, { data: B, to: x }) };
93969
93969
  throw I && (B == null ? void 0 : B.slice(0, 10)) === "0x101bb98d" ? new pZt({ factory: f }) : Sge(O, {
@@ -106530,8 +106530,6 @@ ${v.map((x) => ` - ${x}`).join(`
106530
106530
  new Na({
106531
106531
  find: /(\S*)~((?:[^~]|\\~)+)~/,
106532
106532
  handler: ({ state: r, range: o, match: i }) => {
106533
- if (i[2].endsWith(" "))
106534
- return null;
106535
106533
  const { tr: a } = r, s = o.from + i[1].length, l = o.to, u = i[2].replace(/\\~/g, "~");
106536
106534
  a.replaceWith(
106537
106535
  s,
@@ -116244,7 +116242,7 @@ const Uun = (e, t) => az(e) ? new zun(t) : new Pun(t, {
116244
116242
  /* @__PURE__ */ E.jsx(
116245
116243
  "span",
116246
116244
  {
116247
- className: "text-body-sm line-clamp-1",
116245
+ className: "text-body-sm line-clamp-1 break-all",
116248
116246
  style: {
116249
116247
  fontFamily: Y == null ? void 0 : Y.value
116250
116248
  },
@@ -116287,10 +116285,15 @@ const Uun = (e, t) => az(e) ? new zun(t) : new Pun(t, {
116287
116285
  anchorTrigger: /* @__PURE__ */ E.jsxs(
116288
116286
  "button",
116289
116287
  {
116290
- className: "bg-transparent hover:!color-bg-default-hover rounded gap-2 p-2 flex items-center justify-center w-[83px]",
116288
+ className: "bg-transparent hover:!color-bg-default-hover rounded gap-2 p-2 flex items-center justify-between w-[108px]",
116291
116289
  onClick: () => y(lt.HEADING),
116292
116290
  children: [
116293
- /* @__PURE__ */ E.jsx("span", { className: "text-body-sm line-clamp-1", children: e != null && e.isActive("heading", { level: 1 }) ? "Heading 1" : e != null && e.isActive("heading", { level: 2 }) ? "Heading 2" : e != null && e.isActive("heading", { level: 3 }) ? "Heading 3" : "Text" }),
116291
+ /* @__PURE__ */ E.jsxs("span", { className: "text-body-sm line-clamp-1", children: [
116292
+ (e == null ? void 0 : e.isActive("heading", { level: 1 })) && "Heading 1",
116293
+ (e == null ? void 0 : e.isActive("heading", { level: 2 })) && "Heading 2",
116294
+ (e == null ? void 0 : e.isActive("heading", { level: 3 })) && "Heading 3",
116295
+ !(e != null && e.isActive("heading")) && "Text"
116296
+ ] }),
116294
116297
  /* @__PURE__ */ E.jsx(qe, { name: "ChevronDown", size: "sm" })
116295
116298
  ]
116296
116299
  }
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { D as d, E as r, P as s, R as a, h as t, u as i } from "./index-CLeQ_KNN.mjs";
1
+ import { D as d, E as r, P as s, R as a, h as t, u as i } from "./index-Bv75mfCH.mjs";
2
2
  export {
3
3
  d as DdocEditor,
4
4
  r as Editor,