@carlonicora/nextjs-jsonapi 1.137.1 → 1.137.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.
@@ -48,7 +48,7 @@ import {
48
48
  TabsList,
49
49
  TabsTrigger,
50
50
  useCurrentUserContext
51
- } from "../chunk-UW2XT3UI.mjs";
51
+ } from "../chunk-QBCHQXLE.mjs";
52
52
  import {
53
53
  getRoleId,
54
54
  getStripePublishableKey
@@ -10117,7 +10117,7 @@ import { useRef as useRef17 } from "react";
10117
10117
  import dynamic from "next/dynamic";
10118
10118
  import React17 from "react";
10119
10119
  import { jsx as jsx86 } from "react/jsx-runtime";
10120
- var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-VN6XD25O.mjs"), {
10120
+ var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-QLNAU7GK.mjs"), {
10121
10121
  ssr: false
10122
10122
  });
10123
10123
  var BlockNoteEditorContainer = React17.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
@@ -14586,7 +14586,7 @@ function MobileNavigationBar() {
14586
14586
  {
14587
14587
  "aria-label": "Primary",
14588
14588
  "data-testid": "mobile-navigation-bar",
14589
- className: "bg-sidebar flex w-full shrink-0 flex-row items-stretch rounded-lg border pb-[env(safe-area-inset-bottom)]",
14589
+ className: "bg-sidebar flex w-full shrink-0 flex-row items-stretch rounded-lg border",
14590
14590
  children: items.map((item) => {
14591
14591
  const active = item.href ? isActiveHref(pathname, item.href) : false;
14592
14592
  const tone = active ? "text-primary" : "text-muted-foreground";
@@ -14988,7 +14988,14 @@ function RoundPageContainer({
14988
14988
  "data-testid": testId,
14989
14989
  className: cn(
14990
14990
  "flex h-[calc(100svh-var(--app-header-h,3rem))] w-full flex-col",
14991
- isMobile ? "gap-1 p-1 pt-0" : "p-2 pt-0 pl-0"
14991
+ // The bottom safe-area inset is reserved HERE, not inside
14992
+ // MobileNavigationBar: padding within the bar's bordered card leaves
14993
+ // dead space inside the rounded box with the icons crammed against
14994
+ // its top edge (measured 78px tall for a 42px icon row). Held by the
14995
+ // shell instead, the bar keeps its natural height and the whole card
14996
+ // floats above the home indicator, which is what the detached-card
14997
+ // design intends. Resolves to plain p-1 wherever the inset is 0.
14998
+ isMobile ? "gap-1 p-1 pt-0 pb-[calc(0.25rem+env(safe-area-inset-bottom))]" : "p-2 pt-0 pl-0"
14992
14999
  ),
14993
15000
  children: [
14994
15001
  /* @__PURE__ */ jsx161("div", { className: cn("bg-background flex min-h-0 w-full flex-1", isMobile ? "" : "rounded-lg border p-0"), children: /* @__PURE__ */ jsx161("div", { className: "flex w-full flex-col" }) }),
@@ -15015,7 +15022,14 @@ function RoundPageContainer({
15015
15022
  "data-testid": testId,
15016
15023
  className: cn(
15017
15024
  `flex h-[calc(100svh-var(--app-header-h,3rem))] w-full flex-col`,
15018
- isMobile ? "gap-1 p-1 pt-0" : "p-2 pt-0 pl-0"
15025
+ // The bottom safe-area inset is reserved HERE, not inside
15026
+ // MobileNavigationBar: padding within the bar's bordered card leaves
15027
+ // dead space inside the rounded box with the icons crammed against
15028
+ // its top edge (measured 78px tall for a 42px icon row). Held by the
15029
+ // shell instead, the bar keeps its natural height and the whole card
15030
+ // floats above the home indicator, which is what the detached-card
15031
+ // design intends. Resolves to plain p-1 wherever the inset is 0.
15032
+ isMobile ? "gap-1 p-1 pt-0 pb-[calc(0.25rem+env(safe-area-inset-bottom))]" : "p-2 pt-0 pl-0"
15019
15033
  ),
15020
15034
  children: [
15021
15035
  /* @__PURE__ */ jsxs94("div", { className: "bg-background flex min-h-0 w-full flex-1 rounded-lg border p-0", children: [
@@ -23869,4 +23883,4 @@ export {
23869
23883
  useOAuthClients,
23870
23884
  useOAuthClient
23871
23885
  };
23872
- //# sourceMappingURL=chunk-UW2XT3UI.mjs.map
23886
+ //# sourceMappingURL=chunk-QBCHQXLE.mjs.map