@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.
@@ -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(Tag, { "data-slot": "section-header", className: cn("text-lg font-semibold", className), ...props, children });
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
- /* @__PURE__ */ jsx83(SheetTrigger, { render: trigger })
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-6I6WZ6BZ.mjs"), {
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-MIKRYX5B.mjs.map
23905
+ //# sourceMappingURL=chunk-NLPJOLO4.mjs.map