@fluid-app/portal-sdk 0.1.442 → 0.1.444

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.
Files changed (52) hide show
  1. package/dist/{FluidProvider-E3BxHccm.cjs → FluidProvider-DRyFjZ6v.cjs} +2 -1
  2. package/dist/{FluidProvider-E3BxHccm.cjs.map → FluidProvider-DRyFjZ6v.cjs.map} +1 -1
  3. package/dist/{FluidProvider-C5-je4MJ.mjs → FluidProvider-hztxEA9v.mjs} +2 -1
  4. package/dist/{FluidProvider-C5-je4MJ.mjs.map → FluidProvider-hztxEA9v.mjs.map} +1 -1
  5. package/dist/{MessagingScreen-DRD0nEc4.cjs → MessagingScreen-BcKMkp38.cjs} +2 -2
  6. package/dist/{MessagingScreen-DRD0nEc4.cjs.map → MessagingScreen-BcKMkp38.cjs.map} +1 -1
  7. package/dist/{MessagingScreen-Da19zbmP.cjs → MessagingScreen-D9lMoFHp.cjs} +2 -2
  8. package/dist/{MessagingScreen-BzCBjO4X.mjs → MessagingScreen-DP9lhGok.mjs} +2 -2
  9. package/dist/{MessagingScreen-BzCBjO4X.mjs.map → MessagingScreen-DP9lhGok.mjs.map} +1 -1
  10. package/dist/{MessagingScreen-DjwiqfCS.mjs → MessagingScreen-DuoVdCoN.mjs} +2 -5
  11. package/dist/{OrdersScreen-DouJFuWM.cjs → OrdersScreen-9LZSY0r6.cjs} +2 -2
  12. package/dist/{OrdersScreen-DouJFuWM.cjs.map → OrdersScreen-9LZSY0r6.cjs.map} +1 -1
  13. package/dist/{OrdersScreen-B5pheix7.mjs → OrdersScreen-BIaS_Rs5.mjs} +2 -2
  14. package/dist/{OrdersScreen-B5pheix7.mjs.map → OrdersScreen-BIaS_Rs5.mjs.map} +1 -1
  15. package/dist/{OrdersScreen-7U1ViXnt.cjs → OrdersScreen-C1QEm5aJ.cjs} +2 -2
  16. package/dist/{OrdersScreen-C3zGzWki.mjs → OrdersScreen-DaKc0IWa.mjs} +2 -5
  17. package/dist/{ProfileScreen-BZhDJ-2U.mjs → ProfileScreen-BFUMx753.mjs} +3 -3
  18. package/dist/{ProfileScreen-BZhDJ-2U.mjs.map → ProfileScreen-BFUMx753.mjs.map} +1 -1
  19. package/dist/{ProfileScreen-D3oLgrla.cjs → ProfileScreen-C8efV745.cjs} +3 -3
  20. package/dist/{ProfileScreen-Bz8xAR2F.cjs → ProfileScreen-CJ02u5_k.cjs} +3 -3
  21. package/dist/{ProfileScreen-Bz8xAR2F.cjs.map → ProfileScreen-CJ02u5_k.cjs.map} +1 -1
  22. package/dist/{ProfileScreen-DPxQL-ly.mjs → ProfileScreen-h6QFJYjT.mjs} +3 -6
  23. package/dist/{ShareablesScreen-DouGMSCv.mjs → ShareablesScreen-CJU8G50V.mjs} +0 -3
  24. package/dist/{ShopScreen-TckT3N88.cjs → ShopScreen-BOv02SK-.cjs} +2 -2
  25. package/dist/{ShopScreen-C1ywhucr.mjs → ShopScreen-BQXHwKwM.mjs} +2 -5
  26. package/dist/{ShopScreen-CiPevWHk.mjs → ShopScreen-DOXyo3Vh.mjs} +2 -2
  27. package/dist/{ShopScreen-CiPevWHk.mjs.map → ShopScreen-DOXyo3Vh.mjs.map} +1 -1
  28. package/dist/{ShopScreen-CWCX8u6W.cjs → ShopScreen-IBpCfhLT.cjs} +2 -2
  29. package/dist/{ShopScreen-CWCX8u6W.cjs.map → ShopScreen-IBpCfhLT.cjs.map} +1 -1
  30. package/dist/{SubscriptionsScreen-Y5C8NgNC.mjs → SubscriptionsScreen-B2QSvJ-w.mjs} +3 -6
  31. package/dist/{SubscriptionsScreen-cskYuL1i.cjs → SubscriptionsScreen-D8uE5QRT.cjs} +3 -3
  32. package/dist/{SubscriptionsScreen-cskYuL1i.cjs.map → SubscriptionsScreen-D8uE5QRT.cjs.map} +1 -1
  33. package/dist/{SubscriptionsScreen-CL-NKw6s.cjs → SubscriptionsScreen-D_YvnfPC.cjs} +3 -3
  34. package/dist/{SubscriptionsScreen-DzWTRFMS.mjs → SubscriptionsScreen-g7WC5AfX.mjs} +3 -3
  35. package/dist/{SubscriptionsScreen-DzWTRFMS.mjs.map → SubscriptionsScreen-g7WC5AfX.mjs.map} +1 -1
  36. package/dist/index.cjs +62 -65
  37. package/dist/index.cjs.map +1 -1
  38. package/dist/index.d.cts +10 -0
  39. package/dist/index.d.cts.map +1 -1
  40. package/dist/index.d.mts +10 -0
  41. package/dist/index.d.mts.map +1 -1
  42. package/dist/index.mjs +66 -69
  43. package/dist/index.mjs.map +1 -1
  44. package/dist/styles/packages.css +2 -0
  45. package/dist/{use-portal-card-add-3ds-flow-CNX-EEX9.cjs → use-portal-card-add-3ds-flow-BESpmw-C.cjs} +2 -2
  46. package/dist/{use-portal-card-add-3ds-flow-CNX-EEX9.cjs.map → use-portal-card-add-3ds-flow-BESpmw-C.cjs.map} +1 -1
  47. package/dist/{use-portal-card-add-3ds-flow-Cd7qe-uB.mjs → use-portal-card-add-3ds-flow-Ddn35rRp.mjs} +2 -2
  48. package/dist/{use-portal-card-add-3ds-flow-Cd7qe-uB.mjs.map → use-portal-card-add-3ds-flow-Ddn35rRp.mjs.map} +1 -1
  49. package/dist/utils/build-remote-widget-plugin-manifests.mjs +0 -2
  50. package/dist/utils/build-remote-widget-plugin-manifests.mjs.map +1 -1
  51. package/package.json +11 -11
  52. package/styles/packages.css +1 -0
package/dist/index.mjs CHANGED
@@ -3,7 +3,7 @@ import { A as DEFAULT_COLORS, B as getForegroundColor, C as removeAllThemes, D a
3
3
  import { a as assertNever, i as assertDefined, n as DataAwareWidget, o as isWidgetType, r as WIDGET_TYPE_NAMES, s as isWidgetTypeName, u as useRegistry } from "./ScreenRenderer-BQz-1cCn.mjs";
4
4
  import { t as useAccount } from "./use-account-DR6HXMw_.mjs";
5
5
  import "./use-optional-store-DpB_jK4Q.mjs";
6
- import { b as useLanguagesApi, h as useThemeContext, m as FluidThemeProvider, n as useFluidContext, p as shellEn, r as SUPPORTED_LANGUAGES, t as FluidProvider } from "./FluidProvider-C5-je4MJ.mjs";
6
+ import { b as useLanguagesApi, h as useThemeContext, m as FluidThemeProvider, n as useFluidContext, p as shellEn, r as SUPPORTED_LANGUAGES, t as FluidProvider } from "./FluidProvider-hztxEA9v.mjs";
7
7
  import "./mysite-api-context-BbxSfNft.mjs";
8
8
  import "./ContactsTranslationBridge-DCSWCdyq.mjs";
9
9
  import { r as contactsScreenPropertySchema, t as ContactsScreen } from "./ContactsScreen-Ds-J6GFM.mjs";
@@ -35,9 +35,9 @@ import "./purify.es-CcYKK30Z.mjs";
35
35
  import "./MediaRenderer-CLCBsSIU.mjs";
36
36
  import { r as carouselWidgetPropertySchema, t as CarouselWidget } from "./CarouselWidget-BlS08Aru.mjs";
37
37
  import { r as catchUpWidgetPropertySchema, t as CatchUpWidget } from "./CatchUpWidget-dROZKeGW.mjs";
38
- import { Cn as Button, Ln as cn$1, ct as PopoverContent, dt as CollapsibleContent, ft as CollapsibleTrigger, g as Skeleton$1, lt as PopoverTrigger, m as Toaster, st as Popover, ut as Collapsible } from "./src-v1U7mjgR.mjs";
39
- import { i as useMessagingAuth, n as messagingScreenPropertySchema, r as useMessagingConfig, t as MessagingScreen } from "./MessagingScreen-BzCBjO4X.mjs";
40
- import { n as subscriptionsScreenPropertySchema, t as SubscriptionsScreen } from "./SubscriptionsScreen-DzWTRFMS.mjs";
38
+ import { Cn as Button, Ln as cn$1, N as IconButton, ct as PopoverContent, dt as CollapsibleContent, ft as CollapsibleTrigger, g as Skeleton$1, lt as PopoverTrigger, m as Toaster, st as Popover, ut as Collapsible } from "./src-v1U7mjgR.mjs";
39
+ import { i as useMessagingAuth, n as messagingScreenPropertySchema, r as useMessagingConfig, t as MessagingScreen } from "./MessagingScreen-DP9lhGok.mjs";
40
+ import { n as subscriptionsScreenPropertySchema, t as SubscriptionsScreen } from "./SubscriptionsScreen-g7WC5AfX.mjs";
41
41
  import { r as chartWidgetPropertySchema, t as ChartWidget } from "./ChartWidget-LcbtV1uD.mjs";
42
42
  import { r as containerWidgetPropertySchema, t as ContainerWidget } from "./ContainerWidget-bbzSrNUJ.mjs";
43
43
  import { r as embedWidgetPropertySchema, t as EmbedWidget } from "./EmbedWidget-DfhOZVCm.mjs";
@@ -64,17 +64,17 @@ import { i as useScreenHeaderSlotRefs, r as ScreenHeaderProvider } from "./Scree
64
64
  import { a as FallbackCard, i as CoreScreenPlaceholder, r as customersScreenPropertySchema, t as CustomersScreen } from "./CustomersScreen-95_LKw0d.mjs";
65
65
  import { a as memberTypeSlug, i as memberTypeName, n as deniesRepSurfaces, r as hasMemberPermission, t as canAccessRepSurfaces } from "./member-permissions-B5en48uH.mjs";
66
66
  import { a as implementPortalFunction } from "./portal-function-DiozZloV.mjs";
67
- import "./use-portal-card-add-3ds-flow-Cd7qe-uB.mjs";
67
+ import "./use-portal-card-add-3ds-flow-Ddn35rRp.mjs";
68
68
  import "./display-nScoMx87.mjs";
69
69
  import "./use-mysite-portal-B1lFZMl2.mjs";
70
- import { n as profileScreenPropertySchema, t as ProfileScreen } from "./ProfileScreen-BZhDJ-2U.mjs";
70
+ import { n as profileScreenPropertySchema, t as ProfileScreen } from "./ProfileScreen-BFUMx753.mjs";
71
71
  import "./dist-CBZLrT5S.mjs";
72
72
  import "./es-B3I_oMk-.mjs";
73
73
  import "./dist-CU-tsJ00.mjs";
74
- import { n as ordersScreenPropertySchema, t as OrdersScreen } from "./OrdersScreen-B5pheix7.mjs";
74
+ import { n as ordersScreenPropertySchema, t as OrdersScreen } from "./OrdersScreen-BIaS_Rs5.mjs";
75
75
  import { r as mySiteScreenPropertySchema, t as MySiteScreen } from "./MySiteScreen-CJ9CD896.mjs";
76
76
  import "./sortable.esm-B6B4nWkF.mjs";
77
- import { r as shopScreenPropertySchema, t as ShopScreen } from "./ShopScreen-CiPevWHk.mjs";
77
+ import { r as shopScreenPropertySchema, t as ShopScreen } from "./ShopScreen-DOXyo3Vh.mjs";
78
78
  import "./AppDownloadScreen-OiFZo-I_.mjs";
79
79
  import { buildRemoteWidgetPluginManifests } from "./utils/build-remote-widget-plugin-manifests.mjs";
80
80
  import * as React$1 from "react";
@@ -82,12 +82,13 @@ import { Component, StrictMode, Suspense, createContext, forwardRef, lazy, memo,
82
82
  import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
83
83
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
84
84
  import { z } from "zod";
85
- import { Bell, Box, Boxes, Briefcase, Building2, Calendar, Check, ChevronRight, CircleUser, Compass, ContactRound, Ellipsis, File, FileText, FileVideo, Folder, FolderOpen, Globe, GraduationCap, Heart, House, Image, LayoutGrid, ListMusic, LogOut, Mail, Menu, MessageCircle, MessageSquare, Moon, PackageOpen, PanelLeft, Repeat, Search, Settings, ShoppingCart, Smartphone, Star, Store, Sun, TriangleAlert, User, UserCog, Users, X } from "lucide-react";
85
+ import { Bell, Box, Boxes, Briefcase, Building2, Calendar, Check, ChevronLeft, ChevronRight, CircleUser, Compass, ContactRound, Ellipsis, File, FileText, FileVideo, Folder, FolderOpen, Globe, GraduationCap, Heart, House, Image, LayoutGrid, ListMusic, LogOut, Mail, Menu, MessageCircle, MessageSquare, Moon, PackageOpen, PanelLeft, Repeat, Search, Settings, ShoppingCart, Smartphone, Star, Store, Sun, TriangleAlert, User, UserCog, Users, X } from "lucide-react";
86
86
  import { clsx } from "clsx";
87
87
  import { twMerge } from "tailwind-merge";
88
88
  import { Slot } from "@radix-ui/react-slot";
89
89
  import { cva } from "class-variance-authority";
90
90
  import { createRoot } from "react-dom/client";
91
+ import { MobileBottomSheet } from "@fluid-app/ui-components/components/MobileBottomSheet";
91
92
  //#region src/types/page-template.ts
92
93
  /**
93
94
  * Built-in page category IDs
@@ -956,7 +957,7 @@ function AppShellLayout({ sidebarContent, headerContent, children, sidebarHeader
956
957
  ref: screenContentRef,
957
958
  "data-fluid-portal-screen-area": "",
958
959
  tabIndex: -1,
959
- className: "ring-foreground/5 scrollbar-none bg-background text-foreground h-full overflow-auto rounded-xl shadow-sm ring-1",
960
+ className: "ring-foreground/5 scrollbar-none bg-background text-foreground h-full overflow-auto rounded-xl shadow-sm ring-1 max-md:rounded-none max-md:shadow-none max-md:ring-0",
960
961
  children
961
962
  })
962
963
  })]
@@ -1270,41 +1271,22 @@ function SdkBottomNav({ navItems, currentSlug, onNavigate, appDefinitionId = 0,
1270
1271
  className: `flex flex-1 flex-col items-center justify-center gap-0.5 py-2 text-[10px] font-medium transition-colors ${overflowItems.some((item) => isInSection(item, currentSlug)) ? "text-primary" : "text-muted-foreground"}`,
1271
1272
  children: [/* @__PURE__ */ jsx(Ellipsis, { className: "size-5" }), /* @__PURE__ */ jsx("span", { children: t("nav_more") })]
1272
1273
  })]
1273
- }), moreOpen && /* @__PURE__ */ jsxs("div", {
1274
- className: "fixed inset-0 z-50 flex flex-col",
1275
- children: [/* @__PURE__ */ jsx("div", {
1276
- className: "flex-1 bg-black/50",
1277
- onClick: () => setMoreOpen(false),
1278
- "aria-hidden": "true"
1279
- }), /* @__PURE__ */ jsxs("div", {
1280
- className: "bg-sidebar rounded-t-2xl pb-[env(safe-area-inset-bottom)]",
1281
- children: [/* @__PURE__ */ jsxs("div", {
1282
- className: "flex items-center justify-between px-4 pt-4 pb-2",
1283
- children: [/* @__PURE__ */ jsx("span", {
1284
- className: "text-foreground text-sm font-semibold",
1285
- children: t("nav_more")
1286
- }), /* @__PURE__ */ jsx("button", {
1287
- type: "button",
1288
- onClick: () => setMoreOpen(false),
1289
- className: "text-muted-foreground hover:bg-sidebar-accent flex items-center justify-center rounded-full p-1",
1290
- "aria-label": t("nav_close"),
1291
- children: /* @__PURE__ */ jsx(X, { className: "size-5" })
1292
- })]
1293
- }), /* @__PURE__ */ jsx("div", {
1294
- className: "px-2 pb-4",
1295
- children: overflowItems.map((item) => {
1296
- return /* @__PURE__ */ jsxs("button", {
1297
- type: "button",
1298
- onClick: () => handleItemClick(item),
1299
- className: `flex w-full items-center gap-3 rounded-lg px-3 py-2.5 text-sm font-medium transition-colors ${isInSection(item, currentSlug) ? "bg-sidebar-primary text-sidebar-primary-foreground" : "text-sidebar-foreground hover:bg-sidebar-accent"}`,
1300
- children: [/* @__PURE__ */ jsx(RepIcon, {
1301
- name: item.icon || "file",
1302
- className: "size-5"
1303
- }), /* @__PURE__ */ jsx("span", { children: translateNavLabel(shellApi, item.slug, item.label) })]
1304
- }, item.id ?? item.slug ?? item.label);
1305
- })
1306
- })]
1307
- })]
1274
+ }), /* @__PURE__ */ jsx(MobileBottomSheet, {
1275
+ open: moreOpen,
1276
+ onOpenChange: setMoreOpen,
1277
+ title: t("nav_more"),
1278
+ surface: "sidebar",
1279
+ children: overflowItems.map((item) => {
1280
+ return /* @__PURE__ */ jsxs("button", {
1281
+ type: "button",
1282
+ onClick: () => handleItemClick(item),
1283
+ className: `flex w-full items-center gap-3 rounded-lg px-3 py-2.5 text-sm font-medium transition-colors ${isInSection(item, currentSlug) ? "bg-sidebar-primary text-sidebar-primary-foreground" : "text-sidebar-foreground hover:bg-sidebar-accent"}`,
1284
+ children: [/* @__PURE__ */ jsx(RepIcon, {
1285
+ name: item.icon || "file",
1286
+ className: "size-5"
1287
+ }), /* @__PURE__ */ jsx("span", { children: translateNavLabel(shellApi, item.slug, item.label) })]
1288
+ }, item.id ?? item.slug ?? item.label);
1289
+ })
1308
1290
  })] });
1309
1291
  }
1310
1292
  //#endregion
@@ -1563,24 +1545,37 @@ function LanguageSelector() {
1563
1545
  }
1564
1546
  //#endregion
1565
1547
  //#region src/shell/SdkHeader.tsx
1566
- function SdkHeader({ mobileTabs, currentSlug, onNavigate, onLogout }) {
1548
+ function SdkHeader({ mobileTabs, currentSlug, title, onBack, onNavigate, onLogout }) {
1567
1549
  const sidebar = useSidebar();
1568
1550
  const shellApi = useShellTranslation();
1569
1551
  const { t } = shellApi;
1552
+ const resolvedTitle = title ? translateNavLabel(shellApi, currentSlug, title) : normalizeSlug(currentSlug) === "more" ? t("nav_more") : void 0;
1570
1553
  const isMobileWithBottomNav = sidebar.isMobile && sidebar.useBottomNav;
1571
1554
  const isMobileWithHamburger = sidebar.isMobile && !sidebar.useBottomNav;
1572
1555
  if (!isMobileWithBottomNav && !isMobileWithHamburger) return null;
1573
1556
  return /* @__PURE__ */ jsxs("header", {
1574
- className: "bg-sidebar shrink-0",
1575
- children: [isMobileWithBottomNav ? /* @__PURE__ */ jsx("div", {
1576
- className: "flex h-[52px] items-center px-4",
1577
- children: /* @__PURE__ */ jsxs("div", {
1578
- className: "text-muted-foreground ml-auto flex flex-none items-center justify-end gap-2",
1579
- children: [/* @__PURE__ */ jsx(LanguageSelector, {}), /* @__PURE__ */ jsx(SdkMobileProfileMenu, {
1580
- onNavigate,
1581
- onLogout
1582
- })]
1583
- })
1557
+ className: "bg-sidebar shrink-0 pt-[env(safe-area-inset-top)]",
1558
+ children: [isMobileWithBottomNav ? /* @__PURE__ */ jsxs("div", {
1559
+ className: "flex h-[52px] items-center gap-2 px-4",
1560
+ children: [
1561
+ onBack ? /* @__PURE__ */ jsx(IconButton, {
1562
+ icon: ChevronLeft,
1563
+ "aria-label": t("nav_back"),
1564
+ onClick: onBack,
1565
+ className: "-ml-1 flex-none"
1566
+ }) : null,
1567
+ resolvedTitle ? /* @__PURE__ */ jsx("h1", {
1568
+ className: "text-sidebar-foreground min-w-0 flex-1 truncate text-[17px] leading-tight font-semibold tracking-[-0.01em]",
1569
+ children: resolvedTitle
1570
+ }) : null,
1571
+ /* @__PURE__ */ jsxs("div", {
1572
+ className: "text-muted-foreground ml-auto flex flex-none items-center justify-end gap-2",
1573
+ children: [/* @__PURE__ */ jsx(LanguageSelector, {}), /* @__PURE__ */ jsx(SdkMobileProfileMenu, {
1574
+ onNavigate,
1575
+ onLogout
1576
+ })]
1577
+ })
1578
+ ]
1584
1579
  }) : /* @__PURE__ */ jsx("div", {
1585
1580
  className: "flex h-[52px] items-center px-6",
1586
1581
  children: /* @__PURE__ */ jsx("button", {
@@ -1811,14 +1806,14 @@ function resolveMemberTypePage(registry, memberTypeSlug, currentSlug, baseSlug)
1811
1806
  }
1812
1807
  //#endregion
1813
1808
  //#region src/shell/system-screen-map.ts
1814
- const ProfileScreen$1 = lazy(() => import("./ProfileScreen-DPxQL-ly.mjs").then((m) => ({ default: m.ProfileScreen })));
1815
- const OrdersScreen$1 = lazy(() => import("./OrdersScreen-C3zGzWki.mjs").then((m) => ({ default: m.OrdersScreen })));
1816
- const SubscriptionsScreen$1 = lazy(() => import("./SubscriptionsScreen-Y5C8NgNC.mjs").then((m) => ({ default: m.SubscriptionsScreen })));
1817
- const MessagingScreen$1 = lazy(() => import("./MessagingScreen-DjwiqfCS.mjs").then((m) => ({ default: m.MessagingScreen })));
1809
+ const ProfileScreen$1 = lazy(() => import("./ProfileScreen-h6QFJYjT.mjs").then((m) => ({ default: m.ProfileScreen })));
1810
+ const OrdersScreen$1 = lazy(() => import("./OrdersScreen-DaKc0IWa.mjs").then((m) => ({ default: m.OrdersScreen })));
1811
+ const SubscriptionsScreen$1 = lazy(() => import("./SubscriptionsScreen-B2QSvJ-w.mjs").then((m) => ({ default: m.SubscriptionsScreen })));
1812
+ const MessagingScreen$1 = lazy(() => import("./MessagingScreen-DuoVdCoN.mjs").then((m) => ({ default: m.MessagingScreen })));
1818
1813
  const ContactsScreen$1 = lazy(() => import("./ContactsScreen-Ds-J6GFM.mjs").then((n) => n.n).then((m) => ({ default: m.ContactsScreen })));
1819
- const ShopScreen$1 = lazy(() => import("./ShopScreen-C1ywhucr.mjs").then((m) => ({ default: m.ShopScreen })));
1814
+ const ShopScreen$1 = lazy(() => import("./ShopScreen-BQXHwKwM.mjs").then((m) => ({ default: m.ShopScreen })));
1820
1815
  const CustomersScreen$1 = lazy(() => import("./CustomersScreen-95_LKw0d.mjs").then((n) => n.n).then((m) => ({ default: m.CustomersScreen })));
1821
- const ShareablesScreen$1 = lazy(() => import("./ShareablesScreen-DouGMSCv.mjs").then((m) => ({ default: m.ShareablesScreen })));
1816
+ const ShareablesScreen$1 = lazy(() => import("./ShareablesScreen-CJU8G50V.mjs").then((m) => ({ default: m.ShareablesScreen })));
1822
1817
  const MySiteScreen$1 = lazy(() => import("./MySiteScreen-CJ9CD896.mjs").then((n) => n.n).then((m) => ({ default: m.MySiteScreen })));
1823
1818
  const AppDownloadScreen = lazy(() => import("./AppDownloadScreen-OiFZo-I_.mjs").then((n) => n.t).then((m) => ({ default: m.AppDownloadScreen })));
1824
1819
  const SYSTEM_SLUG_SCREEN_MAP = {
@@ -2187,7 +2182,7 @@ function ScreenHeader({ title, trailingContent, override }) {
2187
2182
  return /* @__PURE__ */ jsxs("div", {
2188
2183
  "data-fluid-screen-header": "",
2189
2184
  tabIndex: -1,
2190
- className: "border-foreground/[0.06] bg-background sticky top-0 z-30 flex flex-row items-center border-b px-4 py-3 md:px-6",
2185
+ className: "border-foreground/[0.06] bg-background sticky top-0 z-30 flex flex-row items-center border-b px-4 py-3 max-md:hidden md:px-6",
2191
2186
  children: [
2192
2187
  !isMobile && /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("button", {
2193
2188
  type: "button",
@@ -2580,6 +2575,8 @@ function AppShell({ appData: appDataProp, navigation: navigationProp, customPage
2580
2575
  headerContent: /* @__PURE__ */ jsx(SdkHeader, {
2581
2576
  mobileTabs: mobileSecondLevelTabs,
2582
2577
  currentSlug: activeSlug,
2578
+ title: screenTitle,
2579
+ ...restParams !== "" && { onBack: () => handleNavigate(baseSlug) },
2583
2580
  onNavigate: handleNavigate,
2584
2581
  onLogout: logout
2585
2582
  }),
@@ -3722,15 +3719,15 @@ const CORE_PAGE_IDS = {
3722
3719
  //#endregion
3723
3720
  //#region src/screens/index.ts
3724
3721
  const screenPropertySchemas = {
3725
- ProfileScreen: () => import("./ProfileScreen-DPxQL-ly.mjs").then((m) => m.profileScreenPropertySchema),
3726
- MessagingScreen: () => import("./MessagingScreen-DjwiqfCS.mjs").then((m) => m.messagingScreenPropertySchema),
3722
+ ProfileScreen: () => import("./ProfileScreen-h6QFJYjT.mjs").then((m) => m.profileScreenPropertySchema),
3723
+ MessagingScreen: () => import("./MessagingScreen-DuoVdCoN.mjs").then((m) => m.messagingScreenPropertySchema),
3727
3724
  ContactsScreen: () => import("./ContactsScreen-Ds-J6GFM.mjs").then((n) => n.n).then((m) => m.contactsScreenPropertySchema),
3728
- OrdersScreen: () => import("./OrdersScreen-C3zGzWki.mjs").then((m) => m.ordersScreenPropertySchema),
3729
- SubscriptionsScreen: () => import("./SubscriptionsScreen-Y5C8NgNC.mjs").then((m) => m.subscriptionsScreenPropertySchema),
3725
+ OrdersScreen: () => import("./OrdersScreen-DaKc0IWa.mjs").then((m) => m.ordersScreenPropertySchema),
3726
+ SubscriptionsScreen: () => import("./SubscriptionsScreen-B2QSvJ-w.mjs").then((m) => m.subscriptionsScreenPropertySchema),
3730
3727
  CustomersScreen: () => import("./CustomersScreen-95_LKw0d.mjs").then((n) => n.n).then((m) => m.customersScreenPropertySchema),
3731
3728
  MySiteScreen: () => import("./MySiteScreen-CJ9CD896.mjs").then((n) => n.n).then((m) => m.mySiteScreenPropertySchema),
3732
- ShareablesScreen: () => import("./ShareablesScreen-DouGMSCv.mjs").then((m) => m.shareablesScreenPropertySchema),
3733
- ShopScreen: () => import("./ShopScreen-C1ywhucr.mjs").then((m) => m.shopScreenPropertySchema),
3729
+ ShareablesScreen: () => import("./ShareablesScreen-CJU8G50V.mjs").then((m) => m.shareablesScreenPropertySchema),
3730
+ ShopScreen: () => import("./ShopScreen-BQXHwKwM.mjs").then((m) => m.shopScreenPropertySchema),
3734
3731
  AppDownloadScreen: () => import("./AppDownloadScreen-OiFZo-I_.mjs").then((n) => n.t).then((m) => m.appDownloadScreenPropertySchema)
3735
3732
  };
3736
3733
  /**