@carlonicora/nextjs-jsonapi 3.17.0 → 3.18.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.
@@ -10392,7 +10392,7 @@ import { useRef as useRef17 } from "react";
10392
10392
  import dynamic from "next/dynamic";
10393
10393
  import React18 from "react";
10394
10394
  import { jsx as jsx90 } from "react/jsx-runtime";
10395
- var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-6DYL5NZD.mjs"), {
10395
+ var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-OJTGGL67.mjs"), {
10396
10396
  ssr: false
10397
10397
  });
10398
10398
  var BlockNoteEditorContainer = React18.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
@@ -15578,6 +15578,7 @@ function RoundPageContainer({
15578
15578
  forceHeader,
15579
15579
  header,
15580
15580
  layout: layout2 = "tabs",
15581
+ railHeader,
15581
15582
  onSectionChange,
15582
15583
  testId,
15583
15584
  defaultDetailsOpen = false,
@@ -15743,7 +15744,7 @@ function RoundPageContainer({
15743
15744
  orientation: "horizontal",
15744
15745
  className: cn(`flex min-w-0 grow data-[orientation=horizontal]:flex-row`, isFixed && `h-full`, clip),
15745
15746
  children: [
15746
- /* @__PURE__ */ jsx169(
15747
+ /* @__PURE__ */ jsxs94(
15747
15748
  "aside",
15748
15749
  {
15749
15750
  "data-testid": "round-page-rail",
@@ -15752,16 +15753,20 @@ function RoundPageContainer({
15752
15753
  `hidden shrink-0 border-e p-4 md:flex md:w-56 md:flex-col`,
15753
15754
  isFixed && `md:overflow-y-auto`
15754
15755
  ),
15755
- children: /* @__PURE__ */ jsxs94(TabsList, { className: "flex h-auto w-full flex-col items-stretch gap-0.5 bg-transparent p-0", children: [
15756
- ungrouped.map((tab) => /* @__PURE__ */ jsx169(TabsTrigger, { value: tabValue(tab), className: railTriggerClass, children: tab.contentLabel ?? tab.label }, tab.label)),
15757
- groups.map((group) => /* @__PURE__ */ jsxs94(Fragment23, { children: [
15758
- /* @__PURE__ */ jsx169(MicroLabel, { as: "span", role: "presentation", className: "block px-3 pt-3 pb-1", children: group.label }),
15759
- group.items.map((tab) => /* @__PURE__ */ jsx169(TabsTrigger, { value: tabValue(tab), className: railTriggerClass, children: tab.contentLabel ?? tab.label }, tab.label))
15760
- ] }, group.label))
15761
- ] })
15756
+ children: [
15757
+ railHeader && /* @__PURE__ */ jsx169("div", { children: railHeader }),
15758
+ /* @__PURE__ */ jsxs94(TabsList, { className: "flex h-auto w-full flex-col items-stretch gap-0.5 bg-transparent p-0", children: [
15759
+ ungrouped.map((tab) => /* @__PURE__ */ jsx169(TabsTrigger, { value: tabValue(tab), className: railTriggerClass, children: tab.contentLabel ?? tab.label }, tab.label)),
15760
+ groups.map((group) => /* @__PURE__ */ jsxs94(Fragment23, { children: [
15761
+ /* @__PURE__ */ jsx169(MicroLabel, { as: "span", role: "presentation", className: "block px-3 pt-3 pb-1", children: group.label }),
15762
+ group.items.map((tab) => /* @__PURE__ */ jsx169(TabsTrigger, { value: tabValue(tab), className: railTriggerClass, children: tab.contentLabel ?? tab.label }, tab.label))
15763
+ ] }, group.label))
15764
+ ] })
15765
+ ]
15762
15766
  }
15763
15767
  ),
15764
15768
  /* @__PURE__ */ jsxs94("div", { className: cn(`flex min-w-0 grow flex-col`, clip), children: [
15769
+ railHeader && /* @__PURE__ */ jsx169("div", { className: "mx-auto w-full max-w-48 px-2 pt-2 md:hidden", children: railHeader }),
15765
15770
  /* @__PURE__ */ jsx169("div", { "data-testid": "round-page-rail-select", className: "p-2 md:hidden", children: /* @__PURE__ */ jsxs94(
15766
15771
  Select,
15767
15772
  {
@@ -27018,4 +27023,4 @@ export {
27018
27023
  useOAuthClients,
27019
27024
  useOAuthClient
27020
27025
  };
27021
- //# sourceMappingURL=chunk-MHR553J3.mjs.map
27026
+ //# sourceMappingURL=chunk-4WUD3DDO.mjs.map