@carlonicora/nextjs-jsonapi 1.90.0 → 1.91.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.
@@ -9211,7 +9211,7 @@ __name(FormCheckbox, "FormCheckbox");
9211
9211
  import dynamic from "next/dynamic";
9212
9212
  import React14 from "react";
9213
9213
  import { jsx as jsx73 } from "react/jsx-runtime";
9214
- var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-2DELE7RC.mjs"), {
9214
+ var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-S3MWGDLG.mjs"), {
9215
9215
  ssr: false
9216
9216
  });
9217
9217
  var BlockNoteEditorContainer = React14.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
@@ -13630,8 +13630,15 @@ var mentionDataAttrs = /* @__PURE__ */ __name((p) => ({
13630
13630
  "data-mention-type": p.entityType,
13631
13631
  "data-mention-alias": p.alias
13632
13632
  }), "mentionDataAttrs");
13633
- var createMentionInlineContentSpec = /* @__PURE__ */ __name((resolveFn) => {
13633
+ var createMentionInlineContentSpec = /* @__PURE__ */ __name((resolveFn, disableMention) => {
13634
13634
  const Mention = React20.memo(/* @__PURE__ */ __name(function Mention2(props) {
13635
+ if (disableMention) {
13636
+ const resolved2 = resolveFn?.(props.id, props.entityType, props.alias);
13637
+ return /* @__PURE__ */ jsxs90(Link3, { href: resolved2?.url ?? "#", className: "text-primary", children: [
13638
+ "@",
13639
+ props.alias
13640
+ ] });
13641
+ }
13635
13642
  const resolved = resolveFn?.(props.id, props.entityType, props.alias);
13636
13643
  if (resolved?.Inline) {
13637
13644
  const Custom = resolved.Inline;
@@ -21895,4 +21902,4 @@ export {
21895
21902
  useOAuthClients,
21896
21903
  useOAuthClient
21897
21904
  };
21898
- //# sourceMappingURL=chunk-JUM7DE6J.mjs.map
21905
+ //# sourceMappingURL=chunk-WHZMP3ZF.mjs.map