@carlonicora/nextjs-jsonapi 1.87.3 → 1.87.4

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.
@@ -47,7 +47,7 @@ import {
47
47
  TabsList,
48
48
  TabsTrigger,
49
49
  useCurrentUserContext
50
- } from "../chunk-T2NYLP7P.mjs";
50
+ } from "../chunk-6L3PWVNO.mjs";
51
51
  import {
52
52
  getRoleId,
53
53
  getStripePublishableKey
@@ -9207,7 +9207,7 @@ __name(FormCheckbox, "FormCheckbox");
9207
9207
  import dynamic from "next/dynamic";
9208
9208
  import React14 from "react";
9209
9209
  import { jsx as jsx73 } from "react/jsx-runtime";
9210
- var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-RAOTXBVG.mjs"), {
9210
+ var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-Y33UF3NL.mjs"), {
9211
9211
  ssr: false
9212
9212
  });
9213
9213
  var BlockNoteEditorContainer = React14.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
@@ -9235,38 +9235,48 @@ function FormBlockNote({
9235
9235
  mentionSearchParams,
9236
9236
  mentionResolveFn
9237
9237
  }) {
9238
- return /* @__PURE__ */ jsx74("div", { className: cn("flex w-full flex-col", stretch && "min-h-0 flex-1 [&>[data-slot=field]]:min-h-0 [&>[data-slot=field]]:flex-1", className), children: /* @__PURE__ */ jsx74(
9239
- FormFieldWrapper,
9238
+ return /* @__PURE__ */ jsx74(
9239
+ "div",
9240
9240
  {
9241
- form,
9242
- name: id,
9243
- label: name,
9244
- isRequired,
9245
- description,
9246
- testId,
9247
- children: (field) => /* @__PURE__ */ jsx74(
9248
- BlockNoteEditorContainer,
9241
+ className: cn(
9242
+ "flex w-full flex-col",
9243
+ stretch && "min-h-0 flex-1 [&>[data-slot=field]]:min-h-0 [&>[data-slot=field]]:flex-1",
9244
+ className
9245
+ ),
9246
+ children: /* @__PURE__ */ jsx74(
9247
+ FormFieldWrapper,
9249
9248
  {
9250
- id: form.getValues("id"),
9251
- type,
9252
- initialContent: field.value,
9253
- onChange: (content, isEmpty) => {
9254
- field.onChange(content);
9255
- onEmptyChange?.(isEmpty);
9256
- },
9257
- placeholder,
9258
- bordered: true,
9259
- inlineContentSpecs,
9260
- renderOverlays,
9261
- enableMentions,
9262
- mentionSearchFn,
9263
- mentionSearchParams,
9264
- mentionResolveFn,
9265
- className: cn(stretch && "min-h-0 flex-1")
9249
+ form,
9250
+ name: id,
9251
+ label: name,
9252
+ isRequired,
9253
+ description,
9254
+ testId,
9255
+ children: (field) => /* @__PURE__ */ jsx74(
9256
+ BlockNoteEditorContainer,
9257
+ {
9258
+ id: form.getValues("id"),
9259
+ type,
9260
+ initialContent: field.value,
9261
+ onChange: (content, isEmpty) => {
9262
+ field.onChange(content);
9263
+ onEmptyChange?.(isEmpty);
9264
+ },
9265
+ placeholder,
9266
+ bordered: true,
9267
+ inlineContentSpecs,
9268
+ renderOverlays,
9269
+ enableMentions,
9270
+ mentionSearchFn,
9271
+ mentionSearchParams,
9272
+ mentionResolveFn,
9273
+ className: cn(stretch && "min-h-0 flex-1")
9274
+ }
9275
+ )
9266
9276
  }
9267
9277
  )
9268
9278
  }
9269
- ) });
9279
+ );
9270
9280
  }
9271
9281
  __name(FormBlockNote, "FormBlockNote");
9272
9282
 
@@ -21748,4 +21758,4 @@ export {
21748
21758
  useOAuthClients,
21749
21759
  useOAuthClient
21750
21760
  };
21751
- //# sourceMappingURL=chunk-T2NYLP7P.mjs.map
21761
+ //# sourceMappingURL=chunk-6L3PWVNO.mjs.map