@fluid-app/portal-sdk 0.1.444 → 0.1.445

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/index.cjs CHANGED
@@ -954,7 +954,7 @@ function AppShellLayout({ sidebarContent, headerContent, children, sidebarHeader
954
954
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(SidebarInset, {
955
955
  className: "flex flex-1 flex-col overflow-hidden",
956
956
  children: [headerContent, /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
957
- className: `bg-muted min-h-0 flex-1 md:pt-4 md:pr-4 md:pb-4 md:pl-2 ${useBottomNav ? "max-md:pb-[calc(4rem+env(safe-area-inset-bottom))]" : ""}`,
957
+ className: `bg-muted min-h-0 flex-1 md:pt-4 md:pr-4 md:pb-4 md:pl-2 ${useBottomNav ? "max-md:pb-[calc(3.5rem+env(safe-area-inset-bottom))]" : ""}`,
958
958
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
959
959
  ref: screenContentRef,
960
960
  "data-fluid-portal-screen-area": "",
@@ -1253,7 +1253,7 @@ function SdkBottomNav({ navItems, currentSlug, onNavigate, appDefinitionId = 0,
1253
1253
  setMoreOpen(false);
1254
1254
  };
1255
1255
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("nav", {
1256
- className: "border-border bg-sidebar fixed right-0 bottom-0 left-0 z-40 flex h-16 items-end justify-around border-t pb-[env(safe-area-inset-bottom)]",
1256
+ className: "border-border bg-sidebar fixed right-0 bottom-0 left-0 z-40 flex h-[calc(3.5rem+env(safe-area-inset-bottom))] items-end justify-around border-t pb-[env(safe-area-inset-bottom)]",
1257
1257
  children: [visibleItems.map((item) => {
1258
1258
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
1259
1259
  type: "button",
@@ -1564,7 +1564,7 @@ function SdkHeader({ mobileTabs, currentSlug, title, onBack, onNavigate, onLogou
1564
1564
  icon: lucide_react.ChevronLeft,
1565
1565
  "aria-label": t("nav_back"),
1566
1566
  onClick: onBack,
1567
- className: "-ml-1 flex-none"
1567
+ className: "border-border/60 bg-background/70 -ml-1 flex-none rounded-full border shadow-sm backdrop-blur-md transition-transform active:scale-95 [&_svg]:size-5"
1568
1568
  }) : null,
1569
1569
  resolvedTitle ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h1", {
1570
1570
  className: "text-sidebar-foreground min-w-0 flex-1 truncate text-[17px] leading-tight font-semibold tracking-[-0.01em]",