@carlonicora/nextjs-jsonapi 1.71.0 → 1.72.0
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-JWTEY33V.mjs → BlockNoteEditor-FGZ2MOTZ.mjs} +2 -2
- package/dist/{BlockNoteEditor-NFMUHBKE.js → BlockNoteEditor-LHOIPHHB.js} +6 -6
- package/dist/{BlockNoteEditor-NFMUHBKE.js.map → BlockNoteEditor-LHOIPHHB.js.map} +1 -1
- package/dist/billing/index.js +299 -299
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-RSMG3K44.mjs → chunk-ATOD6MGB.mjs} +6 -4
- package/dist/{chunk-RSMG3K44.mjs.map → chunk-ATOD6MGB.mjs.map} +1 -1
- package/dist/{chunk-WBYS53RC.js → chunk-Y7S56ZT3.js} +6 -4
- package/dist/chunk-Y7S56ZT3.js.map +1 -0
- package/dist/client/index.js +2 -2
- package/dist/client/index.mjs +1 -1
- package/dist/components/index.d.mts +3 -1
- package/dist/components/index.d.ts +3 -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/EditorSheet.tsx +12 -6
- package/dist/chunk-WBYS53RC.js.map +0 -1
- /package/dist/{BlockNoteEditor-JWTEY33V.mjs.map → BlockNoteEditor-FGZ2MOTZ.mjs.map} +0 -0
package/dist/billing/index.mjs
CHANGED
|
@@ -8145,6 +8145,8 @@ function EditorSheet({
|
|
|
8145
8145
|
isFormDirty: isFormDirtyProp,
|
|
8146
8146
|
entityType,
|
|
8147
8147
|
entityName,
|
|
8148
|
+
title: titleOverride,
|
|
8149
|
+
description: descriptionOverride,
|
|
8148
8150
|
isEdit,
|
|
8149
8151
|
module,
|
|
8150
8152
|
propagateChanges,
|
|
@@ -8214,8 +8216,8 @@ function EditorSheet({
|
|
|
8214
8216
|
) : /* @__PURE__ */ jsx63(Button, { render: /* @__PURE__ */ jsx63("div", {}), nativeButton: false, size: "sm", variant: "outline", children: t("ui.buttons.create") }) })),
|
|
8215
8217
|
/* @__PURE__ */ jsxs34(SheetContent, { side: "right", className: sizeClasses[size], children: [
|
|
8216
8218
|
/* @__PURE__ */ jsxs34(SheetHeader, { className: "border-b px-6 py-4", children: [
|
|
8217
|
-
/* @__PURE__ */ jsx63(SheetTitle, { children: isEdit ? t("common.edit.update.title", { type: entityType }) : t("common.edit.create.title", { type: entityType }) }),
|
|
8218
|
-
/* @__PURE__ */ jsx63(SheetDescription, { children: isEdit ? t("common.edit.update.description", { type: entityType, name: entityName ?? "" }) : t("common.edit.create.description", { type: entityType }) })
|
|
8219
|
+
/* @__PURE__ */ jsx63(SheetTitle, { children: titleOverride ?? (isEdit ? t("common.edit.update.title", { type: entityType }) : t("common.edit.create.title", { type: entityType })) }),
|
|
8220
|
+
/* @__PURE__ */ jsx63(SheetDescription, { children: descriptionOverride ?? (isEdit ? t("common.edit.update.description", { type: entityType, name: entityName ?? "" }) : t("common.edit.create.description", { type: entityType })) })
|
|
8219
8221
|
] }),
|
|
8220
8222
|
/* @__PURE__ */ jsx63(Form, { ...form, children: /* @__PURE__ */ jsxs34("form", { onSubmit: form.handleSubmit(wrappedOnSubmit), className: "flex min-h-0 flex-1 flex-col", children: [
|
|
8221
8223
|
/* @__PURE__ */ jsx63("div", { className: "flex-1 overflow-y-auto px-6 py-4", children }),
|
|
@@ -8804,7 +8806,7 @@ __name(FormCheckbox, "FormCheckbox");
|
|
|
8804
8806
|
import dynamic from "next/dynamic";
|
|
8805
8807
|
import React14 from "react";
|
|
8806
8808
|
import { jsx as jsx69 } from "react/jsx-runtime";
|
|
8807
|
-
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-
|
|
8809
|
+
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-FGZ2MOTZ.mjs"), {
|
|
8808
8810
|
ssr: false
|
|
8809
8811
|
});
|
|
8810
8812
|
var BlockNoteEditorContainer = React14.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
|
|
@@ -20422,4 +20424,4 @@ export {
|
|
|
20422
20424
|
useOAuthClients,
|
|
20423
20425
|
useOAuthClient
|
|
20424
20426
|
};
|
|
20425
|
-
//# sourceMappingURL=chunk-
|
|
20427
|
+
//# sourceMappingURL=chunk-ATOD6MGB.mjs.map
|