@carlonicora/nextjs-jsonapi 1.130.0 → 1.131.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.
@@ -48,7 +48,7 @@ import {
48
48
  TabsList,
49
49
  TabsTrigger,
50
50
  useCurrentUserContext
51
- } from "../chunk-NXHNJCY2.mjs";
51
+ } from "../chunk-4TM6GOT3.mjs";
52
52
  import {
53
53
  getRoleId,
54
54
  getStripePublishableKey
@@ -10038,7 +10038,7 @@ import { useRef as useRef17 } from "react";
10038
10038
  import dynamic from "next/dynamic";
10039
10039
  import React17 from "react";
10040
10040
  import { jsx as jsx85 } from "react/jsx-runtime";
10041
- var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-KARBUMFE.mjs"), {
10041
+ var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-Q2GLKMFU.mjs"), {
10042
10042
  ssr: false
10043
10043
  });
10044
10044
  var BlockNoteEditorContainer = React17.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
@@ -14631,36 +14631,39 @@ function RoundPageContainerTitle({
14631
14631
  }) {
14632
14632
  const { title } = useSharedContext();
14633
14633
  const isMobile = useIsMobile();
14634
- return /* @__PURE__ */ jsxs92("div", { className: cn(`flex w-full flex-row items-center gap-x-2 border-b p-4 justify-between`), children: [
14635
- !isMobile ? /* @__PURE__ */ jsxs92("div", { className: "flex w-full gap-x-4", children: [
14636
- /* @__PURE__ */ jsxs92("div", { className: "text-muted-foreground flex items-center gap-x-2 text-lg font-light whitespace-nowrap", children: [
14634
+ return /* @__PURE__ */ jsxs92("div", { className: "flex w-full flex-col border-b", children: [
14635
+ /* @__PURE__ */ jsxs92("div", { className: cn(`flex w-full flex-row items-center gap-x-2 p-4 justify-between`), children: [
14636
+ !isMobile ? /* @__PURE__ */ jsxs92("div", { className: "flex w-full gap-x-4", children: [
14637
+ /* @__PURE__ */ jsxs92("div", { className: "text-muted-foreground flex items-center gap-x-2 text-lg font-light whitespace-nowrap", children: [
14638
+ title.titleActions,
14639
+ module && module.icon ? /* @__PURE__ */ jsx156(module.icon, { className: "text-primary h-6 w-6" }) : title.icon,
14640
+ title.type
14641
+ ] }),
14642
+ /* @__PURE__ */ jsx156("div", { className: cn("text-primary w-full text-xl font-semibold"), children: title.element })
14643
+ ] }) : /* @__PURE__ */ jsxs92("div", { className: "text-muted-foreground flex min-w-0 items-center gap-x-2 text-base font-light", children: [
14637
14644
  title.titleActions,
14638
- module && module.icon ? /* @__PURE__ */ jsx156(module.icon, { className: "text-primary h-6 w-6" }) : title.icon,
14639
- title.type
14645
+ module && module.icon ? /* @__PURE__ */ jsx156(module.icon, { className: "text-primary h-5 w-5 shrink-0" }) : title.icon,
14646
+ /* @__PURE__ */ jsx156("span", { className: "truncate", children: title.type })
14640
14647
  ] }),
14641
- /* @__PURE__ */ jsx156("div", { className: cn("text-primary w-full text-xl font-semibold"), children: title.element })
14642
- ] }) : /* @__PURE__ */ jsxs92("div", { className: "text-muted-foreground flex min-w-0 items-center gap-x-2 text-base font-light", children: [
14643
- title.titleActions,
14644
- module && module.icon ? /* @__PURE__ */ jsx156(module.icon, { className: "text-primary h-5 w-5 shrink-0" }) : title.icon,
14645
- /* @__PURE__ */ jsx156("span", { className: "truncate", children: title.type })
14646
- ] }),
14647
- (title.functions || details) && /* @__PURE__ */ jsxs92("div", { className: "flex shrink-0 items-center gap-x-2", children: [
14648
- title.functions,
14649
- details && /* @__PURE__ */ jsxs92(Tooltip2, { children: [
14650
- /* @__PURE__ */ jsx156(TooltipTrigger, { children: /* @__PURE__ */ jsx156(
14651
- Button,
14652
- {
14653
- render: /* @__PURE__ */ jsx156("div", {}),
14654
- nativeButton: false,
14655
- variant: showDetails ? `ghost` : `default`,
14656
- onClick: () => setShowDetails(!showDetails),
14657
- className: cn(`cursor-pointer`),
14658
- children: /* @__PURE__ */ jsx156(InfoIcon2, {})
14659
- }
14660
- ) }),
14661
- /* @__PURE__ */ jsx156(TooltipContent, { children: showDetails ? "Hide details" : "Show details" })
14648
+ (title.functions || details) && /* @__PURE__ */ jsxs92("div", { className: "flex shrink-0 items-center gap-x-2", children: [
14649
+ title.functions,
14650
+ details && /* @__PURE__ */ jsxs92(Tooltip2, { children: [
14651
+ /* @__PURE__ */ jsx156(TooltipTrigger, { children: /* @__PURE__ */ jsx156(
14652
+ Button,
14653
+ {
14654
+ render: /* @__PURE__ */ jsx156("div", {}),
14655
+ nativeButton: false,
14656
+ variant: showDetails ? `ghost` : `default`,
14657
+ onClick: () => setShowDetails(!showDetails),
14658
+ className: cn(`cursor-pointer`),
14659
+ children: /* @__PURE__ */ jsx156(InfoIcon2, {})
14660
+ }
14661
+ ) }),
14662
+ /* @__PURE__ */ jsx156(TooltipContent, { children: showDetails ? "Hide details" : "Show details" })
14663
+ ] })
14662
14664
  ] })
14663
- ] })
14665
+ ] }),
14666
+ title.actionBar && /* @__PURE__ */ jsx156("div", { "data-testid": "round-page-action-bar", className: "flex w-full items-center border-t px-4 py-2", children: title.actionBar })
14664
14667
  ] });
14665
14668
  }
14666
14669
  __name(RoundPageContainerTitle, "RoundPageContainerTitle");
@@ -23611,4 +23614,4 @@ export {
23611
23614
  useOAuthClients,
23612
23615
  useOAuthClient
23613
23616
  };
23614
- //# sourceMappingURL=chunk-NXHNJCY2.mjs.map
23617
+ //# sourceMappingURL=chunk-4TM6GOT3.mjs.map