@carlonicora/nextjs-jsonapi 1.126.0 → 1.127.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.
- package/dist/{BlockNoteEditor-ZW6OHTBH.js → BlockNoteEditor-PGTAPCQF.js} +9 -9
- package/dist/{BlockNoteEditor-ZW6OHTBH.js.map → BlockNoteEditor-PGTAPCQF.js.map} +1 -1
- package/dist/{BlockNoteEditor-SONASOXF.mjs → BlockNoteEditor-SMZNQ4CX.mjs} +2 -2
- package/dist/billing/index.js +299 -299
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-CI4D76N6.js → chunk-24RSNGD2.js} +123 -113
- package/dist/chunk-24RSNGD2.js.map +1 -0
- package/dist/{chunk-DUPLW72K.mjs → chunk-JGVMZYAO.mjs} +20 -10
- package/dist/chunk-JGVMZYAO.mjs.map +1 -0
- package/dist/client/index.js +2 -2
- package/dist/client/index.mjs +1 -1
- package/dist/components/index.d.mts +8 -1
- package/dist/components/index.d.ts +8 -1
- package/dist/components/index.js +2 -2
- package/dist/components/index.mjs +1 -1
- package/dist/contexts/index.js +2 -2
- package/dist/contexts/index.mjs +1 -1
- package/dist/features/help/index.js +30 -30
- package/dist/features/help/index.mjs +1 -1
- package/package.json +1 -1
- package/src/components/containers/RoundPageContainer.tsx +28 -4
- package/src/components/containers/RoundPageContainerTitle.tsx +9 -3
- package/dist/chunk-CI4D76N6.js.map +0 -1
- package/dist/chunk-DUPLW72K.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-SONASOXF.mjs.map → BlockNoteEditor-SMZNQ4CX.mjs.map} +0 -0
|
@@ -9972,7 +9972,7 @@ import { useRef as useRef17 } from "react";
|
|
|
9972
9972
|
import dynamic from "next/dynamic";
|
|
9973
9973
|
import React17 from "react";
|
|
9974
9974
|
import { jsx as jsx82 } from "react/jsx-runtime";
|
|
9975
|
-
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-
|
|
9975
|
+
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-SMZNQ4CX.mjs"), {
|
|
9976
9976
|
ssr: false
|
|
9977
9977
|
});
|
|
9978
9978
|
var BlockNoteEditorContainer = React17.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
|
|
@@ -14565,16 +14565,20 @@ function RoundPageContainerTitle({
|
|
|
14565
14565
|
}) {
|
|
14566
14566
|
const { title } = useSharedContext();
|
|
14567
14567
|
const isMobile = useIsMobile();
|
|
14568
|
-
return /* @__PURE__ */ jsxs91("div", { className: cn(`flex w-full flex-row items-center border-b p-4
|
|
14569
|
-
!isMobile
|
|
14568
|
+
return /* @__PURE__ */ jsxs91("div", { className: cn(`flex w-full flex-row items-center gap-x-2 border-b p-4 justify-between`), children: [
|
|
14569
|
+
!isMobile ? /* @__PURE__ */ jsxs91("div", { className: "flex w-full gap-x-4", children: [
|
|
14570
14570
|
/* @__PURE__ */ jsxs91("div", { className: "text-muted-foreground flex items-center gap-x-2 text-lg font-light whitespace-nowrap", children: [
|
|
14571
14571
|
title.titleActions,
|
|
14572
14572
|
module && module.icon ? /* @__PURE__ */ jsx153(module.icon, { className: "text-primary h-6 w-6" }) : title.icon,
|
|
14573
14573
|
title.type
|
|
14574
14574
|
] }),
|
|
14575
14575
|
/* @__PURE__ */ jsx153("div", { className: cn("text-primary w-full text-xl font-semibold"), children: title.element })
|
|
14576
|
+
] }) : /* @__PURE__ */ jsxs91("div", { className: "text-muted-foreground flex min-w-0 items-center gap-x-2 text-base font-light", children: [
|
|
14577
|
+
title.titleActions,
|
|
14578
|
+
module && module.icon ? /* @__PURE__ */ jsx153(module.icon, { className: "text-primary h-5 w-5 shrink-0" }) : title.icon,
|
|
14579
|
+
/* @__PURE__ */ jsx153("span", { className: "truncate", children: title.type })
|
|
14576
14580
|
] }),
|
|
14577
|
-
(title.functions || details) && /* @__PURE__ */ jsxs91("div", { className: "flex items-center gap-x-2", children: [
|
|
14581
|
+
(title.functions || details) && /* @__PURE__ */ jsxs91("div", { className: "flex shrink-0 items-center gap-x-2", children: [
|
|
14578
14582
|
title.functions,
|
|
14579
14583
|
details && /* @__PURE__ */ jsxs91(Tooltip2, { children: [
|
|
14580
14584
|
/* @__PURE__ */ jsx153(TooltipTrigger, { children: /* @__PURE__ */ jsx153(
|
|
@@ -14618,7 +14622,8 @@ function RoundPageContainer({
|
|
|
14618
14622
|
fullWidth,
|
|
14619
14623
|
forceHeader,
|
|
14620
14624
|
header,
|
|
14621
|
-
layout: layout2 = "tabs"
|
|
14625
|
+
layout: layout2 = "tabs",
|
|
14626
|
+
onSectionChange
|
|
14622
14627
|
}) {
|
|
14623
14628
|
const headerChildren = useHeaderChildren();
|
|
14624
14629
|
const headerLeftContent = useHeaderLeftContent();
|
|
@@ -14652,9 +14657,14 @@ function RoundPageContainer({
|
|
|
14652
14657
|
const handleTabChange = useCallback27(
|
|
14653
14658
|
(key) => {
|
|
14654
14659
|
setActiveTab(key);
|
|
14655
|
-
if (module && id)
|
|
14660
|
+
if (module && id) {
|
|
14661
|
+
rewriteUrl({ page: module, id, additionalParameters: { section: key } });
|
|
14662
|
+
} else {
|
|
14663
|
+
rewriteUrl({ page: window.location.pathname, additionalParameters: { section: key } });
|
|
14664
|
+
}
|
|
14665
|
+
onSectionChange?.(key);
|
|
14656
14666
|
},
|
|
14657
|
-
[module, id, rewriteUrl]
|
|
14667
|
+
[module, id, rewriteUrl, onSectionChange]
|
|
14658
14668
|
);
|
|
14659
14669
|
const activeFillHeight = tabs?.find((t) => tabValue(t) === activeTab)?.fillHeight === true;
|
|
14660
14670
|
const { ungrouped, groups } = useMemo20(() => partitionTabs(tabs ?? []), [tabs]);
|
|
@@ -14688,8 +14698,8 @@ function RoundPageContainer({
|
|
|
14688
14698
|
{
|
|
14689
14699
|
value: activeTab,
|
|
14690
14700
|
onValueChange: handleTabChange,
|
|
14691
|
-
orientation: "
|
|
14692
|
-
className: "flex h-full min-w-0 grow overflow-hidden",
|
|
14701
|
+
orientation: "horizontal",
|
|
14702
|
+
className: "flex h-full min-w-0 grow overflow-hidden data-[orientation=horizontal]:flex-row",
|
|
14693
14703
|
children: [
|
|
14694
14704
|
/* @__PURE__ */ jsx154(
|
|
14695
14705
|
"aside",
|
|
@@ -23513,4 +23523,4 @@ export {
|
|
|
23513
23523
|
useOAuthClients,
|
|
23514
23524
|
useOAuthClient
|
|
23515
23525
|
};
|
|
23516
|
-
//# sourceMappingURL=chunk-
|
|
23526
|
+
//# sourceMappingURL=chunk-JGVMZYAO.mjs.map
|