@carlonicora/nextjs-jsonapi 1.139.2 → 1.139.4
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-JGX66ZAX.js → BlockNoteEditor-6RUVMADD.js} +9 -9
- package/dist/{BlockNoteEditor-JGX66ZAX.js.map → BlockNoteEditor-6RUVMADD.js.map} +1 -1
- package/dist/{BlockNoteEditor-OZCZ3UVF.mjs → BlockNoteEditor-YWEXTQMH.mjs} +2 -2
- package/dist/billing/index.js +310 -310
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-C4HLDTHV.mjs → chunk-A5ZPKBML.mjs} +11 -5
- package/dist/chunk-A5ZPKBML.mjs.map +1 -0
- package/dist/{chunk-U662TK63.js → chunk-FBTEVGAJ.js} +11 -5
- package/dist/chunk-FBTEVGAJ.js.map +1 -0
- package/dist/client/index.js +2 -2
- package/dist/client/index.mjs +1 -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 +31 -31
- package/dist/features/help/index.mjs +1 -1
- package/package.json +1 -1
- package/src/components/forms/EditorSheet.tsx +7 -1
- package/src/components/navigations/RecentPagesNavigator.tsx +11 -2
- package/dist/chunk-C4HLDTHV.mjs.map +0 -1
- package/dist/chunk-U662TK63.js.map +0 -1
- /package/dist/{BlockNoteEditor-OZCZ3UVF.mjs.map → BlockNoteEditor-YWEXTQMH.mjs.map} +0 -0
package/dist/billing/index.mjs
CHANGED
|
@@ -9568,7 +9568,13 @@ function EditorSheet({
|
|
|
9568
9568
|
// button — otherwise an interactive trigger (e.g. <Button>) nests a
|
|
9569
9569
|
// <button> inside SheetTrigger's <button> (invalid HTML / hydration
|
|
9570
9570
|
// error). `render` also preserves the element's native `disabled`.
|
|
9571
|
-
|
|
9571
|
+
//
|
|
9572
|
+
// `nativeButton={false}` because this package's trigger convention is
|
|
9573
|
+
// `<Button render={<div />} nativeButton={false}>` (see the package
|
|
9574
|
+
// CLAUDE.md "pointer cursor" note). Without it the Trigger defaults to
|
|
9575
|
+
// `nativeButton: true`, promising a native <button> it never renders,
|
|
9576
|
+
// and Base UI logs a semantics/accessibility error at runtime.
|
|
9577
|
+
/* @__PURE__ */ jsx83(SheetTrigger, { nativeButton: false, render: trigger })
|
|
9572
9578
|
) : /* @__PURE__ */ jsx83(SheetTrigger, { children: isEdit ? /* @__PURE__ */ jsx83(
|
|
9573
9579
|
Button,
|
|
9574
9580
|
{
|
|
@@ -10114,7 +10120,7 @@ import { useRef as useRef17 } from "react";
|
|
|
10114
10120
|
import dynamic from "next/dynamic";
|
|
10115
10121
|
import React17 from "react";
|
|
10116
10122
|
import { jsx as jsx86 } from "react/jsx-runtime";
|
|
10117
|
-
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-
|
|
10123
|
+
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-YWEXTQMH.mjs"), {
|
|
10118
10124
|
ssr: false
|
|
10119
10125
|
});
|
|
10120
10126
|
var BlockNoteEditorContainer = React17.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
|
|
@@ -14689,12 +14695,12 @@ import { jsx as jsx157, jsxs as jsxs90 } from "react/jsx-runtime";
|
|
|
14689
14695
|
function RecentPagesNavigator() {
|
|
14690
14696
|
const recentPages = useAtomValue(recentPagesAtom);
|
|
14691
14697
|
const t = useTranslations51();
|
|
14692
|
-
const { state } = useSidebar();
|
|
14698
|
+
const { state, isMobile } = useSidebar();
|
|
14693
14699
|
if (recentPages.length === 0) {
|
|
14694
14700
|
return null;
|
|
14695
14701
|
}
|
|
14696
14702
|
return /* @__PURE__ */ jsxs90(DropdownMenu, { children: [
|
|
14697
|
-
/* @__PURE__ */ jsx157(DropdownMenuTrigger, { render: /* @__PURE__ */ jsx157("span", {}), nativeButton: false, children: /* @__PURE__ */ jsx157("span", { className: "flex w-full cursor-pointer items-center gap-2", children: state === "collapsed" ? /* @__PURE__ */ jsx157(HistoryIcon, { className: "h-4 w-4" }) : /* @__PURE__ */ jsx157("span", { children: t(`common.recent_pages`) }) }) }),
|
|
14703
|
+
/* @__PURE__ */ jsx157(DropdownMenuTrigger, { render: /* @__PURE__ */ jsx157("span", {}), nativeButton: false, children: /* @__PURE__ */ jsx157("span", { className: "flex w-full cursor-pointer items-center gap-2", children: state === "collapsed" && !isMobile ? /* @__PURE__ */ jsx157(HistoryIcon, { className: "h-4 w-4" }) : /* @__PURE__ */ jsx157("span", { children: t(`common.recent_pages`) }) }) }),
|
|
14698
14704
|
/* @__PURE__ */ jsx157(DropdownMenuContent, { align: "start", className: "w-96", children: /* @__PURE__ */ jsxs90(DropdownMenuGroup, { children: [
|
|
14699
14705
|
/* @__PURE__ */ jsx157(DropdownMenuLabel, { children: t(`common.recent_pages`) }),
|
|
14700
14706
|
/* @__PURE__ */ jsx157(DropdownMenuSeparator, {}),
|
|
@@ -23888,4 +23894,4 @@ export {
|
|
|
23888
23894
|
useOAuthClients,
|
|
23889
23895
|
useOAuthClient
|
|
23890
23896
|
};
|
|
23891
|
-
//# sourceMappingURL=chunk-
|
|
23897
|
+
//# sourceMappingURL=chunk-A5ZPKBML.mjs.map
|