@carlonicora/nextjs-jsonapi 3.17.0 → 3.19.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-WZQZKCKW.mjs"), {
10396
10396
  ssr: false
10397
10397
  });
10398
10398
  var BlockNoteEditorContainer = React18.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
@@ -10970,13 +10970,8 @@ function FormRow({
10970
10970
  columns = 2,
10971
10971
  className
10972
10972
  }) {
10973
- return /* @__PURE__ */ jsx96(
10974
- "div",
10975
- {
10976
- className: cn("grid grid-cols-1 gap-x-4 gap-y-4", columns === 3 ? "md:grid-cols-3" : "md:grid-cols-2", className),
10977
- children
10978
- }
10979
- );
10973
+ const columnClass = columns === 4 ? "md:grid-cols-4" : columns === 3 ? "md:grid-cols-3" : "md:grid-cols-2";
10974
+ return /* @__PURE__ */ jsx96("div", { className: cn("grid grid-cols-1 gap-x-4 gap-y-4", columnClass, className), children });
10980
10975
  }
10981
10976
  __name(FormRow, "FormRow");
10982
10977
  function FormCol({
@@ -15578,6 +15573,7 @@ function RoundPageContainer({
15578
15573
  forceHeader,
15579
15574
  header,
15580
15575
  layout: layout2 = "tabs",
15576
+ railHeader,
15581
15577
  onSectionChange,
15582
15578
  testId,
15583
15579
  defaultDetailsOpen = false,
@@ -15743,7 +15739,7 @@ function RoundPageContainer({
15743
15739
  orientation: "horizontal",
15744
15740
  className: cn(`flex min-w-0 grow data-[orientation=horizontal]:flex-row`, isFixed && `h-full`, clip),
15745
15741
  children: [
15746
- /* @__PURE__ */ jsx169(
15742
+ /* @__PURE__ */ jsxs94(
15747
15743
  "aside",
15748
15744
  {
15749
15745
  "data-testid": "round-page-rail",
@@ -15752,16 +15748,20 @@ function RoundPageContainer({
15752
15748
  `hidden shrink-0 border-e p-4 md:flex md:w-56 md:flex-col`,
15753
15749
  isFixed && `md:overflow-y-auto`
15754
15750
  ),
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
- ] })
15751
+ children: [
15752
+ railHeader && /* @__PURE__ */ jsx169("div", { children: railHeader }),
15753
+ /* @__PURE__ */ jsxs94(TabsList, { className: "flex h-auto w-full flex-col items-stretch gap-0.5 bg-transparent p-0", children: [
15754
+ ungrouped.map((tab) => /* @__PURE__ */ jsx169(TabsTrigger, { value: tabValue(tab), className: railTriggerClass, children: tab.contentLabel ?? tab.label }, tab.label)),
15755
+ groups.map((group) => /* @__PURE__ */ jsxs94(Fragment23, { children: [
15756
+ /* @__PURE__ */ jsx169(MicroLabel, { as: "span", role: "presentation", className: "block px-3 pt-3 pb-1", children: group.label }),
15757
+ group.items.map((tab) => /* @__PURE__ */ jsx169(TabsTrigger, { value: tabValue(tab), className: railTriggerClass, children: tab.contentLabel ?? tab.label }, tab.label))
15758
+ ] }, group.label))
15759
+ ] })
15760
+ ]
15762
15761
  }
15763
15762
  ),
15764
15763
  /* @__PURE__ */ jsxs94("div", { className: cn(`flex min-w-0 grow flex-col`, clip), children: [
15764
+ railHeader && /* @__PURE__ */ jsx169("div", { className: "mx-auto w-full max-w-48 px-2 pt-2 md:hidden", children: railHeader }),
15765
15765
  /* @__PURE__ */ jsx169("div", { "data-testid": "round-page-rail-select", className: "p-2 md:hidden", children: /* @__PURE__ */ jsxs94(
15766
15766
  Select,
15767
15767
  {
@@ -27018,4 +27018,4 @@ export {
27018
27018
  useOAuthClients,
27019
27019
  useOAuthClient
27020
27020
  };
27021
- //# sourceMappingURL=chunk-MHR553J3.mjs.map
27021
+ //# sourceMappingURL=chunk-URMAOAAZ.mjs.map