@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.
- package/dist/{BlockNoteEditor-QIM2ZKC6.js → BlockNoteEditor-IQAOVSUT.js} +12 -11
- package/dist/BlockNoteEditor-IQAOVSUT.js.map +1 -0
- package/dist/{BlockNoteEditor-2DELE7RC.mjs → BlockNoteEditor-S3MWGDLG.mjs} +6 -5
- package/dist/BlockNoteEditor-S3MWGDLG.mjs.map +1 -0
- package/dist/billing/index.js +299 -299
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-7D4A7G7U.js → chunk-GNKC2ZRU.js} +102 -95
- package/dist/chunk-GNKC2ZRU.js.map +1 -0
- package/dist/{chunk-JUM7DE6J.mjs → chunk-WHZMP3ZF.mjs} +10 -3
- package/dist/chunk-WHZMP3ZF.mjs.map +1 -0
- package/dist/client/index.js +2 -2
- package/dist/client/index.mjs +1 -1
- package/dist/components/index.d.mts +2 -1
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.js +2 -2
- package/dist/components/index.mjs +1 -1
- package/dist/contexts/index.js +2 -2
- package/dist/contexts/index.mjs +1 -1
- package/package.json +1 -1
- package/src/components/editors/BlockNoteEditor.tsx +5 -3
- package/src/components/editors/BlockNoteEditorMentionInlineContent.tsx +10 -1
- package/dist/BlockNoteEditor-2DELE7RC.mjs.map +0 -1
- package/dist/BlockNoteEditor-QIM2ZKC6.js.map +0 -1
- package/dist/chunk-7D4A7G7U.js.map +0 -1
- package/dist/chunk-JUM7DE6J.mjs.map +0 -1
|
@@ -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-
|
|
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-
|
|
21905
|
+
//# sourceMappingURL=chunk-WHZMP3ZF.mjs.map
|