@carlonicora/nextjs-jsonapi 1.54.0 → 1.54.1
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-H7TO4U5Q.js → BlockNoteEditor-RQCTOZHO.js} +6 -6
- package/dist/{BlockNoteEditor-H7TO4U5Q.js.map → BlockNoteEditor-RQCTOZHO.js.map} +1 -1
- package/dist/{BlockNoteEditor-3FJNUMPG.mjs → BlockNoteEditor-Y5Q25O4P.mjs} +2 -2
- package/dist/billing/index.js +299 -299
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-4EOS4FWI.js → chunk-3T2Z3H7V.js} +113 -111
- package/dist/chunk-3T2Z3H7V.js.map +1 -0
- package/dist/{chunk-U42KH22X.mjs → chunk-MVAUGASJ.mjs} +6 -4
- package/dist/chunk-MVAUGASJ.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/forms/FormBlockNote.tsx +4 -1
- package/dist/chunk-4EOS4FWI.js.map +0 -1
- package/dist/chunk-U42KH22X.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-3FJNUMPG.mjs.map → BlockNoteEditor-Y5Q25O4P.mjs.map} +0 -0
|
@@ -8343,7 +8343,7 @@ __name(FormCheckbox, "FormCheckbox");
|
|
|
8343
8343
|
import dynamic from "next/dynamic";
|
|
8344
8344
|
import React14 from "react";
|
|
8345
8345
|
import { jsx as jsx67 } from "react/jsx-runtime";
|
|
8346
|
-
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-
|
|
8346
|
+
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-Y5Q25O4P.mjs"), {
|
|
8347
8347
|
ssr: false
|
|
8348
8348
|
});
|
|
8349
8349
|
var BlockNoteEditorContainer = React14.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
|
|
@@ -8360,7 +8360,8 @@ function FormBlockNote({
|
|
|
8360
8360
|
type,
|
|
8361
8361
|
isRequired = false,
|
|
8362
8362
|
description,
|
|
8363
|
-
testId
|
|
8363
|
+
testId,
|
|
8364
|
+
onEmptyChange
|
|
8364
8365
|
}) {
|
|
8365
8366
|
return /* @__PURE__ */ jsx68("div", { className: "flex w-full flex-col", children: /* @__PURE__ */ jsx68(
|
|
8366
8367
|
FormFieldWrapper,
|
|
@@ -8377,8 +8378,9 @@ function FormBlockNote({
|
|
|
8377
8378
|
id: form.getValues("id"),
|
|
8378
8379
|
type,
|
|
8379
8380
|
initialContent: field.value,
|
|
8380
|
-
onChange: (content) => {
|
|
8381
|
+
onChange: (content, isEmpty) => {
|
|
8381
8382
|
field.onChange(content);
|
|
8383
|
+
onEmptyChange?.(isEmpty);
|
|
8382
8384
|
},
|
|
8383
8385
|
placeholder,
|
|
8384
8386
|
bordered: true
|
|
@@ -18732,4 +18734,4 @@ export {
|
|
|
18732
18734
|
useOAuthClients,
|
|
18733
18735
|
useOAuthClient
|
|
18734
18736
|
};
|
|
18735
|
-
//# sourceMappingURL=chunk-
|
|
18737
|
+
//# sourceMappingURL=chunk-MVAUGASJ.mjs.map
|