@carlonicora/nextjs-jsonapi 1.87.2 → 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.
- package/dist/{BlockNoteEditor-WCXUKEI6.js → BlockNoteEditor-QYJNJ4ZU.js} +8 -8
- package/dist/{BlockNoteEditor-WCXUKEI6.js.map → BlockNoteEditor-QYJNJ4ZU.js.map} +1 -1
- package/dist/{BlockNoteEditor-RECSY7IH.mjs → BlockNoteEditor-Y33UF3NL.mjs} +2 -2
- package/dist/billing/index.js +299 -299
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-FHG34KMN.mjs → chunk-6L3PWVNO.mjs} +44 -26
- package/dist/chunk-6L3PWVNO.mjs.map +1 -0
- package/dist/{chunk-DNK5XQBD.js → chunk-QGHPKVW2.js} +44 -26
- package/dist/chunk-QGHPKVW2.js.map +1 -0
- package/dist/client/index.js +2 -2
- package/dist/client/index.mjs +1 -1
- package/dist/components/index.d.mts +8 -1
- package/dist/components/index.d.ts +8 -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 +22 -1
- package/dist/chunk-DNK5XQBD.js.map +0 -1
- package/dist/chunk-FHG34KMN.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-RECSY7IH.mjs.map → BlockNoteEditor-Y33UF3NL.mjs.map} +0 -0
package/dist/billing/index.mjs
CHANGED
|
@@ -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-
|
|
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) {
|
|
@@ -9229,36 +9229,54 @@ function FormBlockNote({
|
|
|
9229
9229
|
inlineContentSpecs,
|
|
9230
9230
|
renderOverlays,
|
|
9231
9231
|
className,
|
|
9232
|
-
stretch = false
|
|
9232
|
+
stretch = false,
|
|
9233
|
+
enableMentions,
|
|
9234
|
+
mentionSearchFn,
|
|
9235
|
+
mentionSearchParams,
|
|
9236
|
+
mentionResolveFn
|
|
9233
9237
|
}) {
|
|
9234
|
-
return /* @__PURE__ */ jsx74(
|
|
9235
|
-
|
|
9238
|
+
return /* @__PURE__ */ jsx74(
|
|
9239
|
+
"div",
|
|
9236
9240
|
{
|
|
9237
|
-
|
|
9238
|
-
|
|
9239
|
-
|
|
9240
|
-
|
|
9241
|
-
|
|
9242
|
-
|
|
9243
|
-
|
|
9244
|
-
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,
|
|
9245
9248
|
{
|
|
9246
|
-
|
|
9247
|
-
|
|
9248
|
-
|
|
9249
|
-
|
|
9250
|
-
|
|
9251
|
-
|
|
9252
|
-
|
|
9253
|
-
|
|
9254
|
-
|
|
9255
|
-
|
|
9256
|
-
|
|
9257
|
-
|
|
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
|
+
)
|
|
9258
9276
|
}
|
|
9259
9277
|
)
|
|
9260
9278
|
}
|
|
9261
|
-
)
|
|
9279
|
+
);
|
|
9262
9280
|
}
|
|
9263
9281
|
__name(FormBlockNote, "FormBlockNote");
|
|
9264
9282
|
|
|
@@ -21740,4 +21758,4 @@ export {
|
|
|
21740
21758
|
useOAuthClients,
|
|
21741
21759
|
useOAuthClient
|
|
21742
21760
|
};
|
|
21743
|
-
//# sourceMappingURL=chunk-
|
|
21761
|
+
//# sourceMappingURL=chunk-6L3PWVNO.mjs.map
|