@carlonicora/nextjs-jsonapi 1.125.1 → 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-EFAIYNH2.js → BlockNoteEditor-PGTAPCQF.js} +9 -9
- package/dist/{BlockNoteEditor-EFAIYNH2.js.map → BlockNoteEditor-PGTAPCQF.js.map} +1 -1
- package/dist/{BlockNoteEditor-YEEQH7UB.mjs → BlockNoteEditor-SMZNQ4CX.mjs} +2 -2
- package/dist/billing/index.js +299 -299
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-JBWBIMZF.js → chunk-24RSNGD2.js} +126 -113
- package/dist/chunk-24RSNGD2.js.map +1 -0
- package/dist/{chunk-LRLVHDFA.mjs → chunk-JGVMZYAO.mjs} +23 -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 +9 -2
- package/dist/components/index.d.ts +9 -2
- package/dist/components/index.js +2 -2
- package/dist/components/index.mjs +1 -1
- package/dist/contexts/index.d.mts +2 -0
- package/dist/contexts/index.d.ts +2 -0
- 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 +10 -3
- package/src/contexts/SharedContext.tsx +2 -0
- package/src/shadcnui/ui/hover-card.tsx +3 -1
- package/dist/chunk-JBWBIMZF.js.map +0 -1
- package/dist/chunk-LRLVHDFA.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-YEEQH7UB.mjs.map → BlockNoteEditor-SMZNQ4CX.mjs.map} +0 -0
|
@@ -2773,6 +2773,7 @@ function HoverCardContent({
|
|
|
2773
2773
|
sideOffset = 4,
|
|
2774
2774
|
align = "center",
|
|
2775
2775
|
alignOffset = 4,
|
|
2776
|
+
anchor,
|
|
2776
2777
|
...props
|
|
2777
2778
|
}) {
|
|
2778
2779
|
return /* @__PURE__ */ jsx27(PreviewCardPrimitive.Portal, { "data-slot": "hover-card-portal", children: /* @__PURE__ */ jsx27(
|
|
@@ -2782,6 +2783,7 @@ function HoverCardContent({
|
|
|
2782
2783
|
alignOffset,
|
|
2783
2784
|
side,
|
|
2784
2785
|
sideOffset,
|
|
2786
|
+
anchor,
|
|
2785
2787
|
className: "isolate z-50",
|
|
2786
2788
|
children: /* @__PURE__ */ jsx27(
|
|
2787
2789
|
PreviewCardPrimitive.Popup,
|
|
@@ -9970,7 +9972,7 @@ import { useRef as useRef17 } from "react";
|
|
|
9970
9972
|
import dynamic from "next/dynamic";
|
|
9971
9973
|
import React17 from "react";
|
|
9972
9974
|
import { jsx as jsx82 } from "react/jsx-runtime";
|
|
9973
|
-
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-
|
|
9975
|
+
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-SMZNQ4CX.mjs"), {
|
|
9974
9976
|
ssr: false
|
|
9975
9977
|
});
|
|
9976
9978
|
var BlockNoteEditorContainer = React17.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
|
|
@@ -14563,15 +14565,20 @@ function RoundPageContainerTitle({
|
|
|
14563
14565
|
}) {
|
|
14564
14566
|
const { title } = useSharedContext();
|
|
14565
14567
|
const isMobile = useIsMobile();
|
|
14566
|
-
return /* @__PURE__ */ jsxs91("div", { className: cn(`flex w-full flex-row items-center border-b p-4
|
|
14567
|
-
!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: [
|
|
14568
14570
|
/* @__PURE__ */ jsxs91("div", { className: "text-muted-foreground flex items-center gap-x-2 text-lg font-light whitespace-nowrap", children: [
|
|
14571
|
+
title.titleActions,
|
|
14569
14572
|
module && module.icon ? /* @__PURE__ */ jsx153(module.icon, { className: "text-primary h-6 w-6" }) : title.icon,
|
|
14570
14573
|
title.type
|
|
14571
14574
|
] }),
|
|
14572
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 })
|
|
14573
14580
|
] }),
|
|
14574
|
-
(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: [
|
|
14575
14582
|
title.functions,
|
|
14576
14583
|
details && /* @__PURE__ */ jsxs91(Tooltip2, { children: [
|
|
14577
14584
|
/* @__PURE__ */ jsx153(TooltipTrigger, { children: /* @__PURE__ */ jsx153(
|
|
@@ -14615,7 +14622,8 @@ function RoundPageContainer({
|
|
|
14615
14622
|
fullWidth,
|
|
14616
14623
|
forceHeader,
|
|
14617
14624
|
header,
|
|
14618
|
-
layout: layout2 = "tabs"
|
|
14625
|
+
layout: layout2 = "tabs",
|
|
14626
|
+
onSectionChange
|
|
14619
14627
|
}) {
|
|
14620
14628
|
const headerChildren = useHeaderChildren();
|
|
14621
14629
|
const headerLeftContent = useHeaderLeftContent();
|
|
@@ -14649,9 +14657,14 @@ function RoundPageContainer({
|
|
|
14649
14657
|
const handleTabChange = useCallback27(
|
|
14650
14658
|
(key) => {
|
|
14651
14659
|
setActiveTab(key);
|
|
14652
|
-
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);
|
|
14653
14666
|
},
|
|
14654
|
-
[module, id, rewriteUrl]
|
|
14667
|
+
[module, id, rewriteUrl, onSectionChange]
|
|
14655
14668
|
);
|
|
14656
14669
|
const activeFillHeight = tabs?.find((t) => tabValue(t) === activeTab)?.fillHeight === true;
|
|
14657
14670
|
const { ungrouped, groups } = useMemo20(() => partitionTabs(tabs ?? []), [tabs]);
|
|
@@ -14685,8 +14698,8 @@ function RoundPageContainer({
|
|
|
14685
14698
|
{
|
|
14686
14699
|
value: activeTab,
|
|
14687
14700
|
onValueChange: handleTabChange,
|
|
14688
|
-
orientation: "
|
|
14689
|
-
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",
|
|
14690
14703
|
children: [
|
|
14691
14704
|
/* @__PURE__ */ jsx154(
|
|
14692
14705
|
"aside",
|
|
@@ -23510,4 +23523,4 @@ export {
|
|
|
23510
23523
|
useOAuthClients,
|
|
23511
23524
|
useOAuthClient
|
|
23512
23525
|
};
|
|
23513
|
-
//# sourceMappingURL=chunk-
|
|
23526
|
+
//# sourceMappingURL=chunk-JGVMZYAO.mjs.map
|