@carlonicora/nextjs-jsonapi 1.139.2 → 1.139.3

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.
@@ -10114,7 +10114,7 @@ import { useRef as useRef17 } from "react";
10114
10114
  import dynamic from "next/dynamic";
10115
10115
  import React17 from "react";
10116
10116
  import { jsx as jsx86 } from "react/jsx-runtime";
10117
- var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-OZCZ3UVF.mjs"), {
10117
+ var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-6I6WZ6BZ.mjs"), {
10118
10118
  ssr: false
10119
10119
  });
10120
10120
  var BlockNoteEditorContainer = React17.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
@@ -14689,12 +14689,12 @@ import { jsx as jsx157, jsxs as jsxs90 } from "react/jsx-runtime";
14689
14689
  function RecentPagesNavigator() {
14690
14690
  const recentPages = useAtomValue(recentPagesAtom);
14691
14691
  const t = useTranslations51();
14692
- const { state } = useSidebar();
14692
+ const { state, isMobile } = useSidebar();
14693
14693
  if (recentPages.length === 0) {
14694
14694
  return null;
14695
14695
  }
14696
14696
  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`) }) }) }),
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" && !isMobile ? /* @__PURE__ */ jsx157(HistoryIcon, { className: "h-4 w-4" }) : /* @__PURE__ */ jsx157("span", { children: t(`common.recent_pages`) }) }) }),
14698
14698
  /* @__PURE__ */ jsx157(DropdownMenuContent, { align: "start", className: "w-96", children: /* @__PURE__ */ jsxs90(DropdownMenuGroup, { children: [
14699
14699
  /* @__PURE__ */ jsx157(DropdownMenuLabel, { children: t(`common.recent_pages`) }),
14700
14700
  /* @__PURE__ */ jsx157(DropdownMenuSeparator, {}),
@@ -23888,4 +23888,4 @@ export {
23888
23888
  useOAuthClients,
23889
23889
  useOAuthClient
23890
23890
  };
23891
- //# sourceMappingURL=chunk-C4HLDTHV.mjs.map
23891
+ //# sourceMappingURL=chunk-MIKRYX5B.mjs.map