@carlonicora/nextjs-jsonapi 2.1.1 → 2.1.3

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.
@@ -10165,7 +10165,7 @@ import { useRef as useRef17 } from "react";
10165
10165
  import dynamic from "next/dynamic";
10166
10166
  import React17 from "react";
10167
10167
  import { jsx as jsx86 } from "react/jsx-runtime";
10168
- var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-T7TIA5KG.mjs"), {
10168
+ var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-75CHO24E.mjs"), {
10169
10169
  ssr: false
10170
10170
  });
10171
10171
  var BlockNoteEditorContainer = React17.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
@@ -14615,7 +14615,10 @@ function Header({ children, mobileChildren, leftContent, logo, className }) {
14615
14615
  /* @__PURE__ */ jsx153(SidebarTrigger, { "aria-label": "Toggle sidebar", id: "sidebar-trigger" }),
14616
14616
  leftContent,
14617
14617
  /* @__PURE__ */ jsx153("div", { className: "flex w-full flex-row items-center justify-start", children: /* @__PURE__ */ jsx153(BreadcrumbNavigation, { items: breadcrumbs, rootLabel: rootLabel ?? void 0 }) }),
14618
- isMobile ? mobileChildren && /* @__PURE__ */ jsx153("div", { className: "flex shrink-0 flex-row items-center justify-end gap-x-2 whitespace-nowrap", children: mobileChildren }) : children && /* @__PURE__ */ jsx153("div", { className: "flex w-64 flex-row items-center justify-end gap-x-4 whitespace-nowrap", children: /* @__PURE__ */ jsx153("div", { className: "flex flex-row items-center justify-end gap-x-4 whitespace-nowrap", children }) })
14618
+ isMobile ? mobileChildren && /* @__PURE__ */ jsx153("div", { className: "flex shrink-0 flex-row items-center justify-end gap-x-2 whitespace-nowrap", children: mobileChildren }) : children && // No fixed width: the widget slot sizes to its content and the
14619
+ // breadcrumb (w-full, above) takes the rest. A `w-64` cap here
14620
+ // clipped consumers whose widget set outgrew 256px.
14621
+ /* @__PURE__ */ jsx153("div", { className: "flex shrink-0 flex-row items-center justify-end gap-x-4 whitespace-nowrap", children })
14619
14622
  ] })
14620
14623
  }
14621
14624
  )
@@ -16890,7 +16893,7 @@ var ContentListTable = memo(/* @__PURE__ */ __name(function ContentListTable2(pr
16890
16893
  (props.functions || props.filters || allowSearch) && /* @__PURE__ */ jsxs102(Fragment28, { children: [
16891
16894
  props.functions,
16892
16895
  props.filters,
16893
- /* @__PURE__ */ jsx180(ContentTableSearch, { data })
16896
+ allowSearch !== false && /* @__PURE__ */ jsx180(ContentTableSearch, { data })
16894
16897
  ] })
16895
16898
  ] })
16896
16899
  }
@@ -24327,4 +24330,4 @@ export {
24327
24330
  useOAuthClients,
24328
24331
  useOAuthClient
24329
24332
  };
24330
- //# sourceMappingURL=chunk-MOMRJHT3.mjs.map
24333
+ //# sourceMappingURL=chunk-KIFJ7JRO.mjs.map