@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.
- package/dist/{BlockNoteEditor-BEEHBP3H.mjs → BlockNoteEditor-RECSY7IH.mjs} +2 -2
- package/dist/{BlockNoteEditor-BLNCCSG4.js → BlockNoteEditor-WCXUKEI6.js} +8 -8
- package/dist/{BlockNoteEditor-BLNCCSG4.js.map → BlockNoteEditor-WCXUKEI6.js.map} +1 -1
- package/dist/billing/index.js +299 -299
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-GNJHCLAL.js → chunk-DNK5XQBD.js} +9 -9
- package/dist/chunk-DNK5XQBD.js.map +1 -0
- package/dist/{chunk-6NA65ZMT.mjs → chunk-FHG34KMN.mjs} +9 -9
- package/dist/chunk-FHG34KMN.mjs.map +1 -0
- package/dist/client/index.js +2 -2
- package/dist/client/index.mjs +1 -1
- package/dist/components/index.d.mts +7 -1
- package/dist/components/index.d.ts +7 -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 +11 -1
- package/src/hooks/url.rewriter.ts +1 -4
- package/dist/chunk-6NA65ZMT.mjs.map +0 -1
- package/dist/chunk-GNJHCLAL.js.map +0 -1
- /package/dist/{BlockNoteEditor-BEEHBP3H.mjs.map → BlockNoteEditor-RECSY7IH.mjs.map} +0 -0
|
@@ -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
|
-
[
|
|
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-
|
|
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-
|
|
21743
|
+
//# sourceMappingURL=chunk-FHG34KMN.mjs.map
|