@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.
@@ -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-3FJNUMPG.mjs"), {
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-U42KH22X.mjs.map
18737
+ //# sourceMappingURL=chunk-MVAUGASJ.mjs.map