@carlonicora/nextjs-jsonapi 1.139.3 → 1.140.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-VE63XTXR.js → BlockNoteEditor-CBZ64OBS.js} +9 -9
- package/dist/{BlockNoteEditor-VE63XTXR.js.map → BlockNoteEditor-CBZ64OBS.js.map} +1 -1
- package/dist/{BlockNoteEditor-6I6WZ6BZ.mjs → BlockNoteEditor-EA6XBEGN.mjs} +2 -2
- package/dist/billing/index.js +310 -310
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-HZRLDCRP.js → chunk-DG3LUNET.js} +18 -4
- package/dist/chunk-DG3LUNET.js.map +1 -0
- package/dist/{chunk-MIKRYX5B.mjs → chunk-NLPJOLO4.mjs} +18 -4
- package/dist/chunk-NLPJOLO4.mjs.map +1 -0
- package/dist/client/index.js +2 -2
- package/dist/client/index.mjs +1 -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/dist/features/help/index.js +31 -31
- package/dist/features/help/index.mjs +1 -1
- package/package.json +1 -1
- package/src/components/forms/EditorSheet.tsx +7 -1
- package/src/components/typography/SectionHeader.tsx +5 -1
- package/dist/chunk-HZRLDCRP.js.map +0 -1
- package/dist/chunk-MIKRYX5B.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-6I6WZ6BZ.mjs.map → BlockNoteEditor-EA6XBEGN.mjs.map} +0 -0
|
@@ -8625,7 +8625,15 @@ import { useCallback as useCallback20, useEffect as useEffect24, useRef as useRe
|
|
|
8625
8625
|
import { jsx as jsx69 } from "react/jsx-runtime";
|
|
8626
8626
|
function SectionHeader({ level = 3, className, children, ...props }) {
|
|
8627
8627
|
const Tag = level === 2 ? "h2" : "h3";
|
|
8628
|
-
return /* @__PURE__ */ jsx69(
|
|
8628
|
+
return /* @__PURE__ */ jsx69(
|
|
8629
|
+
Tag,
|
|
8630
|
+
{
|
|
8631
|
+
"data-slot": "section-header",
|
|
8632
|
+
className: cn(level === 2 ? "text-xl font-semibold" : "text-lg font-semibold", className),
|
|
8633
|
+
...props,
|
|
8634
|
+
children
|
|
8635
|
+
}
|
|
8636
|
+
);
|
|
8629
8637
|
}
|
|
8630
8638
|
__name(SectionHeader, "SectionHeader");
|
|
8631
8639
|
|
|
@@ -9568,7 +9576,13 @@ function EditorSheet({
|
|
|
9568
9576
|
// button — otherwise an interactive trigger (e.g. <Button>) nests a
|
|
9569
9577
|
// <button> inside SheetTrigger's <button> (invalid HTML / hydration
|
|
9570
9578
|
// error). `render` also preserves the element's native `disabled`.
|
|
9571
|
-
|
|
9579
|
+
//
|
|
9580
|
+
// `nativeButton={false}` because this package's trigger convention is
|
|
9581
|
+
// `<Button render={<div />} nativeButton={false}>` (see the package
|
|
9582
|
+
// CLAUDE.md "pointer cursor" note). Without it the Trigger defaults to
|
|
9583
|
+
// `nativeButton: true`, promising a native <button> it never renders,
|
|
9584
|
+
// and Base UI logs a semantics/accessibility error at runtime.
|
|
9585
|
+
/* @__PURE__ */ jsx83(SheetTrigger, { nativeButton: false, render: trigger })
|
|
9572
9586
|
) : /* @__PURE__ */ jsx83(SheetTrigger, { children: isEdit ? /* @__PURE__ */ jsx83(
|
|
9573
9587
|
Button,
|
|
9574
9588
|
{
|
|
@@ -10114,7 +10128,7 @@ import { useRef as useRef17 } from "react";
|
|
|
10114
10128
|
import dynamic from "next/dynamic";
|
|
10115
10129
|
import React17 from "react";
|
|
10116
10130
|
import { jsx as jsx86 } from "react/jsx-runtime";
|
|
10117
|
-
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-
|
|
10131
|
+
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-EA6XBEGN.mjs"), {
|
|
10118
10132
|
ssr: false
|
|
10119
10133
|
});
|
|
10120
10134
|
var BlockNoteEditorContainer = React17.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
|
|
@@ -23888,4 +23902,4 @@ export {
|
|
|
23888
23902
|
useOAuthClients,
|
|
23889
23903
|
useOAuthClient
|
|
23890
23904
|
};
|
|
23891
|
-
//# sourceMappingURL=chunk-
|
|
23905
|
+
//# sourceMappingURL=chunk-NLPJOLO4.mjs.map
|