@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.mjs CHANGED
@@ -952,7 +952,7 @@ function AppShellLayout({ sidebarContent, headerContent, children, sidebarHeader
952
952
  /* @__PURE__ */ jsxs(SidebarInset, {
953
953
  className: "flex flex-1 flex-col overflow-hidden",
954
954
  children: [headerContent, /* @__PURE__ */ jsx("div", {
955
- 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))]" : ""}`,
955
+ 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))]" : ""}`,
956
956
  children: /* @__PURE__ */ jsx("div", {
957
957
  ref: screenContentRef,
958
958
  "data-fluid-portal-screen-area": "",
@@ -1251,7 +1251,7 @@ function SdkBottomNav({ navItems, currentSlug, onNavigate, appDefinitionId = 0,
1251
1251
  setMoreOpen(false);
1252
1252
  };
1253
1253
  return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsxs("nav", {
1254
- 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)]",
1254
+ 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)]",
1255
1255
  children: [visibleItems.map((item) => {
1256
1256
  return /* @__PURE__ */ jsxs("button", {
1257
1257
  type: "button",
@@ -1562,7 +1562,7 @@ function SdkHeader({ mobileTabs, currentSlug, title, onBack, onNavigate, onLogou
1562
1562
  icon: ChevronLeft,
1563
1563
  "aria-label": t("nav_back"),
1564
1564
  onClick: onBack,
1565
- className: "-ml-1 flex-none"
1565
+ 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"
1566
1566
  }) : null,
1567
1567
  resolvedTitle ? /* @__PURE__ */ jsx("h1", {
1568
1568
  className: "text-sidebar-foreground min-w-0 flex-1 truncate text-[17px] leading-tight font-semibold tracking-[-0.01em]",