@carlonicora/nextjs-jsonapi 3.6.0 → 3.7.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.
@@ -10343,7 +10343,7 @@ import { useRef as useRef17 } from "react";
10343
10343
  import dynamic from "next/dynamic";
10344
10344
  import React18 from "react";
10345
10345
  import { jsx as jsx89 } from "react/jsx-runtime";
10346
- var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-5MOYLQXK.mjs"), {
10346
+ var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-FOMCB6IB.mjs"), {
10347
10347
  ssr: false
10348
10348
  });
10349
10349
  var BlockNoteEditorContainer = React18.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
@@ -17412,6 +17412,7 @@ var ContentListTable = memo(/* @__PURE__ */ __name(function ContentListTable2(pr
17412
17412
  }));
17413
17413
  }, [props.groupBy, props.groupOrder, rowModel]);
17414
17414
  const showFooter = !!(data.next || data.previous);
17415
+ const titleIsLarge = (props.titleSize ?? (fullWidth ? `lg` : `sm`)) === `lg`;
17415
17416
  return /* @__PURE__ */ jsx187("div", { className: "flex w-full flex-col", children: /* @__PURE__ */ jsx187("div", { className: cn(`overflow-clip`, fullWidth ? `` : `rounded-md border`), children: /* @__PURE__ */ jsxs103(Table, { children: [
17416
17417
  /* @__PURE__ */ jsxs103(TableHeader, { className: "bg-muted font-semibold", children: [
17417
17418
  props.title && /* @__PURE__ */ jsx187(TableRow, { children: /* @__PURE__ */ jsx187(
@@ -17425,14 +17426,14 @@ var ContentListTable = memo(/* @__PURE__ */ __name(function ContentListTable2(pr
17425
17426
  {
17426
17427
  className: cn(
17427
17428
  "text-muted-foreground flex items-center gap-x-2 font-light whitespace-nowrap",
17428
- fullWidth ? `text-lg` : `text-sm`
17429
+ titleIsLarge ? `text-lg` : `text-sm`
17429
17430
  ),
17430
17431
  children: [
17431
17432
  props.titleActions,
17432
17433
  props.tableGeneratorType.icon && /* @__PURE__ */ jsx187(
17433
17434
  props.tableGeneratorType.icon,
17434
17435
  {
17435
- className: cn(`text-primary`, fullWidth ? `h-6 w-6` : `h-4 w-4`)
17436
+ className: cn(`text-primary`, titleIsLarge ? `h-6 w-6` : `h-4 w-4`)
17436
17437
  }
17437
17438
  ),
17438
17439
  props.title
@@ -25647,4 +25648,4 @@ export {
25647
25648
  useOAuthClients,
25648
25649
  useOAuthClient
25649
25650
  };
25650
- //# sourceMappingURL=chunk-T4PD3Z6G.mjs.map
25651
+ //# sourceMappingURL=chunk-WBXZGSRA.mjs.map