@carlonicora/nextjs-jsonapi 1.102.0 → 1.103.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-YTSZZ27G.mjs → BlockNoteEditor-HXQIR3MJ.mjs} +2 -2
- package/dist/{BlockNoteEditor-PRJ3RX4E.js → BlockNoteEditor-NFWTW57Y.js} +9 -9
- package/dist/{BlockNoteEditor-PRJ3RX4E.js.map → BlockNoteEditor-NFWTW57Y.js.map} +1 -1
- package/dist/billing/index.js +299 -299
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-3LWDZZYF.js → chunk-6GPAOMNR.js} +52 -48
- package/dist/chunk-6GPAOMNR.js.map +1 -0
- package/dist/{chunk-C2RBYYRW.mjs → chunk-7ATJEPFQ.mjs} +52 -48
- package/dist/chunk-7ATJEPFQ.mjs.map +1 -0
- package/dist/client/index.js +2 -2
- package/dist/client/index.mjs +1 -1
- package/dist/components/index.d.mts +2 -1
- package/dist/components/index.d.ts +2 -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/package.json +1 -1
- package/src/components/containers/RoundPageContainer.tsx +3 -0
- package/dist/chunk-3LWDZZYF.js.map +0 -1
- package/dist/chunk-C2RBYYRW.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-YTSZZ27G.mjs.map → BlockNoteEditor-HXQIR3MJ.mjs.map} +0 -0
|
@@ -9509,7 +9509,7 @@ import { useRef as useRef15 } from "react";
|
|
|
9509
9509
|
import dynamic from "next/dynamic";
|
|
9510
9510
|
import React14 from "react";
|
|
9511
9511
|
import { jsx as jsx73 } from "react/jsx-runtime";
|
|
9512
|
-
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-
|
|
9512
|
+
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-HXQIR3MJ.mjs"), {
|
|
9513
9513
|
ssr: false
|
|
9514
9514
|
});
|
|
9515
9515
|
var BlockNoteEditorContainer = React14.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
|
|
@@ -13772,7 +13772,8 @@ function RoundPageContainer({
|
|
|
13772
13772
|
tabs,
|
|
13773
13773
|
children,
|
|
13774
13774
|
fullWidth,
|
|
13775
|
-
forceHeader
|
|
13775
|
+
forceHeader,
|
|
13776
|
+
header
|
|
13776
13777
|
}) {
|
|
13777
13778
|
const headerChildren = useHeaderChildren();
|
|
13778
13779
|
const headerLeftContent = useHeaderLeftContent();
|
|
@@ -13841,7 +13842,7 @@ function RoundPageContainer({
|
|
|
13841
13842
|
activeFillHeight ? `flex flex-col overflow-hidden` : `overflow-y-auto`,
|
|
13842
13843
|
fullWidth && `p-0`
|
|
13843
13844
|
),
|
|
13844
|
-
children: /* @__PURE__ */
|
|
13845
|
+
children: /* @__PURE__ */ jsxs87(
|
|
13845
13846
|
"div",
|
|
13846
13847
|
{
|
|
13847
13848
|
className: cn(
|
|
@@ -13849,51 +13850,54 @@ function RoundPageContainer({
|
|
|
13849
13850
|
activeFillHeight && `flex w-full flex-1 min-h-0 flex-col space-y-0`,
|
|
13850
13851
|
fullWidth && `max-w-full w-full p-0 h-full`
|
|
13851
13852
|
),
|
|
13852
|
-
children:
|
|
13853
|
-
|
|
13854
|
-
|
|
13855
|
-
|
|
13856
|
-
|
|
13857
|
-
|
|
13858
|
-
|
|
13859
|
-
|
|
13860
|
-
|
|
13861
|
-
|
|
13862
|
-
{
|
|
13863
|
-
|
|
13864
|
-
|
|
13865
|
-
|
|
13866
|
-
|
|
13867
|
-
|
|
13868
|
-
/* @__PURE__ */ jsx147(SelectTrigger, { className: "w-full", children: /* @__PURE__ */ jsx147(SelectValue, {}) }),
|
|
13869
|
-
/* @__PURE__ */ jsx147(SelectContent, { children: tabs.map((tab) => /* @__PURE__ */ jsx147(SelectItem, { value: tab.key?.name ?? tab.label, children: tab.contentLabel ?? tab.label }, tab.label)) })
|
|
13870
|
-
]
|
|
13871
|
-
}
|
|
13872
|
-
) }) : /* @__PURE__ */ jsx147("div", { className: "p-4", children: /* @__PURE__ */ jsx147(TabsList, { children: tabs.map((tab) => /* @__PURE__ */ jsx147(TabsTrigger, { value: tab.key?.name ?? tab.label, className: "px-4", children: tab.contentLabel ?? tab.label }, tab.label)) }) }),
|
|
13873
|
-
/* @__PURE__ */ jsx147(
|
|
13874
|
-
"div",
|
|
13875
|
-
{
|
|
13876
|
-
className: cn(
|
|
13877
|
-
`flex w-full `,
|
|
13878
|
-
isMobile ? `` : `px-4`,
|
|
13879
|
-
activeFillHeight ? `flex-1 min-h-0` : `overflow-y-auto`
|
|
13880
|
-
),
|
|
13881
|
-
children: tabs.map((tab) => /* @__PURE__ */ jsx147(
|
|
13882
|
-
TabsContent,
|
|
13883
|
-
{
|
|
13884
|
-
value: tab.key?.name ?? tab.label,
|
|
13885
|
-
className: tab.fillHeight ? `flex flex-1 min-h-0 w-full flex-col` : `pb-20`,
|
|
13886
|
-
children: tab.content
|
|
13853
|
+
children: [
|
|
13854
|
+
header,
|
|
13855
|
+
tabs ? /* @__PURE__ */ jsxs87(Fragment22, { children: [
|
|
13856
|
+
/* @__PURE__ */ jsxs87(
|
|
13857
|
+
Tabs,
|
|
13858
|
+
{
|
|
13859
|
+
value: activeTab,
|
|
13860
|
+
className: cn(`w-full`, activeFillHeight && `flex flex-1 min-h-0 flex-col`),
|
|
13861
|
+
onValueChange: handleTabChange,
|
|
13862
|
+
children: [
|
|
13863
|
+
isMobile ? /* @__PURE__ */ jsx147("div", { className: "p-0", children: /* @__PURE__ */ jsxs87(
|
|
13864
|
+
Select,
|
|
13865
|
+
{
|
|
13866
|
+
value: activeTab,
|
|
13867
|
+
onValueChange: (value) => {
|
|
13868
|
+
if (value) handleTabChange(value);
|
|
13887
13869
|
},
|
|
13888
|
-
|
|
13889
|
-
|
|
13890
|
-
|
|
13891
|
-
|
|
13892
|
-
|
|
13893
|
-
|
|
13894
|
-
|
|
13895
|
-
|
|
13896
|
-
|
|
13870
|
+
children: [
|
|
13871
|
+
/* @__PURE__ */ jsx147(SelectTrigger, { className: "w-full", children: /* @__PURE__ */ jsx147(SelectValue, {}) }),
|
|
13872
|
+
/* @__PURE__ */ jsx147(SelectContent, { children: tabs.map((tab) => /* @__PURE__ */ jsx147(SelectItem, { value: tab.key?.name ?? tab.label, children: tab.contentLabel ?? tab.label }, tab.label)) })
|
|
13873
|
+
]
|
|
13874
|
+
}
|
|
13875
|
+
) }) : /* @__PURE__ */ jsx147("div", { className: "p-4", children: /* @__PURE__ */ jsx147(TabsList, { children: tabs.map((tab) => /* @__PURE__ */ jsx147(TabsTrigger, { value: tab.key?.name ?? tab.label, className: "px-4", children: tab.contentLabel ?? tab.label }, tab.label)) }) }),
|
|
13876
|
+
/* @__PURE__ */ jsx147(
|
|
13877
|
+
"div",
|
|
13878
|
+
{
|
|
13879
|
+
className: cn(
|
|
13880
|
+
`flex w-full `,
|
|
13881
|
+
isMobile ? `` : `px-4`,
|
|
13882
|
+
activeFillHeight ? `flex-1 min-h-0` : `overflow-y-auto`
|
|
13883
|
+
),
|
|
13884
|
+
children: tabs.map((tab) => /* @__PURE__ */ jsx147(
|
|
13885
|
+
TabsContent,
|
|
13886
|
+
{
|
|
13887
|
+
value: tab.key?.name ?? tab.label,
|
|
13888
|
+
className: tab.fillHeight ? `flex flex-1 min-h-0 w-full flex-col` : `pb-20`,
|
|
13889
|
+
children: tab.content
|
|
13890
|
+
},
|
|
13891
|
+
tab.label
|
|
13892
|
+
))
|
|
13893
|
+
}
|
|
13894
|
+
)
|
|
13895
|
+
]
|
|
13896
|
+
}
|
|
13897
|
+
),
|
|
13898
|
+
children && /* @__PURE__ */ jsx147("div", { className: cn(`flex`, isMobile ? `px-2` : `px-4`), children })
|
|
13899
|
+
] }) : children
|
|
13900
|
+
]
|
|
13897
13901
|
}
|
|
13898
13902
|
)
|
|
13899
13903
|
}
|
|
@@ -22424,4 +22428,4 @@ export {
|
|
|
22424
22428
|
useOAuthClients,
|
|
22425
22429
|
useOAuthClient
|
|
22426
22430
|
};
|
|
22427
|
-
//# sourceMappingURL=chunk-
|
|
22431
|
+
//# sourceMappingURL=chunk-7ATJEPFQ.mjs.map
|