@carlonicora/nextjs-jsonapi 1.87.0 → 1.87.2

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.
@@ -6083,7 +6083,6 @@ var TableGeneratorRegistry = class _TableGeneratorRegistry {
6083
6083
  var tableGeneratorRegistry = TableGeneratorRegistry.getInstance();
6084
6084
 
6085
6085
  // src/hooks/url.rewriter.ts
6086
- import { useLocale } from "next-intl";
6087
6086
  import { useCallback as useCallback5 } from "react";
6088
6087
 
6089
6088
  // src/hooks/usePageUrlGenerator.ts
@@ -6120,7 +6119,6 @@ __name(usePageUrlGenerator, "usePageUrlGenerator");
6120
6119
 
6121
6120
  // src/hooks/url.rewriter.ts
6122
6121
  function useUrlRewriter() {
6123
- const locale = useLocale();
6124
6122
  const generateUrl = usePageUrlGenerator();
6125
6123
  return useCallback5(
6126
6124
  (params) => {
@@ -6132,12 +6130,11 @@ function useUrlRewriter() {
6132
6130
  id: params.id,
6133
6131
  childPage: params.childPage,
6134
6132
  childId: params.childId,
6135
- language: locale,
6136
6133
  additionalParameters: params.additionalParameters
6137
6134
  })
6138
6135
  );
6139
6136
  },
6140
- [locale, generateUrl]
6137
+ [generateUrl]
6141
6138
  );
6142
6139
  }
6143
6140
  __name(useUrlRewriter, "useUrlRewriter");
@@ -9210,7 +9207,7 @@ __name(FormCheckbox, "FormCheckbox");
9210
9207
  import dynamic from "next/dynamic";
9211
9208
  import React14 from "react";
9212
9209
  import { jsx as jsx73 } from "react/jsx-runtime";
9213
- var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-BEEHBP3H.mjs"), {
9210
+ var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-RECSY7IH.mjs"), {
9214
9211
  ssr: false
9215
9212
  });
9216
9213
  var BlockNoteEditorContainer = React14.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
@@ -9230,9 +9227,11 @@ function FormBlockNote({
9230
9227
  testId,
9231
9228
  onEmptyChange,
9232
9229
  inlineContentSpecs,
9233
- renderOverlays
9230
+ renderOverlays,
9231
+ className,
9232
+ stretch = false
9234
9233
  }) {
9235
- return /* @__PURE__ */ jsx74("div", { className: "flex w-full flex-col", children: /* @__PURE__ */ jsx74(
9234
+ return /* @__PURE__ */ jsx74("div", { className: cn("flex w-full flex-col", stretch && className), children: /* @__PURE__ */ jsx74(
9236
9235
  FormFieldWrapper,
9237
9236
  {
9238
9237
  form,
@@ -9254,7 +9253,8 @@ function FormBlockNote({
9254
9253
  placeholder,
9255
9254
  bordered: true,
9256
9255
  inlineContentSpecs,
9257
- renderOverlays
9256
+ renderOverlays,
9257
+ className: cn(stretch && "min-h-0 flex-1")
9258
9258
  }
9259
9259
  )
9260
9260
  }
@@ -21740,4 +21740,4 @@ export {
21740
21740
  useOAuthClients,
21741
21741
  useOAuthClient
21742
21742
  };
21743
- //# sourceMappingURL=chunk-6NA65ZMT.mjs.map
21743
+ //# sourceMappingURL=chunk-FHG34KMN.mjs.map