@carlonicora/nextjs-jsonapi 2.0.1 → 2.0.2
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-6TYNLQ4S.js → BlockNoteEditor-4224DOTR.js} +9 -9
- package/dist/{BlockNoteEditor-6TYNLQ4S.js.map → BlockNoteEditor-4224DOTR.js.map} +1 -1
- package/dist/{BlockNoteEditor-HMQWM4TQ.mjs → BlockNoteEditor-7NVXRTVR.mjs} +2 -2
- package/dist/billing/index.js +310 -310
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-R666YQGQ.js → chunk-QS5Y6ZBF.js} +24 -11
- package/dist/chunk-QS5Y6ZBF.js.map +1 -0
- package/dist/{chunk-RVGBVVRD.mjs → chunk-TESVH5PV.mjs} +24 -11
- package/dist/chunk-TESVH5PV.mjs.map +1 -0
- package/dist/client/index.js +2 -2
- package/dist/client/index.mjs +1 -1
- package/dist/components/index.d.mts +13 -0
- package/dist/components/index.d.ts +13 -0
- 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 +31 -31
- package/dist/features/help/index.mjs +1 -1
- package/dist/features/tokenusage/index.js +56 -56
- package/dist/features/tokenusage/index.mjs +1 -1
- package/package.json +1 -1
- package/src/components/containers/RoundPageContainer.tsx +14 -1
- package/src/shadcnui/ui/command.tsx +21 -6
- package/dist/chunk-R666YQGQ.js.map +0 -1
- package/dist/chunk-RVGBVVRD.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-HMQWM4TQ.mjs.map → BlockNoteEditor-7NVXRTVR.mjs.map} +0 -0
|
@@ -1836,20 +1836,20 @@ function Command({ className, ...props }) {
|
|
|
1836
1836
|
}
|
|
1837
1837
|
__name(Command, "Command");
|
|
1838
1838
|
function CommandDialog({
|
|
1839
|
-
title
|
|
1840
|
-
description
|
|
1839
|
+
title,
|
|
1840
|
+
description,
|
|
1841
1841
|
children,
|
|
1842
1842
|
className,
|
|
1843
1843
|
showCloseButton = false,
|
|
1844
1844
|
...props
|
|
1845
1845
|
}) {
|
|
1846
|
-
return /* @__PURE__ */
|
|
1847
|
-
/* @__PURE__ */ jsxs8(DialogHeader, { className: "sr-only", children: [
|
|
1848
|
-
/* @__PURE__ */ jsx18(DialogTitle, { children: title }),
|
|
1849
|
-
/* @__PURE__ */ jsx18(DialogDescription, { children: description })
|
|
1846
|
+
return /* @__PURE__ */ jsx18(Dialog, { ...props, children: /* @__PURE__ */ jsxs8(DialogContent, { className: cn("rounded-xl! p-0 overflow-hidden p-0", className), showCloseButton, children: [
|
|
1847
|
+
(title || description) && /* @__PURE__ */ jsxs8(DialogHeader, { className: "sr-only", children: [
|
|
1848
|
+
title && /* @__PURE__ */ jsx18(DialogTitle, { children: title }),
|
|
1849
|
+
description && /* @__PURE__ */ jsx18(DialogDescription, { children: description })
|
|
1850
1850
|
] }),
|
|
1851
|
-
|
|
1852
|
-
] });
|
|
1851
|
+
children
|
|
1852
|
+
] }) });
|
|
1853
1853
|
}
|
|
1854
1854
|
__name(CommandDialog, "CommandDialog");
|
|
1855
1855
|
function CommandInput({ className, ...props }) {
|
|
@@ -10164,7 +10164,7 @@ import { useRef as useRef17 } from "react";
|
|
|
10164
10164
|
import dynamic from "next/dynamic";
|
|
10165
10165
|
import React17 from "react";
|
|
10166
10166
|
import { jsx as jsx86 } from "react/jsx-runtime";
|
|
10167
|
-
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-
|
|
10167
|
+
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-7NVXRTVR.mjs"), {
|
|
10168
10168
|
ssr: false
|
|
10169
10169
|
});
|
|
10170
10170
|
var BlockNoteEditorContainer = React17.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
|
|
@@ -15264,7 +15264,20 @@ function RoundPageContainer({
|
|
|
15264
15264
|
// `flex-col` + a separate scroll body below: the header must stay
|
|
15265
15265
|
// put while the panel content scrolls. Scrolling on this element
|
|
15266
15266
|
// (as it did before) would carry the header away with the content.
|
|
15267
|
-
|
|
15267
|
+
//
|
|
15268
|
+
// `relative` is load-bearing: the panel content mounts Base UI
|
|
15269
|
+
// dialog headers marked `sr-only`, which are `position: absolute`
|
|
15270
|
+
// with no offsets. Without a positioned ancestor their containing
|
|
15271
|
+
// block is the initial containing block, so when the panel is
|
|
15272
|
+
// collapsed (`w-0`) their static position lands a few px past the
|
|
15273
|
+
// viewport's right edge and adds to the DOCUMENT's scroll area —
|
|
15274
|
+
// `overflow-hidden` here cannot clip them, because it only clips
|
|
15275
|
+
// descendants whose containing block is inside this element. That
|
|
15276
|
+
// produced a page-wide horizontal scrollbar, which in turn stole
|
|
15277
|
+
// 15px of height and made every `100vh`/`100svh` box overflow
|
|
15278
|
+
// vertically too. Making this the containing block lets
|
|
15279
|
+
// `overflow-hidden` clip them again.
|
|
15280
|
+
"relative flex h-full shrink-0 flex-col overflow-hidden transition-all duration-300 ease-in-out",
|
|
15268
15281
|
showDetails ? "w-96 border-l opacity-100" : "ml-0 w-0 border-l-0 opacity-0"
|
|
15269
15282
|
),
|
|
15270
15283
|
children: [
|
|
@@ -23951,4 +23964,4 @@ export {
|
|
|
23951
23964
|
useOAuthClients,
|
|
23952
23965
|
useOAuthClient
|
|
23953
23966
|
};
|
|
23954
|
-
//# sourceMappingURL=chunk-
|
|
23967
|
+
//# sourceMappingURL=chunk-TESVH5PV.mjs.map
|